23 lines
371 B
PHP
23 lines
371 B
PHP
<?php
|
|
# Date: 30.09.2020 (09:42)
|
|
|
|
class Template
|
|
{
|
|
/**
|
|
* 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;
|
|
}
|
|
} |