Внедрение шаблонизатора.

This commit is contained in:
Igor Barkov (iwork) 2020-09-30 14:51:18 +03:00
parent 8262dd3f45
commit 02dc4582dc
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ $presentsList = $presentsModel->getAllPresents();
$userInfo->watcher_id = $userInfo->id ?? null;
Template::header('Информация о ' . $userInfo->login);
if (!$userInfo->id) {
sprintf('Ошибка: персонаж <em>%s</em> не найден...<p><a style="color: #99f;" href="javascript:window.history.go(-1);">←назад</a></p>', $login);
echo sprintf('Ошибка: персонаж <em>%s</em> не найден...<p><a style="color: #99f;" href="javascript:window.history.go(-1);">←назад</a></p>', $login);
exit;
}
try {