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

This commit is contained in:
Igor Barkov (iwork) 2020-09-30 17:50:09 +03:00
parent 47147182fb
commit f75a07aa07
1 changed files with 2 additions and 10 deletions

View File

@ -11,12 +11,8 @@ if (empty($userLoginStatus)) {
} else { } else {
db::c()->query('UPDATE `users` SET `enter_game` = 0 WHERE `enter_game` = 1 AND `id` = ?i', $_SESSION['uid']); db::c()->query('UPDATE `users` SET `enter_game` = 0 WHERE `enter_game` = 1 AND `id` = ?i', $_SESSION['uid']);
} }
Template::header('Окно игры');
?> ?>
<!doctype html>
<html lang="ru">
<head>
<title>Окно игры</title>
<meta charset="utf-8">
<script> <script>
if (!navigator.cookieEnabled) { if (!navigator.cookieEnabled) {
document.write('Внимание! В вашем браузере отключена поддержка Cookies. Включите чтобы играть.'); document.write('Внимание! В вашем браузере отключена поддержка Cookies. Включите чтобы играть.');
@ -51,8 +47,6 @@ if (empty($userLoginStatus)) {
padding: 0; padding: 0;
} }
</style> </style>
</head>
<body>
<table class="frametable"> <table class="frametable">
<tr style="height: 25px;"> <tr style="height: 25px;">
<td class="frametd"> <td class="frametd">
@ -71,6 +65,4 @@ if (empty($userLoginStatus)) {
<iframe id="chat<?= mt_rand() ?>" class="FRAME" src="chat.php" frameborder="0" name="chatframe"></iframe> <iframe id="chat<?= mt_rand() ?>" class="FRAME" src="chat.php" frameborder="0" name="chatframe"></iframe>
</td> </td>
</tr> </tr>
</table> </table>
</body>
</html>