Copy paste

This commit is contained in:
Ruan 2015-02-19 13:57:17 +02:00
parent 2baa8cbe4e
commit 1c02bc77d1
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@
// <<-----------------mysql Database Connection------------>> // // <<-----------------mysql Database Connection------------>> //
require 'includes/data/database.php'; require 'includes/data/database.php';
$sql = 'SELECT time,until,reason,name,banned_by_name FROM ' . $table_mutes . ' INNER JOIN ' . $table_history . ' on ' . $table_bans . '.uuid=' . $table_history . '.uuid WHERE active=1 GROUP BY name ORDER BY time DESC LIMIT 20'; $sql = 'SELECT time,until,reason,name,banned_by_name FROM ' . $table_mutes . ' INNER JOIN ' . $table_history . ' on ' . $table_mutes . '.uuid=' . $table_history . '.uuid WHERE active=1 GROUP BY name ORDER BY time DESC LIMIT 20';
$retval = mysql_query($sql, $conn); $retval = mysql_query($sql, $conn);
if (!$retval) { if (!$retval) {

View File

@ -7,7 +7,7 @@
// <<-----------------mysql Database Connection------------>> // // <<-----------------mysql Database Connection------------>> //
require 'includes/data/database.php'; require 'includes/data/database.php';
$sql = 'SELECT time,until,reason,name,banned_by_name FROM ' . $table_warnings . ' INNER JOIN ' . $table_history . ' on ' . $table_bans . '.uuid=' . $table_history . '.uuid WHERE active=1 GROUP BY name ORDER BY time DESC LIMIT 20'; $sql = 'SELECT time,until,reason,name,banned_by_name FROM ' . $table_warnings . ' INNER JOIN ' . $table_history . ' on ' . $table_warnings . '.uuid=' . $table_history . '.uuid WHERE active=1 GROUP BY name ORDER BY time DESC LIMIT 20';
$retval = mysql_query($sql, $conn); $retval = mysql_query($sql, $conn);
if (!$retval) { if (!$retval) {