-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.php
41 lines (34 loc) · 855 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php include("php/start.php"); ?>
<body>
<?php
include("header.php");
$page = isset($_GET['page']) ? $_GET['page'] : 'default';
switch($page)
{
case 'wishlist':
include("php/wishlist_show.php");
break;
case 'categories':
include("php/to_front_model_category.php");
break;
case 'random_movie':
include("php/page_film.php");
break;
case 'login':
include("php/login.php");
break;
case 'signup':
include("php/page_signup.php");
break;
case 'users':
include("php/profile_page.php");
break;
case 'home':
include("php/page_main.php");
break;
default:
include("php/page_main.php");
}
include("footer.php"); ?>
</body>
</html>