<?php
#------------------------------------------------------#
# ******* emo for Wap-Motor 17 ***** #
# Made by : dekameron #
# E-mail : dekameron.if@gmail.com #
# Site : http://mycsstyle.xmod.mobi #
# ICQ : 490900396 #
# Банка : WM 397061295941 #
# R392966157285 #
# Z413162534324 #
#------------------------------------------------------#
header('Content-type:text/html; charset=utf-8');
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head>';
echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8">';
echo '<link rel="shortcut icon" href="'.$config_home.'/themes/emo/site/favicon.ico">';
echo '<link rel="alternate" type="application/rss+xml" title="RSS" href="'.$config_home.'/pages/rss_news.php">';
echo '<title>'.$config_title.$my_title.'</title>';
echo '<link rel="stylesheet" href="'.$config_home.'/themes/emo/css.css" type="text/css"></head><body><center>';
echo '<!--powered by uoker-->';
echo'<table cellpadding="0" cellspacing="0"><tr><td>';
echo '<div class="a" id="up"><img src="'.$config_home.'/themes/emo/logo.gif" alt="site logo">'.$config_logos.'</div>';
echo '<div>';
function myhtml($myhtml) { //так как смайлы изменили свое местоположение, это временно
$myhtml = str_replace("<img src=\"../smiles/","<img src=\"../images/smiles/",$myhtml);
$myhtml = str_replace("images/img/act1.gif","themes/emo//img/act.gif",$myhtml);
$myhtml = str_replace("images/img/act0.gif","themes/emo//img/act.gif",$myhtml);
$myhtml = str_replace("images/img/act2.gif","themes/emo/img/act.gif",$myhtml);
$myhtml = str_replace("images/img/act3.gif","themes/emo//img/act.gif",$myhtml);
$myhtml = str_replace("images/img/warning.gif","themes/emo//img/act.gif",$myhtml);
$myhtml = str_replace("images/img/custom.gif","themes/emo/img/act.gif",$myhtml);
$myhtml = str_replace("images/img/act.gif","themes/emo/img/act.gif",$myhtml);
$myhtml = str_replace("images/img/homepage.gif","themes/emo/img/act.gif",$myhtml);
$myhtml = str_replace("images/img/act_home.gif","themes/emo/img/act.gif",$myhtml);
$myhtml = str_replace("images/img/back.gif","themes/emo/img/act.gif",$myhtml);
$myhtml = str_replace("images/img/reload.gif","themes/emo/img/act.gif",$myhtml);
$myhtml = str_replace("images/img/exit.gif","themes/emo/img/act.gif",$myhtml);
$myhtml = str_replace("images/img/panel.gif","themes/emo/img/act.gif",$myhtml);
$myhtml = str_replace("images/img/rss.gif","themes/emo/img/act.gif",$myhtml);
$myhtml = str_replace("images/img/mail.gif","themes/emo/img/act.gif",$myhtml);
$myhtml = str_replace("images/img/mail2.gif","themes/img/act.gif",$myhtml);
$myhtml = str_replace("images/img/arhiv.gif","images/img/act.gif",$myhtml);
$myhtml = str_replace("images/img/error.gif","images/img/act.gif",$myhtml);
$myhtml = str_replace("images/img/stat.gif","images/img/act.gif",$myhtml);
$myhtml = str_replace("images/img/many.gif","images/img/act.gif",$myhtml);
$myhtml = str_replace("images/img/chat.gif","images/img/act.gif",$myhtml);
$myhtml = str_replace("images/img/person.gif","images/img/act.gif",$myhtml);
$myhtml = str_replace("images/img/search.gif","images/img/act.gif",$myhtml);
$myhtml = str_replace("images/img/online.gif","images/img/act.gif",$myhtml);
$myhtml = str_replace("images/img/faq.gif","images/img/act.gif",$myhtml);
$myhtml = str_replace("images/img/new.gif","images/img/act.gif",$myhtml);
$myhtml = str_replace("images/img/new1.gif","images/img/act.gif",$myhtml);
$myhtml = str_replace("images/img/new2.gif","images/img/act.gif",$myhtml);
$myhtml = str_replace("images/img/new3.gif","images/img/act.gif",$myhtml);
$myhtml = str_replace("images/img/key.gif","images/img/act.gif",$myhtml);
$myhtml = preg_replace('#\<img src\=\"'.BASEDIR.'images\/img\/menu.gif\" alt\=\"\"\> (.*?)\<br\>\<br\>#si', '<div class=m><b>\1</b></div>', $myhtml);
$myhtml = preg_replace('#\<img src\=\"'.BASEDIR.'images\/img\/motors.gif\" alt\=\"\"\> (.*?)\<br\>\<br\>#si', '<div class=m><b>\1</b></div>', $myhtml);
$myhtml = preg_replace('#\<img src\=\"'.BASEDIR.'images\/img\/mails.gif\" alt\=\"\"\> (.*?)\<br\>\<br\>#si', '<div class=m><b>\1</b></div>', $myhtml);
$myhtml = preg_replace('#\<img src\=\"'.BASEDIR.'images\/img\/banners.gif\" alt\=\"\"\> (.*?)\<br\>\<br\>#si', '<div class=m><b>\1</b></div>', $myhtml);
$myhtml = preg_replace('#\<img src\=\"'.BASEDIR.'images\/img\/down.gif\" alt\=\"\"\> (.*?)\<br\>\<br\>#si', '<div class=m><b>\1</b></div>', $myhtml);
$myhtml = preg_replace('#\<img src\=\"'.BASEDIR.'images\/img\/bsearch.gif\" alt\=\"\"\> (.*?)\<br\>\<br\>#si', '<div class=m><b>\1</b></div>', $myhtml);
$myhtml = preg_replace('#\<img src\=\"'.BASEDIR.'images\/img\/menu.gif\" alt\=\"\"\> (.*?)\<hr\>#si', '<div class=m><b>\1</b></div>', $myhtml);
return $myhtml; }
ob_start(myhtml);
?>