-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
152 lines (148 loc) · 6.04 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<?php
session_start();
if(isset($_SESSION["name"])){
header("location:profile.php");
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>ePakke | Netthandel</title>
<link rel="stylesheet" href="css/bootstrap.min.css"/>
<script src="js/jquery2.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/main.js"></script>
<link rel="stylesheet" type="text/css" href="css/style.css">
<style></style>
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top" style="background:white;">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#collapse" aria-expanded="false">
<span class="sr-only">navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="" class="navbar-brand"><h1><span class ="lime">e</span>Pakke.no</h1></a>
<a href="" class="navbar-brand"><img src="img/pakke.png" style="width:35px; position:relative; top:-10px; left:-22px;"></a>
<ul class="nav navbar-nav">
<li><a href=""><img src="img/produkt.jpg" style="width:30px;">Produkter</a></li>
</ul>
</div>
<ul class="nav navbar-nav">
<li><a href="kontaktinfo.php"><img src="img/info.jpg" style="width:30px;">Kontaktinfo</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="javascript:;" class="dropdown-toggle" id="handlekurv" data-toggle="dropdown"><img src="img/handlekurv.jpg" style="width:30px;">Handlekurv<span class="badge" style="position:relative;left:1px;"></span></a>
<ul class="dropdown-menu" style="width:600px;">
<div class="panel panel-success">
<div class="kryss" style="position:absolute;left:589px;top:-1px;color:gray;font-size:18px;">x</div>
<div class="panel-heading" style="margin-bottom:10px;">
<div class="row">
<div class="col-md-3">Produktbilde</div>
<div class="col-md-3">Produkt</div>
<div class="col-md-3">Antall</div>
<div class="col-md-3">Pris i NOK</div>
</div>
</div>
<div class="panel-body">
<div id="cart_product">
<!--<div class="row">
<div class="col-md-3">Sl.No</div>
<div class="col-md-3">Product Image</div>
<div class="col-md-3">Product Name</div>
<div class="col-md-3">Price in $.</div>
</div>-->
</div>
</div>
</div>
</ul>
</li>
<li><a href="javascript:;" class="dropdown-toggle" id="profil" data-toggle="dropdown"><img src="img/profil.jpg" style="width:30px;"><?php echo $_SESSION["name"]; ?></a>
<ul class="dropdown-menu">
<div style="width:300px;">
<div class="kryss" style="position:absolute;left:289px;top:-1px;color:gray;font-size:18px;">x</div>
<div class="panel panel-primary" style="border-radius:3px 3px 0px 0px;border-bottom:0px;">
<div class="panel-heading" style="color:white;background-color:#a1a1a1;font-weight:bold;border:3px 3px 0px 0px;">Husk handlekurven og se dine ordre</div>
</div>
<div class="panel panel-primary" style="position:relative;top:-20px;border-top:0px;border-radius:0px 0px 3px 3px;">
<div id="e_msg"></div>
<div class="panel-heading" style="color:black;background-color:white;border-radius:0px 0px 3px 3px;border-bottom:0px;">
<form onsubmit="return false" id="login">
<label for="email" style="font-weight:normal;">E-post</label>
<input type="email" class="form-control" name="email" id="email" required/>
<label for="email" style="font-weight:normal;">Passord</label>
<input type="password" class="form-control" name="password" id="password" required/>
<p><br/></p>
<div>
<a href="customer_registration.php">Lag ny bruker</a>
</div>
<input type="submit" value="Logg inn" class="btn btn-success" style="float:right;position:relative;top:-27px;">
</form>
</div>
</div>
</div>
</ul>
</li>
</ul>
</div>
</div>
<br/>
<br/>
<div style="position:absolute;top:600px;">
<h1 style="padding-left:19px;height:50px;width:250px;font-size:31px;position:relative;top:6px;"><span class ="lime" style="font-size:119%;">e</span>Pakke<img src="img/pakke.png" style="width:30px;position:relative;top:-12px;left:-7px;"></h1>
<p style="padding-left:19px;font-weight:bold;">Lillestrøm, Norge</p>
<img src="img/bitcoinaccepted.jpg" style="width:100px;padding-right:3px;"><img src="img/betalingslosning.jpg" style="width:100px;">
</div>
<div class="row">
<div class="col-md-2 col-xs-12">
<div id="get_category" style="position:relative; top: 29px; width:200px;">
</div>
<!--<div class="nav nav-pills nav-stacked">
<li class="active"><a href="#"><h4>Categories</h4></a></li>
<li><a href="#">Categories</a></li>
<li><a href="#">Categories</a></li>
<li><a href="#">Categories</a></li>
<li><a href="#">Categories</a></li>
</div> -->
</div>
<div class="col-md-8 col-xs-12">
<div class="row">
<div class="col-md-12 col-xs-12" id="product_msg">
</div>
</div>
<div class="panel panel-info" style="position:relative; border:none; top:21px; left:30px;width:1400px;">
<div class="panel-body">
<div id="get_product">
<!--Here we get product jquery Ajax Request-->
</div>
<!--<div class="col-md-4">
<div class="panel panel-info">
<div class="panel-heading">Samsung Galaxy</div>
<div class="panel-body">
<img src="product_images/images.JPG"/>
</div>
<div class="panel-heading">$.500.00
<button style="float:right;" class="btn btn-danger btn-xs">AddToCart</button>
</div>
</div>
</div> -->
</div>
</div>
</div>
</div>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<div class="panel-footer" style="text-align:center;"><p style="font-weight:bold;">[email protected]</p>© 2019 ePakke · <a href="kontaktinfo.php">Kontaktinfo</a></div>
</body>
</html>