Внедрение шаблонизатора.
This commit is contained in:
parent
32ce7ad7e4
commit
6fd40b7bdf
13
city.php
13
city.php
@ -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>
|
||||||
@ -363,6 +356,4 @@ $online = db::c()->query('SELECT 1 FROM `online` WHERE `real_time` >= ?i', (time
|
|||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</body>
|
|
||||||
</html>
|
|
Loading…
Reference in New Issue
Block a user