mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
fix common undefined constant error
This commit is contained in:
@@ -66,7 +66,7 @@ while ($row = mysql_fetch_array($reportres))
|
||||
else
|
||||
{
|
||||
$arr = mysql_fetch_array($res);
|
||||
$reporting = "<a href=\"offers.php?id=".$arr[id]."&off_details=1\">".htmlspecialchars($arr['name'])."</a>";
|
||||
$reporting = "<a href=\"offers.php?id=".$arr['id']."&off_details=1\">".htmlspecialchars($arr['name'])."</a>";
|
||||
}
|
||||
break;
|
||||
}
|
||||
@@ -143,7 +143,7 @@ while ($row = mysql_fetch_array($reportres))
|
||||
}
|
||||
}
|
||||
|
||||
print("<tr><td class=rowfollow><nobr>".gettime($row['added'])."</nobr></td><td class=rowfollow>" . get_username($row['addedby']) . "</td><td class=rowfollow>".$reporting."</td><td class=rowfollow><nobr>".$type."</nobr></td><td class=rowfollow>".htmlspecialchars($row['reason'])."</td><td class=rowfollow><nobr>".$dealtwith."</nobr></td><td class=rowfollow><input type=\"checkbox\" name=\"delreport[]\" value=\"" . $row[id] . "\" /></td></tr>\n");
|
||||
print("<tr><td class=rowfollow><nobr>".gettime($row['added'])."</nobr></td><td class=rowfollow>" . get_username($row['addedby']) . "</td><td class=rowfollow>".$reporting."</td><td class=rowfollow><nobr>".$type."</nobr></td><td class=rowfollow>".htmlspecialchars($row['reason'])."</td><td class=rowfollow><nobr>".$dealtwith."</nobr></td><td class=rowfollow><input type=\"checkbox\" name=\"delreport[]\" value=\"" . $row['id'] . "\" /></td></tr>\n");
|
||||
}
|
||||
?>
|
||||
<tr><td class="colhead" colspan="7" align="right"><input type="submit" name="setdealt" value="<?php echo $lang_reports['submit_set_dealt']?>" /><input type="submit" name="delete" value="<?php echo $lang_reports['submit_delete']?>" /></td></tr>
|
||||
|
||||
Reference in New Issue
Block a user