<?php
############################################
### Этот скрипт написан для Wap-Motor 18 ###
###Автор скрипта Dred#######################
###ICQ: 757041##############################
###Сайт: http://nmn.webhop.net##############
###Желающие могут подкинуть деньжат#########
###Z840880492902############################
###R852036927651############################
############################################
require_once"../../template/start.php";require_once"../../template/regglobals.php";require_once"../../template/config.php";require_once"../../template/siti_conf.php";require_once"../../template/functions.php";require_once"../../template/antidos.php";require_once"../../template/cookies.php";require_once"../../template/gzip.php";require_once"../../template/header.php";require_once"../../template/referer.php";include_once"../../themes/$config_themes/index.php";include_once"../../template/isset.php";if ($provlog==$_SESSION['log'] && $provpar==md5($_SESSION['par']) && $_SESSION['log']!="" && md5($_SESSION['par'])!="") {if ($dostup==101 && $log==$config_nikname){if(!isset($action)){$siti_st = file(BASEDIR."local/navigator/conf/bank.dat"); $siti_data = explode("|",$siti_st[0]);echo '<form method="post" action="bank.php?action=edit&amp;'.SID.'">';echo 'Дефолт(<font color="red">на сколько делим</font> есле 1 то отключенно):<br><input name="conf_set9" maxlength="3" value="'.$siti_data[9].'" /><br>';echo '<b><font color="gold">Проценты в банке</font></b><br>';echo 'Проценты (<font color="red">0-5000$</font>):<br><input name="conf_set0" maxlength="3" value="'.$siti_data[0].'" /><br>';echo 'Проценты (<font color="red">5000$-10000$</font>):<br><input name="conf_set1" maxlength="3" value="'.$siti_data[1].'" /><br>';echo 'Проценты (<font color="red">10000$-30000$</font>):<br><input name="conf_set2" maxlength="3" value="'.$siti_data[2].'" /><br>';echo 'Проценты (<font color="red">30000$-70000$</font>):<br><input name="conf_set3" maxlength="3" value="'.$siti_data[3].'" /><br>';echo 'Проценты (<font color="red">70000$-160000$</font>):<br><input name="conf_set4" maxlength="3" value="'.$siti_data[4].'" /><br>';echo 'Проценты (<font color="red">160000$-300000$</font>):<br><input name="conf_set5" maxlength="3" value="'.$siti_data[5].'" /><br>';echo 'Проценты (<font color="red">300000$-1000000$</font>):<br><input name="conf_set6" maxlength="3" value="'.$siti_data[6].'" /><br>';echo 'Проценты (<font color="red">1000000$-2000000$</font>):<br><input name="conf_set7" maxlength="3" value="'.$siti_data[7].'" /><br>';echo 'Проценты (<font color="red">2000000$-и более</font>):<br><input name="conf_set8" maxlength="3" value="'.$siti_data[8].'" /><br>';echo '<br><input value="Изменить" type="submit" /></form><hr>';} if($action=="edit"){$ufile = file(BASEDIR."local/navigator/conf/bank.dat"); $udata = explode("|",$ufile[0]);$udata[0]=check($conf_set0);$udata[1]=check($conf_set1);$udata[2]=check($conf_set2);$udata[3]=check($conf_set3);$udata[4]=check($conf_set4);$udata[5]=check($conf_set5);$udata[6]=check($conf_set6);$udata[7]=check($conf_set7);$udata[8]=check($conf_set8);$udata[9]=check($conf_set9);for ($u=0; $u<$siti_config; $u++){$utext.=$udata[$u].'|';}$fp=fopen(BASEDIR."local/navigator/conf/bank.dat","a+"); flock($fp,LOCK_EX); ftruncate($fp,0); fputs($fp,$utext);fflush($fp);flock($fp,LOCK_UN);fclose($fp); unset($utext); header ("Location: setting.php?isset=mp_yesset&".SID);}echo'<img src="../../images/img/panel.gif" alt=""> <a href="setting.php?'.SID.'">В настройки</a><br>';echo'<img src="../../images/img/homepage.gif" alt=""> <a href="../index.php?'.SID.'">В город</a><br>';} else {header ("Location: ../index.php?error&".SID);}} else {header ("Location: ../index.php?error&".SID);}include_once "../../themes/$config_themes/foot.php";?>