battles/classes/Template.php

23 lines
371 B
PHP
Raw Normal View History

<?php
# Date: 30.09.2020 (09:42)
2020-09-30 10:53:39 +00:00
class Template
{
2020-09-30 10:53:39 +00:00
/**
* Template constructor.
*/
public function __construct()
{
}
public static function header($title = null)
{
return <<<HTML_HEADER
<!doctype html>
<html lang="ru">
<meta charset="utf-8">
<link href="/css/main.css" rel="stylesheet">
<title>$title</title>
HTML_HEADER;
}
}