Размер файла: 3.31Kb
<?php
#-----------------------------------------------------#
# ********* ROTORCMS ********* #
# Made by : VANTUZ #
# E-mail : [email protected] #
# Site : http://pizdec.ru #
# WAP-Site : http://visavi.net #
# ICQ : 36-44-66 #
# Вы не имеете право вносить изменения в код скрипта #
# для его дальнейшего распространения #
#-----------------------------------------------------#
header('Content-type:text/html; charset=utf-8');
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">';
echo '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru" lang="ru"><head>';
echo '<title>%TITLE%</title>';
echo '<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />';
echo '<link rel="shortcut icon" href="'.$config['home'].'/favicon.ico" type="image/x-icon" />';
echo '<link rel="stylesheet" href="'.$config['home'].'/themes/mobile/style.css" type="text/css" />';
echo '<link rel="alternate" href="'.$config['home'].'/news/rss.php" title="RSS News" type="application/rss+xml" />';
include_javascript();
echo '<meta name="keywords" content="%KEYWORDS%" />';
echo '<meta name="description" content="%DESCRIPTION%" />';
echo '<meta name="generator" content="RotorCMS '.$config['rotorversion'].'" />';
echo '</head><body>';
echo '<!--Design by Vantuz (http://pizdec.ru)-->';
echo '<table width="600" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="10" height="10" style="background-image:url('.BASEDIR.'themes/mobile/border_top_left.gif);"></td>
<td width="580" height="10" style="background-image:url('.BASEDIR.'themes/mobile/border_top.gif);"></td>
<td width="10" height="10" style="background-image:url('.BASEDIR.'themes/mobile/border_top_right.gif);"></td>
</tr>
<tr valign="top">
<td width="10" style="background-image:url('.BASEDIR.'themes/mobile/border_left.gif);"></td>
<td width="580">';
echo '<div class="a" id="up"><a href="'.BASEDIR.'index.php?'.SID.'"><img src="'.$config['logotip'].'" alt="'.$config['title'].'" /></a><br />'.$config['logos'].' </div>';
echo '<div class="menu">';
if (is_user()){
echo user_gender($log).profile($log).' • ';
if (is_admin()){
echo '<a href="'.ADMINDIR.'index.php?'.SID.'">Панель</a> • ';
if (stats_spam()>0){
echo '<a href="'.ADMINDIR.'spam.php?'.SID.'"><span style="color:#ff0000">Спам!</span></a> • ';
}
if ($udata['users_newchat']<stats_newchat()){
echo '<a href="'.ADMINDIR.'chat.php?'.SID.'"><span style="color:#ff0000">Чат</span></a> • ';
}}
echo '<a href="'.BASEDIR.'pages/index.php?act=menu&'.SID.'">Меню</a> • ';
echo '<a href="'.BASEDIR.'input.php?act=exit&'.SID.'" onclick="return confirm(\'Вы действительно хотите выйти?\')">Выход</a>';
} else {
echo '<img src="'.BASEDIR.'images/img/closed.gif" alt="closed" /> <a href="'.BASEDIR.'pages/login.php?'.SID.'">Авторизация</a> • ';
echo '<a href="'.BASEDIR.'pages/registration.php?'.SID.'">Регистрация</a>';
}
echo '</div>';
echo '<div class="site">';
include_once(BASEDIR.'includes/note.php');
?>