if( !defined('GAME') ) { die(); }
if( $u->room['file'] == 'magportal' ) {
//if($u->info['admin'] == 1)
if(isset($_POST['p1'])) {
if($_POST['p1'] == 'Подземелье Драконов') {
/*
mysql_query('UPDATE `users` SET `room` = "369" WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
die('');
*/
}elseif($_POST['p1'] == 'Пещера Тысячи Проклятий') {
/*mysql_query('UPDATE `users` SET `room` = "372" WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
die('');*/
}elseif($_POST['p1'] == 'Бездна') {
/*mysql_query('UPDATE `users` SET `room` = "354" WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
die('');*/
}elseif($_POST['p1'] == 'Канализация') {
/*mysql_query('UPDATE `users` SET `room` = "188" WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
die('');*/
}elseif($_POST['p1'] == 'Катакомбы') {
/*mysql_query('UPDATE `users` SET `room` = "293" WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
die('');*/
}elseif($_POST['p1'] == 'catacombs_new') {
/*mysql_query('UPDATE `users` SET `room` = "378" WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
die('');*/
}elseif($_POST['p1'] == 'Пещеры Мглы') {
/*mysql_query('UPDATE `users` SET `room` = "380" WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
die('');*/
}elseif($_POST['p1'] == 'Тестовая локация') {
/*mysql_query('UPDATE `users` SET `room` = "383" WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
die('');*/
}elseif($_POST['p1'] == 'Грибница') {
/*mysql_query('UPDATE `users` SET `room` = "18" WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
die('');*/
}
}
?>
echo $u->room['name']; ?>
|
|
} ?>