v20201117
authorkilian (dks-laptop) <ksaffran@dks.lu>
Tue, 17 Nov 2020 07:00:39 +0000 (08:00 +0100)
committerkilian (dks-laptop) <ksaffran@dks.lu>
Tue, 17 Nov 2020 07:00:39 +0000 (08:00 +0100)
website/lib/modules/Gallery.php [new file with mode: 0644]
website/lib/modules/Shop.php [new file with mode: 0644]
website/media/galleries/default.png [new file with mode: 0644]
website/tmpl/pages/index.html.mustache

diff --git a/website/lib/modules/Gallery.php b/website/lib/modules/Gallery.php
new file mode 100644 (file)
index 0000000..f602ed7
--- /dev/null
@@ -0,0 +1,20 @@
+<?php
+  class Gallery {
+    private $dbh;
+    public function __construct($dblink){
+      $this->dbh = $dblink;
+    }
+
+    public function getGallery($gid){
+      
+    }
+
+    public function getGalleryItems($idg){
+
+    }
+
+    public function __destruct(){
+      $this->dbh = null;
+    }
+  }
+?>
\ No newline at end of file
diff --git a/website/lib/modules/Shop.php b/website/lib/modules/Shop.php
new file mode 100644 (file)
index 0000000..e2d6c8e
--- /dev/null
@@ -0,0 +1,24 @@
+<?php
+  class Shop {
+    private $dbh;
+    public function __construct($dblink){
+      $this->dbh = $dblink;
+    }
+
+    public function getShop($id){
+      
+    }
+
+    public function getShopItems($idg){
+
+    }
+
+    public function saveShopingCart($data){
+
+    }
+
+    public function __destruct(){
+      $this->dbh = null;
+    }
+  }
+?>
\ No newline at end of file
diff --git a/website/media/galleries/default.png b/website/media/galleries/default.png
new file mode 100644 (file)
index 0000000..1ffd65b
Binary files /dev/null and b/website/media/galleries/default.png differ
index dcb8183..73fd40d 100644 (file)
@@ -3,62 +3,57 @@
       <div class="bar red-white">
         <img class="bar-item" src="img/logo1.png" style="height: 70px;" alt="logo oldbell" />
         <div class="bar-item" style="color: #fff; font-variant: small-caps; padding: 8px 8px;">Marc de Barbir<br/>Haircuts & Shaves<br/>For Men </div>
-        <a class="bar-item right" style="padding-top: 15px;"><span class="icon-facebook2" style="font-size: 40px;"></span></a>
+        <a class="bar-item right" style="padding-top: 15px;"><span class="icon-cart" style="font-size: 28px;"></span><br/>Shop</a>
       </div>
     </div>
     <div class="display-container" style="margin-top: 70px; height: calc(100vh - 70px); overflow-y: scroll;">
       <div class="row center" style="max-width: 1024px;margin: auto;">
       <div class="col s8">
         <fieldset>
-          <legend>Nos Produits</legend>
+          <legend>Offres Speciales</legend>
           <div class="col s4">
             <img src="img/dose.jpg" style="border: 1px solid grey; border-radius: 5px; width: 80%;"><br/>
-            <label class="label">Produit 1</label>
           </div>
-          <div class="col s4">
-            <img src="img/dose.jpg" style="border: 1px solid grey; border-radius: 5px; width: 80%;"><br/>
-            <label class="label">Produit 2</label>
-          </div>
-          <div class="col s4">
-            <span class="icon-cart" style="font-size: 50px;"></span><br/>
-            <label class="label">Shop</label>
+          <div class="col s8">
+            description de l'offre spéciale
           </div>
         </fieldset>
       </div>
       <div class="col s4 padding">
-        <a href="gallery.html?name=">
-        <img src="img/thumb.jpg" style="width: 100%; border: 4px solid black; border-radius: 5px;"/>
+        <a href="gallery.html">
+        <img src="media/galleries/default.png" style="width: 100%; border: 4px solid black; border-radius: 5px;"/>
         <label class="label">Gallery</label></a>
       </div>
       </div>
       <div class="row center" style="max-width: 1024px;margin: auto;">
         <div class="col s4 padding">
-          <a href="gallery.html?name="><img src="img/thumb.jpg" style="width: 100%; border: 4px solid black; border-radius: 5px;"/>
+          <a href="gallery.html?name="><img src="media/galleries/default.png" style="width: 100%; border: 4px solid black; border-radius: 5px;"/>
           <label class="label">Gallery</label></a>
         </div>
         <div class="col s4 padding">
-          <a href="gallery.html?name="><img src="img/thumb.jpg" style="width: 100%; border: 4px solid black; border-radius: 5px;"/>
+          <a href="gallery.html?name="><img src="media/galleries/default.png" style="width: 100%; border: 4px solid black; border-radius: 5px;"/>
           <label class="label">Gallery</label></a>
         </div>
         <div class="col s4 padding">
-          <a href="gallery.html?name="><img src="img/thumb.jpg" style="width: 100%; border: 4px solid black; border-radius: 5px;"/>
+          <a href="gallery.html?name="><img src="media/galleries/default.png" style="width: 100%; border: 4px solid black; border-radius: 5px;"/>
           <label class="label">Gallery</label></a>
         </div>
       </div>
       <div class="bar gold-white"  style="max-width: 1024px;margin: auto;">
-        <a class="bar-item button block mobile gold-white" href="rendezvous.html" style="vertical-align: text-top;font-size: 30px;"><span class="icon-calendar"></span>&nbsp;<span style="vertical-align: middle!important; font-size: 25px; ">prendre Rendez-Vous</span></a>
+        <a class="bar-item button block mobile gold-white" href="rendezvous.html" style="vertical-align: text-top;font-size: 30px;"><span class="icon-calendar"></span>&nbsp;<span style="vertical-align: middle!important; font-size: 25px; ">Rendez-Vous</span></a>
       </div>
       <div class="row"  style="max-width: 1024px;margin: auto;">
         <div class="col s4 padding">
-          <img src="img/thumb.jpg" style="width: 100%; border: 4px solid black; border-radius: 5px;"/>
+          <img src="media/galleries/default.png" style="width: 100%; border: 4px solid black; border-radius: 5px;"/>
           <label class="label">Gallery</label>
         </div>
         <div class="col s4 padding">
-          <img src="img/thumb.jpg" style="width: 100%; border: 4px solid black; border-radius: 5px;"/>
+          <img src="media/galleries/default.png" style="width: 100%; border: 4px solid black; border-radius: 5px;"/>
           <label class="label">Gallery</label>
         </div>
         <div class="col s4 padding">
-          <img src="img/thumb.jpg" style="width: 100%; border: 4px solid black; border-radius: 5px;"/>
+          <img src="media/galleries/default.png" style="width: 100%; border: 4px solid black; border-radius: 5px;"/>
           <label class="label">Gallery</label>
         </div>
       </div>
@@ -83,6 +78,8 @@
       <div class="bar red-white">
         <a class="bar-item add-button">installer App</button>
         <a class="bar-item button"><span class="icon-map2" style="font-size: 40px;"></span><br/>Salon</a>
+        <a class="bar-item button right"><span class="icon-facebook2" style="font-size: 45px;"></span></a>
+        <a class="bar-item button right"><span class="icon-instagram" style="font-size: 45px;"></span></a>
       </div>
     </div>