<?php
$rand = rand(0000,9999);
if ($ajax_query == false) {
echo '<!DOCTYPE html>';
echo '<html lang="ru">';
echo '<head>';
echo '<meta name="viewport" content="width=device-width, initial-scale=1" />';
echo '<title id="thead"></title>';
echo '<link rel="stylesheet" href="'.URL.'/style/style.css">';
echo '<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">';
echo '<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,400italic|Roboto+Mono:400,500|Material+Icons" rel="stylesheet">';
echo '<script src="'.URL.'/js/jquery.js?r=1" type="text/javascript"></script>';
echo '<script src="'.URL.'/js/ajaxupload.3.5.js?r=1" type="text/javascript"></script>';
echo '<script src="'.URL.'/js/main.js?r=1"></script>';
echo '</head><body>';
}
?>
<script>var thead = '<?php echo $title;?>';document.getElementById("thead").innerHTML = thead;
var title = '<?php echo $title;?>';document.getElementById("title").innerHTML = title;</script>