2022-08-25 11:23:36 +00:00
|
|
|
|
<?php
|
|
|
|
|
const GAME = true;
|
2022-06-06 21:30:34 +00:00
|
|
|
|
include('_incl_data/__config.php');
|
|
|
|
|
include('_incl_data/class/__db_connect.php');
|
2022-08-25 11:23:36 +00:00
|
|
|
|
$u = User::start();
|
2022-06-06 21:30:34 +00:00
|
|
|
|
|
2022-08-25 11:23:36 +00:00
|
|
|
|
if (isset($_GET['test'])) {
|
|
|
|
|
$sp = mysql_query('SELECT * FROM `users` WHERE `real` > 0 AND `banned` = 0 ORDER BY `id` DESC');
|
|
|
|
|
while ($pl = mysql_fetch_array($sp)) {
|
|
|
|
|
$prc = mysql_fetch_array(
|
|
|
|
|
mysql_query(
|
|
|
|
|
'SELECT SUM(`2price`) AS `a` , SUM(`1price`) AS `b` FROM `items_users` WHERE `uid` = "' . $pl['id'] . '" AND `delete` < `time_create` LIMIT 1'
|
|
|
|
|
)
|
|
|
|
|
);
|
|
|
|
|
if ($prc['a'] > 0) {
|
|
|
|
|
echo $u->microLogin(
|
|
|
|
|
$pl, 2
|
2023-01-10 16:29:32 +00:00
|
|
|
|
) . ' - - - - - - - - <b>' . ($prc['a']) . ' (вещи) + ' . $pl['money2'] . ' ЕКР</b> \ <b>' . ($prc['b'] + $pl['money1']) . ' КР</b><br>';
|
2022-08-25 11:23:36 +00:00
|
|
|
|
echo '<hr>';
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-06-06 21:30:34 +00:00
|
|
|
|
}
|