2022-06-06 21:30:34 +00:00
< ?
if ( ! defined ( 'GAME' ) ) { die (); }
if ( $u -> room [ 'file' ] == 'magportal' ) {
//if($u->info['admin'] == 1)
if ( isset ( $_POST [ 'p1' ])) {
2023-01-10 16:29:32 +00:00
if ( $_POST [ 'p1' ] == 'Подземелье Драконов' ) {
2022-06-06 21:30:34 +00:00
/*
mysql_query ( 'UPDATE `users` SET `room` = "369" WHERE `id` = "' . $u -> info [ 'id' ] . '" LIMIT 1' );
die ( '<script>location="main.php";</script>' );
*/
2023-01-10 16:29:32 +00:00
} elseif ( $_POST [ 'p1' ] == 'Пещера Тысячи Проклятий' ) {
2022-06-06 21:30:34 +00:00
/* mysql_query ( 'UPDATE `users` SET `room` = "372" WHERE `id` = "' . $u -> info [ 'id' ] . '" LIMIT 1' );
die ( '<script>location="main.php";</script>' ); */
2023-01-10 16:29:32 +00:00
} elseif ( $_POST [ 'p1' ] == 'Бездна' ) {
2022-06-06 21:30:34 +00:00
/* mysql_query ( 'UPDATE `users` SET `room` = "354" WHERE `id` = "' . $u -> info [ 'id' ] . '" LIMIT 1' );
die ( '<script>location="main.php";</script>' ); */
2023-01-10 16:29:32 +00:00
} elseif ( $_POST [ 'p1' ] == 'Канализация' ) {
2022-06-06 21:30:34 +00:00
/* mysql_query ( 'UPDATE `users` SET `room` = "188" WHERE `id` = "' . $u -> info [ 'id' ] . '" LIMIT 1' );
die ( '<script>location="main.php";</script>' ); */
2023-01-10 16:29:32 +00:00
} elseif ( $_POST [ 'p1' ] == 'Катакомбы' ) {
2022-06-06 21:30:34 +00:00
/* mysql_query ( 'UPDATE `users` SET `room` = "293" WHERE `id` = "' . $u -> info [ 'id' ] . '" LIMIT 1' );
die ( '<script>location="main.php";</script>' ); */
} elseif ( $_POST [ 'p1' ] == 'catacombs_new' ) {
/* mysql_query ( 'UPDATE `users` SET `room` = "378" WHERE `id` = "' . $u -> info [ 'id' ] . '" LIMIT 1' );
die ( '<script>location="main.php";</script>' ); */
2023-01-10 16:29:32 +00:00
} elseif ( $_POST [ 'p1' ] == 'Пещеры Мглы' ) {
2022-06-06 21:30:34 +00:00
/* mysql_query ( 'UPDATE `users` SET `room` = "380" WHERE `id` = "' . $u -> info [ 'id' ] . '" LIMIT 1' );
die ( '<script>location="main.php";</script>' ); */
2023-01-10 16:29:32 +00:00
} elseif ( $_POST [ 'p1' ] == 'Тестовая локация' ) {
2022-06-06 21:30:34 +00:00
/* mysql_query ( 'UPDATE `users` SET `room` = "383" WHERE `id` = "' . $u -> info [ 'id' ] . '" LIMIT 1' );
die ( '<script>location="main.php";</script>' ); */
2023-01-10 16:29:32 +00:00
} elseif ( $_POST [ 'p1' ] == 'Грибница' ) {
2022-06-06 21:30:34 +00:00
/* mysql_query ( 'UPDATE `users` SET `room` = "18" WHERE `id` = "' . $u -> info [ 'id' ] . '" LIMIT 1' );
die ( '<script>location="main.php";</script>' ); */
}
}
?>
< style >
body {
background - color : #E2E2E2;
2023-03-31 18:30:14 +00:00
background - image : url ( //img.new-combats.tech/i/misc/showitems/dungeon.jpg);
2022-06-06 21:30:34 +00:00
background - repeat : no - repeat ; background - position : top right ;
}
#form1 label {
padding : 3 px 0 px ;
display : inline - block ;
}
#form1 label > img {
margin : 0 px 5 px 0 px 2 px ;
}
</ style >
< table width = " 100% " border = " 0 " cellspacing = " 0 " cellpadding = " 0 " >
< tr >
< td >< div style = " padding-left:0px; " align = " center " >
2023-03-31 16:54:33 +00:00
< h3 >< ? = $u -> room [ 'name' ]; ?> </h3>
2022-06-06 21:30:34 +00:00
</ div ></ td >
< td width = " 200 " >< div align = " right " >
< table cellspacing = " 0 " cellpadding = " 0 " >
< tr >
< td width = " 100% " >& nbsp ; </ td >
< td >< table border = " 0 " cellpadding = " 0 " cellspacing = " 0 " >
< tr align = " right " valign = " top " >
< td ><!-- -->
2023-03-31 16:54:33 +00:00
< ? = $goLis ; ?>
2022-06-06 21:30:34 +00:00
<!-- -->
< table border = " 0 " cellspacing = " 0 " cellpadding = " 0 " >
< tr >
< td nowrap = " nowrap " >< table width = " 100% " border = " 0 " cellpadding = " 0 " cellspacing = " 1 " bgcolor = " #DEDEDE " >
< tr >
2023-03-31 18:30:14 +00:00
< td bgcolor = " #D3D3D3 " >< img src = " //img.new-combats.tech/i/move/links.gif " width = " 9 " height = " 7 " /></ td >
2023-03-31 16:54:33 +00:00
< td bgcolor = " #D3D3D3 " nowrap = " nowrap " >< a href = " # " id = " greyText " class = " menutop " onclick = " location='main.php?loc=1.180.0.213&rnd=<?= $code ; ?>'; " title = " <?php thisInfRm('1.180.0.213',1); ?> " > Большая торговая улица </ a ></ td >
2022-06-06 21:30:34 +00:00
</ tr >
</ table ></ td >
</ tr >
</ table ></ td >
</ tr >
</ table ></ td >
</ tr >
</ table >
</ div ></ td >
</ tr >
</ table >
< form id = " form1 " name = " form1 " method = " post " action = " main.php?go_psh=1 " >
< fieldset >
2023-01-10 16:29:32 +00:00
< legend >< B > Вы можете телепортироваться в любую из пещер :</ B ></ legend >
2022-06-06 21:30:34 +00:00
< table width = " 100% " border = " 0 " cellspacing = " 0 " cellpadding = " 10 " >
< tr >
< td >
2023-03-31 18:30:14 +00:00
< label >< input type = " radio " name = " p1 " value = " Канализация " id = " p1_5 " />< img src = " //img.new-combats.tech/i/city_ico2/dreamscity.gif " width = " 33 " height = " 19 " style = " vertical-align:bottom " /> Канализация ( Dreams City ) </ label >< br />
2022-06-06 21:30:34 +00:00
2023-03-31 18:30:14 +00:00
< label >< input name = " p1 " type = " radio " id = " p1_1 " value = " Бездна " />< img src = " //img.new-combats.tech/i/city_ico2/angelscity.gif " width = " 33 " height = " 19 " style = " vertical-align:bottom " /> Бездна ( Angels City ) </ label >< br />
2022-06-06 21:30:34 +00:00
2023-03-31 18:30:14 +00:00
< label >< input name = " p1 " type = " radio " id = " p1_0 " value = " Пещера Тысячи Проклятий " />< img src = " //img.new-combats.tech/i/city_ico2/mooncity.gif " width = " 33 " height = " 19 " style = " vertical-align:bottom " /> Пещера Тысячи Проклятий ( Capital City ) </ label >< br />
2022-06-06 21:30:34 +00:00
2023-03-31 18:30:14 +00:00
< label >< input name = " p1 " type = " radio " id = " p1_3 " value = " Катакомбы " />< img src = " //img.new-combats.tech/i/city_ico2/demonscity.gif " width = " 33 " height = " 19 " style = " vertical-align:bottom " /> Катакомбы ( Demons City ) </ label >< br />
2022-06-06 21:30:34 +00:00
2023-03-31 18:30:14 +00:00
< label >< input name = " p1 " type = " radio " id = " p1_0 " value = " Подземелье Драконов " />< img src = " //img.new-combats.tech/labaico.gif " width = " 33 " height = " 19 " style = " vertical-align:bottom " /> Подземелье Драконов </ label >< br />
2023-01-10 16:29:32 +00:00
< p style = " margin-bottom:0px; " >< input type = " submit " name = " button " id = " button " value = " Телепортироваться " /></ p >
2022-06-06 21:30:34 +00:00
</ td >
</ tr >
</ table >
</ fieldset >
< br />< br />
2023-03-31 16:54:33 +00:00
< ? php if ( $u -> info [ 'admin' ] > 0 ) { ?>
2022-06-06 21:30:34 +00:00
< fieldset >
2023-01-10 16:29:32 +00:00
< legend >< b > Пещеры в работе ( Только Админам ) </ b ></ legend >
2022-06-06 21:30:34 +00:00
< table >
< tr >
< td >
2023-03-31 18:30:14 +00:00
< label >< input name = " p1 " type = " radio " id = " p1_3 " value = " catacombs_new " />< img src = " //img.new-combats.tech/i/city_ico2/demonscity.gif " width = " 33 " height = " 19 " style = " vertical-align:bottom " /> 103 : Катакомбы ( Новые ) </ label >< br />
2022-06-06 21:30:34 +00:00
2023-03-31 18:30:14 +00:00
< label >< input type = " radio " name = " p1 " value = " Грибница " id = " p1_6 " />< img src = " //img.new-combats.tech/i/city_ico2/suncity.gif " width = " 33 " height = " 19 " style = " vertical-align:bottom " /> 104 : Грибница ( Sun City ) </ label >< br />
< label >< input type = " radio " name = " p1 " value = " Пещеры Мглы " id = " p1_2 " />< img src = " //img.new-combats.tech/i/city_ico2/sandcity.gif " width = " 33 " height = " 19 " style = " vertical-align:bottom " /> 105 : Пещеры Мглы ( Sand City ) </ label >< br />
< label >< input disabled = " disabled " type = " radio " name = " p1 " value = " Туманные Низины " id = " p1_8 " />< img src = " //img.new-combats.tech/i/city_ico2/devilscity.gif " width = " 33 " height = " 19 " style = " vertical-align:bottom " /> 106 : Туманные Низины ( Devils City ) </ label >< br />
< label >< input disabled = " disabled " type = " radio " name = " p1 " value = " Сторожевая Башня " id = " p1_7 " />< img src = " //img.new-combats.tech/i/city_ico2/abandonedplain.gif " width = " 33 " height = " 19 " style = " vertical-align:bottom " /> 107 : Сторожевая Башня ( Abandoned Plain ) </ label >< br />
< label >< input disabled = " disabled " type = " radio " name = " p1 " value = " Потерянный Вход " id = " p1_4 " />< img src = " //img.new-combats.tech/i/city_ico2/emeraldscity.gif " width = " 33 " height = " 19 " style = " vertical-align:bottom " /> 108 : Потерянный Вход ( Emeralds City ) </ label >< br />
< label >< input disabled = " disabled " type = " radio " name = " p1 " value = " Гора Легиона " id = " p1_9 " />< img src = " //img.new-combats.tech/i/city_ico2/legion.gif " width = " 33 " height = " 19 " style = " vertical-align:bottom " /> 110 : Гора Легиона ( Abandoned Plain ) </ label >< br />
< label >< input disabled = " disabled " type = " radio " name = " p1 " value = " Ледяная Пещера " id = " p1_10 " />< img src = " //img.new-combats.tech/i/city_ico2/snowcity.gif " width = " 33 " height = " 19 " style = " vertical-align:bottom " /> 111 : Ледяная Пещера ( Snow City ) </ label >< br />
< label >< input type = " radio " name = " p1 " value = " Тестовая локация " id = " p1_10 " />< img src = " //img.new-combats.tech/i/city_ico2/abandonedplain.gif " width = " 33 " height = " 19 " style = " vertical-align:bottom " /> 999 : Тестовая локация </ label >< br />
2023-01-10 16:29:32 +00:00
< p style = " margin-bottom:0px; " >< input type = " submit " name = " button " id = " button " value = " Телепортироваться " /></ p >
2022-06-06 21:30:34 +00:00
</ td >
</ tr >
</ table >
</ fieldset >
2023-03-31 16:54:33 +00:00
< ? php } ?>
2022-06-06 21:30:34 +00:00
</ form >
2023-03-31 16:54:33 +00:00
< ? php } ?>