-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuser_profile.php
109 lines (100 loc) · 4.49 KB
/
user_profile.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
<?php
include "db.php";
session_start();
if(!isset($_SESSION["kid"])){
header("location:index.php");
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>PornoFood</title>
<link rel="stylesheet" href="css/bootstrap.min.css"/>
<script src="js/jquery.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="main.js"></script>
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top" style="background-color: #000212; border-color: #f4e6f5;>
<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">FoodPorn</a>
</div>
<style>
.btn-primary{
background: -moz-linear-gradient(top, #267c99 50%, #007299 50%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(50%,#267c99), color-stop(50%,#007299)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #267c99 50%,#007299 50%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #267c99 50%,#007299 50%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #267c99 50%,#007299 50%); /* IE10+ */
background: linear-gradient(to bottom, #267c99 50%,#007299 50%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#267c99', endColorstr='#007299',GradientType=0 );}
</style>
<div class="collapse navbar-collapse" id="collapse">
<ul class="nav navbar-nav">
<li><a href="index.php"><span class="glyphicon glyphicon-home"></span>Home</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="#" id="warenkorb_inhalt" class="dropdown-toggle" data-toggle="dropdown" style="position:relative; right: 30px;"><span class="glyphicon glyphicon-shopping-cart"></span>Warenkorb<span class="badge"></span></a>
<div class="dropdown-menu" style="width:400px;">
<div class="panel panel-info">
<div class="panel-heading">
<div class="row">
<div class="col-md-3">Nr.</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 class="panel-body">
<div id="warenkorb_gericht">
<-- ... -->
</div>
</div>
</div>
</div>
</li>
<li><a href="#" class="dropdown-toggle" data-toggle="dropdown" style="position:relative; right: 30px;><span class="glyphicon glyphicon-user"></span> <?php echo "Hi,".$_SESSION ["username"] ?> </a>
<ul class="dropdown-menu">
<li><a href="warenkorb.php" style="text-decoration:none; color:blue;"><span class="glyphicon glyphicon-shopping-cart">Warenkorb</a></li>
<li class="divider"></li>
<li><a href="meinebestellung.php" style="text-decoration:none; color:blue;">Meine Bestellungen</a></li>
<li class="divider"></li>
<li><a href="logout.php" style="text-decoration:none; color:blue;">Logout</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
<p><br/></p>
<p><br/></p>
<p><br/></p>
<div class="container-fluid">
<div class="row">
<div class="col-md-2"></div>
<div class="col-md-8">
<div class="panel panel-primary">
<div class="panel-heading" style="background: -webkit-gradient(linear, left top, left bottom, color-stop(50%,#267c99), color-stop(50%,#007299));">User Information</div>
<div class="panel-body">
<div class="row" >
<div id="kunde_information"></div>
</div>
<p><br/></p>
<div class="panel-footer">© 2017 Cananau Cristian&Celac Veronica</div>
</div>
</div>
<div class="col-md-2"></div>
</div>
</div>
</body>
</html>
</body>
</html>