mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-17 23:57:18 +00:00
fix: a lot of MySQL calls in templates replaced by MySQLi ones
This commit is contained in:
@@ -8,8 +8,8 @@
|
||||
## ##
|
||||
#################################################################################
|
||||
$time = time();
|
||||
$ban = mysql_query("SELECT * FROM ".TB_PREFIX."banlist WHERE `uid` = '".$session->uid."' and active = 1");
|
||||
$ban1 = mysql_fetch_array($ban);
|
||||
$ban = mysqli_query($GLOBALS["link"], "SELECT * FROM ".TB_PREFIX."banlist WHERE `uid` = '".$session->uid."' and active = 1");
|
||||
$ban1 = mysqli_fetch_array($ban);
|
||||
?>
|
||||
|
||||
<p></br>
|
||||
|
||||
Reference in New Issue
Block a user