Просмотр файла WEB_DUBNA\index.php

Размер файла: 7.59Kb
<?php
header("Content-type:text/html; charset=utf-8");
echo'
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>'.site_title($php_self).'</title>
	
<link rel="stylesheet" href="'.$config['home'].'/themes/WEB_DUBNA/dubna.css" type="text/css" />
<link rel="alternate" type="application/rss+xml" title="RSS News" href="'.$config['home'].'/news/rss.php" />
<style type="text/css">';



echo'
</style>
<meta name="keywords" content="'.$config['keywords'].'" />
<meta name="description" content="'.$config['description'].'" />
<meta name="generator" content="Wap-Motor '.MOTOR_VERSION.'" />
</head>
<body>
<!--Made this theme by delete, www.BKyC.net, all right reserved, Dubna 2008-->';


function htmltoxhtml($skinxhtml) {
$skinxhtml = str_replace("<img src=\"../smiles/","<img src=\"../images/smiles/",$skinxhtml);
$skinxhtml = str_replace("images/img/act1.gif","themes/xhtml/act1.gif",$skinxhtml);
$skinxhtml = str_replace("images/img/forums.gif","themes/WEB_DUBNA/img/34.gif",$skinxhtml);
$skinxhtml = str_replace("images/img/act.gif","themes/WEB_DUBNA/img/33.gif",$skinxhtml);
$skinxhtml = str_replace('<img src="'.BASEDIR.'images/img/partners.gif" alt=""> <b>Партнеры и друзья</b><br><br>','<div class=e></div>',$skinxhtml);
$skinxhtml = str_replace('<img src="'.BASEDIR.'images/img/partners.gif" alt=""> <b>Навигация</b><br><br>','<div class=e></div>',$skinxhtml);
$skinxhtml = str_replace('<img src="'.BASEDIR.'images/img/partners.gif" alt=""> <b>Моя Консоль</b><br>','<div class=e></div>',$skinxhtml);
$skinxhtml = str_replace('<img src="'.BASEDIR.'images/img/partners.gif" alt=""> <b>Информация</b><br><br>','<div class=e></div>',$skinxhtml);
$skinxhtml = str_replace('<img src="'.BASEDIR.'images/img/partners.gif" alt=""> <b>Игры / Развлечения</b><br><br>','<div class=e> </div>',$skinxhtml);
$skinxhtml = str_replace('<img src="'.BASEDIR.'images/img/partners.gif" alt=""> <b>Наши кнопки</b><br><br>','<div class=e></div>',$skinxhtml);

$skinxhtml = str_replace("images/img/act2.gif","themes/xhtml/act2.gif",$skinxhtml);
$skinxhtml = str_replace("images/img/act3.gif","themes/xhtml/act3.gif",$skinxhtml);
$skinxhtml = str_replace("images/img/menu.gif","themes/WEB_DUBNA/img/forum.gif",$skinxhtml);
$skinxhtml = str_replace("images/img/partners.gif","themes/WEB_DUBNA/img/forum.gif",$skinxhtml);
$skinxhtml = str_replace("<br>","<br />",$skinxhtml);
$skinxhtml = str_replace("<div class=a>","<div class=\"a\">",$skinxhtml);
$skinxhtml = str_replace("<div class=b>","<div class=\"b\">",$skinxhtml);
$skinxhtml = str_replace("<div class=c>","<div class=\"c\">",$skinxhtml);
$skinxhtml = str_replace("alt=\"\">","alt=\"\" />",$skinxhtml);
$skinxhtml = str_replace("checked>","checked=\"checked\" />",$skinxhtml);
$skinxhtml = str_replace("selected>","selected=\"selected\">",$skinxhtml);
$skinxhtml = str_replace("<hr>","<hr />",$skinxhtml);

return $skinxhtml; }

echo'<table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%"><tr><td width="25" height="100%" class="t1" valign="top">
<img src="'.BASEDIR.'/themes/WEB_DUBNA/img/1.gif" border="0"></td>
<td valign="top" height="100%"><table border="0" cellpadding="0" cellspacing="0" height="195" width="100%" class="tab1">
<tr><td width="80"><img src="'.BASEDIR.'/themes/WEB_DUBNA/img/3.jpg" border="0"></td>
<td align="right" class="t2"><img src="'.BASEDIR.'/themes/WEB_DUBNA/img/logo.png"></td>
<td width="87"><img src="'.BASEDIR.'/themes/WEB_DUBNA/img/5.jpg" border="0"></td>
 <td align="center" width="250" class="t3"><span>';
if($config['rekhead']==1){include_once BASEDIR."local/datamain/reklama_head.dat";}
 echo'</span><br>';
include_once BASEDIR."includes/skin.php";
echo'
<td width="31"><img src="'.BASEDIR.'/themes/WEB_DUBNA/img/7.jpg" border="0"></td></table>';
if($config['quotes']=="1"){
$quot_file=file(BASEDIR."includes/quotesbase.php");
$quot_count=count($quot_file)-1;
$quot_rand=rand(0,$quot_count);
echo ' <marquee>'.$quot_file[$quot_rand].'</marquee><br>'; 
}
echo'<table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td valign="top" class="t4">
<table border="0" cellpadding="0" cellspacing="0" width="216"><tr><td height="36" colspan="3" class="t5">

<b> Интересное</b></td></tr><tr><td width="26" valign="top" class="t6"> <img src="'.BASEDIR.'/themes/WEB_DUBNA/img/10.gif" border="0"></td><td width="175" class="t7"> <div  class="d1">
<ul class="uz">



<li class="m"><a class="m" href="/forum/?'.SID.'">Форум</a>';

	echo'</li><li class="m"><a class="m" href="/chat/?'.SID.'">ЧаТик</a>';

	echo'</li><li class="m"><a class="m" href="/lj/?'.SID.'">Живой Журнал</a>';

	echo'</li><li class="m"><a class="m" href="/down/?'.SID.'">Загруз-центр</a>';

	echo'</li><li class="m"><a class="m" href="/votes/?'.SID.'">Голосование</a>';

	echo'</li><li class="m"><a class="m" href="/gallery/?'.SID.'">Фотогалерея</a>';


	echo'</li><li class="m"><a class="m" href="/pages/index.php?action=bash&amp;?'.SID.'">БезBASHенная цитата</a><br>'; 
	echo'</li><li class="m"><a class="m" href="/news/?'.SID.'">BKyC.NewS</a>';

	echo'</li></li><li class="m"><a class="m" href="/book/?'.SID.'">Стена</a>'; 

	echo'</li><li class="m"><a class="m" href="/kat/?'.SID.'">Каталог сайтов</a><br>'; 

	echo'</li><li class="m"><a class="m" href="/pages/whois.php?'.SID.'">Whois™</a></li>

</div></td><td width="15" valign="top" class="t8"><img src="'.BASEDIR.'/themes/WEB_DUBNA/img/13.gif" border="0"></td></tr><tr><td colspan="3"><img src="'.BASEDIR.'/themes/WEB_DUBNA/img/14.gif" border="0"></td></tr></table>';

echo'<table border="0" cellpadding="0" cellspacing="0" width="216"><tr><td height="36" colspan="3" class="t5">

<b> Развлечения</b></td></tr><tr><td width="26" valign="top" class="t6"> <img src="'.BASEDIR.'/themes/WEB_DUBNA/img/10.gif" border="0"></td><td width="175" class="t7"> <div  class="d1">';
include_once(BASEDIR.'local/datamain/arkada.dat');
	
	echo'</div></td><td width="15" valign="top" class="t8"><img src="'.BASEDIR.'/themes/WEB_DUBNA/img/13.gif" border="0"></td></tr><tr><td colspan="3"><img src="'.BASEDIR.'/themes/WEB_DUBNA/img/14.gif" border="0"></td></tr></table>
<table border="0" cellpadding="0" cellspacing="0" width="216"><tr><td height="36" colspan="3" class="t5">

<b> Наши кнопки</b></td></tr><tr><td width="26" valign="top" class="t6"> <img src="'.BASEDIR.'/themes/WEB_DUBNA/img/10.gif" border="0"></td><td width="175" class="t7"> <div  class="d1">';

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

echo'<hr><form action="http://www.google.com/xhtml" target="_blank">
<input type="hidden" name="client" value="ms-opera_mb_no"/><input type="hidden" name="channel" value="bh"/><input type="hidden" name="mrestrict" value="xhtml"/><input type="hidden" name="site" value="search" checked="checked"/>
        <input type="text" name="q" size="13" maxlength="2048" value="Поиск Google"/>
     <input type="submit" name="btnG" value="Go"/>
         </form><br>

</ul>


</div></td><td width="15" valign="top" class="t8"><img src="'.BASEDIR.'/themes/WEB_DUBNA/img/13.gif" border="0"></td></tr><tr><td colspan="3"><img src="'.BASEDIR.'/themes/WEB_DUBNA/img/14.gif" border="0"></td></tr></table>

</td><td valign="top"><table border="0" cellpadding="0" cellspacing="0" width="100%"><TBODY><tr><td width="34" height="34"><img src="'.BASEDIR.'/themes/WEB_DUBNA/img/15.gif" border="0"></td><td class="t9"></td><td width="34" height="34"><img src="'.BASEDIR.'/themes/WEB_DUBNA/img/17.gif" border="0"></td></tr>

<tr><td class="t10"></td><td class="t11">


';
?>