MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.133.138.129
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/rajwadahouse.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/rajwadahouse.com/home-blogs.php
<div class="blog-section section pt-35 pt-lg-15 pt-md-5 pt-sm-0 pt-xs-0">
            <div class="container pb-80 pb-lg-60 pb-md-50 pb-sm-40 pb-xs-30">

                <div class="row">
                    <!-- Section Title Start -->
                    <div class="col">
                        <div class="section-title mb-30 pt-20 pt-xs-5">
                            <h2>Latest Blogs</h2>
                            <p>Present posts in a best way to highlight interesting moments of your blog</p>
                        </div>
                    </div>
                    <!-- Section Title End -->
                </div>

                                <div class="blog-slider tf-element-carousel" data-slick-options='{
                                      "slidesToShow": 3,
                                      "slidesToScroll": 1,
                                      "infinite": true,
                                      "arrows": true,
                                      "dots": false,
                                      "prevArrow": {"buttonClass": "slick-btn slick-prev", "iconClass": "fa fa-angle-left" },
                                      "nextArrow": {"buttonClass": "slick-btn slick-next", "iconClass": "fa fa-angle-right" }
                                      }' data-slick-responsive='[
                                      {"breakpoint":1199, "settings": {
                                      "slidesToShow": 3
                                      }},
                                      {"breakpoint":992, "settings": {
                                      "slidesToShow": 2
                                      }},
                                      {"breakpoint":768, "settings": {
                                      "slidesToShow": 2
                                      }},
                                      {"breakpoint":575, "settings": {
                                      "slidesToShow": 1,
                                      "arrows": false,
                                      "autoplay": true
                                      }}
                                      ]'>
                                        <?php
                                            $sql = "SELECT * FROM tbl_blog ORDER BY `b_id` DESC";
                                            $run = mysqli_query($db,$sql) or die("Query Not run");
                                            $count=0;
                                            while($data = mysqli_fetch_assoc($run)){
                                            if(mysqli_num_rows($run) > 0){
                                            $count++;
                                        ?>
                                        
                                        <!-- Single Blog Start -->
                                        <div class="blog col">
                                            <div class="blog-inner">
                                                <div class="media"><a href="#" class="image"><img
                                                            src="<?php echo $wspath?>admin/images/property-image/<?php echo $data['image'];?>" alt=""></a></div>
                                                <div class="content">
                                                    <h3 class="title"><a href="<?php echo $wspath?>blog<?php echo $data['slug_link'];?>.html"><?php echo $data['title'];?></a></h3>
                                                    <ul class="meta">
                                                        <li>By <a href="<?php echo $wspath?>blog<?php echo $data['slug_link'];?>.html" tabindex="0">admin</a></li>
                                                        <li><?php echo $data['date'];?></li>
                                                    </ul>
                                                    <a class="btn" href="<?php echo $wspath?>blog<?php echo $data['slug_link'];?>.html">Read more</a>
                                                </div>
                                            </div>
                                        </div>
                                        <!-- Single Blog End -->
                                        
                                        <?php
                                            }else{
                                                echo "<h1>No Data Found</h1>";
                                            }
                                        }
                                        ?>
                </div>
            </div>
        </div>

MMCT - 2023