fix compatibility with php8

This commit is contained in:
xiaomlove
2020-12-29 03:02:34 +08:00
parent 32d47b66c9
commit fe7489ef51
33 changed files with 249 additions and 212 deletions
+3 -3
View File
@@ -23,11 +23,11 @@ begin_frame("<span id=\"authorization\">".$lang_aboutnexus['text_authorization']
print ($lang_aboutnexus['text_authorization_note']);
print ("<br /><br />");
end_frame();
unset($ppl);
$ppl = '';
$res = sql_query("SELECT * FROM language ORDER BY trans_state") or sqlerr();
while ($arr = mysql_fetch_assoc($res))
{
$ppl .= "<tr><td class=\"rowfollow\"><img width=\"24\" height=\"15\" src=\"pic/flag/".$arr[flagpic]."\" alt=\"".$arr[lang_name]."\" title=\"".$arr[lang_name]."\" style=\"padding-bottom:1px;\" /></td>
$ppl .= "<tr><td class=\"rowfollow\"><img width=\"24\" height=\"15\" src=\"pic/flag/".$arr['flagpic']."\" alt=\"".$arr['lang_name']."\" title=\"".$arr['lang_name']."\" style=\"padding-bottom:1px;\" /></td>
<td class=\"rowfollow\">".$arr['lang_name']."</td>".
"<td class=\"rowfollow\">".$arr['trans_state']."</td></tr>\n";
}
@@ -38,7 +38,7 @@ print ($ppl);
print ("</table>");
print ("<br /><br />");
end_frame();
unset($ppl);
$ppl = '';
$res = sql_query("SELECT * FROM stylesheets ORDER BY id") or sqlerr();
while ($arr = mysql_fetch_assoc($res))
{