-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNous fournisseurs.php
More file actions
65 lines (64 loc) · 2.45 KB
/
Copy pathNous fournisseurs.php
File metadata and controls
65 lines (64 loc) · 2.45 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
<?php
include "dbclass.php";
$nousfournisseurs = "activeheader";
$getSuppliersobj = new suppliers();
$getSuppliers = $getSuppliersobj->getSuppliers();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://kit.fontawesome.com/8579b38148.js" crossorigin="anonymous"></script>
<link rel="icon" href="images/favicon.png" >
<link rel="stylesheet" href="styles/template.css">
<link rel="stylesheet" href="styles/nosfournisseurs.css">
<script src="js/cart.js" defer></script>
<script src="js/run.js" defer></script>
<script src="jquery/jquery-3.6.0.min.js"></script>
<script src="js/productsarchivepageajx2.js" defer></script>
<script src="js/addtocartajx.js" defer></script>
<title>OrdiShop - Maroc</title>
</head>
<body>
<!-- account popup -->
<?php include "includes/acountpopup.php" ?>
<!-- cart -->
<?php include "includes/cart.php" ?>
<!-- header -->
<?php include "includes/header.php" ?>
<!-- herosection -->
<div class="herosectionpc">
<div class="textheropccontainer">
<h1>Our supplier</h1>
<p>Lorem ipsum dolor, sit amet consectetur.</p>
</div>
</div>
<!-- supplier body card -->
<div class="supplierbodycard">
<div class="cardscontainer">
<?php
foreach($getSuppliers as $s){
?>
<div class="card1">
<div class="face front">
<div class="suppimage"><img src="<?php echo $s['logo_sup'];?>" alt="err" width="100%"></div>
<h3><?php echo $s['name_sup'];?></h3>
<p>hover to see more</p>
</div>
<div class="face back">
<!-- <div class="suppimage"><img src="images/brands/1.png" alt="err" width="100%"></div> -->
<h3><?php echo $s['name_sup'];?></h3>
<p><?php echo $s['description'];?></p>
</div>
</div>
<?php
}
?>
</div>
</div>
<!-- footer -->
<?php include "includes/footer.php" ?>
</body>
</html>