fix staff.php undefined constant

This commit is contained in:
xiaomlove
2021-05-27 00:21:14 +08:00
parent a4c9a40cdd
commit d7690b45fd
+1 -1
View File
@@ -20,7 +20,7 @@ $res = sql_query("SELECT * FROM users WHERE users.support='yes' AND users.status
while ($arr = mysql_fetch_assoc($res)) while ($arr = mysql_fetch_assoc($res))
{ {
$countryrow = get_country_row($arr['country']); $countryrow = get_country_row($arr['country']);
$ppl .= "<tr><td class=embedded>". get_username($arr['id']) ."</td><td class=embedded><img width=24 height=15 src=\"pic/flag/".$countryrow[flagpic]."\" title=\"".$countryrow['name']."\" style=\"padding-bottom:1px;\"></td> $ppl .= "<tr><td class=embedded>". get_username($arr['id']) ."</td><td class=embedded><img width=24 height=15 src=\"pic/flag/".$countryrow['flagpic']."\" title=\"".$countryrow['name']."\" style=\"padding-bottom:1px;\"></td>
<td class=embedded> ".(strtotime($arr['last_access']) > $dt ? $onlineimg : $offlineimg)."</td>". <td class=embedded> ".(strtotime($arr['last_access']) > $dt ? $onlineimg : $offlineimg)."</td>".
"<td class=embedded><a href=sendmessage.php?receiver=".$arr['id']." title=\"".$lang_staff['title_send_pm']."\">".$sendpmimg."</a></td>". "<td class=embedded><a href=sendmessage.php?receiver=".$arr['id']." title=\"".$lang_staff['title_send_pm']."\">".$sendpmimg."</a></td>".
"<td class=embedded>".$arr['supportlang']."</td>". "<td class=embedded>".$arr['supportlang']."</td>".