mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 12:07:23 +08:00
fix uses.php error
This commit is contained in:
+3
-3
@@ -63,7 +63,7 @@ print("</select>\n");
|
|||||||
$countries = "<option value=0>".$lang_users['select_any_country']."</option>\n";
|
$countries = "<option value=0>".$lang_users['select_any_country']."</option>\n";
|
||||||
$ct_r = sql_query("SELECT id,name FROM countries ORDER BY name") or die;
|
$ct_r = sql_query("SELECT id,name FROM countries ORDER BY name") or die;
|
||||||
while ($ct_a = mysql_fetch_array($ct_r))
|
while ($ct_a = mysql_fetch_array($ct_r))
|
||||||
$countries .= "<option value=".htmlspecialchars($ct_a[id]).">".htmlspecialchars($ct_a[name])."</option>\n";
|
$countries .= "<option value=".htmlspecialchars($ct_a['id']).">".htmlspecialchars($ct_a['name'])."</option>\n";
|
||||||
print("<select name=country>".$countries."</select>");
|
print("<select name=country>".$countries."</select>");
|
||||||
print("<input type=submit value=\"".$lang_users['submit_okay']."\">\n");
|
print("<input type=submit value=\"".$lang_users['submit_okay']."\">\n");
|
||||||
print("</form>\n");
|
print("</form>\n");
|
||||||
@@ -114,8 +114,8 @@ $sql = sprintf('SELECT
|
|||||||
IF (
|
IF (
|
||||||
users.last_access = null, "-", users.last_access
|
users.last_access = null, "-", users.last_access
|
||||||
) as last_access
|
) as last_access
|
||||||
|
|
||||||
|
|
||||||
FROM users
|
FROM users
|
||||||
LEFT JOIN countries ON users.country = countries.id
|
LEFT JOIN countries ON users.country = countries.id
|
||||||
WHERE %s
|
WHERE %s
|
||||||
|
|||||||
Reference in New Issue
Block a user