Просмотр файла dl/thm/MOBI_wap/index.php

Размер файла: 3.74Kb
<?php
#********************************** AgS MOD DOWNLOAD CENTR SEA *************************************#
#***************************************************************************************************#
#  /||||||||||||||| *********************  /||||||||||||||| *********************  /||||||||||||||| #
# | ||||||||||||||| ********************* | ||||||||||||||| ********************* | ||||||||||||||| #
# | |||||/////||||| ********************* | |||||/////////  ********************* | |||||/////////  #
# | |||||   | ||||| ****** E-MAIL ******* | |||||           ****** WAP/WEB ****** | |||||           #
# | |||||   | ||||| *** [email protected] *** | |||||           * http://ags.h2m.ru * | ||||||||||||||| #
# | |||||   | ||||| ********************* | ||||||||||||||| ********************* | ||||||||||||||| #
# | |||||   | ||||| ********************* | |||||/////||||| ********************* |///////////||||| #
# | ||||||||||||||| ****** SKYPE ******** | |||||   | ||||| ***** MOD AUTHOR ****           | ||||| #
# | |||||////|||||| ***** agrizz15 ****** | |||||   | ||||| ***** Agris Cišs ****  /||||||||||||||| #
# | |||||   | ||||| ********************* | ||||||||||||||| ********************* | ||||||||||||||| #
# |/////    |/////  ********************* |///////////////  ********************* |///////////////  #
#***************************************************************************************************#
#********************************* MOD by AgS in 2010 @ LATVIA *************************************#


$theme_wap_dir = 'MOBI_wap';

header('Content-type:text/html; charset=utf-8');
echo '<!DOCTYPE htm PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><htm><head>';
echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8">';
echo '<title>'.$setup['dl_name'].'</title>';
echo '<link rel="stylesheet" href="'.BASE.'thm/'.$theme_wap_dir.'/css.img/mobi.css" type="text/css"></head><body><left>';
echo '<div class="head" id="up"><img src="'.BASE.'thm/'.$theme_wap_dir.'/css.img/logo.png" alt="logo" /></div>';


echo '<div><div class="main">';

function myhtml($myhtml) {
global $theme_wap_dir ;

$myhtml = str_replace('<img src="'.BASE.'pic/main/dot.gif" alt="">','<img src="'.BASE.'thm/'.$theme_wap_dir.'/css.img/b1.gif" alt=""> ',$myhtml);
$myhtml = str_replace('<img src="'.BASE.'pic/main/dot2.gif" alt="">','<img src="'.BASE.'thm/'.$theme_wap_dir.'/css.img/b1.gif" alt=""> ',$myhtml);
$myhtml = str_replace('<img src="'.BASE.'pic/main/home.gif" alt="">','<img src="'.BASE.'thm/'.$theme_wap_dir.'/css.img/b.gif" alt=""> ',$myhtml);
$myhtml = str_replace('<img src="'.BASE.'pic/main/info.gif" alt="">','<img src="'.BASE.'thm/'.$theme_wap_dir.'/css.img/b.gif" alt=""> ',$myhtml);
$myhtml = str_replace('<img src="'.BASE.'pic/main/download.gif" alt="">','<img src="'.BASE.'thm/'.$theme_wap_dir.'/css.img/b.gif" alt=""> ',$myhtml);
$myhtml = str_replace('<img src="'.BASE.'pic/main/panel.gif" alt="">','<img src="'.BASE.'thm/'.$theme_wap_dir.'/css.img/b.gif" alt=""> ',$myhtml);
$myhtml = str_replace('<img src="'.BASE.'pic/main/head.gif" alt="">','<img src="'.BASE.'thm/'.$theme_wap_dir.'/css.img/b.gif" alt=""> ',$myhtml);
$myhtml = str_replace('<img src="'.BASE.'pic/main/comments.gif" alt="">','<img src="'.BASE.'thm/'.$theme_wap_dir.'/css.img/b.gif" alt=""> ',$myhtml);
$myhtml = str_replace('<img src="'.BASE.'pic/main/top20_dir.gif" alt="">','<img src="'.BASE.'thm/'.$theme_wap_dir.'/css.img/b.gif" alt=""> ',$myhtml);
$myhtml = str_replace('<img src="'.BASE.'pic/main/search.gif" alt="">','<img src="'.BASE.'thm/'.$theme_wap_dir.'/css.img/b.gif" alt=""> ',$myhtml);
$myhtml = str_replace('<img src="'.BASE.'pic/main/adddir.gif" alt="">','<img src="'.BASE.'thm/'.$theme_wap_dir.'/css.img/b.gif" alt=""> ',$myhtml);
return $myhtml; }
ob_start(myhtml);
?>