-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproducts.php
More file actions
129 lines (121 loc) · 4.31 KB
/
Copy pathproducts.php
File metadata and controls
129 lines (121 loc) · 4.31 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
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
<?php include 'header.php';?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Twitter Bootstrap shopping cart</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<!-- Bootstrap styles -->
<link href="assets/css/bootstrap.css" rel="stylesheet"/>
<!-- Customize styles -->
<link href="style.css" rel="stylesheet"/>
<!-- font awesome styles -->
<link href="assets/font-awesome/css/font-awesome.css" rel="stylesheet">
<!--[if IE 7]>
<link href="css/font-awesome-ie7.min.css" rel="stylesheet">
<![endif]-->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Favicons -->
<link rel="shortcut icon" href="assets/ico/favicon.ico">
</head>
<body>
<!--
Body Section
-->
<div class="row">
<div id="sidebar" class="span3">
<div class="well well-small">
<ul class="nav nav-list">
<li><a href="products.php"><span class="icon-chevron-right"></span>Fashion</a></li>
<li><a href="products.php"><span class="icon-chevron-right"></span>Watches</a></li>
<li><a href="products.php"><span class="icon-chevron-right"></span>Fine Jewelry</a></li>
<li><a href="products.php"><span class="icon-chevron-right"></span>Fashion Jewelry</a></li>
<li><a href="products.php"><span class="icon-chevron-right"></span>Engagement & Wedding</a></li>
<li><a href="products.php"><span class="icon-chevron-right"></span>Men's Jewelry</a></li>
<li><a href="products.php"><span class="icon-chevron-right"></span>Vintage & Antique</a></li>
<li><a href="products.php"><span class="icon-chevron-right"></span>Loose Diamonds </a></li>
<li><a href="products.php"><span class="icon-chevron-right"></span>Loose Beads</a></li>
<li><a href="products.php"><span class="icon-chevron-right"></span>See All Jewelry & Watches</a></li>
<li style="border:0"> </li>
<li> <a class="totalInCart" href="cart.php"><strong>Total Amount <span class="badge badge-warning pull-right" style="line-height:18px;">$448.42</span></strong></a></li>
</ul>
</div>
<ul class="nav nav-list promowrapper">
<li></li>
<li style="border:0"> </li>
<li></li>
</ul>
</div>
<div class="span9">
<!--
New Products
-->
<div class="well well-small">
<h3>Our Products</h3>
<div class="row-fluid">
<ul class="thumbnails">
<?php
$requete1="select nomarticle,prix,type,idarticle from article";
$result=$idconnection->query($requete1);
if(!$result){
$mes_erreur=$idconnection->errorInfo();
echo "Lecture impossible, code", $idconnection->errorCode(),$mes_erreur[2];
}
else {
while ($row = $result->fetch(PDO::FETCH_NUM)){
echo "<li class='span4'>
<div class='thumbnail'>
<a href='product_details.php?idarticle=$row[3]' class='overlay'></a>
<a class='zoomTool' href='product_details.php?idarticle=$row[3]' title='add to cart'><span class='icon-search'></span> QUICK VIEW</a>
<a href='product_details.php?idarticle=$row[3]'><img class='imageproduit' src='assets/article/$row[3]/$row[3].jpg' alt='' ></a>
<div class='caption cntr'>
$row[0]
<p><strong> $row[1]dt</strong></p>
<h4><a class='shopBtn' href='#' title='add to cart'> Add to cart </a></h4>
<br class='clr'>
</div>
</div>
</li>" ;}}?>
</ul>
</div>
</div>
</div>
</div>
<!--
Clients
--><!--
Footer
-->
<footer class="footer">
<div class="row-fluid">
<div class="span2">
<h5>Your Account</h5>
<a href="#">YOUR ACCOUNT</a><br>
<a href="#">PERSONAL INFORMATION</a><br>
<a href="#">ADDRESSES</a><br>
<a href="#">DISCOUNT</a><br>
<a href="#">ORDER HISTORY</a><br>
</div>
<div class="span2">
<h5>Iinformation</h5>
<a href="contact.php">CONTACT</a><br>
<a href="#">SITEMAP</a><br>
<a href="#">LEGAL NOTICE</a><br>
<a href="#">TERMS AND CONDITIONS</a><br>
<a href="#">ABOUT US</a><br>
</div>
</div>
</footer>
</div><!-- /container --><a href="#" class="gotop"><i class="icon-double-angle-up"></i></a>
<!-- Placed at the end of the document so the pages load faster -->
<script src="assets/js/jquery.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/jquery.easing-1.3.min.js"></script>
<script src="assets/js/jquery.scrollTo-1.4.3.1-min.js"></script>
<script src="assets/js/shop.js"></script>
</body>
</html>