Файл: Sys/head2.php
Строк: 34
<?php
$microtime = microtime(1);
echo '
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link href="http://'.$_SERVER['HTTP_HOST'].'/Design/themes/'.$style.'/style.css" rel="stylesheet" type="text/css">
<link href="http://'.$_SERVER['HTTP_HOST'].'/favicon.ico" rel="shortcut icon">
<meta name="viewport" content="width=device-width, initial- scale=1.0, maximum-scale=1.0, user-scalable=0"/>
<meta name="keywords" content="Рейтинг мобильных сайтов Mswap.Ru" />
<title>'.$title.' - '.$set['topName'].'</title></head>
<body>
<div class="head"><a href="http://'.$_SERVER['HTTP_HOST'].'"><img src="http://'.$_SERVER['HTTP_HOST'].'/Design/themes/'.$style.'/logo.png" alt="" /></a></div>
';
if(!isset($user_data))
{
if($str != 'authentication' AND $str != 'registration')
{
}
}
else
{
if($str != 'authentication')
{
$adminPanel = ($user_data['level'] == 2 AND $str != 'adminPanel') ? '- <a href="http://'.$_SERVER['HTTP_HOST'].'/controlPanel">Управление сайтом</a><br/>' : '';
$office = ($str != 'office') ? '- <a href="http://'.$_SERVER['HTTP_HOST'].'/m/office">Кабинет</a><br/>' : '';
echo '<div class="main">';
echo '• Вы зашли , <strong>'.$user_data['login'].'</strong><br/> '.$adminPanel.$office.' - <a href="http://'.$_SERVER['HTTP_HOST'].'/exit">Завершить сеанс</a><br/>';
echo '</div>';
}
}
?>