Внедрение шаблонизатора. Решение самых идиотских ошибок вёрстки. Кое-где исправлены ошибки синтаксиса php.

This commit is contained in:
Igor Barkov (iwork)
2020-09-30 22:12:34 +03:00
parent 8b1a2e9b38
commit a4de6c51a3
41 changed files with 4688 additions and 5715 deletions
+2 -15
View File
@@ -596,17 +596,13 @@ VALUES ("?s","?s",?i,?i,?i,"?s","?s",?i,?i,?i,?i)',
}
$zay = new Zayavka;
header("Cache-Control: no-cache");
if (!empty($_POST['open'])) {
$f = fopen("/tmp/zayavka/" . $user->id . ".txt", "w+");
fputs($f, time());
fclose($f);
}
Template::header('zayavka');
?>
<HTML lang="ru">
<HEAD>
<link rel=stylesheet href="css/main.css">
<meta charset=utf-8">
<style>
.m {
background: #99CCCC;
@@ -618,9 +614,6 @@ if (!empty($_POST['open'])) {
text-align: center;
}
</style>
<title></title>
</HEAD>
<body>
<TABLE width=100% cellspacing=1 cellpadding=1>
<TR>
<TD colspan=5>
@@ -1087,10 +1080,4 @@ if ($get == 'current') {
}
}
}
db::c()->query('UNLOCK TABLES');
?>
</form>
</body>
</html>
db::c()->query('UNLOCK TABLES');