Просмотр файла sayling/index.php

Размер файла: 4.17Kb
<?php
#-----------------------------------------------------#
#          ********* RotorCMS *********               #
#              Made by  :  VANTUZ                     #
#               E-mail  :  [email protected]         #
#                 Site  :  http://pizdec.ru           #
#             WAP-Site  :  http://visavi.net          #
#                  ICQ  :  36-44-66                   #
#  Вы не имеете право вносить изменения в код скрипта #
#        для его дальнейшего распространения          #
# ******--------------------------------------******  #
#          Themes by Tosyk - ICQ: 9515855             #
#-----------------------------------------------------#
header("Content-type:text/html; charset=utf-8");
?>
<!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>
	<title>%TITLE%</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<link rel="shortcut icon" href="<?=$config['home']?>/favicon.ico" type="image/x-icon" />
	<link rel="image_src" href="<?=$config['home']?>/images/img/icon.png" />
	<link rel="stylesheet" href="<?=$config['home']?>/themes/sayling/style.css" type="text/css" />
	<link rel="alternate" href="<?=$config['home']?>/news/rss.php" title="RSS News" type="application/rss+xml" />
	<?if (is_user() && !empty($udata['users_javascript'])){
		include_javascript();
	}?>
	<meta name="keywords" content="%KEYWORDS%" />
	<meta name="description" content="%DESCRIPTION%" />
	<meta name="viewport" content="width=device-width,initial-scale=1" />
	<meta name="generator" content="RotorCMS <?=$config['rotorversion']?>" />
</head>
<body>
<!--Themes by Tosyk-->
<div class="cs" id="up">
	<a href="<?=BASEDIR?>index.php?<?=SID?>"><img src="/themes/sayling/logo.png" alt="Visavi" /></a><br />
<?=$config['logos']?>
</div>
<div class="men">
<br>
<?if (is_user()){?>
<span class="button green11">
<?if (!is_admin()){?>
<a href="<?=BASEDIR?>pages/user.php?uz=" class="button shape-2 green effect-2"><img src="/themes/sayling/user.png" alt="user" /> <font size="3.5" color="white">Профиль</font></a>
<?}?>
<?if (is_admin()){?>
<a href="<?=BASEDIR?>pages/user.php?uz=" class="button_admin shape-2 green effect-2"><img src="/themes/sayling/user.png" alt="user" /> <font size="3.5" color="white">Профиль</font></a>
	<a href="<?=ADMINDIR?>index.php?<?=SID?>" class="button_admin shape-2 green effect-2"><font size="3.5" color="white">Панель</font></a>
	<?if (stats_spam()>0){?>
		<a href="<?=ADMINDIR?>spam.php?<?=SID?>" class="button_admin shape-2 green effect-2"><font size="3.5" color="white">Спам!</font></a>
	<?}?>
	<?if ($udata['users_newchat']<stats_newchat()){?>
		<a href="<?=ADMINDIR?>chat.php?<?=SID?>" class="button_admin shape-2 green effect-2"><font size="3.5" color="white">Чат</font></a>
	<?}?>
<a href="<?=BASEDIR?>pages/index.php?act=menu&amp;<?=SID?>" class="button_admiin shape-2 green effect-2"><font size="3.5" color="white">Меню</font></a>
<a href="<?=BASEDIR?>input.php?act=exit&amp;<?=SID?>" onclick="return confirm('Вы действительно хотите выйти?')"  class="button_admin shape-2 green effect-2"><font size="3.5" color="white">Выход</font></a>
</span>

<?}?>
<?if (!is_admin()){?>
<a href="<?=BASEDIR?>pages/index.php?act=menu&amp;<?=SID?>" class="button shape-2 green effect-2"><font size="3.5" color="white">Меню</font></a>
<a href="<?=BASEDIR?>input.php?act=exit&amp;<?=SID?>" onclick="return confirm('Вы действительно хотите выйти?')"  class="button shape-2 green effect-2"><font size="3.5" color="white">Выход</font></a>
<?}?>
</span>
<?} else {?>
<span class="button green11">
<a href="<?=BASEDIR?>pages/login.php?<?=SID?>" class="button shape-2 green effect-2"><font size="3.5" color="white">Авторизация</font></a> 
	<a href="<?=BASEDIR?>pages/registration.php?<?=SID?>" class="button shape-2 green effect-2"><font size="3.5" color="white">Регистрация</font></a>
</span>
<?}?>
</div>
<div class="site">
<?include_once(BASEDIR.'includes/note.php');?>