MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.17.79.188
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/homeinteriordecorators.in/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/homeinteriordecorators.in/blog-details.php
<?php include("site-header.php"); ?>

<?php
$db=mysqli_connect('localhost','thediann_homeinterior','6c9_4ID$vee%','thediann_homeinterior');
$id=$_GET['id'];

$pro_details_sql="SELECT * FROM `tbl_blog` WHERE `category_id`='$id' ";
$data = mysqli_query($db, $pro_details_sql) or die("Query unsuccessful");
$pro_details_res = mysqli_fetch_assoc($data);
// $pro_details_sql=db_query("select * from tbl_blog where category_id='$id' ");
// $pro_details_res=mysqli_fetch_array($pro_details_sql);

?>

<!--Start breadcrumb area-->     
<section class="breadcrumb-area" style="background-image: url(images/breadcrumb/breadcrumb-bg.jpg);">
	<div class="container-fluid text-center">
		<h1><?=$pro_details_res['category_name']?></h1>
		<div class="breadcrumb-bottom">
            <div class="container">
                <div class="row">
                    <div class="col-md-12">
                        <div class="left pull-left">
                            <ul>
                                <li><a href="<?=$site_url?>/">Home</a></li>
                                <li><i class="fa fa-angle-right" aria-hidden="true"></i></li>
                                <li><a href="<?=$site_url?>/blog.html">Blogs</a></li>
                                <li><i class="fa fa-angle-right" aria-hidden="true"></i></li>
                                <li><?=$pro_details_res['category_name']?></li>
                            </ul>    
                        </div>
                       
                    </div>
                </div>
            </div>
		</div>
	</div>
</section>
<!--End breadcrumb area-->



<!--Start design desc area-->
<section class="design-desc-area">
    <div class="container">
        <div class="row">
            <div class="col-md-12">
                
                <div class="tab-content">
                  
                    <!--Start single tab content-->
                    <div class="tab-pane fade in active" id="commer">
                        <div class="inner-content">
                            <div class="row">
                                <div class="col-md-6">
                                    <!--Start design single carousel-->
                                    <div id="design-single-carousel-0" class="carousel slide" data-ride="carousel">
                                        <ol class="carousel-indicators">
                                            <li data-target="#design-single-carousel-0" data-slide-to="0" class="active-1"></li>
<?php
$i=0;
$cat_image_m1=db_query("select * from tbl_blog where 1 and category_image_name='$pro_details_res[category_id]' order by category_image_name asc");
while(mysqli_fetch_array($cat_image_m1))
{ $i++;
?>

                                            <li data-target="#design-single-carousel-0" data-slide-to="<?=$i?>"></li>
<?}?>
                                        </ol>
                                        <div class="carousel-inner" role="listbox">
                                            <div class="item active">
                                                <div class="single-item">
                                                    <div class="img-holder">
                                                        <img src="<?=$site_url?>/uploaded_files/<?=$pro_details_res['category_image_name']?>" alt="<?=$pro_details_res['category_name']?>">
                                                    </div>
                                                </div>
                                            </div>


<?php
$cat_image_m=db_query("select * from tbl_blog where 1 and category_image_name='$pro_details_res[category_id]' order by category_image_name asc");
while($image_res_m=mysqli_fetch_array($cat_image_m))
{
?>
                                            <div class="item">
                                                <div class="single-item">
                                                    <div class="img-holder">
                                                        <img src="<?=$site_url?>/category_more_images/<?=$image_res_m['category_image_name']?>" alt="<?=$pro_details_res['category_name']?>">
                                                    </div>
                                                </div>
                                            </div>
<?}?>

                                           

                                        </div>
                                    </div>
                                    <!--End design single carousel-->
                                </div>
                                <div class="col-md-6">
                                    <!--Start text-holder-->
                                    <div class="text-holder">
                                        <div class="sec-title-two">
                                            <h3><?=$pro_details_res['category_name']?></h3>
                                        </div>
                                        <div class="text">
                                      <?=$pro_details_res['category_description']?>
                                        </div>
                                      
                                    </div>
                                    <!--End text-holder-->
                                </div>
                            </div>
                        </div>
                    </div>
                    <!--End single tab content-->
                


                  
                </div>
            </div>
        </div>
    </div>
</section>
<!--End design desc area-->


 <?php

 /*
$sql = db_query("select * from  tbl_blog where 1 and category_status='Active'  and category_id!='$pro_details_res[category_id]'  order by category_id asc ");
if(mysqli_num_rows($sql)>0)
  {?>
<!--Start service v2 area-->
<section class="service-v2-area">
    <div class="container">

         <div class="sec-title">
            <h2>Related <span>Services</span></h2>
            <span class="decor"></span>
        </div>

        <div class="row">


            <!--Start single item-->
            <div class="col-md-4">
                <div class="single-item">
                    <div class="img-holder">
                        <img src="images/services/service-single/service-1.jpg" alt="Awesome Image">
                        <div class="overlay">
                            <div class="box">
                                <div class="content">
                                    <a href="services-single.html">Free Quote</a>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="text-holder">
                        <div class="top">
                            <div class="icon-holder">
                                <span class="flaticon-drawing"></span>
                            </div>
                            <div class="title-holder">
                                <h3>For New Design</h3>
                            </div>
                        </div>
                        <div class="text">
                            <p>We have more than 1000+ designs for your office, you can choose or ask for new designs. </p>
                            <h3>Starts $1,450/Sq.ft onwards</h3>
                            <span>*Full responsibility from until final execution.</span>
                        </div>
                    </div>
                </div>
            </div>
            <!--End single item-->
          
        </div>
    </div>    
</section>
<!--End service v2 area-->

<?} */?>


    <?php include("site-footer.php"); ?>

MMCT - 2023