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

Размер файла: 15.57Kb
<?php
#-----------------------------------------------------#
#          ********* WAP-MOTORS *********             #
#             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");
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">
<link rel="shortcut icon" href="'.$config_home.'/favicon.ico">';

if($config_rssicon==1){echo '<link rel="alternate" type="application/rss+xml" title="RSS" href="'.$config_home.'/news/rss_news.php">';}

echo '<title>'.site_title($php_self).'</title>
';
echo '<meta name="keywords" content="'.$config_keywords.'">';
echo '<meta name="description" content="'.$config_description.'">';
echo '<link href="'.$config_home.'/themes/deviantART/css.img/ebtoday.css" rel="stylesheet" type="text/css" />';
echo '</head><body>';
echo '<!--Themes by ebtoday.net-->';

function myhtml($myhtml) {
$myhtml = str_replace('<img src="'.BASEDIR.'images/img/act.gif" alt="">','&nbsp;&raquo;',$myhtml);
$myhtml = str_replace('<img src="'.BASEDIR.'images/img/partners.gif" alt=""> <b>Игры / Развлечения</b><br><br>','&nbsp;<bR>',$myhtml);
$myhtml = str_replace('<img src="'.BASEDIR.'images/img/partners.gif" alt=""> <b>Информация сайта</b><br><br>','&nbsp;<bR>',$myhtml);
$myhtml = str_replace('<img src="'.BASEDIR.'images/img/partners.gif" alt=""> <b>Статистика сайта</b><br>','&nbsp;<bR>',$myhtml);
$myhtml = str_replace('<img src="'.BASEDIR.'images/img/partners.gif" alt=""> <b>Сервисы / Отдых</b><br><br>','&nbsp;<bR>',$myhtml);
$myhtml = str_replace('<img src="'.BASEDIR.'images/img/act.gif" alt="">','<img src="'.BASEDIR.'themes/deviantART/b.png" alt="">',$myhtml); 
$myhtml = str_replace('<img src="'.BASEDIR.'images/img/act1.gif" alt="">','<img src="'.BASEDIR.'themes/deviantART/b.png" alt="">',$myhtml);
$myhtml = str_replace('<img src="'.BASEDIR.'images/img/act2.gif" alt="">','<img src="'.BASEDIR.'themes/deviantART/b.png" alt="">',$myhtml);
$myhtml = str_replace('<img src="'.BASEDIR.'images/img/act3.gif" alt="">','<img src="'.BASEDIR.'themes/deviantART/b.png" alt="">',$myhtml);
$myhtml = str_replace('<img src="'.BASEDIR.'images/img/act_home.gif" alt="">','<img src="'.BASEDIR.'themes/deviantART/b.png" alt="">',$myhtml); 
$myhtml = str_replace('<img src="'.BASEDIR.'images/img/menu.gif" alt="">','<img src="'.BASEDIR.'themes/deviantART/menu.png" alt="">',$myhtml); 
$myhtml = str_replace('<img src="'.BASEDIR.'images/img/partners.gif" alt="">','<img src="'.BASEDIR.'themes/deviantART/partners.png" alt="">',$myhtml); 
$myhtml = str_replace('<img src="'.BASEDIR.'images/img/homepage.gif" alt="">','<img src="'.BASEDIR.'themes/deviantART/homepage.png" alt="">',$myhtml); 
$myhtml = str_replace('<img src="'.BASEDIR.'images/img/forums.gif" alt="">','<img src="'.BASEDIR.'themes/deviantART/forums.png" alt="">',$myhtml); 
$myhtml = str_replace('<img src="'.BASEDIR.'images/img/dir.gif" alt="">','<img src="'.BASEDIR.'themes/deviantART/dir.png" alt="">',$myhtml); 
$myhtml = str_replace('<img src="'.BASEDIR.'images/img/top20_dir.gif" alt="">','<img src="'.BASEDIR.'themes/deviantART/top20_dir.png" alt="">',$myhtml); 
$myhtml = str_replace('<img src="'.BASEDIR.'images/img/new_dir.gif" alt="">','<img src="'.BASEDIR.'themes/deviantART/new_dir.png" alt="">',$myhtml); 
$myhtml = str_replace('<img src="'.BASEDIR.'images/img/search.gif" alt="">','<img src="'.BASEDIR.'themes/deviantART/search.png" alt="">',$myhtml); 
$myhtml = str_replace('<img src="'.BASEDIR.'images/img/themes.gif" alt="">','<img src="'.BASEDIR.'themes/deviantART/themes.png" alt="">',$myhtml); 
$myhtml = str_replace('<img src="'.BASEDIR.'images/img/mail2.gif" alt="">','<img src="'.BASEDIR.'themes/deviantART/mail2.png" alt="">',$myhtml); 
$myhtml = str_replace('<img src="'.BASEDIR.'images/img/mail.gif" alt="">','<img src="'.BASEDIR.'themes/deviantART/mail.png" alt="">',$myhtml); 
$myhtml = str_replace('<img src="'.BASEDIR.'images/img/mails.gif" alt="">','<img src="'.BASEDIR.'themes/deviantART/mails.png" alt="">',$myhtml); 
$myhtml = str_replace('<img src="'.BASEDIR.'images/avators/noavatar.gif" alt="">','<img src="'.BASEDIR.'themes/deviantART/noavatar.png" alt="">',$myhtml); 
$myhtml = str_replace('<img src="'.BASEDIR.'images/img/profiles.gif" alt="">','<img src="'.BASEDIR.'themes/deviantART/profiles.png" alt="">',$myhtml); 
$myhtml = str_replace('<img src="'.BASEDIR.'images/img/chel.gif" alt="">','<img src="'.BASEDIR.'themes/deviantART/chel.png" alt="">',$myhtml); 
$myhtml = str_replace('<img src="'.BASEDIR.'images/img/panel.gif" alt="">','<img src="'.BASEDIR.'themes/deviantART/panel.png" alt="">',$myhtml); 
$myhtml = str_replace('<img src="'.BASEDIR.'images/img/many.gif" alt="">','<img src="'.BASEDIR.'themes/deviantART/many.png" alt="">',$myhtml); 
$myhtml = str_replace('<img src="'.BASEDIR.'images/img/back.gif" alt="">','<img src="'.BASEDIR.'themes/deviantART/back.png" alt="">',$myhtml); 
$myhtml = str_replace('<img src="'.BASEDIR.'images/img/chat.gif" alt="">','<img src="'.BASEDIR.'themes/deviantART/chat.png" alt="">',$myhtml); 
$myhtml = str_replace('<img src="'.BASEDIR.'themes/deviantART/b.png" alt=""> <a href="'.BASEDIR.'pages/index.php?action=info&amp;'.SID.'">Информация</a><br>','',$myhtml); 
$myhtml = str_replace('<img src="themes/deviantART/b.png" alt=""> <a href="a_arkada&amp;">Онлайн-игры</a><br>','',$myhtml); 
$myhtml = str_replace('<img src="themes/deviantART/b.png" alt=""> <a href="a_dosug&amp;">Сервисы / Отдых</a><br>','',$myhtml); 
$myhtml = str_replace('<img src="themes/deviantART/b.png" alt=""> <a href="pages/index.php?action=statistik">Статистика</a><br>','',$myhtml); 

return $myhtml; }
ob_start(myhtml);

echo '
<div align="center">
  <table cellpadding="0" cellspacing="0">
    <tr>
      <Td bgcolor="4c4c4c" width="2" height="2"></Td>
      <td bgcolor="4c4c4c" height="2"></td>
      <td bgcolor="4c4c4c" width="2" height="2"></td>
    </tr>
    <tr>
      <Td bgcolor="4c4c4c" width="2"></Td>
      <td bgcolor="141414"><div class="margin">
          <!--=========================================================================-->
          <table cellpadding="0" cellspacing="0" width="869">
            <tr>
              <Td height="37" class="a_ebtoday" align="center">
			  
<a href="'.BASEDIR.'pages/vhod.php?'.SID.'">Авторизация</a> | <a href="'.BASEDIR.'pages/registration.php?'.SID.'">Регистрация</a> | <a href="'.BASEDIR.'mail/'.SID.'">Связь с админом</a>	| <a href="'.BASEDIR.'board/'.SID.'">Доска обьявлений</a> | <a href="'.$config_home.'/news/rss_news.php">RSS-новости</a>				  
			  
			  </Td>
            </tr>
          </table>
          <table cellpadding="0" cellspacing="0" width="869">
            <tr>
              <td height="194"><img src="'.$config_home.'/themes/deviantART/css.img/logo.jpg" border="0" usemap="#Map" />
			    <map name="Map" id="Map">
    <area shape="circle" coords="101,81,44" href="http://ebtoday.net" />
    <area shape="rect" coords="166,72,550,98" href="http://ebtoday.net" />
  </map>
			  
			  </td>
            </tr>
          </table>
          <table cellpadding="0" cellspacing="0" width="869">
            <tr>
              <td width="434" height="175" class="panel_ebtoday" align="center"><div class="panel_ebtoday_text">';
			  
if (!$_SESSION['log']=="" && !md5($_SESSION['par'])=="" && md5($_SESSION['par'])==$provpar && $_SESSION['log']==$provlog ) {

include_once(BASEDIR.'local/datamain/menu_design.dat');
	
if ($dostup==101 || $dostup==102)
{echo'<div align="left" >  <a href="'.BASEDIR.$config_mpanel.'/?'.SID.'">&nbsp;[Админ-панель]</a><br></div>';} 
if ($dostup==103 || $dostup==105)
{echo'<div align="left" >  <a href="'.BASEDIR.$config_mpanel.'/?'.SID.'">&nbsp;[Mодер-панель]</a><br></div>';}

}else{



echo '<div align="left" class="auth">';

echo ' 
<table>
<tr>
<td>';
echo '<form method="post" action="'.$config_home.'/input.php?">';

echo'Ваше имя:&nbsp;&nbsp;&nbsp; </td>
<td>';
echo '<input name="login" value="'.$_COOKIE['cookname'].'"/></form><br>';
echo'</td><td  rowspan="2"><form method="post" action="'.$config_home.'/input.php?"><input value="Войти" type="submit" style="background-color: #F3F3F3; width:100;" /></form>';
if($config_cookies==1);
echo'</td>
</tr>
<tr>
<td>Пароль:&nbsp;&nbsp;&nbsp; </td>
<td>';
echo '<form method="post" action="'.$config_home.'/input.php?"><input name="pass" type="password" /></form><br>';
echo'</td><td></td>
</tr>
</table>
';
echo '';
echo '</div>';
}			  
			  
			  
			  
			  
echo'		</div>	  </td>
              <td width="413" height="175" class="navigation_ebtoday">
			  <table>
			  <tr><td width="210" align="center">
<!-- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -->              
<!-- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- --> 


';
					
include_once(BASEDIR.'local/datamain/reclama.dat');
					
echo'


<!-- 
<object width="128" height="128">
<param name="1" value="'.BASEDIR.'themes/deviantART/css.img/orange.swf">
<PARAM NAME=bgcolor VALUE=676767>
<embed src="'.BASEDIR.'themes/deviantART/css.img/orange.swf" width="128" height="128">
</embed>
</object>
-->
<!-- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -->              
<!-- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- --> 			  
</td><td>
<!-- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -->              
<!-- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- --> 	

<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td align="right"><a href="'.BASEDIR.'forum/?'.SID.'">Форум</a>&nbsp;&nbsp;&nbsp;</td>
<td><li>
  <div align="left"><a href="'.BASEDIR.'">Главная</a></div>
</li></td>
</tr>
<tr>
<td align="right"><a href="'.BASEDIR.'chat/?'.SID.'">Чат</a>&nbsp;&nbsp;&nbsp;</td>
<td><li>
  <div align="left"><a href="'.BASEDIR.'library/?'.SID.'">Библиотека</a></div>
</li></td>
</tr>
<tr>
<td align="right"><a href="'.BASEDIR.'book/?'.SID.'">Гостевая</a>&nbsp;&nbsp;&nbsp;</td>
<td><li>
  <div align="left"><a href="'.BASEDIR.'pages/userlist.php?">Юзеры</a></div>
</li></td>
</tr>
<tr>
<td align="right"><a href="'.BASEDIR.'news/?'.SID.'">Новости</a>&nbsp;&nbsp;&nbsp;</td>
<td><li>
  <div align="left"><a href="http://imgstudio.wapftp.ru">Дизайны</a></div>
</li></td>
</tr>
<tr>
<td align="right"><a href="'.BASEDIR.'votes/?'.SID.'">Голосования</a>&nbsp;&nbsp;&nbsp;</td>
<td><li>
  <div align="left"><a href="'.BASEDIR.'pages/faq.php?">F.A.Q.</a></div>
</li></td>
</tr>
</table>

<!-- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -->              
<!-- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- --> 	
</td>
</tr>
</table>			  
			  </td>
              <td width="22" height="175" class="right_ebtoday"></td>
            </tr>
          </table>
          <table cellpadding="0" cellspacing="0" width="869">
            <tr>
              <td width="204" class="left_ebtoday" valign="top">
         
<!-- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -->              
<!-- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -->  
<!-- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -->              
<!-- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -->   
         
              <table cellpadding="0" cellspacing="0" width="193" class="title">
                  <tr>
                    <td align="left"><div class="nav_h">[Информация]</div></td>
                  </tr>
                </table>
                <table cellpadding="0" cellspacing="0" width="193" class="title_ebtoday">
                  <tr>
                    <td align="left">';
					
include_once(BASEDIR.'local/datamain/info.dat');
					
echo'			<br>		</td>
                  </tr>
                </table>
				
				
				
				              <table cellpadding="0" cellspacing="0" width="193" class="title">
                  <tr>
                    <td align="left"><div class="nav_h">[Online-игры]</div></td>
                  </tr>
                </table>
                <table cellpadding="0" cellspacing="0" width="193" class="title_ebtoday">
                  <tr>
                    <td align="left">';
					
include_once(BASEDIR.'local/datamain/arkada.dat');
					
echo'			<br>		</td>
                  </tr>
                </table>
				
				
				
								              <table cellpadding="0" cellspacing="0" width="193" class="title">
                  <tr>
                    <td align="left"><div class="nav_h">[Игры / Развлечения]</div></td>
                  </tr>
                </table>
                <table cellpadding="0" cellspacing="0" width="193" class="title_ebtoday">
                  <tr>
                    <td align="left">';
					
include_once(BASEDIR.'local/datamain/dosug.dat');
					
echo'			<br>		</td>
                  </tr>
                </table>
				
				
				
								              <table cellpadding="0" cellspacing="0" width="193" class="title">
                  <tr>
                    <td align="left" ><div class="nav_h">[Статистика сайта]</div></td>
                  </tr>
                </table>
                <table cellpadding="0" cellspacing="0" width="193" class="title_ebtoday">
                  <tr>
                    <td align="left">';
					
include_once(BASEDIR.'local/datamain/statistik.dat');
					
echo'			<br>		</td>
                  </tr>
                </table><BR>
<!-- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -->              
<!-- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -->                
<!-- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -->              
<!-- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -->                
                
                
                
                </td>
              <td  width="665" valign="top" align="center"><table cellpadding="0" cellspacing="0" width="647" class="mainc">
                  <tr>
                    <td class="b1" width="5"></td>
                    <td class="b2" width="637"></td>
                    <td class="b3" width="5"></td>
                  </tr>
                  <tr>
                    <td class="b4" width="5"></td>
                    <td class="b6" width="637"><br />';
echo '<div class="a" id="up"></div>';                     


?>