Ёбанный вечный цикл!!!
This commit is contained in:
parent
6622cc2073
commit
3657a803a0
37
inf.php
37
inf.php
@ -76,7 +76,6 @@ if (empty($user['id'])) {
|
||||
$effect = db::c()->query('SELECT `time` FROM `effects` WHERE `owner` = ?i AND `type` = ?i ', $user['id'], 5)->fetch_assoc();
|
||||
if ($effect['time'] AND ($own['admin'] != 1 OR ((int)$own['align']) != 1)) die('<h3>Персонаж обезличен!</h3>');
|
||||
if (!empty($user['realname'])) echo "Имя: " . $user['realname'] . "<br>";
|
||||
if (!empty($user['city'])) echo "Город: " . $user['city'] . "<br>";
|
||||
if (!empty($user['lozung'])) echo "Лозунг: " . $user['lozung'] . "<br>";
|
||||
?>
|
||||
<p style="font-family: Consolas,monospace;"><?= nl2br($user['info']); ?></p><hr>
|
||||
@ -170,17 +169,17 @@ if ((((int)$own['align'] == 1) AND (!$user['admin']) AND ($own['align'] > 1.2))
|
||||
|
||||
if ($okld == 1) {
|
||||
echo "<H4>Личное дело</H4>";
|
||||
$ld = db::c()->query('SELECT * FROM `lichka` WHERE `pers` = ?i ORDER BY `id` ASC', $user['id'])->fetch_assoc();
|
||||
while ($ld) {
|
||||
$dat = date("d.m.Y H:i", $ld['date']);
|
||||
echo "<code>$dat {$ld['text']} </code><br />";
|
||||
$ld = db::c()->query('SELECT * FROM `lichka` WHERE `pers` = ?i ORDER BY `id` ASC', $user['id']);
|
||||
while ($row_ld = $ld->fetch_assoc()) {
|
||||
$dat = date("d.m.Y H:i", $row_ld['date']);
|
||||
echo "<code>$dat {$row_ld['text']} </code><br />";
|
||||
}
|
||||
}
|
||||
|
||||
if ($okdop == 1) {
|
||||
echo "<H4>Возможные мульты</H4>";
|
||||
$iplog = db::c()->query('SELECT idperslater FROM delo_multi WHERE idpersnow = ?i GROUP BY idperslater ASC', $user['id'])->fetch_assoc();
|
||||
while ($iplog) echo nick3($iplog['idperslater']) . " ";
|
||||
$iplog = db::c()->query('SELECT idperslater FROM delo_multi WHERE idpersnow = ?i GROUP BY idperslater ASC', $user['id'])-;
|
||||
while ($row_iplog = $iplog->fetch_assoc()) echo nick3($row_iplog['idperslater']) . " ";
|
||||
|
||||
echo "<H4>Дополнительные сведения</H4>";
|
||||
|
||||
@ -199,7 +198,7 @@ if ($own['admin'] == 1) {
|
||||
if (!empty($user['reputation'])) echo "Всего Репутации: " . $user['reputation'] . "<br>";
|
||||
if (!empty($user['doblest'])) echo "Репутации: " . $user['doblest'] . "<br>";
|
||||
|
||||
if ($user_bank = db::c()->query('SELECT `id`,`cr`,`ekr` FROM `bank` WHERE `owner` = ?i', $user['id'])->fetch_assoc()) {
|
||||
if ($user_bank = db::c()->query('SELECT `id`,`cr`,`ekr` FROM `bank` WHERE `owner` = ?i', $user['id'])) {
|
||||
echo "<H4>Банк</H4>";
|
||||
echo "
|
||||
<table class='adm'>
|
||||
@ -209,12 +208,12 @@ if ($own['admin'] == 1) {
|
||||
<th>ЕвроКредитов.</th>
|
||||
</tr>
|
||||
";
|
||||
while ($user_bank) {
|
||||
while ($row_user_bank = $user_bank->fetch_assoc()) {
|
||||
echo "
|
||||
<tr>
|
||||
<th>" . $user_bank['id'] . "</th>
|
||||
<td>" . $user_bank['cr'] . "</td>
|
||||
<td>" . $user_bank['ekr'] . "</td>
|
||||
<th>" . $row_user_bank['id'] . "</th>
|
||||
<td>" . $row_user_bank['cr'] . "</td>
|
||||
<td>" . $row_user_bank['ekr'] . "</td>
|
||||
</tr>
|
||||
</table><br>";
|
||||
}
|
||||
@ -244,16 +243,16 @@ if ($own['admin'] == 1) {
|
||||
<th>×</th>
|
||||
</tr>
|
||||
";
|
||||
$inv = db::c()->query('SELECT `id`,`name`,`koll`,`img` FROM `inventory` WHERE `owner` = ?i ORDER BY `id` DESC', $user['id'])->fetch_assoc();
|
||||
while ($inv) {
|
||||
$inv = db::c()->query('SELECT `id`,`name`,`koll`,`img` FROM `inventory` WHERE `owner` = ?i ORDER BY `id` DESC', $user['id']);
|
||||
while ($row_inv = $inv->fetch_assoc()) {
|
||||
echo "
|
||||
<form method='post'>
|
||||
<tr>
|
||||
<td>{$inv['id']}</td>
|
||||
<td>{$inv['name']}</td>
|
||||
<td>{$inv['koll']}</td>
|
||||
<td><img src='i/sh/{$inv['img']}'></td>
|
||||
<td><input name='del' type='hidden' value='{$inv['id']}'>
|
||||
<td>{$row_inv['id']}</td>
|
||||
<td>{$row_inv['name']}</td>
|
||||
<td>{$row_inv['koll']}</td>
|
||||
<td><img src='i/sh/{$row_inv['img']}'></td>
|
||||
<td><input name='del' type='hidden' value='{$row_inv['id']}'>
|
||||
<input name='ok' type='submit' value='Удалить'></td>
|
||||
</tr>
|
||||
</form>
|
||||
|
Loading…
Reference in New Issue
Block a user