-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnews.php
170 lines (155 loc) · 7.5 KB
/
news.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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<?php
include 'class.user.php';
session_start();
if (isset($_SESSION['user_session'])) {
$user_id = $_SESSION['user_session'];
$auth_user = new USER();
$stmt = $auth_user->runQuery("SELECT * FROM users WHERE IDclient=:user_id");
$stmt->execute(array(":user_id"=>$user_id));
$auth_user->User_connecte($user_id);
$userRow=$stmt->fetch(PDO::FETCH_ASSOC);
}
$_SESSION['thispage']="index.php";
include 'raccourciPanier.php';
$conn=ConnexionBD::getInstance();
?>
<!DOCTYPE HTML>
<head>
<link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap-theme.min.css">
<link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.min.css">
<title>Free Home Shoppe Website Template | News :: w3layouts</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link href="web/css/style.css" rel="stylesheet" type="text/css" media="all"/>
<script type="text/javascript" src="web/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="web/js/move-top.js"></script>
<script type="text/javascript" src="web/js/easing.js"></script>
</head>
<body>
<div class="wrap">
<div class="header">
<div class="headertop_desc">
<div class="call">
<p><span>Need help?</span> call us <span class="number">+216 26 211 344</span></span></p>
</div>
<div class="account_desc">
<ul>
<?php
if(isset($_SESSION['user_session']))
{
?>
<label class="h5">welcome : <?php print($userRow['username']); ?></label>
<li><a href="/EspaceClient/services/profile.php"><span class="glyphicon glyphicon-user"></span> Profile</a></li>
<li><a href="/EspaceClient/services/logout.php?logout=true"><span class="glyphicon glyphicon-log-out"></span> Log Out</a></li>
<?php
}
else
{
?>
<li><a href="/EspaceClient/services/sign-up.php">Sign Up</a></li>
<li><a href="/EspaceClient/services/profile.php">Sign In</a></li>
<?php
}
?>
</ul>
</div>
<div class="clear"></div>
</div>
<div class="header_top">
<div class="logo">
</div>
<?php
afficherPanier();
?>
<script type="text/javascript">
function DropDown(el) {
this.dd = el;
this.initEvents();
}
DropDown.prototype = {
initEvents : function() {
var obj = this;
obj.dd.on('click', function(event){
$(this).toggleClass('active');
event.stopPropagation();
});
}
}
</script>
<div class="clear"></div>
</div>
<div class="header_bottom">
<div class="menu">
<ul>
<li><a href="index.php">Home</a></li>
<li><a href="about.php">About us</a></li>
<li><a href="delivery.php">Delivery</a></li>
<li class="active"><a href="news.php">News</a></li>
<li><a href="contact.php">Reclamation</a></li>
<div class="clear"></div>
</ul>
</div>
<div class="search_box">
<form>
<input type="text" value="Search" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = 'Search';}"><input type="submit" value="">
</form>
</div>
<div class="clear"></div>
</div>
</div>
<div class="main">
<div class="content">
<div class="image group">
<div class="grid images_3_of_1">
<img src="web/images/newsimg1.jpg" alt="" />
</div>
<div class="grid news_desc">
<h3>We are hiring! </h3>
<h4>Posted on June 13th, 2021 by <span><a href="#">Finibus Bonorum-Head of Human Ressources</a></span></h4>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur <a href="#" title="more">[....]</a></p>
</div>
</div>
<div class="image group">
<div class="grid images_3_of_1">
<img src="web/images/newsimg2.jpg" alt="" />
</div>
<div class="grid news_desc">
<h3>We are hiring! </h3>
<h4>Posted on June 10th, 2021 by <span><a href="#">Finibus Bonorum-head of Human Ressources</a></span></h4>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur <a href="#" title="more">[....]</a></p>
</div>
</div>
<div class="image group">
<div class="grid images_3_of_1">
<img src="web/images/newsimg3.jpg" alt="" />
</div>
<div class="grid news_desc">
<h3>We are hiring </h3>
<h4>Posted on June 9th, 2021 by <span><a href="#">Finibus Bonorum-head of Human Ressources</a></span></h4>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur <a href="#" title="more">[....]</a></p>
</div>
</div>
<div class="content-pagenation">
<li><a href="#">Frist</a></li>
<li class="active"><a href="#">1</a></li>
<li><a href="#">2</a></li>
<li><a href="#">3</a></li>
<li><span>....</span></li>
<li><a href="#">Last</a></li>
<div class="clear"> </div>
</div>
</div>
</div>
</div>
<?php require("footerLayout.php"); ?>
<script type="text/javascript">
$(document).ready(function() {
$().UItoTop({ easingType: 'easeOutQuart' });
});
</script>
<a href="#" id="toTop"><span id="toTopHover"> </span></a>
</body>
</html>