MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.145.110.99
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/index-service-we-do.php
<?php
$sql = db_query("select * from  tbl_category where 1 and category_status='Active' and category_we_do='Yes'  order by category_id asc  limit 6");
if(mysqli_num_rows($sql)>0)
  {?>


<!--Start service area-->
<section class="service-area" style="background-image:url(images/services/bg.jpg);">
    <div class="container">
        <div class="sec-title">
            <h2>Services We do</h2>
            <span class="decor"></span>
        </div>
        <div class="row">


<?php
while($res=mysqli_fetch_array($sql))
{

      $pro_res_desc=substr(strip_tags($res['category_description']), 0, 250);
?>  


            <!--Start single service item-->
            <div class="col-md-4 col-sm-4 col-xs-12">
                <div class="single-service-item">
                    <div class="img-holder">
                        <img style="width:370px; height:264px" src="<?=$site_url?>/uploaded_files/<?=$res['category_image_name']?>" alt="<?=$res['category_name']?>">
                        <div class="overlay">
                            <div class="box">
                                <div class="content">
                                    <a href="<?=$site_url?>/<?=$res['category_url']?>.html"><i class="fa fa-search" aria-hidden="true"></i></a>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="text-holder">
                        <a href="<?=$site_url?>/<?=$res['category_url']?>.html"><h3><?=$res['category_name']?></h3></a>
                        <p><?=$pro_res_desc?>...</p>
                    </div>    
                </div>
            </div>
            <!--End single service item-->
<?}?>


            
        </div>
    </div>
</section>
<!--End service area-->

<?}?>

MMCT - 2023