MMCT TEAM
Server IP : 162.214.80.37  /  Your IP : 216.73.216.83
Web Server : Apache
System : Linux sh013.webhostingservices.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : imyrqtmy ( 2189)
PHP Version : 8.2.18
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home2/imyrqtmy/public_html/eventsbyshubhchintak/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/imyrqtmy/public_html/eventsbyshubhchintak/blog.php
<?php include'includes/db-conn.inc.php';
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Libs -->
<link rel="stylesheet" href="assets/libs/bootstrap-icons/font/bootstrap-icons.css">
<link rel="stylesheet" href="assets/fonts/wedding-icon-font/flaticon.css">
<link rel="stylesheet" href="assets/fonts/fontello/css/fontello.css">
<!-- Theme CSS -->
<link rel="stylesheet" href="assets/css/theme.min.css">
    <title>Blog | Wedding & Event by Shubhchintak</title>

</head>
<body>
    <!-- navbar -->
<?php include 'includes/navbar.php'; ?>
    <main>
    <!-- pageheader -->
    <section class="pt-6 pb-4">
      <div class="container">
         <div class="row">
            <div class="col-lg-12 col-md-12 col-12">
               <div>
                  <small style="color: #6b7280 !important;"><a href="index.php">Home ></a> Blogs</small><br>
                  <h4 class="display-5 fw-semi-bold mb-0" style="font-size: 24px;margin-top: 13px;">Shubhchintak's Blogs</h4>
                   <small>Our Latest Blogs</small>
               </div>
            </div>
         </div>
      </div>
   </section>
    <!-- pageheader-->

        <!-- wedding decor -->
        <section class="py-5">
            <div class="container">
                <div class="row">
                    <div class="col-md-8 mb-4 mb-md-0">
                        <div class="row">

                            <!-- blog -->
                <?php  
                   $i=1;
                   $sql=mysqli_query($conn,"select * from tbl_blog where status='1' ORDER BY order_number desc")or die(mysqli_error());
                while($row=mysqli_fetch_assoc($sql))
                {extract($row)
                ?>
                            <div class="col-lg-6">
                                <div class="card mb-4">
                                    <a href="blog-detail.php?url=<?php echo $url; ?>">
                                            <img src="media/blog/<?php echo $image;?>"
                                                class="img-fluid border-0 rounded-top" alt="<?php echo $name;?>">
                                        </a>

                                    <div class="card-body">
                                        <div class=" text-center">
                                            <h3>
                                                <a href="blog-detail.php?url=<?php echo $url; ?>" class="text-reset"><?php echo $name;?></a>
                                            </h3>

                                            <div class="fs-5 my-3">
                                                <span>By<a href="" class="ms-2 text-inherit fw-semi-bold">Shubhchintak Events</a></span>
                                                <span class="ms-2">/ <span class="ms-2 text-muted"> <?php echo $date;?></span></span>
                                              </div>

                                            <p>
                                                <?php
                                                  if (strlen($description) > 230) {
                                                        $shortenedString = substr($description, 0, 230) . ' ..';
                                                        echo $shortenedString;
                                                    } else {
                                                        echo $description;
                                                    }
                                                ?>
                                            </p>
                                            <a href="blog-detail.php?url=<?php echo $url; ?>" class="btn btn-link">Read More</a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                             <!-- blog close -->
                  <?php }?>              
                        </div>
                    </div>



                    <div class="col-md-4 col-12">
                        <div class="card mb-4">
                          <!-- card body -->
                          <div class="card-body p-4">
                            <h3>Latest Blogs</h3>
                            <div class="mt-3">
                              <!-- list -->
                              <ul class="list-unstyled mb-0">
                              <?php  
                                   $i=1;
                                   $sqlblog=mysqli_query($conn,"select * from tbl_blog where status='1' ORDER BY order_number desc")or die(mysqli_error());
                                while($rowblog=mysqli_fetch_assoc($sqlblog))
                                {
                                ?>
                                <li class="d-flex align-items-center">
                                  <span>
                                    <svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" fill="currentColor" class="bi bi-arrow-right" viewBox="0 0 16 16">
                                      <path fill-rule="evenodd" d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8z"></path>
                                    </svg>
                                  </span>
                                  <a href="blog-detail.php?url=<?php echo $rowblog['url']; ?>" class="text-inherit ms-2">
                                    <?php echo $rowblog['name'];?></a>
                                </li>
                              <?php }?>  
                              </ul>
                            </div>
                          </div>
                        </div>
                      </div>

                </div>

            </div>
        </section>
          <!-- get app -->
        <section class="py-14"
            style="background-image: url(assets/images/banner/cta-img-2.jpg); background-position: center; background-size: cover;">
            <div class="container">
                <div class="row">
                    <div class="col-lg-6">
                        <h2 class="display-6 text-white">Are you Vendor ?</h2>
                        <p class="text-white mb-4">Shubhchintak is a Best Place for you. Grow your Business with Shubhchintak Now ! <br> Sign Up to access your Dashboard</p>
                        <a href="vendor-register.php">
                              <button type="submit" class="btn" style="width: 50%;background: linear-gradient(90deg, #b02a37 0%, #b02a37 39%, #dc3545f2 100%);color: white;">Sign Up Now</button>
                        </a>
                    </div>
                </div>
            </div>
        </section>
        <!-- get app -->
    </main>
    <!-- footer -->
 <?php include 'includes/footer.php'; ?>
    <!-- scripts -->
    <!-- Libs JS -->
<script src="assets/libs/jquery/dist/jquery.min.js"></script>
<script src="assets/libs/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
<script src="assets/libs/flatpickr/dist/flatpickr.min.js"></script>
<!-- Theme JS -->
<script src="assets/js/theme.min.js"></script>

</body>
</html>

MMCT - 2023