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

Размер файла: 7.9Kb
<?php
#------------------------------------------------------#
#     *******  dark_blue for RotorCMS  *****  	       #
#             Made by   :  dekameron                   #
#		  Modified by   :  SIR2100            	   #
#               E-mail  :  [email protected]	           #
#                 Site  :  http://SensMob.ru		   #
#                  ICQ  :  958221                      #
#------------------------------------------------------#

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'] . '/themes/dark_blue/site/favicon.ico" type="image/x-icon" />';
echo '<link rel="stylesheet" href="' . $config['home'] . '/themes/dark_blue/dark_blue.css" type="text/css" />';
echo '<link rel="alternate" href="' . $config['home'] . '/news/rss.php" title="RSS News" type="application/rss+xml" />';
echo '<meta name="keywords" content="%KEYWORDS%" />';
echo '<meta name="description" content="%DESCRIPTION%" />';
echo '<meta name="generator" content="RotorCMS" />';
echo '</head><body>';
echo '<!--powered by dekameron-->';
echo '<!--Design modified by SIR2100 (http://sensmob.ru)-->';


echo'<table cellpadding="0" cellspacing="0"><tr><td>';
echo '<div class="a" id="up"><br><img src="'.$config_home.'/themes/dark_blue/site/logo.png" alt="site logo"><br><br>'.$config_logos.'<br><br></div>';

include_once(BASEDIR . 'includes/note.php');

echo '<div>';

function myh($myh) {
$myh = str_replace("<img src=\"../smiles/","<img src=\"../images/smiles/",$myh);
$myh = str_replace("images/img/act.gif",BASEDIR."themes/dark_blue/img/act.png",$myh);
$myh = str_replace("images/img/key.gif","themes/dark_blue/img/act.png",$myh);
$myh = str_replace("images/img/act_home.gif","themes/dark_blue/img/act.png",$myh);
$myh = str_replace("images/img/homepage.gif","themes/dark_blue/img/act.png",$myh);
$myh = str_replace("images/img/act1.gif","themes/dark_blue/img/act.png",$myh);
$myh = str_replace("images/img/act2.gif","themes/dark_blue/img/act.png",$myh);
$myh = str_replace("images/img/act3.gif","themes/dark_blue/img/act.png",$myh);
$myh = str_replace("images/act.gif","themes/dark_blue/img/act.png",$myh);
$myh = str_replace("images/act1.gif","themes/dark_blue/img/act.png",$myh);
$myh = str_replace("images/act2.gif","themes/dark_blue/img/act.png",$myh);
$myh = str_replace("images/act3.gif","themes/dark_blue/img/act.png",$myh);
$myh = str_replace("images/img/new.gif","themes/dark_blue/img/act.png",$myh);
$myh = str_replace("images/img/new1.gif","themes/dark_blue/img/act.png",$myh);
$myh = str_replace("images/img/new2.gif","themes/dark_blue/img/act.png",$myh);
$myh = str_replace("images/img/reload.gif","themes/dark_blue/img/act.png",$myh);
$myh = str_replace("images/img/error.gif","themes/dark_blue/img/act.png",$myh);
$myh = str_replace("images/img/mail.gif","themes/dark_blue/img/act.png",$myh);
$myh = str_replace("images/img/mail2.gif","themes/dark_blue/img/act.png",$myh);
$myh = str_replace("images/img/back.gif","themes/dark_blue/img/act.png",$myh);
$myh = str_replace("images/img/stat.gif","themes/dark_blue/img/act.png",$myh);
$myh = str_replace("images/img/many.gif","themes/dark_blue/img/act.png",$myh);
$myh = str_replace("images/img/panel.gif","themes/dark_blue/img/act.png",$myh);
$myh = str_replace("images/img/person.gif","themes/dark_blue/img/act.png",$myh);
$myh = str_replace("images/img/forums.gif","themes/dark_blue/img/act.png",$myh);
$myh = str_replace("images/img/files.gif","themes/dark_blue/img/act.png",$myh);
$myh = str_replace("images/img/edit.gif","themes/dark_blue/img/act.png",$myh);
$myh = str_replace("images/img/rss.gif","themes/dark_blue/img/act.png",$myh);
$myh = str_replace("images/img/dir.gif","themes/dark_blue/img/dir.png",$myh);
$myh = str_replace("images/img/opendir.gif","themes/dark_blue/img/dir.png",$myh);
$myh = str_replace("images/img/new_dir.gif","themes/dark_blue/img/dir.png",$myh);
$myh = str_replace("images/img/top20_dir.gif","themes/dark_blue/img/dir.png",$myh);
$myh = str_replace("images/img/faq.gif","themes/dark_blue/img/act.png",$myh);
$myh = str_replace("images/img/arhiv.gif","themes/dark_blue/img/act.png",$myh);
$myh = str_replace("images/img/chat.gif","themes/dark_blue/img/act.png",$myh);
$myh = str_replace("images/img/dot.gif","themes/dark_blue/img/act.png",$myh);
$myh = str_replace("images/img/dot2.gif","themes/dark_blue/img/act.png",$myh);
$myh = str_replace("images/img/zakr.gif","themes/dark_blue/img/zakr.png",$myh);
$myh = str_replace("images/img/lock.gif","themes/dark_blue/img/lock.png",$myh);
$myh = str_replace("images/img/open.gif","themes/dark_blue/img/open.png",$myh);
$myh = str_replace("images/img/close.gif","themes/dark_blue/img/close.png",$myh);
$myh = str_replace("images/img/chel.gif","themes/dark_blue/img/chel.png",$myh);
$myh = str_replace("images/img/anonim.gif","themes/dark_blue/img/chel.png",$myh);
$myh = str_replace("images/img/security.gif","themes/dark_blue/img/chel.png",$myh);
$myh = str_replace("images/img/women.gif","themes/dark_blue/img/chel.png",$myh);
$myh = str_replace("images/img/search.gif","themes/dark_blue/img/act.png",$myh);
$myh = str_replace("find.gif","find.png",$myh);
$myh = str_replace("images/img/rating10.gif","themes/dark_blue/img/raiting10.png",$myh);
$myh = str_replace("images/img/rating0.gif","themes/dark_blue/img/raiting0.png",$myh);
$myh = str_replace("images/img/rating1.gif","themes/dark_blue/img/raiting1.png",$myh);
$myh = str_replace("images/img/rating2.gif","themes/dark_blue/img/raiting2.png",$myh);
$myh = str_replace("images/img/rating3.gif","themes/dark_blue/img/raiting3.png",$myh);
$myh = str_replace("images/img/rating4.gif","themes/dark_blue/img/raiting4.png",$myh);
$myh = str_replace("images/img/rating5.gif","themes/dark_blue/img/raiting5.png",$myh);
$myh = str_replace("images/img/rating6.gif","themes/dark_blue/img/raiting6.png",$myh);
$myh = str_replace("images/img/rating7.gif","themes/dark_blue/img/raiting7.png",$myh);
$myh = str_replace("images/img/rating8.gif","themes/dark_blue/img/raiting8.png",$myh);
$myh = str_replace("images/img/rating9.gif","themes/dark_blue/img/raiting9.png",$myh);
$myh = str_replace("images/img/themes.gif","themes/dark_blue/img/partners.png",$myh);
$myh = str_replace("images/img/online.gif","themes/dark_blue/img/act.png",$myh);
$myh = str_replace("images/img/custom.gif","themes/dark_blue/img/act.png",$myh);
$myh = str_replace("images/img/warning.gif","themes/dark_blue/img/act.png",$myh);
$myh = str_replace("images/img/ignor.gif","themes/dark_blue/img/act.png",$myh);
$myh = str_replace("images/img/replies.gif","themes/dark_blue/img/act.png",$myh);



$myh = preg_replace('#\<img src\=\"'.BASEDIR.'images\/img\/partners.gif\" alt\=\"\"\> (.*?)\<br\>\<br\>#si', '<div class=e><b>\1</b></div>', $myh);
$myh = preg_replace('#\<img src\=\"'.BASEDIR.'images\/img\/menu.gif\" alt\=\"\"\> (.*?)\<br\>\<br\>#si', '<div class=e><b>\1</b></div>', $myh);
$myh = preg_replace('#\<img src\=\"'.BASEDIR.'images\/img\/motors.gif\" alt\=\"\"\> (.*?)\<br\>\<br\>#si', '<div class=e><b>\1</b></div>', $myh);
$myh = preg_replace('#\<img src\=\"'.BASEDIR.'images\/img\/profiles.gif\" alt\=\"\"\> (.*?)\<br\>\<br\>#si', '<div class=e><b>\1</b></div>', $myh);
$myh = preg_replace('#\<img src\=\"'.BASEDIR.'images\/img\/mails.gif\" alt\=\"\"\> (.*?)\<br\>\<br\>#si', '<div class=e><b>\1</b></div>', $myh);
$myh = preg_replace('#\<img src\=\"'.BASEDIR.'images\/img\/banners.gif\" alt\=\"\"\> (.*?)\<br\>\<br\>#si', '<div class=e><b>\1</b></div>', $myh);
$myh = preg_replace('#\<img src\=\"'.BASEDIR.'images\/img\/down.gif\" alt\=\"\"\> (.*?)\<br\>\<br\>#si', '<div class=e><b>\1</b></div>', $myh);

return $myh; }
ob_start(myh);

?>