поехала строка в ЛД
This commit is contained in:
parent
484b2e4f8a
commit
2a0f454343
@ -187,7 +187,7 @@ EMPTY_SLOT;
|
||||
echo '</div><!-- user-info-container-lower -->';
|
||||
|
||||
if ($this->watcherIsAdmin || $this->watcherIsModerator) {
|
||||
echo '<div class="secretInfo">';
|
||||
echo '<div class="secret-info">';
|
||||
$infoString = '<b>Личное дело</b><br>ИД Игрока: %s<br> ДР Игрока: %s<br> IP Регистрации: %s';
|
||||
echo sprintf($infoString, $this->id, date('d.m.Y', strtotime($this->borndate)), $this->ip);
|
||||
if ($this->watcherIsAdmin) {
|
||||
@ -196,10 +196,12 @@ EMPTY_SLOT;
|
||||
echo sprintf($infoString, $this->room, $this->money, $this->Bank->money, $this->experience, $this->stat_points, $this->email, $this->session_id);
|
||||
}
|
||||
$this->UserLogs = new UserLogModel($this->id);
|
||||
echo '<div class="secret-info-user-log">';
|
||||
while ($userLogRow = $this->UserLogs->getUserLog()->fetch_object()) {
|
||||
echo sprintf('<code>%s</code><br>', date("d.m.Y H:i ", strtotime($userLogRow->date)) . $userLogRow->text);
|
||||
}
|
||||
echo '</div>';
|
||||
echo '</div><!-- secret-info-user-log -->';
|
||||
echo '</div><!-- secret-info -->';
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -410,12 +410,12 @@ div.debug {
|
||||
border-radius:5px;
|
||||
padding:5px;
|
||||
}
|
||||
div.secretInfo {
|
||||
div.secret-info {
|
||||
background:#fee;
|
||||
border:1px dashed #faa;
|
||||
border-radius:5px;
|
||||
padding:5px;
|
||||
}
|
||||
div.secretInfo > span {
|
||||
div.secret-info > span {
|
||||
color: #966;
|
||||
}
|
Loading…
Reference in New Issue
Block a user