View file dl/system/head.php

File size: 2.46Kb
<?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 *************************************#


if(!empty($setup['thm']) && empty($_SESSION['thm'])){
if (stristr($_SERVER['HTTP_USER_AGENT'],'windows') || stristr($_SERVER['HTTP_USER_AGENT'],'linux') || 
    stristr($_SERVER['HTTP_USER_AGENT'],'macintosh') || stristr($_SERVER['HTTP_USER_AGENT'],'unix') || 
    stristr($_SERVER['HTTP_USER_AGENT'],'macos') || stristr($_SERVER['HTTP_USER_AGENT'],'bsd')){
$setup['thm']='AgS_web';
}else{
$setup['thm']='AgS_wap';
}

}



if(empty($setup['dl_name'])){
$setup['dl_name'] = "AgS DOWNs";
}
if(empty($setup['thm'])){
$setup['thm'] = "AgS_wap";
}
if(empty($setup['lng'])){
$setup['lng'] = "LATVIAN";
}

if(!empty($_SESSION['thm'])){$setup['thm'] = $_SESSION['thm'];}
if(!empty($_SESSION['lng'])){$setup['lng'] = $_SESSION['lng'];}
if(!empty($_SESSION['ses_preview'])){$setup['modulis_preview'] = $_SESSION['ses_preview'];}

define("language",$setup['lng']);
define("url",substr($_SERVER['PHP_SELF'],1));
define("urla",$dir_script);


?>