View file g-web/index.php

File size: 8.85Kb
<?php
#------------------------------------------------------#
#      *******  g-web for Wap-motor 17/18  *****      #
#             Made by   :  Chez                  #
#               E-mail  :  nuiti@@inbox.ru      #
#                 Site  :  http://gorod-ok.org.ru  #
#                  ICQ  :  4343878                  #
#                 Банка :  WM 390494124609             #
#                          R107597478441              #
#                          Z407956388652               #
#------------------------------------------------------#

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>'.$config_title.$my_title.'</title>';
echo '<link rel="stylesheet" href="'.BASEDIR.'themes/g-web/style.css">';
echo '</head><body><center>';	



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


$text = file(BASEDIR."local/profil/$log.prof"); 
if ($text!=""){
$udata = explode(":||:",$text[0]);
$provlog=trim($udata[0]);
$provpar=trim($udata[1]);
$dostup=trim($udata[7]);
$privat=trim($udata[10]);}
$userprivat = count(file(BASEDIR."local/privat/$log.$config_priv"));
$totals = count($privs); 
$te = file(BASEDIR."local/status.dat"); 
if ($te!=""){
$udat = explode("|",$te[0]);}



//----------------------------------Верхний блок--------------------------------//
echo'<table align="center" cellpadding="0" cellspacing="0" width="810px">
<tr><td width="100%">';
echo'<table cellpadding="0" cellspacing="0" width="810px" border="0">
                <tr>
                    <td class=top>
					<br>
					<img src="'.BASEDIR.'themes/g-web/site/logo.png" 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=f>';



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

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>';

?>