Advertisement
IndraJohn

footer.php

Mar 29th, 2015
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.60 KB | None | 0 0
  1. <footer class="btn-material-grey-800">
  2. <!-- <img src="img/foot.png" alt="" class="foot"> -->
  3. <div class="container-fluid">
  4. <div class="row">
  5. <div class="col-md-4 col-sm-10 col-xs-10">
  6. <small>&copy; 2015 by <a href="javascript:void(0)">COMFORTA.</a> All Rights Reserved. Design by <a href="javascript:void(0)">Grab! Digital</a></small>
  7. </div>
  8. <div class="col-md-8 col-sm-2 col-xs-2 text-right">
  9. <a href="index.php" class="btn btn-material-grey-800 btn-xs hidden-sm hidden-xs">HOME</a>
  10. <a href="matras.php" class="btn btn-material-grey-800 btn-xs hidden-sm hidden-xs">PILIH MATRAS</a>
  11. <a href="showroom.php" class="btn btn-material-grey-800 btn-xs hidden-sm hidden-xs">SHOWROOM</a>
  12. <a href="promo.php" class="btn btn-material-grey-800 btn-xs hidden-sm hidden-xs">PROMO</a>
  13. <a href="garansi.php" class="btn btn-material-grey-800 btn-xs hidden-sm hidden-xs">GARANSI</a>
  14. <a href=".php" class="btn btn-material-grey-700 btn-xs" id="up"><i class="mdi-hardware-keyboard-arrow-up"></i></a>
  15. </div>
  16. </div>
  17. </div>
  18. </footer>
  19.  
  20. <div id="socmed" class="hidden-xs">
  21.  
  22. <a href="https://www.facebook.com/comfortaspringbed?ref=hl" class="icn btn-material-indigo-500" title="Facebook">
  23. <img src="img/facebook.png" alt="Facebook">
  24. </a>
  25. <a href="https://twitter.com/comfortabed" class="icn btn-material-cyan-500" title="Twitter">
  26. <img src="img/twitter.png" alt="Twitter">
  27. </a>
  28. <a href="https://instagram.com/comfortabed_ig/" class="icn btn-material-grey-500" title="Twitter">
  29. <img src="img/instagram.png" alt="Twitter">
  30. </a>
  31. <a href="https://www.youtube.com/channel/UCF4KoP52BgQWt45P-9p2qFA" class="icn btn-material-red-500" title="Youtube">
  32. <img src="img/youtube.png" alt="Youtube">
  33. </a>
  34. <a href="comforta@massindo.com" class="icn btn-material-grey-500" title="Email">
  35. <img src="img/mail.png" alt="Email">
  36. </a>
  37. </div>
  38.  
  39. <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  40. <div class="modal-dialog modal-lg">
  41. <div class="modal-content">
  42. <div class="modal-body">
  43. <p style="text-align:center; color:#fff; font-weight:bold; font-size:28px;">
  44. Pilih tingkat kenyamanan Anda.
  45. </p>
  46. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  47. <div class="row">
  48. <div class="col-xs-2">
  49. <div class="pop-vert-th">
  50. <img src="img/pills-ver-01.png" height="130" alt="">
  51. <img src="img/pills-ver-02.png" height="130" alt="">
  52. <img src="img/pills-ver-03.png" height="130" alt="">
  53. </div>
  54. </div>
  55. <div class="col-xs-10">
  56. <div class="col-xs-4">
  57. <img src="img/pills-hor-01.png" alt="">
  58. <br><br>
  59. <a href="product.php?id=luxury" class="card-image" id="lux01">
  60. <img src="img/product/luxury/Luxury-dream.jpg" alt="">
  61. <span class="pop-mat-type well-material-grey-50">Luxury Dream</span>
  62. </a>
  63. <a href="product.php?id=perfect" class="card-image" id="per01">
  64. <img src="img/product/perfect/Perfect-dream.jpg" alt="">
  65. <span class="pop-mat-type well-material-indigo-900">Perfect Dream</span>
  66. </a>
  67. <a href="product.php?id=popular" class="card-image" id="sup01">
  68. <img src="img/product/super/Super-dream.jpg" alt="">
  69. <span class="pop-mat-type well-material-grey-800">Super Dream</span>
  70. </a>
  71. </div>
  72. <div class="col-xs-4">
  73. <img src="img/pills-hor-02.png" alt="">
  74. <br><br>
  75. <a href="product.php?id=luxury" class="card-image" id="lux02">
  76. <img src="img/product/luxury/Luxury-pedic.jpg" alt="">
  77. <span class="pop-mat-type well-material-grey-50">Luxury Pedic</span>
  78. </a>
  79. <a href="product.php?id=perfect" class="card-image" id="per02">
  80. <img src="img/product/perfect/Perfect-pedic.jpg" alt="">
  81. <span class="pop-mat-type well-material-indigo-900">Perfect Pedic</span>
  82. </a>
  83. <a href="product.php?id=popular" class="card-image" id="sup02">
  84. <img src="img/product/super/Super-pedic.jpg" alt="">
  85. <span class="pop-mat-type well-material-grey-800">Super Pedic</span>
  86. </a>
  87. </div>
  88. <div class="col-xs-4">
  89. <img src="img/pills-hor-03.png" alt="">
  90. <br><br>
  91. <a href="product.php?id=luxury" class="card-image" id="lux03">
  92. <img src="img/product/luxury/Luxury-choice.jpg" alt="">
  93. <span class="pop-mat-type well-material-grey-50">Luxury Choice</span>
  94. </a>
  95. <a href="product.php?id=perfect" class="card-image" id="per03">
  96. <img src="img/product/perfect/Perfect-choice.jpg" alt="">
  97. <span class="pop-mat-type well-material-indigo-900">Perfect Choice</span>
  98. </a>
  99. <a href="product.php?id=popular" class="card-image" id="sup03">
  100. <img src="img/product/super/Super-choice.jpg" alt="">
  101. <span class="pop-mat-type well-material-grey-800">Super Choice</span>
  102. </a>
  103. </div>
  104. </div>
  105. </div>
  106. </div>
  107. </div>
  108. </div>
  109. </div>
  110.  
  111. <script src="js/jquery-2.1.1.min.js"></script>
  112. <script src="js/bootstrap.min.js"></script>
  113. <script src="js/material.min.js"></script>
  114. <script src="js/ripples.min.js"></script>
  115. <script src="js/jquery.dropdown.js"></script>
  116. <script src="js/bootstrap.offcanvas.js"></script>
  117. <script src="js/jquery.easing.1.3.js"></script>
  118. <script src="js/trmix.min.js"></script>
  119. <script src="js/wow.min.js"></script>
  120. <script src="js/main.js"></script>
  121. <script type="text/javascript">
  122. $(document).ready(function() {
  123. <?php if (isset($_GET['id'])) { $id=$_GET['id']; } else { $id = ""; } ; ?>
  124. <?php if (isset($_GET['province'])) { $province=$_GET['province']; } else { $province = ""; } ; ?>
  125. <?php if (isset($_GET['city'])) { $city=$_GET['city']; } else { $city = ""; } ; ?>
  126. <?php if (isset($_GET['size'])) { $size=$_GET['size']; } else { $size = ""; } ; ?>
  127. <?php if (isset($_GET['package'])) { $package=$_GET['package']; } else { $package = ""; } ; ?>
  128.  
  129. $("select[name=selprov]").change(function(){
  130. //top.location.href="http://localhost/comforta.co.id/product.php?id=<?php echo $id; ?>&province=" + $("select[name=selprov] option:selected").val();
  131. }).change();
  132.  
  133. $("select[name=selcity]").change(function(){
  134. //top.location.href="http://localhost/comforta.co.id/product.php?id=<?php echo $id; ?>&province=<?php echo $province; ?>&city=" + $("select[name=selcity] option:selected").val();
  135. }).change();
  136. $("select[name=selsize]").change(function(){
  137. //top.location.href="http://localhost/comforta.co.id/product.php?id=<?php echo $id; ?>&province=<?php echo $province; ?>&city=<?php echo $city; ?>&size=" + $("select[name=selsize] option:selected").val();
  138. }).change();
  139. $("select[name=selpack]").change(function(){
  140. //top.location.href="http://localhost/comforta.co.id/product.php?id=<?php echo $id; ?>&province=<?php echo $province; ?>&city=<?php echo $city; ?>&size=<?php echo $size; ?>&package=" + $("select[name=selpack] option:selected").val();
  141. }).change();
  142.  
  143. $("select[name=selpromo]").change(function(){
  144. $( "select option:selected").each(function(){
  145. if($(this).attr("value")=="barat"){
  146. $(".box").hide();
  147. $(".promo1").show();
  148. }
  149. if($(this).attr("value")=="tengah"){
  150. $(".box").hide();
  151. $(".promo2").show();
  152. }
  153. if($(this).attr("value")=="timur"){
  154. $(".box").hide();
  155. $(".promo3").show();
  156. }
  157. });
  158. }).change();
  159.  
  160. $('ul.tabs li').click(function(){
  161. var tab_id = $(this).attr('data-tab');
  162.  
  163. $('ul.tabs li').removeClass('current');
  164. $('.tab-content').removeClass('current');
  165.  
  166. $(this).addClass('current');
  167. $("#"+tab_id).addClass('current');
  168. });
  169.  
  170.  
  171. $("button[name=btnselmatras]").click(function(){
  172. var tMatras = $("select[name=seltngmatras] option:selected").val();
  173. var bBadan = $("select[name=selbrtbadan] option:selected").val();
  174. var jml = tMatras+bBadan;
  175.  
  176. $("#lux01").css('opacity','1');
  177. $("#per01").css('opacity','1');
  178. $("#sup01").css('opacity','1');
  179. $("#lux02").css('opacity','1');
  180. $("#per02").css('opacity','1');
  181. $("#sup02").css('opacity','1');
  182. $("#lux03").css('opacity','1');
  183. $("#per03").css('opacity','1');
  184. $("#sup03").css('opacity','1');
  185.  
  186. if( (jml == 22 ) || (jml == 23 ) || (jml == 24 ) || (jml == 32 ) || (jml == 33 ) || (jml == 42 ) ) {
  187. $("#lux02").css('opacity','.1');
  188. $("#per02").css('opacity','.1');
  189. $("#sup02").css('opacity','.1');
  190. $("#lux03").css('opacity','.1');
  191. $("#per03").css('opacity','.1');
  192. $("#sup03").css('opacity','.1');
  193. }
  194. if( (jml == 25 ) || (jml == 26 ) || (jml == 34 ) || (jml == 35 ) || (jml == 43 ) || (jml == 44 ) || (jml == 52 ) || (jml == 53 ) || (jml == 62 ) ) {
  195. $("#lux01").css('opacity','.1');
  196. $("#per01").css('opacity','.1');
  197. $("#sup01").css('opacity','.1');
  198. $("#lux03").css('opacity','.1');
  199. $("#per03").css('opacity','.1');
  200. $("#sup03").css('opacity','.1');
  201. }
  202. if( (jml == 27 ) || (jml == 36 ) || (jml == 37 ) || (jml == 45 ) || (jml == 46 ) || (jml == 47 ) || (jml == 54 ) || (jml == 55 ) || (jml == 56 )
  203. || (jml == 57 ) || (jml == 63 ) || (jml == 64 ) || (jml == 65 ) || (jml == 66 ) || (jml == 67 ) || (jml == 72 ) || (jml == 73 ) || (jml == 74 )
  204. || (jml == 75 ) || (jml == 76 ) || (jml == 77 ) ) {
  205. $("#lux01").css('opacity','.1');
  206. $("#per01").css('opacity','.1');
  207. $("#sup01").css('opacity','.1');
  208. $("#lux02").css('opacity','.1');
  209. $("#per02").css('opacity','.1');
  210. $("#sup02").css('opacity','.1');
  211. }
  212. });
  213.  
  214.  
  215. });
  216. </script>
  217.  
  218. </body>
  219. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement