-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
59 lines (50 loc) · 1.4 KB
/
index.php
File metadata and controls
59 lines (50 loc) · 1.4 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?php @session_start(); ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>My socks</title>
<link rel="stylesheet" type="text/css" href="css/mystyle.css">
<link rel="shortcut icon" href="images/socks_icon.png">
<script type="text/javascript" src="js/script.js"></script>
<meta name="keywords" content="socks"/>
<meta name="description" content="Socks"/>
</head>
<body>
<div id="site">
<?php
include("cont/visit_cont.php");
$page = '1';
if(isset($_REQUEST['page'])){
$page = $_REQUEST['page'];
}
include("cont/header_cont.php");
$contpages = array(
'0' => "404.php",
'1' => "cont/index_cont.php",
'2' => "cont/author_cont.php",
'3' => "cont/login_cont.php",
'4' => "cont/register_cont.php",
'5' => "cont/search_cont.php",
'6' => "cont/newsletter_cont.php",
'7' => "cont/unsubscribe_cont.php",
'8' => "cont/forgotpassword_cont.php",
'9' => "cont/faq_cont.php",
'10' => "cont/contactus_cont.php",
'11' => "cont/product_cont.php",
'12' => "cont/oneproduct_cont.php",
'13' => "cont/shoppingbag_cont.php",
'14' => "logout.php",
'15' => "cont/myprofil_cont.php"
);
echo "<div class='container wmax'>";
if(isset($contpages[$page]))
include($contpages[$page]);
else
include($contpages['0']);
echo "</div>";
include("cont/footer_cont.php");
?>
</div>
</body>
</html>