MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.138.101.219
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/classicleathersindia.com/../relianttourism.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/classicleathersindia.com/../relianttourism.com/home-blog.php
 <div class="blog-area blog-style-one pt-70">
        <div class="container">
            <div class="row justify-content-left">
                <div class="col-lg-8">
                    <div class="section-head-alpha text-center mx-auto">
                        <!--<h2 class="text-center">Our Blogs</h2>-->
                        <h2>Our <span> Blogs</span></h2>
                    </div>
                </div>
            </div>
            <div class="row">
                <?php
                        $sqlblog = "SELECT * FROM `tbl_blog` ORDER BY b_id DESC LIMIT 3";
                        $runblog = mysqli_query($db,$sqlblog) or die("Query Not run");
                        while($datablog = mysqli_fetch_assoc($runblog)){
                ?>
                    
                <div class="col-lg-4 col-md-6">
                    <div class="blog-card-alpha">
                        <div class="blog-thumb">
                            <a href="<?php echo $wspath;?>blog<?php echo $datablog['slug_link'];?>.html">
                                <img  src="<?php echo $wspath;?>admin/images/property-image/<?php echo $datablog['image']?>" alt="<?php echo $datablog['title']?>">
                            </a>
                            <div class="blog-lavel">
                                
                                 <a href="<?php echo $wspath;?>blog<?php echo $datablog['slug_link'];?>.html"><i class="bi bi-calendar3"></i> <?php echo $datablog['date']?></a>
                                <a href="<?php echo $wspath;?>blog<?php echo $datablog['slug_link'];?>.html"><i class="bi bi-user-circle"></i> <?php echo $datablog['by_post']?></a>
                            </div>
                        </div>
                        <div class="blog-content">
                            
                            <h4 class="blog-title">
                                  <a href="<?php echo $wspath;?>blog<?php echo $datablog['slug_link'];?>.html"><?php echo $datablog['title']?></a>
                            </h4>
                             <p class="blog-one__text"><?php echo substr($datablog['short_description'],0,100);?>...</p>
                            <div class="blog-one__bottom">
                                    <a href="<?php echo $wspath;?>blog<?php echo $datablog['slug_link'];?>.html" class="blog-one__btn">Read More</a>
                                    <a href="<?php echo $wspath;?>blog<?php echo $datablog['slug_link'];?>.html" class="blog-one__arrow"><span class="icon-right-arrow"></span></a>
                                </div>
                        </div>
                    </div>
                </div>
               
               <?php } ?>
            </div>
        </div>
    </div>

MMCT - 2023