<?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){echo'<div class=a><img src="../../images/img/partners.gif" alt=""> <b>Настройка Грода</b></div><br><br>';if(!isset($action)){echo'<img src="../../images/img/forums.gif" alt=""> <a href="systems.php?'.SID.'">Проверка системы</a><br>';echo'<img src="../../images/img/forums.gif" alt=""> <a href="setting.php?action=setone&amp;'.SID.'">Основные настройки</a><br>';echo'<img src="../../images/img/forums.gif" alt=""> <a href="status.php?'.SID.'">Статусы бандитов</a><br>';echo'<img src="../../images/img/forums.gif" alt=""> <a href="setting.php?action=set&amp;'.SID.'">Интервалы времяни</a><br>';echo'<img src="../../images/img/forums.gif" alt=""> <a href="setting.php?action=reltor&amp;'.SID.'">Магазин недвижимости</a><br>';echo'<img src="../../images/img/forums.gif" alt=""> <a href="setting.php?action=stvol&amp;'.SID.'">Оружейная лавка</a><br>';echo'<img src="../../images/img/forums.gif" alt=""> <a href="securiti.php?'.SID.'">Охранное агенство</a><br>';echo'<img src="../../images/img/forums.gif" alt=""> <a href="bazar.php?'.SID.'">Продуктовый рынок</a><br>';echo'<img src="../../images/img/forums.gif" alt=""> <a href="avtor.php?'.SID.'">Авто рынок</a><br>';echo'<img src="../../images/img/forums.gif" alt=""> <a href="nedvizr.php?'.SID.'">Рынок недвижимости</a><br>';echo'<img src="../../images/img/forums.gif" alt=""> <a href="aukcion.php?'.SID.'">Аукционы</a><br>';echo'<img src="../../images/img/forums.gif" alt=""> <a href="bank.php?'.SID.'">Управление банком</a><br>';echo'<img src="../../images/img/forums.gif" alt=""> <a href="edit.php?'.SID.'">Ред-ть главную</a><br>';echo'<br>-------------------------------<br>';}if ($dostup==101 && $log==$config_nikname){ if($action=="setone"){ echo '<b>Основные настройки</b><br><hr>'; echo '<form method="post" action="setting.php?action=editone&amp;'.SID.'">';echo 'Доступ в Город: <br>Да';if($siti_data[0]=="1"){echo '<input name="conf_set0" type="radio" value="1" checked>';} else {echo '<input name="conf_set0" type="radio" value="1" />';} echo ' &nbsp; &nbsp; ';if($siti_data[0]=="0"){echo '<input name="conf_set0" type="radio" value="0" checked>';} else {echo '<input name="conf_set0" type="radio" value="0" />';}echo 'Нет<br>';echo 'Разрешить откуп ? <br>Да';if($siti_data[5]=="1"){echo '<input name="conf_set5" type="radio" value="1" checked>';} else {echo '<input name="conf_set5" type="radio" value="1" />';} echo ' &nbsp; &nbsp; ';if($siti_data[5]=="0"){echo '<input name="conf_set5" type="radio" value="0" checked>';} else {echo '<input name="conf_set5" type="radio" value="0" />';}echo 'Нет<br>';echo 'Разрешить выкупать<br>из бана?<br> Да';if($siti_data[13]=="1"){echo '<input name="conf_set13" type="radio" value="1" checked>';} else {echo '<input name="conf_set13" type="radio" value="1" />';} echo ' &nbsp; &nbsp; ';if($siti_data[13]=="0"){echo '<input name="conf_set13" type="radio" value="0" checked>';} else {echo '<input name="conf_set13" type="radio" value="0" />';}echo 'Нет<br>';echo 'Цена (<font color="red">Откуп</font>):<br><input name="conf_set1" maxlength="20" value="'.$siti_data[1].'" /><br>';echo 'Баллы (<font color="red">Откуп</font>):<br><input name="conf_set2" maxlength="50" value="'.$siti_data[2].'" /><br>';echo 'Интервал откупа(<font color="red">час</font>):<br><input name="conf_set6" maxlength="20" value="'.$siti_data[6].'" /><br>';echo 'Время бана(<font color="red">мин</font>)<br>нападение,черный рынок:<br><input name="conf_set3" maxlength="3" value="'.$siti_data[3].'" /><br>';echo 'Время бана(<font color="red">мин</font>)<br>разборках банд:<br><input name="conf_set4" maxlength="100" value="'.$siti_data[4].'" /><br>';echo 'Кол-во(<font color="red">балов</font>)<br>для создания банды:<br><input name="conf_set12" maxlength="6" value="'.$siti_data[12].'" /><br>';echo 'Сколько можно <br>снять в копилке?(<font color="red">max$</font>)<br><input name="conf_set14" maxlength="6" value="'.$siti_data[14].'" /><br>';echo '<br><input value="Изменить" type="submit" /></form><hr>';echo '<br><img src="../../images/img/back.gif" alt=""> <a href="setting.php?'.SID.'">Вернуться</a>';}if($action=="editone"){$ufile = file(BASEDIR."local/navigator/conf/conf.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[12]=check($conf_set12);$udata[13]=check($conf_set13);$udata[14]=check($conf_set14);for ($u=0; $u<$siti_config; $u++){$utext.=$udata[$u].'|';}$fp=fopen(BASEDIR."local/navigator/conf/conf.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);}if($action=="set"){ echo '<b>Интервалы времяни</b><br><hr>'; echo '<b>Это интервал через какое время можно повторить игру!</b><br>';echo '<form method="post" action="setting.php?action=interv&amp;'.SID.'">';echo 'Копилка(<font color="red">час</font>):<br><input name="conf_set7" maxlength="20" value="'.$siti_data[7].'" /><br>';echo 'Балы приступности(<font color="red">час</font>):<br><input name="conf_set8" maxlength="20" value="'.$siti_data[8].'" /><br>';echo 'Черный рынок(<font color="red">час</font>):<br><input name="conf_set9" maxlength="3" value="'.$siti_data[9].'" /><br>';echo 'Грабёж пьяных(<font color="red">час</font>):<br><input name="conf_set10" maxlength="3" value="'.$siti_data[10].'" /><br>';echo 'Конкурс на дискотеке(<font color="red">час</font>):<br><input name="conf_set11" maxlength="3" value="'.$siti_data[11].'" /><br>';echo 'Откуп от бана(<font color="red">час</font>):<br><input name="conf_set6" maxlength="100" value="'.$siti_data[6].'" /><br>';echo '<br><input value="Изменить" type="submit" /></form><hr>';echo '<br><img src="../../images/img/back.gif" alt=""> <a href="setting.php?'.SID.'">Вернуться</a>';}if($action=="interv"){$ufile = file(BASEDIR."local/navigator/conf/conf.dat"); $udata = explode("|",$ufile[0]);$udata[7]=check($conf_set7);$udata[8]=check($conf_set8);$udata[9]=check($conf_set9);$udata[6]=check($conf_set6);$udata[10]=check($conf_set10);$udata[11]=check($conf_set11);for ($u=0; $u<$siti_config; $u++){$utext.=$udata[$u].'|';}$fp=fopen(BASEDIR."local/navigator/conf/conf.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);}}if($action=="reltor"){$siti_g = file(BASEDIR."local/navigator/conf/reltor.dat"); $siti_reltor = explode("|",$siti_g[0]); echo '<b>Рынок недвижимости</b><br><hr>'; echo '<form method="post" action="setting.php?action=relter&amp;'.SID.'">';echo 'Название:<br><input name="conf_reltor0" maxlength="100" value="'.$siti_reltor[0].'" /><br><img src="../dom/11.jpg" alt=""><br>Цена:<br><input name="conf_reltor1" maxlength="20" value="'.$siti_reltor[1].'" /><hr>';echo 'Название:<br><input name="conf_reltor2" maxlength="100" value="'.$siti_reltor[2].'" /><br><img src="../dom/22.jpg" alt=""><br>Цена:<br><input name="conf_reltor3" maxlength="20" value="'.$siti_reltor[3].'" /><hr>';echo 'Название:<br><input name="conf_reltor4" maxlength="100" value="'.$siti_reltor[4].'" /><br><img src="../dom/66.jpg" alt=""><br>Цена:<br><input name="conf_reltor5" maxlength="20" value="'.$siti_reltor[5].'" /><hr>';echo 'Название:<br><input name="conf_reltor6" maxlength="100" value="'.$siti_reltor[6].'" /><br><img src="../dom/99.jpg" alt=""><br>Цена:<br><input name="conf_reltor7" maxlength="20" value="'.$siti_reltor[7].'" /><hr>';echo 'Название:<br><input name="conf_reltor8" maxlength="100" value="'.$siti_reltor[8].'" /><br><img src="../dom/33.jpg" alt=""><br>Цена:<br><input name="conf_reltor9" maxlength="20" value="'.$siti_reltor[9].'" /><hr>';echo 'Название:<br><input name="conf_reltor10" maxlength="100" value="'.$siti_reltor[10].'" /><br><img src="../dom/44.jpg" alt=""><br>Цена:<br><input name="conf_reltor11" maxlength="20" value="'.$siti_reltor[11].'" /><hr>';echo 'Название:<br><input name="conf_reltor12" maxlength="100" value="'.$siti_reltor[12].'" /><br><img src="../dom/55.jpg" alt=""><br>Цена:<br><input name="conf_reltor13" maxlength="20" value="'.$siti_reltor[13].'" /><hr>';echo 'Название:<br><input name="conf_reltor14" maxlength="100" value="'.$siti_reltor[14].'" /><br><img src="../dom/88.jpg" alt=""><br>Цена:<br><input name="conf_reltor15" maxlength="20" value="'.$siti_reltor[15].'" /><hr>';echo 'Название:<br><input name="conf_reltor16" maxlength="100" value="'.$siti_reltor[16].'" /><br><img src="../dom/77.jpg" alt=""><br>Цена:<br><input name="conf_reltor17" maxlength="20" value="'.$siti_reltor[17].'" /><hr>';echo 'Название:<br><input name="conf_reltor18" maxlength="100" value="'.$siti_reltor[18].'" /><br><img src="../dom/bil.jpg" alt=""><br>Цена:<br><input name="conf_reltor19" maxlength="20" value="'.$siti_reltor[19].'" /><hr>';echo 'Название:<br><input name="conf_reltor20" maxlength="100" value="'.$siti_reltor[20].'" /><br><img src="../dom/ttt.jpg" alt=""><br>Цена:<br><input name="conf_reltor21" maxlength="20" value="'.$siti_reltor[21].'" /><hr>';echo 'Название:<br><input name="conf_reltor22" maxlength="100" value="'.$siti_reltor[22].'" /><br><img src="../dom/1111.jpg" alt=""><br>Цена:<br><input name="conf_reltor23" maxlength="20" value="'.$siti_reltor[23].'" /><hr>';echo 'Название:<br><input name="conf_reltor24" maxlength="100" value="'.$siti_reltor[24].'" /><br><img src="../dom/2222.jpg" alt=""><br>Цена:<br><input name="conf_reltor25" maxlength="20" value="'.$siti_reltor[25].'" /><hr>';echo 'Название:<br><input name="conf_reltor26" maxlength="100" value="'.$siti_reltor[26].'" /><br><img src="../dom/3333.gif" alt=""><br>Цена:<br><input name="conf_reltor27" maxlength="20" value="'.$siti_reltor[27].'" /><hr>';echo '<br><input value="Изменить" type="submit" /></form><hr>';echo '<br><img src="../../images/img/back.gif" alt=""> <a href="setting.php?'.SID.'">Вернуться</a>';}if($action=="relter"){$ufile = file(BASEDIR."local/navigator/conf/reltor.dat"); $udata = explode("|",$ufile[0]);$udata[0]=check($conf_reltor0);$udata[1]=check($conf_reltor1);$udata[2]=check($conf_reltor2);$udata[3]=check($conf_reltor3);$udata[4]=check($conf_reltor4);$udata[5]=check($conf_reltor5);$udata[6]=check($conf_reltor6);$udata[7]=check($conf_reltor7);$udata[8]=check($conf_reltor8);$udata[9]=check($conf_reltor9);$udata[10]=check($conf_reltor10);$udata[11]=check($conf_reltor11);$udata[12]=check($conf_reltor12);$udata[13]=check($conf_reltor13);$udata[14]=check($conf_reltor14);$udata[15]=check($conf_reltor15);$udata[16]=check($conf_reltor16);$udata[17]=check($conf_reltor17);$udata[18]=check($conf_reltor18);$udata[19]=check($conf_reltor19);$udata[20]=check($conf_reltor20);$udata[21]=check($conf_reltor21);$udata[22]=check($conf_reltor22);$udata[23]=check($conf_reltor23);$udata[24]=check($conf_reltor24);$udata[25]=check($conf_reltor25);$udata[26]=check($conf_reltor26);$udata[27]=check($conf_reltor27);for ($u=0; $u<$siti_reltr; $u++){$utext.=$udata[$u].'|';}$fp=fopen(BASEDIR."local/navigator/conf/reltor.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);}$siti_st = file(BASEDIR."local/navigator/conf/stvol.dat"); $siti_stvol = explode("|",$siti_st[0]);if($action=="stvol"){echo '<b>Оружейная лавка</b><br><hr>';echo 'Есле значение до 100 то оно должно быть круглым 20 или 40 зпрещено 25 или 45!<br>Причина: на рынках не будет выщитыватся процент цены на чёрном и центрыльном рынках будут одинаковые!<br><br>';echo'<b>Оружие не поддерживающее прокачку</b><br>'; echo'&#187; <a href="setting.php?action=stvol&amp;st0&amp;'.SID.'">'.$siti_stvol[0].'-><a> '.$siti_stvol[1].' $ MOЩЪ: <font color="red">'.$siti_stvol[2].'</font><br>';if(isset($st0)){echo'<form method="post" action="setting.php?action=sk0&amp;'.SID.'">';echo 'Название:<br><input name="conf_or0" maxlength="100" value="'.$siti_stvol[0].'" /><br>Цена:<br><input name="conf_or1" maxlength="20" value="'.$siti_stvol[1].'" /><br>MOЩЪ:<br><input name="conf_or2" maxlength="20" value="'.$siti_stvol[2].'" /><br><input value="Изменить" type="submit" /></form>';}echo'&#187; <a href="setting.php?action=stvol&amp;st1&amp;'.SID.'">'.$siti_stvol[3].'-><a> '.$siti_stvol[4].' $ MOЩЪ: <font color="red">'.$siti_stvol[5].'</font><br>';if(isset($st1)){echo'<form method="post" action="setting.php?action=sk1&amp;'.SID.'">';echo 'Название:<br><input name="conf_or3" maxlength="100" value="'.$siti_stvol[3].'" /><br>Цена:<br><input name="conf_or4" maxlength="20" value="'.$siti_stvol[4].'" /><br>MOЩЪ:<br><input name="conf_or5" maxlength="20" value="'.$siti_stvol[5].'" /><br><input value="Изменить" type="submit" /></form>';}echo'&#187; <a href="setting.php?action=stvol&amp;st2&amp;'.SID.'">'.$siti_stvol[6].'-><a> '.$siti_stvol[7].' $ MOЩЪ: <font color="red">'.$siti_stvol[8].'</font><br>';if(isset($st2)){echo'<form method="post" action="setting.php?action=sk2&amp;'.SID.'">';echo 'Название:<br><input name="conf_or6" maxlength="100" value="'.$siti_stvol[6].'" /><br>Цена:<br><input name="conf_or7" maxlength="20" value="'.$siti_stvol[7].'" /><br>MOЩЪ:<br><input name="conf_or8" maxlength="20" value="'.$siti_stvol[8].'" /><br><input value="Изменить" type="submit" /></form>';}echo'&#187; <a href="setting.php?action=stvol&amp;st3&amp;'.SID.'">'.$siti_stvol[9].'-><a> '.$siti_stvol[10].' $ MOЩЪ: <font color="red">'.$siti_stvol[11].'</font><br>';if(isset($st3)){echo'<form method="post" action="setting.php?action=sk3&amp;'.SID.'">';echo 'Название:<br><input name="conf_or9" maxlength="100" value="'.$siti_stvol[9].'" /><br>Цена:<br><input name="conf_or10" maxlength="20" value="'.$siti_stvol[10].'" /><br>MOЩЪ:<br><input name="conf_or11" maxlength="20" value="'.$siti_stvol[11].'" /><br><input value="Изменить" type="submit" /></form>';}echo'<b>Огнестрельное поддерживающее прокачку</b><br>'; echo'&#187; <a href="setting.php?action=stvol&amp;st4&amp;'.SID.'">'.$siti_stvol[12].'-><a> '.$siti_stvol[13].' $ MOЩЪ: <font color="red">'.$siti_stvol[14].'</font><br>'; if(isset($st4)){echo'<form method="post" action="setting.php?action=sk4&amp;'.SID.'">';echo 'Название:<br><input name="conf_or12" maxlength="100" value="'.$siti_stvol[12].'" /><br>Цена:<br><input name="conf_or13" maxlength="20" value="'.$siti_stvol[13].'" /><br>MOЩЪ:<br><input name="conf_or14" maxlength="20" value="'.$siti_stvol[14].'" /><br><input value="Изменить" type="submit" /></form>';} echo'&#187; <a href="setting.php?action=stvol&amp;st5&amp;'.SID.'">'.$siti_stvol[15].'-><a> '.$siti_stvol[16].' $ MOЩЪ: <font color="red">'.$siti_stvol[17].'</font><br>';if(isset($st5)){echo'<form method="post" action="setting.php?action=sk5&amp;'.SID.'">';echo 'Название:<br><input name="conf_or15" maxlength="100" value="'.$siti_stvol[15].'" /><br>Цена:<br><input name="conf_or16" maxlength="20" value="'.$siti_stvol[16].'" /><br>MOЩЪ:<br><input name="conf_or17" maxlength="20" value="'.$siti_stvol[17].'" /><br><input value="Изменить" type="submit" /></form>';} echo'&#187; <a href="setting.php?action=stvol&amp;st6&amp;'.SID.'">'.$siti_stvol[18].'-><a> '.$siti_stvol[19].' $ MOЩЪ: <font color="red">'.$siti_stvol[20].'</font><br>';if(isset($st6)){echo'<form method="post" action="setting.php?action=sk6&amp;'.SID.'">';echo 'Название:<br><input name="conf_or18" maxlength="100" value="'.$siti_stvol[18].'" /><br>Цена:<br><input name="conf_or19" maxlength="20" value="'.$siti_stvol[19].'" /><br>MOЩЪ:<br><input name="conf_or20" maxlength="20" value="'.$siti_stvol[20].'" /><br><input value="Изменить" type="submit" /></form>';} echo'&#187; <a href="setting.php?action=stvol&amp;st7&amp;'.SID.'">'.$siti_stvol[21].'-><a> '.$siti_stvol[22].' $ MOЩЪ: <font color="red">'.$siti_stvol[23].'</font><br>';if(isset($st7)){echo'<form method="post" action="setting.php?action=sk7&amp;'.SID.'">';echo 'Название:<br><input name="conf_or21" maxlength="100" value="'.$siti_stvol[21].'" /><br>Цена:<br><input name="conf_or22" maxlength="20" value="'.$siti_stvol[22].'" /><br>MOЩЪ:<br><input name="conf_or23" maxlength="20" value="'.$siti_stvol[23].'" /><br><input value="Изменить" type="submit" /></form>';} echo'&#187; <a href="setting.php?action=stvol&amp;st8&amp;'.SID.'">'.$siti_stvol[24].'-><a> '.$siti_stvol[25].' $ MOЩЪ: <font color="red">'.$siti_stvol[26].'</font><br>';if(isset($st8)){echo'<form method="post" action="setting.php?action=sk8&amp;'.SID.'">';echo 'Название:<br><input name="conf_or24" maxlength="100" value="'.$siti_stvol[24].'" /><br>Цена:<br><input name="conf_or25" maxlength="20" value="'.$siti_stvol[25].'" /><br>MOЩЪ:<br><input name="conf_or26" maxlength="20" value="'.$siti_stvol[26].'" /><br><input value="Изменить" type="submit" /></form>';}echo'&#187; <a href="setting.php?action=stvol&amp;st9&amp;'.SID.'">'.$siti_stvol[27].'-><a> '.$siti_stvol[28].' $ MOЩЪ: <font color="red">'.$siti_stvol[29].'</font><br>';if(isset($st9)){echo'<form method="post" action="setting.php?action=sk9&amp;'.SID.'">';echo 'Название:<br><input name="conf_or27" maxlength="100" value="'.$siti_stvol[27].'" /><br>Цена:<br><input name="conf_or28" maxlength="20" value="'.$siti_stvol[28].'" /><br>MOЩЪ:<br><input name="conf_or29" maxlength="20" value="'.$siti_stvol[29].'" /><br><input value="Изменить" type="submit" /></form>';}echo'&#187; <a href="setting.php?action=stvol&amp;st10&amp;'.SID.'">'.$siti_stvol[30].'-><a> '.$siti_stvol[31].' $ MOЩЪ: <font color="red">'.$siti_stvol[32].'</font><br>';if(isset($st10)){echo'<form method="post" action="setting.php?action=sk10&amp;'.SID.'">';echo 'Название:<br><input name="conf_or30" maxlength="100" value="'.$siti_stvol[30].'" /><br>Цена:<br><input name="conf_or31" maxlength="20" value="'.$siti_stvol[31].'" /><br>MOЩЪ:<br><input name="conf_or32" maxlength="20" value="'.$siti_stvol[32].'" /><br><input value="Изменить" type="submit" /></form>';}echo'&#187; <a href="setting.php?action=stvol&amp;st11&amp;'.SID.'">'.$siti_stvol[33].'-><a> '.$siti_stvol[34].' $ MOЩЪ: <font color="red">'.$siti_stvol[35].'</font><br>';if(isset($st11)){echo'<form method="post" action="setting.php?action=sk11&amp;'.SID.'">';echo 'Название:<br><input name="conf_or33" maxlength="100" value="'.$siti_stvol[33].'" /><br>Цена:<br><input name="conf_or34" maxlength="20" value="'.$siti_stvol[34].'" /><br>MOЩЪ:<br><input name="conf_or35" maxlength="20" value="'.$siti_stvol[35].'" /><br><input value="Изменить" type="submit" /></form>';}echo'&#187; <a href="setting.php?action=stvol&amp;st12&amp;'.SID.'">'.$siti_stvol[36].'-><a> '.$siti_stvol[37].' $ MOЩЪ: <font color="red">'.$siti_stvol[38].'</font><br>';if(isset($st12)){echo'<form method="post" action="setting.php?action=sk12&amp;'.SID.'">';echo 'Название:<br><input name="conf_or36" maxlength="100" value="'.$siti_stvol[36].'" /><br>Цена:<br><input name="conf_or37" maxlength="20" value="'.$siti_stvol[37].'" /><br>MOЩЪ:<br><input name="conf_or38" maxlength="20" value="'.$siti_stvol[38].'" /><br><input value="Изменить" type="submit" /></form>';} echo'&#187; <a href="setting.php?action=stvol&amp;st13&amp;'.SID.'">'.$siti_stvol[39].'-><a> '.$siti_stvol[40].' $ MOЩЪ: <font color="red">'.$siti_stvol[41].'</font><br>';if(isset($st13)){echo'<form method="post" action="setting.php?action=sk13&amp;'.SID.'">';echo 'Название:<br><input name="conf_or39" maxlength="100" value="'.$siti_stvol[39].'" /><br>Цена:<br><input name="conf_or40" maxlength="20" value="'.$siti_stvol[40].'" /><br>MOЩЪ:<br><input name="conf_or41" maxlength="20" value="'.$siti_stvol[41].'" /><br><input value="Изменить" type="submit" /></form>';}echo'&#187; <a href="setting.php?action=stvol&amp;st14&amp;'.SID.'">'.$siti_stvol[42].'-><a> '.$siti_stvol[43].' $ MOЩЪ: <font color="red">'.$siti_stvol[44].'</font><br>';if(isset($st14)){echo'<form method="post" action="setting.php?action=sk14&amp;'.SID.'">';echo 'Название:<br><input name="conf_or42" maxlength="100" value="'.$siti_stvol[42].'" /><br>Цена:<br><input name="conf_or43" maxlength="20" value="'.$siti_stvol[43].'" /><br>MOЩЪ:<br><input name="conf_or44" maxlength="20" value="'.$siti_stvol[44].'" /><br><input value="Изменить" type="submit" /></form>';}echo'&#187; <a href="setting.php?action=stvol&amp;st15&amp;'.SID.'">'.$siti_stvol[45].'-><a> '.$siti_stvol[46].' $ MOЩЪ: <font color="red">'.$siti_stvol[47].'</font><br>';if(isset($st15)){echo'<form method="post" action="setting.php?action=sk15&amp;'.SID.'">';echo 'Название:<br><input name="conf_or45" maxlength="100" value="'.$siti_stvol[45].'" /><br>Цена:<br><input name="conf_or46" maxlength="20" value="'.$siti_stvol[46].'" /><br>MOЩЪ:<br><input name="conf_or47" maxlength="20" value="'.$siti_stvol[47].'" /><br><input value="Изменить" type="submit" /></form>';}echo'&#187; <a href="setting.php?action=stvol&amp;st16&amp;'.SID.'">'.$siti_stvol[48].'-><a> '.$siti_stvol[48].' $ MOЩЪ: <font color="red">'.$siti_stvol[50].'</font><br>';if(isset($st16)){echo'<form method="post" action="setting.php?action=sk16&amp;'.SID.'">';echo 'Название:<br><input name="conf_or48" maxlength="100" value="'.$siti_stvol[48].'" /><br>Цена:<br><input name="conf_or49" maxlength="20" value="'.$siti_stvol[49].'" /><br>MOЩЪ:<br><input name="conf_or50" maxlength="20" value="'.$siti_stvol[50].'" /><br><input value="Изменить" type="submit" /></form>';}echo'&#187; <a href="setting.php?action=stvol&amp;st17&amp;'.SID.'">'.$siti_stvol[51].'-><a> '.$siti_stvol[52].' $ MOЩЪ: <font color="red">'.$siti_stvol[53].'</font><br>';if(isset($st17)){echo'<form method="post" action="setting.php?action=sk17&amp;'.SID.'">';echo 'Название:<br><input name="conf_or51" maxlength="100" value="'.$siti_stvol[51].'" /><br>Цена:<br><input name="conf_or52" maxlength="20" value="'.$siti_stvol[52].'" /><br>MOЩЪ:<br><input name="conf_or53" maxlength="20" value="'.$siti_stvol[53].'" /><br><input value="Изменить" type="submit" /></form>';}echo'&#187; <a href="setting.php?action=stvol&amp;st18&amp;'.SID.'">'.$siti_stvol[54].'-><a> '.$siti_stvol[55].' $ MOЩЪ: <font color="red">'.$siti_stvol[56].'</font><br>';if(isset($st18)){echo'<form method="post" action="setting.php?action=sk18&amp;'.SID.'">';echo 'Название:<br><input name="conf_or54" maxlength="100" value="'.$siti_stvol[54].'" /><br>Цена:<br><input name="conf_or55" maxlength="20" value="'.$siti_stvol[55].'" /><br>MOЩЪ:<br><input name="conf_or56" maxlength="20" value="'.$siti_stvol[56].'" /><br><input value="Изменить" type="submit" /></form>';}echo'&#187; <a href="setting.php?action=stvol&amp;st19&amp;'.SID.'">'.$siti_stvol[57].'-><a> '.$siti_stvol[58].' $ MOЩЪ: <font color="red">'.$siti_stvol[59].'</font><br>';if(isset($st19)){echo'<form method="post" action="setting.php?action=sk19&amp;'.SID.'">';echo 'Название:<br><input name="conf_or57" maxlength="100" value="'.$siti_stvol[57].'" /><br>Цена:<br><input name="conf_or58" maxlength="20" value="'.$siti_stvol[58].'" /><br>MOЩЪ:<br><input name="conf_or59" maxlength="20" value="'.$siti_stvol[59].'" /><br><input value="Изменить" type="submit" /></form>';}echo'&#187; <a href="setting.php?action=stvol&amp;st20&amp;'.SID.'">'.$siti_stvol[60].'-><a> '.$siti_stvol[61].' $ MOЩЪ: <font color="red">'.$siti_stvol[62].'</font><br>';if(isset($st20)){echo'<form method="post" action="setting.php?action=sk20&amp;'.SID.'">';echo 'Название:<br><input name="conf_or60" maxlength="100" value="'.$siti_stvol[60].'" /><br>Цена:<br><input name="conf_or61" maxlength="20" value="'.$siti_stvol[61].'" /><br>MOЩЪ:<br><input name="conf_or62" maxlength="20" value="'.$siti_stvol[62].'" /><br><input value="Изменить" type="submit" /></form>';}echo'&#187; <a href="setting.php?action=stvol&amp;st21&amp;'.SID.'">'.$siti_stvol[63].'-><a> '.$siti_stvol[64].' $ MOЩЪ: <font color="red">'.$siti_stvol[65].'</font><br>';if(isset($st21)){echo'<form method="post" action="setting.php?action=sk21&amp;'.SID.'">';echo 'Название:<br><input name="conf_or63" maxlength="100" value="'.$siti_stvol[63].'" /><br>Цена:<br><input name="conf_or64" maxlength="20" value="'.$siti_stvol[64].'" /><br>MOЩЪ:<br><input name="conf_or65" maxlength="20" value="'.$siti_stvol[65].'" /><br><input value="Изменить" type="submit" /></form>';}echo'&#187; <a href="setting.php?action=stvol&amp;st22&amp;'.SID.'">'.$siti_stvol[66].'-><a> '.$siti_stvol[67].' $ MOЩЪ: <font color="red">'.$siti_stvol[68].'</font><br>';if(isset($st22)){echo'<form method="post" action="setting.php?action=sk22&amp;'.SID.'">';echo 'Название:<br><input name="conf_or66" maxlength="100" value="'.$siti_stvol[66].'" /><br>Цена:<br><input name="conf_or67" maxlength="20" value="'.$siti_stvol[67].'" /><br>MOЩЪ:<br><input name="conf_or68" maxlength="20" value="'.$siti_stvol[68].'" /><br><input value="Изменить" type="submit" /></form>';}echo'&#187; <a href="setting.php?action=stvol&amp;st23&amp;'.SID.'">'.$siti_stvol[69].'-><a> '.$siti_stvol[70].' $ MOЩЪ: <font color="red">'.$siti_stvol[71].'</font><br>';if(isset($st23)){echo'<form method="post" action="setting.php?action=sk23&amp;'.SID.'">';echo 'Название:<br><input name="conf_or69" maxlength="100" value="'.$siti_stvol[69].'" /><br>Цена:<br><input name="conf_or70" maxlength="20" value="'.$siti_stvol[70].'" /><br>MOЩЪ:<br><input name="conf_or71" maxlength="20" value="'.$siti_stvol[71].'" /><br><input value="Изменить" type="submit" /></form>';}echo'&#187; <a href="setting.php?action=stvol&amp;st24&amp;'.SID.'">'.$siti_stvol[72].'-><a> '.$siti_stvol[73].' $ MOЩЪ: <font color="red">'.$siti_stvol[74].'</font><br>';if(isset($st24)){echo'<form method="post" action="setting.php?action=sk24&amp;'.SID.'">';echo 'Название:<br><input name="conf_or72" maxlength="100" value="'.$siti_stvol[72].'" /><br>Цена:<br><input name="conf_or73" maxlength="20" value="'.$siti_stvol[73].'" /><br>MOЩЪ:<br><input name="conf_or74" maxlength="20" value="'.$siti_stvol[74].'" /><br><input value="Изменить" type="submit" /></form>';}echo'&#187; <a href="setting.php?action=stvol&amp;st25&amp;'.SID.'">'.$siti_stvol[75].'-><a> '.$siti_stvol[76].' $ MOЩЪ: <font color="red">'.$siti_stvol[77].'</font><br>';if(isset($st25)){echo'<form method="post" action="setting.php?action=sk25&amp;'.SID.'">';echo 'Название:<br><input name="conf_or75" maxlength="100" value="'.$siti_stvol[75].'" /><br>Цена:<br><input name="conf_or76" maxlength="20" value="'.$siti_stvol[76].'" /><br>MOЩЪ:<br><input name="conf_or77" maxlength="20" value="'.$siti_stvol[77].'" /><br><input value="Изменить" type="submit" /></form>';}echo'&#187; <a href="setting.php?action=stvol&amp;st26&amp;'.SID.'">'.$siti_stvol[78].'-><a> '.$siti_stvol[79].' $ MOЩЪ: <font color="red">'.$siti_stvol[80].'</font><br>';if(isset($st26)){echo'<form method="post" action="setting.php?action=sk26&amp;'.SID.'">';echo 'Название:<br><input name="conf_or78" maxlength="100" value="'.$siti_stvol[78].'" /><br>Цена:<br><input name="conf_or79" maxlength="20" value="'.$siti_stvol[79].'" /><br>MOЩЪ:<br><input name="conf_or80" maxlength="20" value="'.$siti_stvol[80].'" /><br><input value="Изменить" type="submit" /></form>';}echo'&#187; <a href="setting.php?action=stvol&amp;st27&amp;'.SID.'">'.$siti_stvol[81].'-><a> '.$siti_stvol[82].' $ MOЩЪ: <font color="red">'.$siti_stvol[83].'</font><br>';if(isset($st27)){echo'<form method="post" action="setting.php?action=sk27&amp;'.SID.'">';echo 'Название:<br><input name="conf_or81" maxlength="100" value="'.$siti_stvol[81].'" /><br>Цена:<br><input name="conf_or82" maxlength="20" value="'.$siti_stvol[82].'" /><br>MOЩЪ:<br><input name="conf_or83" maxlength="20" value="'.$siti_stvol[83].'" /><br><input value="Изменить" type="submit" /></form>';}} if($action=="sk27"){ $ufile = file(BASEDIR."local/navigator/conf/stvol.dat"); $udata = explode("|",$ufile[0]);$udata[81]=check($conf_or81);$udata[82]=check($conf_or82);$udata[83]=check($conf_or83);for ($u=0; $u<$siti_stv; $u++){$utext.=$udata[$u].'|';}$fp=fopen(BASEDIR."local/navigator/conf/stvol.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?action=stvol&isset=mp_yesset&".SID);}if($action=="sk26"){ $ufile = file(BASEDIR."local/navigator/conf/stvol.dat"); $udata = explode("|",$ufile[0]);$udata[78]=check($conf_or78);$udata[79]=check($conf_or79);$udata[80]=check($conf_or80);for ($u=0; $u<$siti_stv; $u++){$utext.=$udata[$u].'|';}$fp=fopen(BASEDIR."local/navigator/conf/stvol.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?action=stvol&isset=mp_yesset&".SID);}if($action=="sk25"){ $ufile = file(BASEDIR."local/navigator/conf/stvol.dat"); $udata = explode("|",$ufile[0]);$udata[75]=check($conf_or75);$udata[76]=check($conf_or76);$udata[77]=check($conf_or77);for ($u=0; $u<$siti_stv; $u++){$utext.=$udata[$u].'|';}$fp=fopen(BASEDIR."local/navigator/conf/stvol.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?action=stvol&isset=mp_yesset&".SID);}if($action=="sk24"){ $ufile = file(BASEDIR."local/navigator/conf/stvol.dat"); $udata = explode("|",$ufile[0]);$udata[72]=check($conf_or72);$udata[73]=check($conf_or73);$udata[74]=check($conf_or74);for ($u=0; $u<$siti_stv; $u++){$utext.=$udata[$u].'|';}$fp=fopen(BASEDIR."local/navigator/conf/stvol.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?action=stvol&isset=mp_yesset&".SID);}if($action=="sk23"){ $ufile = file(BASEDIR."local/navigator/conf/stvol.dat"); $udata = explode("|",$ufile[0]);$udata[69]=check($conf_or69);$udata[70]=check($conf_or70);$udata[71]=check($conf_or71);for ($u=0; $u<$siti_stv; $u++){$utext.=$udata[$u].'|';}$fp=fopen(BASEDIR."local/navigator/conf/stvol.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?action=stvol&isset=mp_yesset&".SID);}if($action=="sk22"){ $ufile = file(BASEDIR."local/navigator/conf/stvol.dat"); $udata = explode("|",$ufile[0]);$udata[66]=check($conf_or66);$udata[67]=check($conf_or67);$udata[68]=check($conf_or68);for ($u=0; $u<$siti_stv; $u++){$utext.=$udata[$u].'|';}$fp=fopen(BASEDIR."local/navigator/conf/stvol.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?action=stvol&isset=mp_yesset&".SID);}if($action=="sk21"){ $ufile = file(BASEDIR."local/navigator/conf/stvol.dat"); $udata = explode("|",$ufile[0]);$udata[63]=check($conf_or63);$udata[64]=check($conf_or64);$udata[65]=check($conf_or65);for ($u=0; $u<$siti_stv; $u++){$utext.=$udata[$u].'|';}$fp=fopen(BASEDIR."local/navigator/conf/stvol.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?action=stvol&isset=mp_yesset&".SID);}if($action=="sk20"){ $ufile = file(BASEDIR."local/navigator/conf/stvol.dat"); $udata = explode("|",$ufile[0]);$udata[60]=check($conf_or60);$udata[61]=check($conf_or61);$udata[62]=check($conf_or62);for ($u=0; $u<$siti_stv; $u++){$utext.=$udata[$u].'|';}$fp=fopen(BASEDIR."local/navigator/conf/stvol.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?action=stvol&isset=mp_yesset&".SID);}if($action=="sk19"){ $ufile = file(BASEDIR."local/navigator/conf/stvol.dat"); $udata = explode("|",$ufile[0]);$udata[57]=check($conf_or57);$udata[58]=check($conf_or58);$udata[59]=check($conf_or59);for ($u=0; $u<$siti_stv; $u++){$utext.=$udata[$u].'|';}$fp=fopen(BASEDIR."local/navigator/conf/stvol.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?action=stvol&isset=mp_yesset&".SID);}if($action=="sk18"){ $ufile = file(BASEDIR."local/navigator/conf/stvol.dat"); $udata = explode("|",$ufile[0]);$udata[54]=check($conf_or54);$udata[55]=check($conf_or55);$udata[56]=check($conf_or56);for ($u=0; $u<$siti_stv; $u++){$utext.=$udata[$u].'|';}$fp=fopen(BASEDIR."local/navigator/conf/stvol.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?action=stvol&isset=mp_yesset&".SID);}if($action=="sk17"){ $ufile = file(BASEDIR."local/navigator/conf/stvol.dat"); $udata = explode("|",$ufile[0]);$udata[51]=check($conf_or51);$udata[52]=check($conf_or52);$udata[53]=check($conf_or53);for ($u=0; $u<$siti_stv; $u++){$utext.=$udata[$u].'|';}$fp=fopen(BASEDIR."local/navigator/conf/stvol.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?action=stvol&isset=mp_yesset&".SID);}if($action=="sk16"){ $ufile = file(BASEDIR."local/navigator/conf/stvol.dat"); $udata = explode("|",$ufile[0]);$udata[48]=check($conf_or48);$udata[49]=check($conf_or49);$udata[50]=check($conf_or50);for ($u=0; $u<$siti_stv; $u++){$utext.=$udata[$u].'|';}$fp=fopen(BASEDIR."local/navigator/conf/stvol.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?action=stvol&isset=mp_yesset&".SID);}if($action=="sk15"){ $ufile = file(BASEDIR."local/navigator/conf/stvol.dat"); $udata = explode("|",$ufile[0]);$udata[45]=check($conf_or45);$udata[46]=check($conf_or46);$udata[47]=check($conf_or47);for ($u=0; $u<$siti_stv; $u++){$utext.=$udata[$u].'|';}$fp=fopen(BASEDIR."local/navigator/conf/stvol.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?action=stvol&isset=mp_yesset&".SID);}if($action=="sk14"){ $ufile = file(BASEDIR."local/navigator/conf/stvol.dat"); $udata = explode("|",$ufile[0]);$udata[42]=check($conf_or42);$udata[43]=check($conf_or43);$udata[44]=check($conf_or44);for ($u=0; $u<$siti_stv; $u++){$utext.=$udata[$u].'|';}$fp=fopen(BASEDIR."local/navigator/conf/stvol.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?action=stvol&isset=mp_yesset&".SID);}if($action=="sk13"){ $ufile = file(BASEDIR."local/navigator/conf/stvol.dat"); $udata = explode("|",$ufile[0]);$udata[39]=check($conf_or39);$udata[40]=check($conf_or40);$udata[41]=check($conf_or41);for ($u=0; $u<$siti_stv; $u++){$utext.=$udata[$u].'|';}$fp=fopen(BASEDIR."local/navigator/conf/stvol.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?action=stvol&isset=mp_yesset&".SID);}if($action=="sk12"){ $ufile = file(BASEDIR."local/navigator/conf/stvol.dat"); $udata = explode("|",$ufile[0]);$udata[36]=check($conf_or36);$udata[37]=check($conf_or37);$udata[38]=check($conf_or38);for ($u=0; $u<$siti_stv; $u++){$utext.=$udata[$u].'|';}$fp=fopen(BASEDIR."local/navigator/conf/stvol.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?action=stvol&isset=mp_yesset&".SID);}if($action=="sk11"){ $ufile = file(BASEDIR."local/navigator/conf/stvol.dat"); $udata = explode("|",$ufile[0]);$udata[33]=check($conf_or33);$udata[34]=check($conf_or34);$udata[35]=check($conf_or35);for ($u=0; $u<$siti_stv; $u++){$utext.=$udata[$u].'|';}$fp=fopen(BASEDIR."local/navigator/conf/stvol.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?action=stvol&isset=mp_yesset&".SID);}if($action=="sk10"){ $ufile = file(BASEDIR."local/navigator/conf/stvol.dat"); $udata = explode("|",$ufile[0]);$udata[30]=check($conf_or30);$udata[31]=check($conf_or31);$udata[32]=check($conf_or32);for ($u=0; $u<$siti_stv; $u++){$utext.=$udata[$u].'|';}$fp=fopen(BASEDIR."local/navigator/conf/stvol.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?action=stvol&isset=mp_yesset&".SID);}if($action=="sk9"){ $ufile = file(BASEDIR."local/navigator/conf/stvol.dat"); $udata = explode("|",$ufile[0]);$udata[27]=check($conf_or27);$udata[28]=check($conf_or28);$udata[29]=check($conf_or29);for ($u=0; $u<$siti_stv; $u++){$utext.=$udata[$u].'|';}$fp=fopen(BASEDIR."local/navigator/conf/stvol.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?action=stvol&isset=mp_yesset&".SID);}if($action=="sk8"){ $ufile = file(BASEDIR."local/navigator/conf/stvol.dat"); $udata = explode("|",$ufile[0]);$udata[24]=check($conf_or24);$udata[25]=check($conf_or25);$udata[26]=check($conf_or26);for ($u=0; $u<$siti_stv; $u++){$utext.=$udata[$u].'|';}$fp=fopen(BASEDIR."local/navigator/conf/stvol.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?action=stvol&isset=mp_yesset&".SID);}if($action=="sk7"){ $ufile = file(BASEDIR."local/navigator/conf/stvol.dat"); $udata = explode("|",$ufile[0]);$udata[21]=check($conf_or21);$udata[22]=check($conf_or22);$udata[23]=check($conf_or23);for ($u=0; $u<$siti_stv; $u++){$utext.=$udata[$u].'|';}$fp=fopen(BASEDIR."local/navigator/conf/stvol.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?action=stvol&isset=mp_yesset&".SID);}if($action=="sk0"){ $ufile = file(BASEDIR."local/navigator/conf/stvol.dat"); $udata = explode("|",$ufile[0]);$udata[0]=check($conf_or0);$udata[1]=check($conf_or1);$udata[2]=check($conf_or2);for ($u=0; $u<$siti_stv; $u++){$utext.=$udata[$u].'|';}$fp=fopen(BASEDIR."local/navigator/conf/stvol.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?action=stvol&isset=mp_yesset&".SID);}if($action=="sk1"){ $ufile = file(BASEDIR."local/navigator/conf/stvol.dat"); $udata = explode("|",$ufile[0]);$udata[3]=check($conf_or3);$udata[4]=check($conf_or4);$udata[5]=check($conf_or5);for ($u=0; $u<$siti_stv; $u++){$utext.=$udata[$u].'|';}$fp=fopen(BASEDIR."local/navigator/conf/stvol.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?action=stvol&isset=mp_yesset&".SID);}if($action=="sk2"){ $ufile = file(BASEDIR."local/navigator/conf/stvol.dat"); $udata = explode("|",$ufile[0]);$udata[6]=check($conf_or6);$udata[7]=check($conf_or7);$udata[8]=check($conf_or8);for ($u=0; $u<$siti_stv; $u++){$utext.=$udata[$u].'|';}$fp=fopen(BASEDIR."local/navigator/conf/stvol.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?action=stvol&isset=mp_yesset&".SID);}if($action=="sk3"){ $ufile = file(BASEDIR."local/navigator/conf/stvol.dat"); $udata = explode("|",$ufile[0]);$udata[9]=check($conf_or9);$udata[10]=check($conf_or10);$udata[11]=check($conf_or11);for ($u=0; $u<$siti_stv; $u++){$utext.=$udata[$u].'|';}$fp=fopen(BASEDIR."local/navigator/conf/stvol.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?action=stvol&isset=mp_yesset&".SID);}if($action=="sk4"){ $ufile = file(BASEDIR."local/navigator/conf/stvol.dat"); $udata = explode("|",$ufile[0]);$udata[12]=check($conf_or12);$udata[13]=check($conf_or13);$udata[14]=check($conf_or14);for ($u=0; $u<$siti_stv; $u++){$utext.=$udata[$u].'|';}$fp=fopen(BASEDIR."local/navigator/conf/stvol.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?action=stvol&isset=mp_yesset&".SID);}if($action=="sk5"){ $ufile = file(BASEDIR."local/navigator/conf/stvol.dat"); $udata = explode("|",$ufile[0]);$udata[15]=check($conf_or15);$udata[16]=check($conf_or16);$udata[17]=check($conf_or17);for ($u=0; $u<$siti_stv; $u++){$utext.=$udata[$u].'|';}$fp=fopen(BASEDIR."local/navigator/conf/stvol.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?action=stvol&isset=mp_yesset&".SID);}if($action=="sk6"){ $ufile = file(BASEDIR."local/navigator/conf/stvol.dat"); $udata = explode("|",$ufile[0]);$udata[18]=check($conf_or18);$udata[19]=check($conf_or19);$udata[20]=check($conf_or20);for ($u=0; $u<$siti_stv; $u++){$utext.=$udata[$u].'|';}$fp=fopen(BASEDIR."local/navigator/conf/stvol.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?action=stvol&isset=mp_yesset&".SID);}echo'<br><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);}eval(base64_decode('ZWNobyc8aHI+PGEgaHJlZj0iaHR0cDovL25tbi53ZWJob3AubmV0Ij5OTU4u
V0VCSE9QLk5FVDwvYT48YnI+JzsKaW5jbHVkZV9vbmNlKEJBU0VESVIuInRo
ZW1lcy8kY29uZmlnX3RoZW1lcy9mb290LnBocCIpOw=='));?>