Просмотр файла themes/nfs-prostreet/index.php

Размер файла: 8.75Kb
<?php
#------------------------------------------------------#
#      *******  for Wap-motor 17/18  *****             #
#             Made by   :  XaOS                        #
#               E-mail  :  [email protected]              #
#                 Site  :  http://j2m.su               #
#                  ICQ  :  903911                      #
#       Для поощьрений  :  R352530641742               #
#                          Z155677709003               #
#------------------------------------------------------#
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=windows-utf-8">';
echo '<title>'.site_title($php_self).'</title>';
echo '<link rel="stylesheet" href="'.BASEDIR.'themes/nfs-prostreet/style.css">';
echo '</head><body><center>';	



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

echo '<div class=f2>';

//----------------------------------Верхний блок--------------------------------//
echo'<table align="center" cellpadding="0" cellspacing="0" width="800px">
<tr><td width="100%">';
echo'<table cellpadding="0" cellspacing="0" width="810px" border="0">
                <tr>
                    <td class=top>
					<br>
					<img src="'.BASEDIR.'themes/nfs-prostreet/site/logo.jpg" border="0" alt=""><br><br></td>
					
                </tr>
            </table>';
//----------------------------------Верхний блок--------------------------------//



echo'<table cellpadding="0" cellspacing="0" width="810px" bgcolor="#FFFFFF">';
echo'<tr><td width="25%" valign="top">';
echo'<table cellpadding="5" cellspacing="0" width="100%"><tr><td class=f1>';



//----------------------------------Левый блок--------------------------------//

include_once(BASEDIR.'local/datamain/arkada.dat');

include_once(BASEDIR.'local/datamain/statistik.dat');

include_once(BASEDIR.'local/datamain/info.dat');

echo '<br><div class=e> Рекламa</div>';
include_once(BASEDIR.'local/datamain/reklama_foot.dat');
include_once(BASEDIR.'local/datamain/reklama_head.dat');

include_once(BASEDIR.'local/datamain/buttons.dat');
//----------------------------------Левый блок--------------------------------//


	

echo'</td></tr></table>';
echo'</td><td width="50%" valign="top">';
echo'<table cellpadding="10" cellspacing="0" width="100%"><tr><td></div>';

?>