1 | 1 |
new file mode 100755 |
... | ... |
@@ -0,0 +1,21 @@ |
1 |
+<?php |
|
2 |
+session_start(); |
|
3 |
+include('fonctions.php'); |
|
4 |
+switch($_GET['objet']){ |
|
5 |
+ case 1: |
|
6 |
+ $_SESSION['objets1'] = $_GET['idObjet']; |
|
7 |
+ break; |
|
8 |
+ case 2: |
|
9 |
+ $_SESSION['objets2'] = $_GET['idObjet']; |
|
10 |
+ break; |
|
11 |
+ case 3: |
|
12 |
+ $_SESSION['objets3'] = $_GET['idObjet']; |
|
13 |
+ break; |
|
14 |
+ case 4: |
|
15 |
+ $_SESSION['objets4'] = $_GET['idObjet']; |
|
16 |
+ break; |
|
17 |
+ |
|
18 |
+} |
|
19 |
+header("location:".$_SESSION['pageprecedentCombat']."?combatFini=1" |
|
20 |
+); |
|
21 |
+?> |