<?php include_once("include/main.inc.php");
$admin_res=getAdminDetails();
$pg= "blog";
$page_metatitle = "Blog | Sunshine Fertility & IVF Center in Mumbai";
$page_metakey = "Blog | Sunshine Fertility & IVF Center in Mumbai";
$page_metadesc = "Blog | Sunshine Fertility & IVF Center in Mumbai";
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
   <title><?php echo $page_metatitle; ?></title>
      <meta name=description content="<?php echo $page_metadesc; ?>" >
      <meta name=keywords content="<?php echo $page_metakey; ?>" >
    <?php include "app_top.php"; ?>
</head>

<body>

    <?php include "app_header.php"; ?>


    <!-- Heading Banner-->
    <section class="heading_banner" style="background-image: url(<?=theme_url?>images/blog-banner.jpg)">
        <div class="container">
            <div class="row">
                <div class="col-xxl-12 col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 text-center">
                    <div class="cat_title">Our Blog</div>
        
                </div>
            </div>
        </div>
    </section>

    <!-- Breadcrumb-->
    <section class="inner_breadcrumb hidden_xs">
        <div class="container">
            <div class="row">
                <div class="col-xxl-12 col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
                    <ul class="breadcrumb">
                        <li><a href="<?=site_url?>" title="Home">Home</a></li>
                        <li class="active">Our Blog</li>
                    </ul>
                </div>
            </div>
        </div>
    </section>



    <!-- Home About-->
    <section class="blog_page">
        <div class="container">
            <div class="row">
                <div class="col-xxl-9 col-xl-9 col-lg-9 col-md-9 col-sm-9 col-12">
                    <div class="blog_left">
                        <h1>Our Blog</h1>
                        <div class="clearfix"></div>
                        <div class="row">
   <?php   $sql_blog=mysqli_query($dbconn,"select * from blog_tbl");
                while($res_blog=mysqli_fetch_array($sql_blog)) { ?>
                            <div class="col-xxl-6 col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12">
                             <div class="blog_b">
                                <div class="blogdate">
                                    <?=date('M',strtotime($res_blog['blogDate']))?> <?=date('d',strtotime($res_blog['blogDate']))?><br><span><?=date('Y',strtotime($res_blog['blogDate']))?></span>
                                </div>
                                <div class="blogbox">
                                    <a href="<?=site_url;?>/blog/<?=getValidFileName($res_blog['catName']);?>.htm" title="<?=$res_blog['blogDname']?>"><img src="<?=getImage($res_blog['catImage'], 416, 276, $res_blog['catName'],"/uploaded-files/blog/images/");?>" alt="<?=$res_blog['blogDname']?>" title="<?=$res_blog['blogDname']?>"></a>
                                </div>
                                <div class="bloghead"><a href="<?=site_url;?>/blog/<?=getValidFileName($res_blog['catName']);?>.htm" title="<?=$res_blog['blogDname']?>"><?=$res_blog['blogDname']?></a></div>
                                <p><?=substr($res_blog['pageDescription'],0,150)?>...</p>
                            </div>
                            </div>
                         <?php  } ?>  
                        </div>
                    </div>
                </div>

                <div class="col-xxl-3 col-xl-3 col-lg-3 col-md-3 col-sm-12 col-12">
                    <div class="left_sidebar">
                        <div class="left_title1">Popular Post</div>
                        
                      <?php 
 $sql_blog=mysqli_query($dbconn,"select * from blog_tbl");
   while($res_blog=mysqli_fetch_array($sql_blog)) { ?>
                        
                        <div class="right_news">
                          <a href="<?=site_url;?>/blog/<?=getValidFileName($res_blog['catName']);?>.htm" title="<?php echo ($res_blog['blogDname']);?>">
                                <div class="image">
                                <img src="<?=getImage($res_blog['catImage'], 268, 175, $res_blog['catName'],"/uploaded-files/blog/images/");?>" title="<?php echo ($res_blog['blogDname']);?>" alt="<?php echo ($res_blog['blogDname']);?>">
                                </div>
                            </a>
                            <h2><a href="<?=site_url;?>/blog/<?=getValidFileName($res_blog['catName']);?>.htm"><?php echo ($res_blog['blogDname']);?></a></h2>
                        </div>
<?php  } ?>

                    </div>

                </div>
            </div>
        </div>
    </section>
    
 <?php include "app_testimonials_faq.php";?>
    <?php include "app_footer.php";?>
    <?php include "app_bottom.php";?>
</body>

</html>