View file template/designs/shcms/head.php

File size: 1.73Kb
<?
header("Content-type: text/html");
echo '<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />';?>
<title><?echo $shcmsengine['title'];?></title>
<link rel="stylesheet" href="/template/designs/shcms/style.css" type="text/css"/>
<?
$meta_settings = mysql_fetch_array(mysql_query("SELECT * FROM settings_shcms"));
echo '<link rel="shortcut icon" href="favicon.ico" />';
echo '<meta name="description" content="'.$meta_settings['description'].'" />';echo "\n";
echo '<meta name="keywords" content="'.$meta_settings['keywords'].'" />';echo "\n";
echo '<meta name="copyright" content="'.$meta_settings['copyright'].'" />';echo "\n";
echo '<meta name="generator" content="SHCMS Engine (http://shimsidin.ru)" />';echo "\n";
?>
</head>

<body>
<div class="body">
  <div class="headers">
<a title="Перейти на главную" href="/"><img src="/template/designs/shcms/images/logo.png"/></a></div>
<div class="user_foot">
  <div class="cen">
    <?
        $new_mail = mysql_result(mysql_query("SELECT COUNT(*) FROM `mail` WHERE `user` = '" . $login . "' AND `type` = 'in' AND `chit` = 'no'"), 0);
echo ($user_id)? '<a href="'.DIR_SHCMS.'private_menu.php">Меню: '.$login.'</a> | ' : '';
echo $user_id ? ' <a href="' . DIR_SHCMS . 'mails.php?act=inbox&amp;new"> Почта ('.$new_mail.')</a>' : '';
echo $user_id ? ' | <a href="'.DIR_SHCMS.'outcome.php">Выйти</a>' : '
<a href="' . DIR_SHCMS . 'authorization.php">Войти</a> | 
<a href="' . DIR_SHCMS . 'registration.php">Регистрация</a>';
?>
  </div>
</div>

<div class="user_foot"><?echo "".$shcmsengine['title']."";?></div>
<?
reklama_head();
?>
<div class='form'>