-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
24 lines (22 loc) · 976 Bytes
/
index.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
<?php
include('config.php');
include('functions.php');
include('views/headers/default.php');
if (isset($_GET['user']) && $_GET['user'] != null) {
include('controllers/userController.php');
} else if (isset($_GET['type']) && $_GET['type'] != null) {
include('controllers/typeController.php');
} else if (isset($_GET['offer']) && $_GET['offer'] != null) {
include('controllers/offerController.php');
} else if (isset($_GET['ticket']) && $_GET['ticket'] != null) {
include('controllers/ticketController.php');
} else if (isset($_GET['skill']) && $_GET['skill'] != null) {
include('controllers/skillController.php');
} else if (isset($_GET['transaction']) && $_GET['transaction'] != null) {
include('controllers/transactionController.php');
} else if (isset($_GET['transType']) && $_GET['transType'] != null) {
include('controllers/transactionTypeController.php');
} else {
include('views/indexView.php');
}
include('views/footers/default.php');