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

Размер файла: 2.87Kb
<?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");
?>
<!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/default/style.css" type="text/css" />
	<link rel="alternate" href="<?=$config['home']?>/news/rss.php" title="RSS News" type="application/rss+xml" />
	<?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 wap.imgstudio.ru-->
<div class="cs" id="up">
	<a href="<?=BASEDIR?>index.php?<?=SID?>"><img src="<?=$config['logotip']?>" alt="<?=$config['title']?>" /></a><br />
	<?=$config['logos']?>
</div>
<div class="menu">
<?if (is_user()){?>
	<?=user_gender($log)?>
	<?=profile($log)?> &bull; 
<?if (is_admin()){?>
	<a href="<?=ADMINDIR?>index.php?<?=SID?>">Панель</a> &bull; 
	<?if (stats_spam()>0){?>
		<a href="<?=ADMINDIR?>spam.php?<?=SID?>"><span style="color:#ff0000">Спам!</span></a> &bull; 
	<?}?>
	<?if ($udata['users_newchat']<stats_newchat()){?>
		<a href="<?=ADMINDIR?>chat.php?<?=SID?>"><span style="color:#ff0000">Чат</span></a> &bull; 
	<?}?>
<?}?>
	<a href="<?=BASEDIR?>pages/index.php?act=menu&amp;<?=SID?>">Меню</a> &bull; 
	<a href="<?=BASEDIR?>input.php?act=exit&amp;<?=SID?>" onclick="return confirm('Вы действительно хотите выйти?')">Выход</a>
<?} else {?>
	<img src="<?=BASEDIR?>images/img/closed.gif" alt="closed" /> <a href="<?=BASEDIR?>pages/login.php?<?=SID?>">Авторизация</a> &bull; 
	<a href="<?=BASEDIR?>pages/registration.php?<?=SID?>">Регистрация</a>
<?}?>
</div>
<div class="site">
<?include_once(BASEDIR.'includes/note.php');?>