MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.118.30.137
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/goldensafe.in/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/goldensafe.in/blogs.php
<?php
    include_once('admin/config.php');
    // $sqlblg = "SELECT * FROM `tbl_blog` WHERE b_id=3";
    // $runblg = mysqli_query($db,$sqlblg) or die("Query Not run");
    //  $datablg = mysqli_fetch_assoc($runblg);
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title></title>
    <meta name="description" content="">
    <?php include 'top-link.php';?>
</head>
<body>
<?php include 'header.php';?>
    <!-- breadcrumb area -->
    <div class="breadcrumb-area breadcrumb-padding bg-img" style="background-image:url(<?php echo $wspath?>assets/images/bg/bg-3.jpg)">
        <div class="container">
            <div class="breadcrumb-content text-center">
                <h2>Our Blogs</h2>
                <ul>
                    <li><a href="<?php echo $wspath?>">Home</a></li>
                    <li><i class="fa fa-angle-right"></i></li>
                    <li>Our Blogs</li>
                </ul>
            </div>
        </div>
    </div>
     <!-- About area -->
   
        <div class="section section-padding">
        <div class="container">
            <div class="row row-cols-lg-3 row-cols-md-2 row-cols-sm-2 row-cols-1 mb-n6">
                <?php
                    $sqlblg  = "SELECT * FROM `tbl_causes` ORDER BY id DESC";
                    $runblg  = mysqli_query($db,$sqlblg ) or die("Query Not run");
                    while($datablg = mysqli_fetch_assoc($runblg)){
                ?>
                <div class="col mb-6">
                    <div class="blog-wrap">
                        <div class="blog-img mb-2">
                            <a href="<?php echo $wspath;?>blog<?php echo $datablg['slug']?>.html"><img src="<?php echo $wspath;?>admin/images/<?php echo $datablg['image']?>" alt="<?php echo $datablg['title']?>"></a>
                        </div>
                        <div class="blog-content">
                            <div class="blog-meta">
                                <ul>
                                    <li><?php echo $datablg['date']?>/</li>
                                    <li><?php echo $datablg['by_post']?></li>
                                </ul>
                            </div>
                            <h3><a href="<?php echo $wspath;?>blog<?php echo $datablg['slug']?>.html"><?php echo $datablg['title']?></a></h3>
                        </div>
                    </div>
                </div>
                 <?php } ?>
            </div>
            <!--<div class="pagination-style mt-lg-9 mt-md-7 mt-5">-->
            <!--    <ul>-->
            <!--        <li><a class="active" href="#">1</a></li>-->
            <!--        <li><a href="#">2</a></li>-->
            <!--        <li><a href="#">3</a></li>-->
            <!--        <li><a class="next" href="#"><i class="fa fa-angle-double-right "></i></a></li>-->
            <!--    </ul>-->
            <!--</div>-->
        </div>
    </div>
    
<?php include 'footer.php';?>

MMCT - 2023