diff --git a/classes/User.php b/classes/User.php index b4d6d18..be7c9a7 100644 --- a/classes/User.php +++ b/classes/User.php @@ -187,7 +187,7 @@ EMPTY_SLOT; echo ''; if ($this->watcherIsAdmin || $this->watcherIsModerator) { - echo '
'; + echo '
'; $infoString = 'Личное дело
ИД Игрока: %s
ДР Игрока: %s
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 '
'; while ($userLogRow = $this->UserLogs->getUserLog()->fetch_object()) { echo sprintf('%s
', date("d.m.Y H:i ", strtotime($userLogRow->date)) . $userLogRow->text); } - echo '
'; + echo '
'; + echo '
'; } } diff --git a/css/main.css b/css/main.css index 74e21a5..0ea0ee2 100644 --- a/css/main.css +++ b/css/main.css @@ -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; } \ No newline at end of file diff --git a/inf.php b/inf.php index 0e900ba..9472724 100644 --- a/inf.php +++ b/inf.php @@ -44,7 +44,6 @@ try { } include_once 'views/presents-list.php'; - ?>