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

Размер файла: 10.61Kb
<?
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>';

?>
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="stylesheet" href="../themes/gotic_web/style.css" type="text/css" />

<link rel="alternate" title="Новости RSS" href="/news/rss_news.php" type="application/rss+xml" />
</head>
<body align='center'>
<div class="body">


<?
function myhtml($myhtml) {

$myhtml = str_replace("images/img/act1.gif","themes/gotic_web/images/bullet2.gif",$myhtml);
$myhtml = str_replace("images/img/act2.gif","themes/gotic_web/images/bullet2.gif",$myhtml);
$myhtml = str_replace("images/img/act3.gif","themes/gotic_web/images/bullet2.gif",$myhtml);

return $myhtml; }
ob_start(myhtml);
?>



<table width='100%'   border='0' cellpadding='0' cellspacing='0'>
<tr>
<td class='linto'>
<img src='../themes/gotic_web/images/blank.gif' height='33' alt='' style='display: block;' /></td>
</tr>
</table>


<table width='100%'   border='0' cellpadding='0' cellspacing='0'>
<tr>
<td class='logol'>
<img src='../themes/gotic_web/images/blank.gif' width='574' height='188' alt='' style='display: block;' /></td>
<td class='logorep'></td>
<td class='logor'>
<img src='../themes/gotic_web/images/blank.gif' width='314' height='188' alt='' style='display: block;' /></td>
</tr>
</table>

<table width='100%'   border='0' cellpadding='0' cellspacing='0'>
<tr>
<td class='dragol'>
<img src='../themes/gotic_web/images/blank.gif' width='169' height='78' alt='' style='display: block;' /></td>
<td class='dragorep'>
<div style='text-align:center;'>
<a href="/">Главная</a>   | <a href="/forum/web/">Форум</a>  | <a href="/down/">Загрузки</a>  | <a href="/news/rss_news.php?">RSS</a> 
</div>
</td>
<td class='dragor'>
<img src='../themes/gotic_web/images/blank.gif' width='194' height='78' alt='' style='display: block;' /></td>
</tr>
</table>
<table width='100%' cellspacing="0" cellpadding="0">
<tr>
<td width='20%' class='table_left'>

<?
///////////////////////МЕНЮ
?>
<table cellpadding='0' cellspacing='0'>
<tr>
<td class='metopl'><img src='../themes/gotic_web/images/blank.gif' width='17' height='13' alt='' style='display: block;' /></td>
<td class='metoprep'></td>
<td class='metopr'><img src='../themes/gotic_web/images/blank.gif' width='23' height='13' alt='' style='display: block;' /></td>
</tr>
</table>

<table cellpadding='0' cellspacing='0'>
<tr>
<td class='erre'><img src='../themes/gotic_web/images/blank.gif' width='13'  alt='' style='display: block;' /></td>
<td class='errep'>
<div class='table_title_menu'>Навигация</div>
</td>
<td class='erle'><img src='../themes/gotic_web/images/blank.gif' width='13'  alt='' style='display: block;' /></td>
</tr>
</table>

<table cellpadding='0' cellspacing='0'>
<tr>
<td class='erre'><img src='../themes/gotic_web/images/blank.gif' width='13'  height='4' alt='' style='display: block;' /></td>
<td class='errep'></td>
<td class='erle'><img src='../themes/gotic_web/images/blank.gif' width='13' height='4' alt='' style='display: block;' /></td>
</tr>
</table>
<table cellpadding='0' cellspacing='0'>
<tr>
<td class='erre'><img src='../themes/gotic_web/images/blank.gif' width='13'  alt='' style='display: block;' /></td>
<td class='errep'>
<div style='text-align:left'>

<?
echo '
<li><a href="../forum/web/">Форум</a></li>
<li><a href="../down/">Загрузки</a></li>
<li><a href="../news">Новости</a></li>
<li><a href="../gallery">Наши фото</a></li>';
?>

</div>
</td>
<td class='erle'><img src='../themes/gotic_web/images/blank.gif' width='13'  alt='' style='display: block;' /></td>
</tr>
</table>
<table cellpadding='0' cellspacing='0'>
<tr>
<td class='berre'><img src='../themes/gotic_web/images/blank.gif' width='17' height='13' alt='' style='display: block;' /></td>
<td class='berrep'></td>
<td class='berle'><img src='../themes/gotic_web/images/blank.gif' width='23' height='13' alt='' style='display: block;' /></td>
</tr>
</table>
<?
///////////////////////
?>

<?
///////////////////////НОВОСТИ
?>
<table cellpadding='0' cellspacing='0'>
<tr>
<td class='metopl'><img src='../themes/gotic_web/images/blank.gif' width='17' height='13' alt='' style='display: block;' /></td>
<td class='metoprep'></td>
<td class='metopr'><img src='../themes/gotic_web/images/blank.gif' width='23' height='13' alt='' style='display: block;' /></td>
</tr>
</table>

<table cellpadding='0' cellspacing='0'>
<tr>
<td class='erre'><img src='../themes/gotic_web/images/blank.gif' width='13'  alt='' style='display: block;' /></td>
<td class='errep'>
<div class='table_title_menu'>Новости</div>
</td>
<td class='erle'><img src='../themes/gotic_web/images/blank.gif' width='13'  alt='' style='display: block;' /></td>
</tr>
</table>

<table cellpadding='0' cellspacing='0'>
<tr>
<td class='erre'><img src='../themes/gotic_web/images/blank.gif' width='13'  height='4' alt='' style='display: block;' /></td>
<td class='errep'></td>
<td class='erle'><img src='../themes/gotic_web/images/blank.gif' width='13' height='4' alt='' style='display: block;' /></td>
</tr>
</table>
<table cellpadding='0' cellspacing='0'>
<tr>
<td class='erre'><img src='../themes/gotic_web/images/blank.gif' width='13'  alt='' style='display: block;' /></td>
<td class='errep'>
<div style='text-align:left'>

<?
include $_SERVER['DOCUMENT_ROOT']."/template/localnews.php";
?>

</div>
</td>
<td class='erle'><img src='../themes/gotic_web/images/blank.gif' width='13'  alt='' style='display: block;' /></td>
</tr>
</table>
<table cellpadding='0' cellspacing='0'>
<tr>
<td class='berre'><img src='../themes/gotic_web/images/blank.gif' width='17' height='13' alt='' style='display: block;' /></td>
<td class='berrep'></td>
<td class='berle'><img src='../themes/gotic_web/images/blank.gif' width='23' height='13' alt='' style='display: block;' /></td>
</tr>
</table>
<?
///////////////////////
?>


<?
///////////////////////Календарь
?>
<table cellpadding='0' cellspacing='0'>
<tr>
<td class='metopl'><img src='../themes/gotic_web/images/blank.gif' width='17' height='13' alt='' style='display: block;' /></td>
<td class='metoprep'></td>
<td class='metopr'><img src='../themes/gotic_web/images/blank.gif' width='23' height='13' alt='' style='display: block;' /></td>
</tr>
</table>

<table cellpadding='0' cellspacing='0'>
<tr>
<td class='erre'><img src='../themes/gotic_web/images/blank.gif' width='13'  alt='' style='display: block;' /></td>
<td class='errep'>
<div class='table_title_menu'>Календарь</div>
</td>
<td class='erle'><img src='../themes/gotic_web/images/blank.gif' width='13'  alt='' style='display: block;' /></td>
</tr>
</table>

<table cellpadding='0' cellspacing='0'>
<tr>
<td class='erre'><img src='../themes/gotic_web/images/blank.gif' width='13'  height='4' alt='' style='display: block;' /></td>
<td class='errep'></td>
<td class='erle'><img src='../themes/gotic_web/images/blank.gif' width='13' height='4' alt='' style='display: block;' /></td>
</tr>
</table>
<table cellpadding='0' cellspacing='0'>
<tr>
<td class='erre'><img src='../themes/gotic_web/images/blank.gif' width='13'  alt='' style='display: block;' /></td>
<td class='errep'>
<div style='text-align:left'>

<?
include_once BASEDIR."template/calendar.php";

?>

</div>
</td>
<td class='erle'><img src='../themes/gotic_web/images/blank.gif' width='13'  alt='' style='display: block;' /></td>
</tr>
</table>
<table cellpadding='0' cellspacing='0'>
<tr>
<td class='berre'><img src='../themes/gotic_web/images/blank.gif' width='17' height='13' alt='' style='display: block;' /></td>
<td class='berrep'></td>
<td class='berle'><img src='../themes/gotic_web/images/blank.gif' width='23' height='13' alt='' style='display: block;' /></td>
</tr>
</table>
<?
///////////////////////
?>

<?
///////////////////////Реклама
?>
<table cellpadding='0' cellspacing='0'>
<tr>
<td class='metopl'><img src='../themes/gotic_web/images/blank.gif' width='17' height='13' alt='' style='display: block;' /></td>
<td class='metoprep'></td>
<td class='metopr'><img src='../themes/gotic_web/images/blank.gif' width='23' height='13' alt='' style='display: block;' /></td>
</tr>
</table>

<table cellpadding='0' cellspacing='0'>
<tr>
<td class='erre'><img src='../themes/gotic_web/images/blank.gif' width='13'  alt='' style='display: block;' /></td>
<td class='errep'>
<div class='table_title_menu'>Реклама</div>
</td>
<td class='erle'><img src='../themes/gotic_web/images/blank.gif' width='13'  alt='' style='display: block;' /></td>
</tr>
</table>

<table cellpadding='0' cellspacing='0'>
<tr>
<td class='erre'><img src='../themes/gotic_web/images/blank.gif' width='13'  height='4' alt='' style='display: block;' /></td>
<td class='errep'></td>
<td class='erle'><img src='../themes/gotic_web/images/blank.gif' width='13' height='4' alt='' style='display: block;' /></td>
</tr>
</table>
<table cellpadding='0' cellspacing='0'>
<tr>
<td class='erre'><img src='../themes/gotic_web/images/blank.gif' width='13'  alt='' style='display: block;' /></td>
<td class='errep'>
<div style='text-align:left'>

<?
if($config_rekhead==1){include_once BASEDIR."local/datamain/reklama_head.dat";}
if($config_rekfoot==1){include_once BASEDIR."local/datamain/reklama_foot.dat";}

?>

</div>
</td>
<td class='erle'><img src='../themes/gotic_web/images/blank.gif' width='13'  alt='' style='display: block;' /></td>
</tr>
</table>
<table cellpadding='0' cellspacing='0'>
<tr>
<td class='berre'><img src='../themes/gotic_web/images/blank.gif' width='17' height='13' alt='' style='display: block;' /></td>
<td class='berrep'></td>
<td class='berle'><img src='../themes/gotic_web/images/blank.gif' width='23' height='13' alt='' style='display: block;' /></td>
</tr>
</table>
<?
///////////////////////
?>


</td><td width='60%' class='table_left'>


<table style='width:100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='ntol'><img src='../themes/gotic_web/images/blank.gif' width='36' height='24' alt='' style='display: block;' /></td>
<td class='ntorep'></td></td>
<td class='ntor'><img src='../themes/gotic_web/images/blank.gif' width='32' height='24' alt='' style='display: block;' /></td>
</tr>
</table>
<table style='width:100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='stol'><img src='../themes/gotic_web/images/blank.gif' width='15'  alt='' style='display: block;' /></td>
<td class='ston'>