WIP: new battle
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<?php
|
||||
|
||||
use Helper\Conversion;
|
||||
use User\ItemsModel;
|
||||
|
||||
header('Expires: Mon, 26 Jul 1970 05:00:00 GMT');
|
||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||
@@ -139,7 +140,7 @@ if ($_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest') {
|
||||
$x = 0;
|
||||
$uus = [];
|
||||
while ($pl = mysql_fetch_array($sp)) {
|
||||
$x = $u->itemsX($pl['id'], $pl['uid']);
|
||||
$x = ItemsModel::itemsX($pl['id'], $pl['uid']);
|
||||
$fu = $pl['uid'];
|
||||
if ($pl['uid'] == $u->tfer['uid1']) {
|
||||
$pl['uid'] = $u->tfer['uid2'];
|
||||
@@ -301,7 +302,7 @@ if ($_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest') {
|
||||
function itmInfotf($pl, $cl)
|
||||
{
|
||||
global $u, $c, $code;
|
||||
$x = $u->itemsX($pl['id'], $pl['uid']);
|
||||
$x = ItemsModel::itemsX($pl['id'], $pl['uid']);
|
||||
if ($x > 1) {
|
||||
$x = ' (x' . $x . ')';
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user