Файл: themes/chuma.php
Строк: 55
<?php
####################
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 $title_page
</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<link rel="shortcut icon" href="$home/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="$home/themes/chuma/style.css" type="text/css" />
</head>
<body>";
echo "<p align="center" class="top">";
if(!empty($logo))
{
echo '<a href="'.$home.'"><img src="'.$logo.'" alt="'.$title.'" /></a><br />';
}
echo "$textlogo";
if(isset($_SESSION['pass']) && isset($passw) && $_SESSION['pass'] == $passw)
{
echo"<br /><a href="$dob_url/modules/kabinet/index.php?".session_name()."=".session_id()."" class="cc">Личный кабинет</a><br />";
echo vremya_sut($sdvigclock).' '.$login.'<br />';
if($new_ls > 0)
{
echo"<a href="$dob_url/modules/kabinet/inbox.php?".session_name()."=".session_id()."" class="aerr">Новые сообщения: $new_ls</a><br />";
}
if($status == 1 || $status == 2 || $status == 3)
{
echo"<a href="$dob_url/modules/admin/index.php?".session_name()."=".session_id()."" class="cc">Админ панель</a><br />";
}
}
else
{
echo"<br /><a href="$dob_url/modules/kabinet/index.php?".session_name()."=".session_id()."" class="cc">Вход</a><br />";
echo"<a href="$dob_url/modules/kabinet/reg.php?".session_name()."=".session_id()."" class="cc">Регистрация</a><br />";
}
echo "</p>";
####################
$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;
?>