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

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

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


echo '<title>'.$setup['dl_name'].'</title>
<style type="text/css">
body, td, tr {text-decoration: none; font-family: verdana, arial, helvetica, sans-serif; font-size: 8pt; cursor: default; color: #666;}
body {margin: 5px; padding: 5px; background: #fff; color: #666;}
legend {color: #ccc; width: 100%; font-size: 12px; font-weight: bold; border-bottom: solid 1px #f7f7f7; padding-bottom: 5px; margin-bottom: 5px;}
fieldset {border: solid 1px #fff; padding-bottom: 10px;}
form {margin: 0px; padding: 0px;}
a:active, a:visited, a:link {color: #446488; text-decoration: none; font-size: 10px;}
a:hover {color: #00004f; text-decoration: none; font-size: 8pt;}
a.nav:active, a.nav:visited, a.nav:link {color: #666; font-size: 10px; font-weight: bold; text-decoration: none;}
a.nav:hover {font-size: 10px; font-weight: bold; color: #666; text-decoration: underline;}
input, select {font-size: 8pt;}
textarea {width: 100%; font-size: 9pt; padding: 5px;}
div { margin: 1px 0px 1px 0px; padding: 5px 5px 5px 5px;}  
table { margin: 1px 0px 1px 0px; padding: 1px 1px 1px 1px; font-size: 13px;}
.a {border-bottom: 1px solid #ccc; color: #666; background: #E9E9E9;}
.b {font-size: 13px; color: #666; background-color: #E5E5E5; padding: 3px; color: #666; }
.c {border-top: 1px solid #ccc; color: #666; background: #E9E9E9;}
.d {background-color: #E3E5E3; border-style: dotted; border-width: 1px; border-color: #B8C1B7; padding: 10px; padding-left: 35px;  background-image: url('.$config_home.'/images/img/code.gif); background-repeat: repeat-y; font-size: 11px}
q {font-family: Times, serif;  font-style: italic; color: navy;quotes: "\00AB" "\00BB"}
</style>';
echo '</head><body><!--Theme by AgS-->';

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.'/act.gif" alt="">',$myhtml); 
$myhtml = str_replace('<img src="'.BASE.'pic/main/dot2.gif" alt="">','<img src="'.BASE.'thm/'.$theme_wap_dir.'/act.gif" alt="">',$myhtml); 
$myhtml = str_replace('<img src="'.BASE.'pic/main/home.gif" alt="">','<img src="'.BASE.'thm/'.$theme_wap_dir.'/act.gif" alt="">',$myhtml); 

return $myhtml; }
ob_start('myhtml');


echo '<div>';
?>