forked from halo-battle/game
First code received by Master Leon
This commit is contained in:
commit
4230eb6922
330 changed files with 15543 additions and 0 deletions
13
pages/change_carte.php
Normal file
13
pages/change_carte.php
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?
|
||||
session_start();
|
||||
|
||||
if ($_POST['change_galaxy'] != '') { $y=$_POST['change_galaxy']; } else { $y=$_SESSION['galaxy']; }
|
||||
if ($y >= 6) { $y = 5; }
|
||||
|
||||
if ($_POST['change_system'] != '') { $t=$_POST['change_system']; } else { $t=$_SESSION['ss']; }
|
||||
if ($t >= 151) { $t = 150; }
|
||||
|
||||
@header("Location: carte.php?galaxy=".$y."&ss=".$t."");
|
||||
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue