Вход Регистрация
Файл: plugins/FUTBOL/seting.php
Строк: 99
<?
include_once '../../sys/inc/start.php';
include_once 
'../../sys/inc/compress.php';
include_once 
'../../sys/inc/sess.php';
include_once 
'../../sys/inc/home.php';
include_once 
'../../sys/inc/settings.php';
include_once 
'../../sys/inc/db_connect.php';
include_once 
'../../sys/inc/ipua.php';
include_once 
'../../sys/inc/fnc.php';
include_once 
'../../sys/inc/user.php';

only_reg();
$set['title']='Мои настройки';
include_once 
'../../sys/inc/thead.php';


if (isset(
$_POST['save'])){




///////////////
if (isset($_POST['FUTBOL_set']) && (is_numeric($_POST['FUTBOL_set']) && $_POST['FUTBOL_set']>=-12 && $_POST['FUTBOL_set']<=12))
{
$user['FUTBOL_set']=intval($_POST['FUTBOL_set']);
mysql_query("UPDATE `user` SET `FUTBOL_set` = '$user[FUTBOL_set]' WHERE `id` = '$user[id]' LIMIT 1");
}
else 
$err='Ошибка футбольных настроек';
////////////////






if (!isset($err))msg('Изменения успешно приняты');
}
err();


?>
<style>


.fon {
background-image: url('images/fon.jpg');
border-left: 2px solid black;
border: 1px solid #EEEEFF;
border-radius: 8px;

}

.efir {
background-image: url('http://t1.gstatic.com/images?q=tbn:ANd9GcTMTnw3AHoS0qDY3KZIVYcHbnZ_yHqiO0xAVFyGmjYZEvVTGT-q-u7KMUg');
border-left: 2px solid black;
border: 1px solid #EEEEFF;
border-radius: 8px;

}


.stena {
background-image: url('http://t2.gstatic.com/images?q=tbn:ANd9GcRWVwWxXzvOcF_zhybwS4S0wrkzbX7WHtjh4FfwJTo-71JlfPrzzyXrcfU');
border-left: 2px solid black;
border: 1px solid #EEEEFF;
border-radius: 8px;

}

.naw2 {
background-image: url('http://t3.gstatic.com/images?q=tbn:ANd9GcRhbzl7O8d8ruWUlZMjeV7e91R8iOWnZQSICDXWXaL7iGLAu2qs1mf_uw');
border-left: 2px solid black;
border: 1px solid #EEEEFF;
border-radius: 8px;

}

.naw {
background-image: url('http://t3.gstatic.com/images?q=tbn:ANd9GcS1QfQ0D0kHxIOvaqtgGgzUDnL2E4AZI2nukel1F_fb0wZg9aFnqLDF8WM');
border-left: 2px solid black;
border: 1px solid #EEEEFF;
border-radius: 8px;

}



.trassa {
background-image: url('images/trassa.jpg');
width:240px;
height:240px;
border-left: 0px solid black;
border-right: 0px solid black;
border-bottom: 0px solid black;

}

.menu_r {
background-image: url('images/menu_r.png');
width:161px;
height:60px;
border-left: 0px solid black;
border-right: 0px solid black;
border-bottom: 0px solid black;

}
</style>
<?


echo "<div class='fon'><center><img src='images/diktor2.png' alt='' class='icon'/></center></div>";

echo 
"<form method='post' action='?$passgen'>n";

echo 
"<div class='efir'>";
////////////////////////
echo "<font color='yellow'>Показ футбола в гостевой:</font><br />n<select name='FUTBOL_set'>n";
echo 
"<option value='1'".($user['FUTBOL_set']==1?" selected='selected'":null).">Выключено</option>n";
echo 
"<option value='0'".($user['FUTBOL_set']==0?" selected='selected'":null).">Включенно</option>n";
echo 
"</select><br />n";
/////////////////////////////////
echo "</div>n";

/////////////////////////////////



echo "<div class='nav2'><input type='submit' name='save' value='Сохранить' />n";
echo 
"</form></div>n";
echo 
"</div><div class='naw'><img src='images/strelka.png' alt='' class='icon'/><a href='index.php'>Назад в игру</a></div>n";

include_once 
'../../sys/inc/tfoot.php';
?>
Онлайн: 1
Реклама