Mass update
This commit is contained in:
@@ -4,6 +4,12 @@
|
||||
</script>
|
||||
|
||||
<?php
|
||||
|
||||
use Core\Database;
|
||||
|
||||
if (!defined('GAME_VERSION')) {
|
||||
require_once '_incl_data/autoload.php';
|
||||
}
|
||||
session_start();
|
||||
if (!defined('GAME')) {
|
||||
die();
|
||||
@@ -217,10 +223,11 @@ if (isset($_GET['boxsort']) && $_GET['otdel'] == 5) {
|
||||
}
|
||||
|
||||
$itmAllSee = '<tr><td align="center" bgcolor="#c7c7c7"><3E><><EFBFBD><EFBFBD><EFBFBD></td></tr>';
|
||||
if ($itmAll[0] > 0)
|
||||
if ($itmAll[0] > 0) {
|
||||
$itmAllSee = $itmAll[2];
|
||||
$clrb = '';
|
||||
$clrba = '';
|
||||
}
|
||||
$clrb = '';
|
||||
$clrba = '';
|
||||
if ($u->aves['now'] >= $u->aves['max']) {
|
||||
$clrb = 'color:#BB0000;';
|
||||
$clrba = ' (<28> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!)';
|
||||
@@ -451,7 +458,7 @@ if (isset($_GET['mAjax'])) {
|
||||
<input class="btn btn-success" type="button"
|
||||
onclick="top.frames['main'].location='main.php?obraz&rnd=<?= $code; ?>'" value="<22><><EFBFBD><EFBFBD><EFBFBD>"/>
|
||||
<?php endif;
|
||||
$stmt = $pdo->prepare(
|
||||
$stmt = Database::pdoinit()->prepare(
|
||||
'select count(*) from reimage where ((uid = ? and clan = 0) or clan = ?) and good != 0 and bad = 0'
|
||||
);
|
||||
$stmt->execute([$u->info['id'], $u->info['clan']]);
|
||||
@@ -486,4 +493,4 @@ if (isset($_GET['mAjax'])) {
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user