Вход Регистрация
Файл: test.zfarm.mobi/mystyleuser/userpol.php
Строк: 21
<?php
/////////////////////////
/*
Author MyStyle ZomBi.Biz
Год 2013 Права предоставлены автору Шехову Виталию Александровичу
http://vk.com/online_user
*/
/////////////////////////

if(isset($_GET['pollinkuserone']))
{
$pol 2;
mysql_query("UPDATE `mystyle_user` SET `pol` = '".num($pol)."' WHERE `id` = '".$user['id']."' LIMIT 1");
header("Location:?profile=$user[id]");
exit;
}
if(isset(
$_GET['pollinkusertwo']))
{
$pol 1;
mysql_query("UPDATE `mystyle_user` SET `pol` = '".num($pol)."' WHERE `id` = '".$user['id']."' LIMIT 1");
header("Location:?profile=$user[id]");
exit;
}

echo 
'<div class="emptyPanel">';
echo 
'<li><a href="?userpolsettingmystyleauthor&amp;pollinkuserone"><img src="images/icons/user_avatar_male.png" alt="image" width="16" height="16"/> Мужской</a></li>';
echo 
'</div>';
echo 
'<div class="emptyPanel">';
echo 
'<li><a href="?userpolSsettingmystyleauthor&amp;pollinkusertwo"><img src="images/icons/user_avatar_female.png" alt="image" width="16" height="16"/> Женский</a></li>';
echo 
'</div>';
echo 
'<br /';

?>
Онлайн: 0
Реклама