Guest User

Untitled

a guest
Dec 18th, 2018
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.02 KB | None | 0 0
  1. public function listProducts()
  2. {
  3. try
  4. {
  5. require_once("nav-bar-admin.php");
  6. require_once("footer-admin.php");
  7.  
  8. }
  9. catch(Exception $ex)
  10. {
  11. $message = 'Oops ! nn Hubo un problema al intentar mostrar la Pagina.n Consulte a su Administrador o vuelva a intentarlo.';
  12. echo '<script type="text/javascript">confirm("'.$message.'");</script>';
  13. require_once("home.php");
  14. }
  15. }
  16.  
  17. <?php
  18.  
  19. include_once('header.php');
  20.  
  21. ?>
  22.  
  23. <body class="animsition">
  24.  
  25. <!-- Header -->
  26. <header class="header1">
  27. <!-- Header desktop -->
  28. <div class="container-menu-header">
  29. <div class="topbar">
  30. <div class="topbar-social">
  31. <a href="#" class="topbar-social-item fa fa-facebook"></a>
  32. <a href="#" class="topbar-social-item fa fa-instagram"></a>
  33. <!-- <a href="#" class="topbar-social-item fa fa-pinterest-p"></a> -->
  34. <!-- <a href="#" class="topbar-social-item fa fa-snapchat-ghost"></a> -->
  35. <a href="#" class="topbar-social-item fa fa-youtube-play"></a>
  36. </div>
  37.  
  38. <span class="topbar-child1">
  39. Bienvenidos
  40. </span>
  41.  
  42. <div class="topbar-child2">
  43. <span class="topbar-email">
  44. santaola@gmail.com
  45. </span>
  46.  
  47. <!-- <div class="topbar-language rs1-select2">
  48. <select class="selection-1" name="time">
  49. <option>USD</option>
  50. <option>EUR</option>
  51. </select>
  52. </div> -->
  53. </div>
  54. </div>
  55.  
  56. <div class="wrap_header hoverini" style="background-color:#f5f5f5">
  57. <!-- Logo -->
  58. <a href="index2.php" class="logo" style="font-size: 32px">
  59. SANTA OLA SURFSHOP
  60. <!-- <img src="images/icons/logo.png" alt="IMG-LOGO"> -->
  61. </a>
  62.  
  63. <!-- Menu -->
  64. <div class="wrap_menu">
  65. <nav class="menu">
  66. <ul class="main_menu">
  67. <li>
  68. <a href="<?php echo FRONT_ROOT ?>Product/listProducts">ARTÍCULOS</a>
  69. <!-- <ul class="sub_menu">
  70. <li><a href="index.php">Homepage V1</a></li>
  71. <li><a href="home-02.php">Homepage V2</a></li>
  72. <li><a href="home-03.php">Homepage V3</a></li>
  73. </ul> -->
  74. </li>
  75.  
  76. <li>
  77. <a href="sponsor-admin.php">RAIDERS</a>
  78. </li>
  79.  
  80. <li>
  81. <a href="event-admin.php">EVENTOS</a>
  82.  
  83. </li>
  84. <!-- <li class="sale-noti">
  85. <a href="product.php">Sale</a>
  86. </li> -->
  87.  
  88. <!-- <li>
  89. <a href="cart.php">Features</a>
  90. </li>
  91. -->
  92. <li>
  93. <a href="carousel-admin.php">CAROUSEL</a>
  94. </li>
  95.  
  96. <li>
  97. <a href="nuevos-admin.php">NUEVOS</a>
  98. </li>
  99.  
  100. <li>
  101. <a href="contact-admin.php">CONTACTO</a>
  102. </li>
  103. </ul>
  104. </nav>
  105. </div>
  106.  
  107. <!-- Header Icon
  108. <div class="header-icons">
  109. <a href="#" class="header-wrapicon1 dis-block">
  110. <img src="images/icons/icon-header-01.png" class="header-icon1" alt="ICON">
  111. </a>
  112.  
  113. <span class="linedivide1"></span>
  114.  
  115. <div class="header-wrapicon2">
  116. <img src="images/icons/icon-header-02.png" class="header-icon1 js-show-header-dropdown" alt="ICON">
  117. <span class="header-icons-noti">0</span>
  118.  
  119. Header cart noti
  120. <div class="header-cart header-dropdown">
  121. <ul class="header-cart-wrapitem">
  122. <li class="header-cart-item">
  123. <div class="header-cart-item-img">
  124. <img src="images/item-cart-01.jpg" alt="IMG">
  125. </div>
  126.  
  127. <div class="header-cart-item-txt">
  128. <a href="#" class="header-cart-item-name">
  129. White Shirt With Pleat Detail Back
  130. </a>
  131.  
  132. <span class="header-cart-item-info">
  133. 1 x $19.00
  134. </span>
  135. </div>
  136. </li>
  137.  
  138. <li class="header-cart-item">
  139. <div class="header-cart-item-img">
  140. <img src="images/item-cart-02.jpg" alt="IMG">
  141. </div>
  142.  
  143. <div class="header-cart-item-txt">
  144. <a href="#" class="header-cart-item-name">
  145. Converse All Star Hi Black Canvas
  146. </a>
  147.  
  148. <span class="header-cart-item-info">
  149. 1 x $39.00
  150. </span>
  151. </div>
  152. </li>
  153.  
  154. <li class="header-cart-item">
  155. <div class="header-cart-item-img">
  156. <img src="images/item-cart-03.jpg" alt="IMG">
  157. </div>
  158.  
  159. <div class="header-cart-item-txt">
  160. <a href="#" class="header-cart-item-name">
  161. Nixon Porter Leather Watch In Tan
  162. </a>
  163.  
  164. <span class="header-cart-item-info">
  165. 1 x $17.00
  166. </span>
  167. </div>
  168. </li>
  169. </ul>
  170.  
  171. <div class="header-cart-total">
  172. Total: $75.00
  173. </div>
  174.  
  175. <div class="header-cart-buttons">
  176. <div class="header-cart-wrapbtn">
  177. Button
  178. <a href="cart.php" class="flex-c-m size1 bg1 bo-rad-20 hov1 s-text1 trans-0-4">
  179. View Cart
  180. </a>
  181. </div>
  182.  
  183. <div class="header-cart-wrapbtn">
  184. Button
  185. <a href="#" class="flex-c-m size1 bg1 bo-rad-20 hov1 s-text1 trans-0-4">
  186. Check Out
  187. </a>
  188. </div>
  189. </div>
  190. </div>
  191. </div>
  192. </div> -->
  193. </div>
  194. </div>
  195.  
  196. <!-- Header Mobile -->
  197. <div class="wrap_header_mobile">
  198. <!-- Logo moblie -->
  199. <a href="index.php" class="logo-mobile">
  200. <img src="images/icons/logo.png" alt="IMG-LOGO">
  201. </a>
  202.  
  203. <!-- Button show menu -->
  204. <div class="btn-show-menu">
  205. <!-- Header Icon mobile -->
  206. <div class="header-icons-mobile">
  207. <a href="#" class="header-wrapicon1 dis-block">
  208. <img src="images/icons/icon-header-01.png" class="header-icon1" alt="ICON">
  209. </a>
  210.  
  211. <span class="linedivide2"></span>
  212.  
  213. <div class="header-wrapicon2">
  214. <img src="images/icons/icon-header-02.png" class="header-icon1 js-show-header-dropdown" alt="ICON">
  215. <span class="header-icons-noti">0</span>
  216.  
  217. <!-- Header cart noti -->
  218. <div class="header-cart header-dropdown">
  219. <ul class="header-cart-wrapitem">
  220. <li class="header-cart-item">
  221. <div class="header-cart-item-img">
  222. <img src="images/item-cart-01.jpg" alt="IMG">
  223. </div>
  224.  
  225. <div class="header-cart-item-txt">
  226. <a href="#" class="header-cart-item-name">
  227. White Shirt With Pleat Detail Back
  228. </a>
  229.  
  230. <span class="header-cart-item-info">
  231. 1 x $19.00
  232. </span>
  233. </div>
  234. </li>
  235.  
  236. <li class="header-cart-item">
  237. <div class="header-cart-item-img">
  238. <img src="images/item-cart-02.jpg" alt="IMG">
  239. </div>
  240.  
  241. <div class="header-cart-item-txt">
  242. <a href="#" class="header-cart-item-name">
  243. Converse All Star Hi Black Canvas
  244. </a>
  245.  
  246. <span class="header-cart-item-info">
  247. 1 x $39.00
  248. </span>
  249. </div>
  250. </li>
  251.  
  252. <li class="header-cart-item">
  253. <div class="header-cart-item-img">
  254. <img src="images/item-cart-03.jpg" alt="IMG">
  255. </div>
  256.  
  257. <div class="header-cart-item-txt">
  258. <a href="#" class="header-cart-item-name">
  259. Nixon Porter Leather Watch In Tan
  260. </a>
  261.  
  262. <span class="header-cart-item-info">
  263. 1 x $17.00
  264. </span>
  265. </div>
  266. </li>
  267. </ul>
  268.  
  269. <div class="header-cart-total">
  270. Total: $75.00
  271. </div>
  272.  
  273. <div class="header-cart-buttons">
  274. <div class="header-cart-wrapbtn">
  275. <!-- Button -->
  276. <a href="cart.php" class="flex-c-m size1 bg1 bo-rad-20 hov1 s-text1 trans-0-4">
  277. View Cart
  278. </a>
  279. </div>
  280.  
  281. <div class="header-cart-wrapbtn">
  282. <!-- Button -->
  283. <a href="#" class="flex-c-m size1 bg1 bo-rad-20 hov1 s-text1 trans-0-4">
  284. Check Out
  285. </a>
  286. </div>
  287. </div>
  288. </div>
  289. </div>
  290. </div>
  291.  
  292. <div class="btn-show-menu-mobile hamburger hamburger--squeeze">
  293. <span class="hamburger-box">
  294. <span class="hamburger-inner"></span>
  295. </span>
  296. </div>
  297. </div>
  298. </div>
  299.  
  300. <!-- Menu Mobile -->
  301. <div class="wrap-side-menu" >
  302. <nav class="side-menu">
  303. <ul class="main-menu">
  304. <li class="item-topbar-mobile p-l-20 p-t-8 p-b-8">
  305. <span class="topbar-child1">
  306. Bienvenidos
  307. </span>
  308. </li>
  309.  
  310. <li class="item-topbar-mobile p-l-20 p-t-8 p-b-8">
  311. <div class="topbar-child2-mobile">
  312. <span class="topbar-email">
  313. santaola@gmail.com
  314. </span>
  315.  
  316. <!-- <div class="topbar-language rs1-select2">
  317. <select class="selection-1" name="time">
  318. <option>USD</option>
  319. <option>EUR</option>
  320. </select>
  321. </div> -->
  322. </div>
  323. </li>
  324.  
  325. <li class="item-topbar-mobile p-l-10">
  326. <div class="topbar-social-mobile">
  327. <a href="#" class="topbar-social-item fa fa-facebook"></a>
  328. <a href="#" class="topbar-social-item fa fa-instagram"></a>
  329. <!-- <a href="#" class="topbar-social-item fa fa-pinterest-p"></a> -->
  330. <!-- <a href="#" class="topbar-social-item fa fa-snapchat-ghost"></a> -->
  331. <a href="#" class="topbar-social-item fa fa-youtube-play"></a>
  332. </div>
  333. </li>
  334.  
  335. <li class="item-menu-mobile">
  336. <a href="index.php">Home</a>
  337. <ul class="sub-menu">
  338. <li><a href="index.php">Homepage V1</a></li>
  339. <li><a href="home-02.php">Homepage V2</a></li>
  340. <li><a href="home-03.php">Homepage V3</a></li>
  341. </ul>
  342. <i class="arrow-main-menu fa fa-angle-right" aria-hidden="true"></i>
  343. </li>
  344.  
  345. <li class="item-menu-mobile">
  346. <a href="product.php">SHOP</a>
  347. </li>
  348.  
  349. <li class="item-menu-mobile">
  350. <a href="product.php">Sale</a>
  351. </li>
  352.  
  353. <li class="item-menu-mobile">
  354. <a href="cart.php">Features</a>
  355. </li>
  356.  
  357. <li class="item-menu-mobile">
  358. <a href="blog.php">Blog</a>
  359. </li>
  360.  
  361. <li class="item-menu-mobile">
  362. <a href="about.php">About</a>
  363. </li>
  364.  
  365. <li class="item-menu-mobile">
  366. <a href="contact.php">Contact</a>
  367. </li>
  368. </ul>
  369. </nav>
  370. </div>
  371. </header>
  372.  
  373. <!--===============================================================================================-->
  374. <script type="text/javascript" src="vendor/jquery/jquery-3.2.1.min.js"></script>
  375. <!--===============================================================================================-->
  376. <script type="text/javascript" src="vendor/animsition/js/animsition.min.js"></script>
  377. <!--===============================================================================================-->
  378. <script type="text/javascript" src="vendor/bootstrap/js/popper.js"></script>
  379. <script type="text/javascript" src="vendor/bootstrap/js/bootstrap.min.js"></script>
  380. <!--===============================================================================================-->
  381. <script type="text/javascript" src="vendor/select2/select2.min.js"></script>
  382. <script type="text/javascript">
  383. $(".selection-1").select2({
  384. minimumResultsForSearch: 20,
  385. dropdownParent: $('#dropDownSelect1')
  386. });
  387. </script>
  388. <!--===============================================================================================-->
  389. <script type="text/javascript" src="vendor/slick/slick.min.js"></script>
  390. <script type="text/javascript" src="js/slick-custom.js"></script>
  391. <!--===============================================================================================-->
  392. <script type="text/javascript" src="vendor/countdowntime/countdowntime.js"></script>
  393. <!--===============================================================================================-->
  394. <script type="text/javascript" src="vendor/lightbox2/js/lightbox.min.js"></script>
  395. <!--===============================================================================================-->
  396. <script type="text/javascript" src="vendor/sweetalert/sweetalert.min.js"></script>
  397. <script type="text/javascript">
  398. $('.block2-btn-addcart').each(function(){
  399. var nameProduct = $(this).parent().parent().parent().find('.block2-name').php();
  400. $(this).on('click', function(){
  401. swal(nameProduct, "is added to cart !", "success");
  402. });
  403. });
  404.  
  405. $('.block2-btn-addwishlist').each(function(){
  406. var nameProduct = $(this).parent().parent().parent().find('.block2-name').php();
  407. $(this).on('click', function(){
  408. swal(nameProduct, "is added to wishlist !", "success");
  409. });
  410. });
  411. </script>
  412.  
  413. <!--===============================================================================================-->
  414. <script src="js/main.js"></script>
  415. </body>
  416. </html>
  417.  
  418. <!DOCTYPE html>
  419. <html lang="en">
  420. <head>
  421. <title>Home</title>
  422. <meta charset="UTF-8">
  423. <meta name="viewport" content="width=device-width, initial-scale=1">
  424. <!--===============================================================================================-->
  425. <link rel="icon" type="image/png" href="images/icons/favicon.png"/>
  426. <!--===============================================================================================-->
  427. <link rel="stylesheet" type="text/css" href="vendor/bootstrap/css/bootstrap.min.css">
  428. <!--===============================================================================================-->
  429. <link rel="stylesheet" type="text/css" href="fonts/font-awesome-4.7.0/css/font-awesome.min.css">
  430. <!--===============================================================================================-->
  431. <link rel="stylesheet" type="text/css" href="fonts/themify/themify-icons.css">
  432. <!--===============================================================================================-->
  433. <link rel="stylesheet" type="text/css" href="fonts/Linearicons-Free-v1.0.0/icon-font.min.css">
  434. <!--===============================================================================================-->
  435. <link rel="stylesheet" type="text/css" href="fonts/elegant-font/html-css/style.css">
  436. <!--===============================================================================================-->
  437. <link rel="stylesheet" type="text/css" href="vendor/animate/animate.css">
  438. <!--===============================================================================================-->
  439. <link rel="stylesheet" type="text/css" href="vendor/css-hamburgers/hamburgers.min.css">
  440. <!--===============================================================================================-->
  441. <link rel="stylesheet" type="text/css" href="vendor/animsition/css/animsition.min.css">
  442. <!--===============================================================================================-->
  443. <link rel="stylesheet" type="text/css" href="vendor/select2/select2.min.css">
  444. <!--===============================================================================================-->
  445. <link rel="stylesheet" type="text/css" href="vendor/daterangepicker/daterangepicker.css">
  446. <!--===============================================================================================-->
  447. <link rel="stylesheet" type="text/css" href="vendor/slick/slick.css">
  448. <!--===============================================================================================-->
  449. <link rel="stylesheet" type="text/css" href="vendor/lightbox2/css/lightbox.min.css">
  450. <!--===============================================================================================-->
  451. <link rel="stylesheet" type="text/css" href="css/util.css">
  452. <link rel="stylesheet" type="text/css" href="css/main.css">
  453. <!--===============================================================================================-->
  454. </head>
Add Comment
Please, Sign In to add comment