<?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']?>/themes/defaultgreen/img/icon.png" />
<link rel="stylesheet" href="<?=$config['home']?>/themes/defaultgreen/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']?>" />
<meta name="document-state" content="Dynamic" />
</head>
<body>
<!--Design by Marsellkin (ICQ: 364711211)-->
<?
function amendment($myhtml) {
$myhtml = str_replace('images/img/users.gif','themes/black/img/mes2.png',$myhtml);
$myhtml = str_replace('images/img/opml.gif','themes/black/img/gear.png',$myhtml);
$myhtml = str_replace('images/img/act.png','themes/black/img/check.png',$myhtml);
$myhtml = str_replace('images/img/homepage.gif','themes/black/img/homepage.png',$myhtml);
$myhtml = str_replace('images/img/balloon.gif','themes/black/img/balloon.png',$myhtml);
$myhtml = str_replace('images/img/news.png','themes/black/img/news.png',$myhtml);
$myhtml = str_replace('images/img/back.gif','themes/black/img/back.png',$myhtml);
$myhtml = str_replace('images/img/error.gif','themes/black/img/error.png',$myhtml);
$myhtml = str_replace('images/img/rss.gif','themes/black/img/rss.png',$myhtml);
$myhtml = str_replace('images/img/reload.gif','themes/black/img/reload.png',$myhtml);
$myhtml = str_replace('images/img/panel.gif','themes/black/img/panel.png',$myhtml);
$myhtml = str_replace('images/img/exit.gif','themes/black/img/exit.png',$myhtml);
$myhtml = str_replace('images/img/mail.gif','themes/black/img/mail.png',$myhtml);
$myhtml = str_replace('images/img/account.gif','themes/black/img/account.png',$myhtml);
$myhtml = str_replace('images/img/address-book.gif','themes/black/img/address-book.png',$myhtml);
$myhtml = str_replace('images/img/bomb.png','themes/black/img/bomb.png',$myhtml);
$myhtml = str_replace('images/img/site.png','themes/black/img/site.png',$myhtml);
$myhtml = str_replace('images/img/menu.png','themes/black/img/menu.png',$myhtml);
$myhtml = str_replace('images/img/down.png','themes/black/img/down.png',$myhtml);
$myhtml = str_replace('images/img/setting.png','themes/black/img/setting.png',$myhtml);
$myhtml = str_replace('images/img/files.gif','themes/black/img/files.png',$myhtml);
$myhtml = str_replace('images/img/document_plus.gif','themes/black/img/document_plus.png',$myhtml);
$myhtml = str_replace('images/img/open.gif','themes/black/img/open.png',$myhtml);
$myhtml = str_replace('images/img/themes.gif','themes/black/img/themes.png',$myhtml);
$myhtml = str_replace('images/img/forums.gif','themes/black/img/forums.png',$myhtml);
$myhtml = str_replace('images/img/topics.gif','themes/black/img/account.png',$myhtml);
$myhtml = str_replace('images/img/lock.gif','themes/black/img/lock.png',$myhtml);
$myhtml = str_replace('images/img/topics-small.gif','themes/black/img/topics-small.png',$myhtml);
$myhtml = str_replace('images/img/closed.gif','themes/black/img/closed.png',$myhtml);
$myhtml = str_replace('images/img/gallery.gif','themes/black/img/gallery.png',$myhtml);
$myhtml = str_replace('images/img/thumb-up.gif','themes/black/img/thumb-up.png',$myhtml);
$myhtml = str_replace('images/img/thumb-down.gif','themes/black/img/thumb-down.png',$myhtml);
$myhtml = str_replace('images/img/dir.gif','themes/black/img/dir.png',$myhtml);
$myhtml = str_replace('images/img/open_dir.gif','themes/black/img/open_dir.png',$myhtml);
$myhtml = str_replace('images/img/eye.gif','themes/black/img/eye.png',$myhtml);
$myhtml = str_replace('images/img/tag.gif','themes/black/img/tag.png',$myhtml);
$myhtml = str_replace('images/img/edit.gif','themes/black/img/edit.png',$myhtml);
$myhtml = str_replace('images/img/zip.gif','themes/black/img/zip.png',$myhtml);
$myhtml = str_replace('images/img/custom.gif','themes/black/img/custom.png',$myhtml);
$myhtml = str_replace('images/img/info.png','themes/black/img/info.png',$myhtml);
$myhtml = str_replace('images/img/top_dir.gif','themes/black/img/open_dir.png',$myhtml);
$myhtml = str_replace('images/img/pin.gif','themes/black/img/pin.png',$myhtml);
$myhtml = str_replace('images/img/user.gif','themes/black/img/user.png',$myhtml);
$myhtml = str_replace('images/img/stat.gif','themes/black/img/stat.png',$myhtml);
$myhtml = str_replace('images/img/luggage.gif','themes/black/img/luggage.png',$myhtml);
$myhtml = str_replace('images/img/wall.gif','themes/black/img/wall.png',$myhtml);
$myhtml = str_replace('images/img/document.gif','themes/black/img/document.png',$myhtml);
$myhtml = str_replace('images/img/run.png','themes/black/img/run.png',$myhtml);
$myhtml = str_replace('images/img/right.gif','themes/black/img/right.png',$myhtml);
$myhtml = str_replace('images/img/download.gif','themes/black/img/download.png',$myhtml);
$myhtml = str_replace('images/img/rating0.gif','themes/black/img/rating0.png',$myhtml);
$myhtml = str_replace('images/img/history.gif','themes/black/img/history.png',$myhtml);
$myhtml = str_replace('images/img/photo.jpg','themes/black/img/photo.png',$myhtml);
$myhtml = str_replace('images/avatars/guest.gif','themes/black/img/guest.png',$myhtml);
$myhtml = str_replace('images/avatars/noavatar.gif','themes/black/img/noavatar.png',$myhtml);
$myhtml = str_replace('images/img/search.gif','themes/black/img/search.png',$myhtml);
$myhtml = str_replace('images/img/ignor.gif','themes/black/img/mes2.png',$myhtml);
$myhtml = str_replace('images/img/minus.gif','themes/black/img/minus.png',$myhtml);
$myhtml = str_replace('images/img/plus.gif','themes/black/img/plus.png',$myhtml);
$myhtml = str_replace('images/img/date.png','themes/black/img/date.png',$myhtml);
$myhtml = str_replace('images/img/rating1.gif','themes/black/img/rating1.png',$myhtml);
$myhtml = str_replace('images/img/rating2.gif','themes/black/img/rating2.png',$myhtml);
$myhtml = str_replace('images/img/rating3.gif','themes/black/img/rating3.png',$myhtml);
$myhtml = str_replace('images/img/rating4.gif','themes/black/img/rating4.png',$myhtml);
$myhtml = str_replace('images/img/rating5.gif','themes/black/img/rating5.png',$myhtml);
$myhtml = str_replace('images/img/rating6.gif','themes/black/img/rating6.png',$myhtml);
$myhtml = str_replace('images/img/rating7.gif','themes/black/img/rating7.png',$myhtml);
$myhtml = str_replace('images/img/rating8.gif','themes/black/img/rating8.png',$myhtml);
$myhtml = str_replace('images/img/rating9.gif','themes/black/img/rating9.png',$myhtml);
$myhtml = str_replace('images/img/rating10.gif','themes/black/img/rating10.png',$myhtml);
$myhtml = str_replace('images/img/chart.gif','themes/black/img/chart.png',$myhtml);
$myhtml = str_replace('images/img/money.gif','themes/black/img/money.png',$myhtml);
$myhtml = str_replace('images/img/games.png','themes/black/img/games.png',$myhtml);
$myhtml = str_replace('images/img/faq.gif','themes/black/img/faq.png',$myhtml);
$myhtml = str_replace('images/img/stop.png','themes/black/img/stop.png',$myhtml);
$myhtml = str_replace('images/img/online.gif','themes/black/img/online.png',$myhtml);
$myhtml = str_replace('images/img/group.png','themes/black/img/group.png',$myhtml);
$myhtml = str_replace('images/img/circle.gif','themes/black/img/circle.png',$myhtml);
return $myhtml; }
ob_start('amendment');
?>
<div class="head" id="up">
<a href="<?=BASEDIR?>index.php?<?=SID?>"><img src="<?=$config['logotip']?>" alt="<?=$config['title']?>" /></a><br />
</div>
<div class="head_foot">
<?=$config['logos']?>
</div>
<div class="menu">
<?if (is_user()){?>
<img src="<?=BASEDIR?>images/img/user.gif" alt="user" />
<?=profile($log)?> •
<?if (is_admin()){?>
<a href="<?=ADMINDIR?>index.php?<?=SID?>">Панель</a> •
<?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="<?=BASEDIR?>pages/index.php?act=menu&<?=SID?>">Меню</a> •
<a href="<?=BASEDIR?>input.php?act=exit&<?=SID?>" onclick="return confirm('Вы действительно хотите выйти?')">Выход</a>
<?} else {?>
<img src="<?=BASEDIR?>images/img/closed.gif" alt="closed" /> <a href="<?=BASEDIR?>pages/login.php?<?=SID?>">Авторизация</a> •
<a href="<?=BASEDIR?>pages/registration.php?<?=SID?>">Регистрация</a>
<?}?>
</div>
<div class="site">
<?include_once(BASEDIR.'includes/note.php');?>