Private
Server IP : 68.178.168.24  /  Your IP : 3.137.213.117
Web Server : Apache
System : Linux 24.168.178.68.host.secureserver.net 3.10.0-1160.119.1.el7.tuxcare.els19.x86_64 #1 SMP Mon Mar 31 17:29:00 UTC 2025 x86_64
User : realcarecert ( 1247)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/realcarecert/www/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/realcarecert/www/blogs.php
<?php 
include ('include/header.php');
$Category_id=$_GET['code'];
$sql_cat_s = "SELECT * FROM `tbl_blog_category` where `cat_id`=$Category_id";
$run_cat_s = mysqli_query($link,$sql_cat_s);
$result_cat_s = mysqli_fetch_assoc($run_cat_s);
?>

        <!--=========== breadcrumb Section Start =========-->
        <div class="sc-breadcrumb-style sc-pt-80 sc-pb-80">
            <div class="container position-relative">
                <div class="row">
                    <div class="col-lg-12 breadvrumb">
                        <div class="sc-slider-content p-z-idex ">
                            <div class="sc-slider-subtitle">Home - Blogs     </div>
                            <h1 class="slider-title white-color sc-mb-25 sc-sm-mb-15"><?=$result_cat_s['cate_name']?></h1>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!--=========== breadcrumb Section End =========-->

        <!--=========== about Section Start =========-->

        <!--=========== about Section End =========-->

        <!--=========== Working Process section Start =========-->
        



    


    
        <div class="sc-blog-section-area sc-pt-100 sc-pb-180 sc-md-pb-110 sc-md-pt-80">
            <div class="container">
                
                <div class=" sc-blog-slider ">
                    <div class="row">



                    <?php
$cattt =$_GET['code'];
$sql_pro = "SELECT * FROM `tbl_blogs` where `pro_category`='$cattt'";
$run_pro = mysqli_query($link,$sql_pro);
while($result_pro = mysqli_fetch_assoc($run_pro))

{
    
    ?>





                        <div class="col-lg-4 matgssgnews">
                            <div class="sc-blog-style2">
                                <div class="blog-img">
                                    <a href="blog-detail.php?pro_code=<?=$result_pro['pro_id']?>"><img src="product-image/<?=$result_pro['pro_image'];?>" alt="Blog"></a>
                                </div>
                                <div class="sc-blog-date-box">
                                    <div class="sc-date-box">
                                        <h4 class="title"> <?php
                                       echo date('d',strtotime($result_pro['pro_date']))
                                       ?>  </h4>
                                        <span class="sub-title"><?php
                                       echo date(' M ',strtotime($result_pro['pro_date']))
                                       ?> </span>
                                    </div>
                                    <div class="sc-blog-social text-center">
                                        <ul class="list-gap">
                                            <li><i class="icon-david2"></i>  <?=$result_pro['pro_price']?></li>
                                           
                                        </ul>
                                    </div>
                                </div>
                                <div class="sc-blog-text">
                                    <h4>
                                        <a class="title" href="blog-detail.php?pro_code=<?=$result_pro['pro_id']?>"><?=$result_pro['pro_name']?>
</a>
                                    </h4>
                                    <div class="sc-blog-btn">
                                        <a class="sc-transparent-btn" href="blog-detail.php?pro_code=<?=$result_pro['pro_id']?>">Read More</a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <?php 
    }
?>

                   
                        </div>
            </div>
        </div>
      </div>


        <!-- start why choose us section-->
        
        <!-- end why choose us section -->




  
    
        <?php 
       include ('include/footer.php');
       ?>
Private