поехала строка в ЛД

This commit is contained in:
lopar 2020-07-06 00:35:25 +03:00
parent 484b2e4f8a
commit 2a0f454343
3 changed files with 6 additions and 5 deletions

View File

@ -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 -->';
}
}

View File

@ -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;
}

View File

@ -44,7 +44,6 @@ try {
}
include_once 'views/presents-list.php';
?>
<script src="js/jquery-1.7.2.min.js"></script>
<script src="js/showthing.js"></script>