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

This commit is contained in:
Igor Barkov (iwork) 2020-09-30 17:17:14 +03:00
parent 32ce7ad7e4
commit 6fd40b7bdf

View File

@ -256,12 +256,8 @@ function bgset($img)
} }
$online = db::c()->query('SELECT 1 FROM `online` WHERE `real_time` >= ?i', (time() - 60)); $online = db::c()->query('SELECT 1 FROM `online` WHERE `real_time` >= ?i', (time() - 60));
Template::header('city');
?> ?>
<!doctype html>
<html lang="ru">
<HEAD>
<link rel=stylesheet href="css/main.css">
<meta charset="utf-8">
<style> <style>
img.building:hover { img.building:hover {
filter: drop-shadow(2px 2px 2px white) sepia(15%); filter: drop-shadow(2px 2px 2px white) sepia(15%);
@ -279,9 +275,6 @@ $online = db::c()->query('SELECT 1 FROM `online` WHERE `real_time` >= ?i', (time
document.onmousedown = Down; document.onmousedown = Down;
</script> </script>
<title></title>
</HEAD>
<body>
<table class="allzeroes"> <table class="allzeroes">
<TR> <TR>
<TD align=center></TD> <TD align=center></TD>
@ -364,5 +357,3 @@ $online = db::c()->query('SELECT 1 FROM `online` WHERE `real_time` >= ?i', (time
</td> </td>
</tr> </tr>
</table> </table>
</body>
</html>