-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
99 lines (92 loc) · 4.62 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<?php
ob_start();
session_start();
include 'classes/application.php';
$ms_obj_app=new Application();
?>
<!doctype html>
<html dir="ltr" lang="en-US">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="author" content="EShop" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Eshop</title>
<link href="assets/FrontEnd/css/bootstrap.css" rel="stylesheet" type="text/css"/>
<link href="assets/FrontEnd/jquery-ui/jquery-ui.css" rel="stylesheet" type="text/css"/>
<link href="assets/FrontEnd/css/bootstrap-select.css" rel="stylesheet" type="text/css"/>
<link href="assets/FrontEnd/css/animate.css" rel="stylesheet" type="text/css"/>
<link href="assets/FrontEnd/css/owl.carousel.css" rel="stylesheet" type="text/css"/>
<link href="assets/FrontEnd/css/swiper.min.css" rel="stylesheet" type="text/css"/>
<link href="assets/FrontEnd/css/style.css" rel="stylesheet" type="text/css"/>
<link href="assets/FrontEnd/css/overright.css" rel="stylesheet" type="text/css"/>
<link href="assets/FrontEnd/css/colors.css" rel="stylesheet" type="text/css"/>
<link href="assets/FrontEnd/css/responsive.css" rel="stylesheet" type="text/css"/>
</head>
<body class="blue">
<!--------------Start wrapper-------------->
<div id="wrapper" class="clearfix">
<!--------------Top bar-------------->
<?php include'includes/header_top.php';?>
<!--------------End top bar-------------->
<!--------------Header-------------->
<header id="header">
<?php include'includes/header_middle.php';?>
<!-- End navigation -->
<?php include 'includes/header_bottom.php';?>
</header>
<!--------------End header-------------->
<!--------------Slider and categories-------------->
<!--------------End slider and categories-------------->
<div class="spacer30"></div><!--spacer-->
<!--------------Start wrapper main-------------->
<div class="wrapper-main">
<?php
if(isset($pages)){
if($pages=='productDetails'){
include 'pages/productDetailsContent.php';
}elseif($pages=='cartContent'){
include 'pages/cartContent.php';
}elseif($pages=='checkoutContent'){
include 'pages/checkoutContent.php';
}elseif($pages=='shippingAddres'){
include 'pages/shippingContent.php';
}elseif($pages=='paymentContent'){
include 'pages/paymentContent.php';
}elseif($pages=='categoryProductContent'){
include 'pages/categoryProductContent.php';
}elseif($pages=='success_message'){
include'pages/success_message_content.php';
}elseif($pages=='searchProduct'){
include'pages/searchProductContent.php';
}elseif($pages=='fetch'){
include'pages/fetchContent.php';
}elseif($pages=='loginContent'){
include'pages/loginContent.php';
}
}else{
include'pages/home_content.php';
}
?>
<?php ?>
<!-------------- Start sellers -------------->
<!-------------- End sellers -------------->
<div class="spacer30"></div><!-- Spacer -->
<!-------------- Footer -------------->
<div class="wrapper-footer clearfix">
<?php include'includes/footer_top.php';?>
<?php include 'includes/footer_bottom.php';?>
<!-------------- End footer -------------->
</div>
<!-------------- End wrapper main -------------->
</div>
<!-------------- End wrapper -------------->
<!-------------- Java script -------------->
<script src="assets/FrontEnd/js/jquery.js" type="text/javascript"></script>
<script src="assets/FrontEnd/jquery-ui/jquery-ui.js" type="text/javascript"></script>
<script src="assets/FrontEnd/js/bootstrap-select.js" type="text/javascript"></script>
<script src="assets/FrontEnd/js/bootstrap.js" type="text/javascript"></script>
<script src="assets/FrontEnd/js/owl.carousel.js" type="text/javascript"></script>
<script src="assets/FrontEnd/js/plugins.js" type="text/javascript"></script>
<script src="assets/FrontEnd/js/main.js" type="text/javascript"></script>
</body>
</html>