Большая чистка.
@ -1389,20 +1389,19 @@ class User
|
|||||||
return $plid;
|
return $plid;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function microLogin2(array $bus): string
|
public function microLogin2(array $userInfo): string
|
||||||
{
|
{
|
||||||
$bus['login_BIG'] = '<strong>';
|
$result = '';
|
||||||
if ($bus['align'] > 0) {
|
if ($userInfo['align'] > 0) {
|
||||||
$bus['login_BIG'] .= '<img src=' . Config::img() . '/i/align/align' . $bus['align'] . '.gif>';
|
$result .= '<img src=' . Config::img() . '/i/align/align' . $userInfo['align'] . '.gif>';
|
||||||
}
|
}
|
||||||
if ($bus['align2'] > 0) {
|
if ($userInfo['clan'] > 0) {
|
||||||
$bus['login_BIG'] .= '<img src=' . Config::img() . '/i/align/align' . $bus['align2'] . '.gif>';
|
$clanName = Db::getValue('select name_mini from clan where id = ?', [$userInfo['clan']]);
|
||||||
|
$result .= '<img src=' . Config::img() . '/i/clan/' . $clanName . '.gif>';
|
||||||
}
|
}
|
||||||
if ($bus['clan'] > 0) {
|
$result .= '<strong>' . $userInfo['login'] . '</strong>[' . $userInfo['level'] . ']';
|
||||||
$bus['login_BIG'] .= '<img src=' . Config::img() . '/i/clan/' . $bus['clan'] . '.gif>';
|
$result .= '<a target=_blank href=/info/' . $userInfo['id'] . ' ><img src=' . Config::img() . '/i/inf_capitalcity.gif alt=""></a>';
|
||||||
}
|
return $result;
|
||||||
$bus['login_BIG'] .= $bus['login'] . '</strong>[' . $bus['level'] . ']<a target=_blank href=/info/' . $bus['id'] . ' ><img width=12 hiehgt=11 src=' . Config::img() . '/i/inf_capitalcity.gif ></a>';
|
|
||||||
return $bus['login_BIG'];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function microLogin(int $id, int $t = 1, int $nnz = 1): string
|
public function microLogin(int $id, int $t = 1, int $nnz = 1): string
|
||||||
@ -1434,21 +1433,7 @@ class User
|
|||||||
($this->info['id'] == $inf['id'] && $nnz === 1)
|
($this->info['id'] == $inf['id'] && $nnz === 1)
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
if ($inf['align'] > 0) {
|
$r = $this->microLogin2($inf);
|
||||||
$r .= '<img src="' . Config::img() . '/i/align/align' . $inf['align'] . '.gif" />';
|
|
||||||
}
|
|
||||||
if ($inf['align2'] > 0) {
|
|
||||||
$r .= '<img src="' . Config::img() . '/i/align/align' . $inf['align2'] . '.gif" />';
|
|
||||||
}
|
|
||||||
if ($inf['name_mini']) {
|
|
||||||
$r .= '<img src="' . Config::img() . '/i/clan/' . $inf['name_mini'] . '.gif" />';
|
|
||||||
}
|
|
||||||
if ($inf['cityreg'] == '') {
|
|
||||||
$inf['cityreg'] = 'capitalcity';
|
|
||||||
}
|
|
||||||
$r .= '<strong>' . $inf['login'] . '</strong> [' . $inf['level'] . ']<a target="_blank" href="' . Config::get(
|
|
||||||
'https'
|
|
||||||
) . '/info/' . $inf['id'] . '"><img src="' . Config::img() . '/i/inf_' . $inf['cityreg'] . '.gif" /></a>';
|
|
||||||
} else {
|
} else {
|
||||||
$r = '<strong><i>Невидимка</i></strong> [??]';
|
$r = '<strong><i>Невидимка</i></strong> [??]';
|
||||||
}
|
}
|
||||||
|
@ -105,6 +105,7 @@ $u->stats = $u->getStats($u->info['id'], 0);
|
|||||||
}
|
}
|
||||||
|
|
||||||
let enterUse = 0;
|
let enterUse = 0;
|
||||||
|
|
||||||
function testKey(event) {
|
function testKey(event) {
|
||||||
if (event.keyCode === 10 || event.keyCode === 13) {
|
if (event.keyCode === 10 || event.keyCode === 13) {
|
||||||
if (enterUse === 0) {
|
if (enterUse === 0) {
|
||||||
@ -178,7 +179,7 @@ $u->stats = $u->getStats($u->info['id'], 0);
|
|||||||
</script>
|
</script>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<link href="./js/trainingModals/registration/trainingModalStyles.css" rel="stylesheet" >
|
<link href="./js/trainingModals/registration/trainingModalStyles.css" rel="stylesheet">
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
/* Additional classes examples */
|
/* Additional classes examples */
|
||||||
@ -943,7 +944,7 @@ $u->stats = $u->getStats($u->info['id'], 0);
|
|||||||
src="<?= Config::img() ?>/i/buttons/chatBtn151.gif" alt="Обкаст">
|
src="<?= Config::img() ?>/i/buttons/chatBtn151.gif" alt="Обкаст">
|
||||||
</td>
|
</td>
|
||||||
<?php
|
<?php
|
||||||
if ($u->info['align'] == 50 || $u->info['align2'] == 50 || $u->info['admin'] > 0) { ?>
|
if ($u->info['align'] == 50 || $u->info['admin'] > 0) { ?>
|
||||||
<td style="width: 30px">
|
<td style="width: 30px">
|
||||||
<img onClick="top.getUrl('main','main.php?alhp=1&rnd='+c.rnd);" class="db cp"
|
<img onClick="top.getUrl('main','main.php?alhp=1&rnd='+c.rnd);" class="db cp"
|
||||||
src="<?= Config::img() ?>/i/buttons/chatBtn20.gif" alt="">
|
src="<?= Config::img() ?>/i/buttons/chatBtn20.gif" alt="">
|
||||||
|
Before Width: | Height: | Size: 265 B |
Before Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 1018 B |
Before Width: | Height: | Size: 1018 B |
Before Width: | Height: | Size: 375 B |
Before Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 257 B |
Before Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 187 B |
Before Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 560 B |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 185 B |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 292 B |
Before Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 641 B |
Before Width: | Height: | Size: 9.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 8.4 KiB |
Before Width: | Height: | Size: 594 B |
Before Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 143 KiB |
Before Width: | Height: | Size: 143 KiB |
Before Width: | Height: | Size: 143 KiB |
Before Width: | Height: | Size: 143 KiB |
Before Width: | Height: | Size: 143 KiB |
Before Width: | Height: | Size: 143 KiB |
Before Width: | Height: | Size: 143 KiB |
Before Width: | Height: | Size: 143 KiB |
Before Width: | Height: | Size: 143 KiB |
Before Width: | Height: | Size: 143 KiB |
Before Width: | Height: | Size: 977 B |
Before Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 6.5 KiB |
Before Width: | Height: | Size: 6.5 KiB |
Before Width: | Height: | Size: 594 B |
Before Width: | Height: | Size: 299 B |
Before Width: | Height: | Size: 208 B |
Before Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 150 B |
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 431 B |
Before Width: | Height: | Size: 275 B |
Before Width: | Height: | Size: 375 B |
Before Width: | Height: | Size: 987 B |
Before Width: | Height: | Size: 295 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 180 B |
Before Width: | Height: | Size: 5.6 KiB |
Before Width: | Height: | Size: 92 B |
Before Width: | Height: | Size: 185 B |
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 641 B |
Before Width: | Height: | Size: 594 B |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 5.7 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 431 B |
Before Width: | Height: | Size: 180 B |
Before Width: | Height: | Size: 265 B |
Before Width: | Height: | Size: 208 B |
Before Width: | Height: | Size: 6.5 KiB |
Before Width: | Height: | Size: 5.6 KiB |
Before Width: | Height: | Size: 275 B |
Before Width: | Height: | Size: 233 B |
Before Width: | Height: | Size: 267 B |
Before Width: | Height: | Size: 333 B |
Before Width: | Height: | Size: 92 B |
Before Width: | Height: | Size: 226 B |
Before Width: | Height: | Size: 326 B |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 906 B |
Before Width: | Height: | Size: 618 B |
Before Width: | Height: | Size: 1005 B |
Before Width: | Height: | Size: 375 B |
Before Width: | Height: | Size: 691 B |
Before Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 375 B |
Before Width: | Height: | Size: 375 B |
Before Width: | Height: | Size: 375 B |
Before Width: | Height: | Size: 375 B |
Before Width: | Height: | Size: 375 B |
Before Width: | Height: | Size: 641 B |
Before Width: | Height: | Size: 348 B |
Before Width: | Height: | Size: 252 B |
Before Width: | Height: | Size: 350 B |
Before Width: | Height: | Size: 92 B |
Before Width: | Height: | Size: 997 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |