View file themes/motor/index.php

File size: 3.22Kb
<?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/motor/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="generator" content="RotorCMS <?=$config['rotorversion']?>" />
</head>
<body>
<!--Design by Vantuz (http://pizdec.ru)-->

<div id="wrapper">
	<div class="main" id="up">

		<div class="panelTop">
			<img src="/themes/motor/panel_top.gif" alt="" />
		</div>
		<div class="backgr_top">
			<div class="content">
				<div class="logo">
					<a href="/index.php?<?=SID?>"><img src="/images/img/logo.png" alt="<?=$config['title']?>" /></a>
				</div>

				<div class="menu">
					<a href="/forum/?<?=SID?>">Форум</a>
					<a href="/book/?<?=SID?>">Гостевая</a>
					<a href="/news/?<?=SID?>">Новости</a>
					<a href="/load/?<?=SID?>">Скрипты</a>
					<a href="/blog/?<?=SID?>">Блоги</a>

					<span class="mright">

		<?if (is_user()){?>
			<?if (is_admin()){?>

				<?if (stats_spam()>0){?>
					<a href="<?=ADMINDIR?>spam.php?<?=SID?>"><span style="color:#ff0000">Спам!</span></a>
				<?}?>

				<?if ($udata['users_newchat']<stats_newchat()){?>
					<a href="<?=ADMINDIR?>chat.php?<?=SID?>"><span style="color:#ff0000">Чат</span></a>
				<?}?>

					<a href="<?=ADMINDIR?>index.php?<?=SID?>">Панель</a>
				<?}?>

					<a href="/pages/index.php?act=menu&amp;<?=SID?>">Меню</a>
					<a href="/input.php?act=exit&amp;<?=SID?>" onclick="return confirm('Вы действительно хотите выйти?')">Выход</a>

				<?} else {?>
					<a href="/pages/login.php?<?=SID?>">Авторизация</a>/
					<a href="/pages/registration.php?<?=SID?>">Регистрация</a>
				<?}?>

					</span>

				</div>
			</div>
		</div>

		<div class="backgr">
			<div class="bcontent">
				<div class="mcontentwide">

<?include_once(BASEDIR.'includes/note.php');?>