Размер файла: 2.35Kb
<?php
#Системные Цвета
$color_green = 'lime';
$color_red = 'red';
####################
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">
<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"ru\" lang=\"ru\">
<head>";
echo "<title>
$title_page | $title
</title>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />
<meta name=\"description\" content=\"$meta_descr\" />
<meta name=\"keywords\" content=\"$meta_key\" />
<link rel=\"shortcut icon\" href=\"$home/themes/dark_style/favicon.ico\" type=\"image/x-icon\" />
<link rel=\"stylesheet\" href=\"$home/themes/dark_style/style.css\" type=\"text/css\" />
</head>
<body>";
echo '<div class="head">
<div class="head_r">
<table height="62px" align="center" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>';
echo'<p align="center">';
if(!empty($logo))
{
echo '<img src="/themes/dark_style/logo.png" alt="Лого" /></a>';
}
echo '</p></td>
</tr>
</table>
</div>
</div>';
echo '<div class="user_aut">
<table cellpadding="0" cellspacing="0">
<tr>';
echo '<td class="link_aut_l"> </td><td class="link_aut">';
$color_new_ls = 'gold';
include ($dob_url.'/templates/themes_panel.php');
echo '</td>
</tr>
</table>
</div>';
function re_icon($re_icon)
{
if(!strstr($_SERVER['SCRIPT_NAME'], 'modules/forum') && !strstr($_SERVER['SCRIPT_NAME'], 'modules/zagruz') && !strstr($_SERVER['SCRIPT_NAME'], 'modules/book') && !strstr($_SERVER['SCRIPT_NAME'], 'modules/admin') && !strstr($_SERVER['SCRIPT_NAME'], 'modules/kabinet/notepad'))
{
$re_icon = str_replace ('»','<img src="/themes/dark_style/ico.png" alt="»" />',$re_icon);
$re_icon = str_replace ('»','<img src="/themes/dark_style/ico.png" alt="»" />',$re_icon);
}
return $re_icon;
}
ob_start(re_icon);
echo '<div class="main_menu">';
####################
$file_all_top = file_get_contents($dob_url.'/data/reklama_all_top.txt');
if(!empty($file_all_top))
{
echo'<p class="rekl">'.$file_all_top.'</p>';
}
####################
list($msec,$sec)=explode(chr(32),microtime());
$headtime=$sec+$msec;
?>