-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
add-item-step-2.php
43 lines (38 loc) · 925 Bytes
/
add-item-step-2.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
if(!isset($_SESSION)) {
session_start();
}
if (!empty($_SESSION['username'])) {
}
else {
header('Location: log-in.php');
}
include ('inc/db_con.php');
include ('inc/account-info.php');
$pageTitle="Add Item";
include ('inc/head.php');
?>
<div class="row content-area">
<div class="col-xs-5">
<p class="steps">Step 2 of 2</p>
<?php
$category = $_POST['category'];
if($category==1||$category==2||$category==3) {
include('inc/addItemWizard/game.php');
}
if($category==4||$category==5) {
include('inc/addItemWizard/movie.php');
}
if($category==6) {
include('inc/addItemWizard/music.php');
}
if($category>6) {
include('inc/addItemWizard/book.php');
}
if($category>7) {
include('inc/addItemWizard/other.php');
}
?>
</div>
</div>
<?php include ('inc/footer.php'); ?>