Вызов логина персонажа по единому стандарту.
This commit is contained in:
+4
-4
@@ -24,7 +24,7 @@ $u = User::start();
|
||||
</head>
|
||||
<body style="padding-top:0px; margin-top:7px; height:100%; background-color:#dedede;">
|
||||
<script type="text/javascript" src="js/jquery.js"></script>
|
||||
<center><strong>Просматривает персонаж: </strong><?= $u->microLogin($u->info['id'], 1) ?></center>
|
||||
<center><strong>Просматривает персонаж: </strong><?= $u->getLogin() ?></center>
|
||||
<hr>
|
||||
<INPUT style="float:right" class="btn btn-success" TYPE=button value="Обновить" style='width: 100px'
|
||||
onClick="location.href='monitoring'"></div>
|
||||
@@ -41,7 +41,7 @@ while ($pl = mysql_fetch_array($sp)) {
|
||||
//
|
||||
$spu = mysql_query('SELECT `id` FROM `stats` WHERE `zv` = "' . $pl['id'] . '"');
|
||||
while ($plu = mysql_fetch_array($spu)) {
|
||||
$users .= $u->microLogin($plu['id'], 1) . ',';
|
||||
$users .= $u->getLogin($plu['id']) . ',';
|
||||
}
|
||||
//
|
||||
if ($users == '') {
|
||||
@@ -93,7 +93,7 @@ while ($pl = mysql_fetch_array($sp)) {
|
||||
if (!isset($usersa[$plu['team']])) {
|
||||
$userst[] = $plu['team'];
|
||||
}
|
||||
$usersa[$plu['team']] .= $u->microLogin($plu['id'], 1) . ',';
|
||||
$usersa[$plu['team']] .= $u->getLogin($plu['id']) . ',';
|
||||
}
|
||||
//
|
||||
if (count($usersa) > 0) {
|
||||
@@ -161,7 +161,7 @@ while ($pl = mysql_fetch_array($sp)) {
|
||||
$users = '';
|
||||
$spu = mysql_query('SELECT `id` FROM `users` WHERE `inTurnir` = "' . $pl['id'] . '"');
|
||||
while ($plu = mysql_fetch_array($spu)) {
|
||||
$users .= $u->microLogin($plu['id'], 1) . ',';
|
||||
$users .= $u->getLogin($plu['id']) . ',';
|
||||
}
|
||||
$users = rtrim($users, ',');
|
||||
$html .= ' <span title="[' . $pl['status'] . ']">Турнир Башни Смерти уже идет.</span>';
|
||||
|
||||
Reference in New Issue
Block a user