Размер файла: 4Kb
<?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 *************************************#
require_once"system/start.php";
require_once"system/config.php";
require_once"system/db.php";
require_once"system/head.php";
require_once"lng/$setup[lng]/lng.php";
require_once"system/functions.php";
require_once"system/cookies.php";
require_once"system/counter.php";
include_once"thm/$setup[thm]/index.php";
include_once"system/msg.php";
$id = intval($_GET['id']);
$page = intval($_GET['page']);
$onpage = $_SESSION['onpage'];
echo '<img src="pic/main/panel.gif" alt=""><b> '.sys_sets.'</b><br><br>';
echo'<form method="post" action="'.BASE.'ses.php?act=lng&id='.$id.'&page='.$page.'&'.SID.'">';
echo'<select name="lngu"><option value="0">'.dl_106.'</option>';
$skindir = opendir(BASE."lng");
while ($skinfile = readdir ($skindir)){
if (is_dir(BASE."lng/$skinfile")) {
if($skinfile=="."||$skinfile=="..") continue;
echo'<option value="'.$skinfile.'">'.$skinfile.'</option>';
}}
echo'</select>';
closedir ($skindir);
echo'<input value="'.sys_go.'" type="submit" /></form>';
echo'<form method="post" action="'.BASE.'ses.php?act=skins&id='.$id.'&page='.$page.'&'.SID.'">';
echo'<select name="skins"><option value="0">'.sys_chtheme.'</option>';
$skindir = opendir(BASE."thm");
while ($skinfile = readdir ($skindir)){
if (is_dir(BASE."thm/$skinfile")) {
if($skinfile=="."||$skinfile=="..") continue;
echo'<option value="'.$skinfile.'">'.$skinfile.'</option>';
}}
echo'</select>';
closedir ($skindir);
echo'<input value="'.sys_go.'" type="submit" /></form>';
/* Info */
if($setup['onpage_change'] == 1){
echo '<b>'.dl_122.': </b>';
for($i=10; $i<35;$i=$i+5){
if($i==$onpage){
echo '<b>['.$i.']</b>';}else{
echo '[<a href="index.php?onpage='.$i.'&id='.$id.'">'.$i.'</a>]';}}
echo '<br>' ;
}
if($setup['preview_change'] == 1){
echo '<b>'.sys_prew.': </b>';
if($setup['modulis_preview']==ON){
echo '<b>[ON]</b>[<a href="ses.php?act=prew&id='.$id.'&page='.$page.'&prieksview=OFF&'.SID.'">OFF</a>]<br>';
}else{
echo '[<a href="ses.php?act=prew&id='.$id.'&page='.$page.'&prieksview=ON&'.SID.'">ON</a>]<b>[OFF]</b><br>';}}
echo '<br>';
echo '<img src="pic/main/dot.gif" alt=""> <a href="index.php?id='.$id.'&'.SID.'">'.sys_back.'</a><br>';
echo '<img src="pic/main/dot.gif" alt=""> <a href="index.php?'.SID.'">'.sys_dl.'</a><br>';
echo '<img src="pic/main/home.gif" alt=""> <a href="'.$setup['home'].'/?'.SID.'">'.sys_home.'</a><br>';
include_once"thm/$setup[thm]/foot.php";
?>