Uname : Linux V-ShopU01 4.18.0-348.20.1.el8_5.x86_64 #1 SMP Thu Mar 10 20:59:28 UTC 2022 x86_64
Server : Apache/2.4.37 (rocky) OpenSSL/1.1.1k
Whoami : apache
Safe Mode : OFF
DOCUMENT ROOT : /var/www/html/site_shopudietDisable Function :
Path : /var/www/html/site_shopudiet/
Server IP : 65.20.74.164
Client IP : 18.222.114.25
Current File : /var/www/html/site_shopudiet/category_view.php |
<?php
session_start();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Online Organic Grocery Store in Kochi | shopUdiet</title>
<link rel="icon" type="image/png" href="images/favicon.png"/>
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=no">
<meta name="description" content="All the products we bring you are 100% Organic Certified. Customers can pick and choose the grocery items for their monthly home requirements from our site.">
<meta name="keywords" content="100% Organic Certified, Organic Store, Grocery store, Kochi Organic Store, Organic products">
<meta name="robots" content="*">
<meta name="viewport" content="initial-scale=1.0, width=device-width">
<link rel="icon" href="#" type="image/x-icon">
<link rel="shortcut icon" href="#" type="image/x-icon">
<!-- CSS Style -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="stylesheet/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="stylesheet/font-awesome.css" media="all">
<!-- <link rel="stylesheet" type="text/css" href="stylesheet/revslider.css" > -->
<link rel="stylesheet" type="text/css" href="stylesheet/owl.carousel.css">
<!-- <link rel="stylesheet" type="text/css" href="stylesheet/owl.theme.css">
<link rel="stylesheet" type="text/css" href="stylesheet/jquery.bxslider.css"> -->
<link rel="stylesheet" type="text/css" href="stylesheet/jquery.mobile-menu.css">
<link rel="stylesheet" type="text/css" href="stylesheet/style.css" media="all">
<link rel="stylesheet" type="text/css" href="stylesheet/responsive.css" media="all">
<link href="https://fonts.googleapis.com/css?family=Merriweather:300,300i,400,400i,700" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Oswald:300,400,500,600,700" rel="stylesheet">
<link href='http://fonts.googleapis.com/css?family=Open+Sans:700,600,800,400' rel='stylesheet' type='text/css'>
<link href="https://fonts.googleapis.com/css?family=Rubik:400,400i,500,500i,700,700i,900" rel="stylesheet">
<!-- BEGIN GOOGLE ANALYTICS CODEs -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick.js"></script>
<!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="https://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/jquery.validate.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick.js"></script>
<link rel="stylesheet" href="/path/to/flickity.css" media="screen">
<script src="/path/to/flickity.pkgd.min.js"></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
// $(window).load(function(){
// $('.loader').fadeOut("slow");
// });
$(document).ready(function () {
setTimeout(function(){
$('.loader').fadeOut(100);
}, 2500);
});
</script>
<style>
.cat-image {
background-color: #cce4d0;
height: auto;
}
</style>
</head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-170593298-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-170593298-1');
</script>
<body>
<div class="loader">
</div>
<div id="page">
<?php
include('header.php');
?>
<div class="page-heading hidden-xs">
<div class="breadcrumbs">
<div class="container">
<div class="row">
<!--col-xs-12-->
</div>
<!--row-->
</div>
<!--container-->
</div>
</div>
<!--breadcrumbs-->
<!-- BEGIN Main Container col2-left -->
<section class="main-container col2-left-layout bounceInUp animated cat_grid">
<!-- For version 1, 2, 3, 8 -->
<!-- For version 1, 2, 3 -->
<div class="container">
<div class="row">
<div class="col-main col-sm-12 product-grid">
<div class="pro-coloumn">
<?php
include('dbconnect.php');
if(isset($_REQUEST['id'])) { $name=$_REQUEST['id']; } ?>
<h4 class="cat_namehead">SHOP BY CATEGORY</h4>
<section class="product_grids1">
<div class="container">
<div class="row" style="padding-top: 29px;">
<?php
include('dbconnect.php');
$squery = "select * from category order by num";
$result = mysqli_query($conn,$squery);
//$i=mysqli_num_rows($result);
//$j=1;
while( $row = mysqli_fetch_array($result))
{
?>
<div class="col-sm-3 col-sm-3 col-xs-6 prdct_shows">
<div class="product-grid pro-coloumn1">
<div class="pro-img" align="center">
<a href="category_detail.php?id=<?php echo $row['category_name']?>" title="<?php echo $row['category_name']; ?>" class="product-image"><img src="admin/img/<?php echo $row['image']?>" alt="<?php echo $row['category_name']; ?>" class=" img-responsive pr0-img cat-image">
</a>
<form action="category_detail.php?id=<?php echo $row['category_name']?>" method="post">
<!-- </div> -->
<div class="add_cart">
<button class="btn btn-carts1" type="submit"><span><?php echo $row['category_name']?></span></button></form>
</div>
</div>
</div>
</div>
<?php } ?>
</div>
<style>
/*@media.prdct_shows {
height: 0px;
}*/
.pagination {
display: inline-block;
}
.pagination a {
color: white;
float: left;
padding: 8px 16px;
text-decoration: none;
transition: background-color .3s;
border: 1px solid #edf3ee;
background: #237231;
}
/*
.col-sm-3 {
padding: 29px;
}*/
.pagination a:hover:not(.active) {background-color: #ffd016;}
</style>
</section>
</div>
<!-- ///*///====== End article ========= //*/// -->
</div>
<aside class="col-left sidebar col-sm-3 col-xs-12 col-sm-pull-9 wow bounceInUp animated">
</aside>
<!--col-right sidebar-->
</div>
<!--row-->
</div>
<!--container-->
</section>
<!--main-container col2-left-layout-->
<?php
include('footer.php');
?>
</div>
<!--page-->
<!-- Mobile Menu-->
<?php
include('mobile-menu.php');
?>
<a href="#" id="toTop" style="display: block;"><span class="fa fa-arrow-up"></span></a>
<!-- JavaScript -->
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/common.js"></script>
<script src="js/owl.carousel.min.js"></script>
<!-- script src="js/jquery.bxslider.min.js"></script>
<script src="js/jquery.flexslider.js"></script> -->
<script src="js/jquery.mobile-menu.min.js"></script>
<script >$(document).ready(function(){
$('.customer-logos').slick({
slidesToShow: 6,
slidesToScroll: 1,
autoplay: false,
autoplaySpeed: 1500,
arrows: false,
dots: false,
pauseOnHover: false,
responsive: [{
breakpoint: 768,
settings: {
slidesToShow: 6
}
}, {
breakpoint: 520,
settings: {
slidesToShow: 4
}
}]
});
});</script>
<style type="text/css">
@media (min-width: 280px) and (max-width: 560px){
.main-container{
padding: 0px;
}
}
.item_view1{
</style>
<style type="text/css">
.centered {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 18px;
color: #237231;
font-weight: 600;
}
</style>
</body>
</html>