<?php require_once("blog_details.php");
 require_once("common_slug_functions.php"); // ✅ added  ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="title" content="<?php echo $meta_title; ?>">
<meta name="description" content="<?php echo $meta_desc; ?>">
<meta property="og:type" content="blog"/>
<meta property="og:title" content="<?php echo $og_title; ?>"/>
<meta property="og:description" content="<?php echo $og_desc; ?>"/>
<meta property="og:url" content="https://www.teacherstrainingcourse.com/blog/<?php echo $blog_id; ?>-<?php echo $blog_title_url;?>-blog.php"/>
<meta property="og:image" content="https://www.asiancollegeofteachers.com/admin_act/blog_images/<?php echo basename($blog_image_path);  ?>"/>
<meta property="og:image:width" content="1200"/>
<meta property="og:image:height" content="630"/>
<title><?php echo $meta_title; ?></title>
<?php include('common/header-script.php'); ?>
        
	<?php $blog_title_org = $blog_title;

  /* ✅ REPLACED ALL str_replace WITH FUNCTION */
			$blog_title = createSlug($blog_title);
	  // $blog_title = str_replace(" ","-",$blog_title);
	  // $blog_title = str_replace("?","",$blog_title);
	  // $blog_title = str_replace("!","",$blog_title);
	  // $blog_title = str_replace("'","",$blog_title);
	  // $blog_title = str_replace("’","",$blog_title);
	  // $blog_title = str_replace(":","",$blog_title);
	  // $blog_title = str_replace(";","",$blog_title);
	  // $blog_title = str_replace("_","",$blog_title);
	  // $blog_title = str_replace("–","",$blog_title);
	  // $blog_title = str_replace("/","",$blog_title); 
	  // $blog_title = str_replace("&","-",$blog_title); 
	  // $blog_title = str_replace("(","",$blog_title); 
	  // $blog_title = str_replace(")","",$blog_title); 
	  // $blog_title = str_replace(",","",$blog_title);
	  // $blog_title = str_replace("”","",$blog_title); 
	  // $blog_title = str_replace("“","",$blog_title);?>
<link rel="canonical" href="https://www.teacherstrainingcourse.com/blog/<?php echo $blog_id; ?>-<?php echo str_replace(" ","",$blog_title); ?>-blog.php" />
 <style type="text/css">
    .article-block-in {padding: 10px 20px; margin: 10px 0px; border-bottom: 1px dashed #666;}
    .news-dt {color: #dd4415; font-weight: bold; font-family: "Open sans";}
    .head_gry_sm2 {font-size:18px !important; color: #1e1e1e; text-transform: capitalize;}
    .article-block-in p {font-size: 14px; line-height: 22px; padding: 25px 0px 5px 0; margin: 0; text-align: justify;}
    .readmore-3 a {color: #f25526; background: url(images/arw-sm1.png) no-repeat right 30%; padding: 0 15px 0 0;}
    .article-block-in a{color: #006cb7;;}
    .article-block-in li{font-size:15px;}
    @media (max-width: 767px) {
    .article-block-in img {display: block;height: auto;width: 100%!important;}
    }
</style>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-81276558-1"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
 
  gtag('config', 'UA-81276558-1');
</script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-YDKM92SL12"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
  gtag('config', 'G-YDKM92SL12');
</script>
</head><!--/head-->
<body>
    
    <?php include('common/header.php');?>
  
	<div class="clearfix"></div>
	<!------------------end nevigation------------>
       <!-- <section class="hero-wrap hero-wrap-2" style="background-image: url('../images/ecce.jpg');">
      <div class="overlay"></div>
      <div class="container">
        <div class="row no-gutters slider-text align-items-center justify-content-center">
          <div class="col-md-9 ftco-animate text-center">
            <span class="my-2 bread" style="font-weight:bold;font-size:30px;">Blog</span>
            <p class="breadcrumbs"><span class="mr-2"><a href="https://www.teacherstrainingcourse.com/blog/">Home <i class="ion-ios-arrow-forward"></i></a></span>| <span>Blog <i class="ion-ios-arrow-forward"></i></span></p>
          </div>
        </div>
      </div>
    </section>-->
        
        <section> 
            <div class="spacing no-spacing"> 
          <div class="prtfl-dtl-wrp style3">
                    
                    <div class="prtfl-dtl-innr">
                        <div class="container">
                        <div class="row">
                <div class="col-md-8">
                    <div class="blog-item">
                        <!--<img class="img-responsive img-blog" src="images/slider/slider-1.jpg" width="100%" alt="Governing Body" title="Governing Body for Asian College of Teachers" />-->
                            <div class="row">  
                                
                                <div class="col-md-12">
                                   <div class="">
                                 <div class="">
                              
								
                                <div class="article-block-in">
                                  <h1 style="color:#006cb7;font-weight: bold;font-size:25px;"><?php echo $blog_title_org; ?></h1>
                                  <?php if ($flag == 1) { ?>
                                    <span class="news-dt pull-right" style="color:#000;"><?php echo date('jS F Y',strtotime($posting_dt)); ?></span>
                                  <?php } else { ?> 
                                    <span class="news-dt" style="color:#000;"><b> <?php echo $msg; ?></b></span>
                
                                  <?php } ?>
                                   <br><br>
                                   <?php if($blog_image_path != "")  {  ?>
                                   <?php $image_path = substr($_SERVER["SCRIPT_NAME"],strrpos($_SERVER["SCRIPT_NAME"],"/")+1);?>
                                   <img src="https://www.asiancollegeofteachers.com/admin_act/blog_images/<?php echo basename($blog_image_path);  ?>" class="img-responsive img-thumbnail" alt="">
                                   
                                   <?php  }  ?>
                                  
                                   <?php echo $blog_desc;  ?>
                                   <div class="pull-right">
<span><?php if($written_by!=""){ ?><b>Written By :</b> <?php echo $written_by; ?><?php } ?></span>
    
    
 &nbsp;&nbsp; <span class="dropdown"><span class="fa fa-share-alt" class="dropdown-toggle" data-toggle="dropdown" style="font-size:16px;">  Share </span>
         <ul class="dropdown-menu clearfix" role="menu" style="width: auto;list-style:none;margin:0px -100px;padding:0px;">
      <li><a href="http://www.facebook.com/sharer.php?u=https://www.teflindia.com/tefl-blog/<?php echo $blog_id; ?>-<?php echo str_replace(" ","-",$blog_title); ?>-blog.php" target="_blank">Facebook</a></li>
      <li><a href="https://www.linkedin.com/sharing/share-offsite/?url=https://www.teflindia.com/tefl-blog/<?php echo $blog_id; ?>-<?php echo str_replace(" ","-",$blog_title); ?>-blog.php" target="_blank">LinkdIn</a></li>
      <li><a href="whatsapp://send?text=https://www.teflindia.com/tefl-blog/<?php echo $blog_id; ?>-<?php echo str_replace(" ","-",$blog_title); ?>-blog.php + message, '_blank'">Whatsapp</a></li>
     
    </ul>
  </span>
 </div>
                                   
 <br>
                                </div>
                                
                            </div>
                        </div>
                                   
                                
                                </div>
                           </div>
                           </div>
                           
                           <hr style="margin:0px;">
<div class="text-center" style="font-size: 13px;background-color: #cccccc30;padding: 10px 2px;;"> <a href="https://www.youtube.com/c/AsianCollegeofTeachers?sub_confirmation=1" target="_blank">Subscribe our Youtube Channel</a> | <a href="https://www.facebook.com/groups/actteflnetwork/" target="_blank">Like us on Facebook</a> | <a href="https://twitter.com/actcoursesasia" target="_blank">Follow us on Twitter</a> | <a href="https://www.instagram.com/asiancollegeofteachers/" target="_blank">Follow us on Instagram</a> | <a href="https://www.linkedin.com/in/asian-college-of-teachers-a38b6a125?trk=hp-identity-name" target="_blank">Follow us on Linkedin</a></div>
<br>
                    
						 <?php include('common/blog_comment.php');?> 
                              <hr>
                        <br>
                        
                      
                     
                    </div><!--/.col-md-8-->
                    <div class="col-md-4">
                  <?php include('common/sidebar.php');?>         
				</div>
   
</div>
</div><!--end container-->
</section>
<div class="clearfix"></div>
<!--------------end inner mid-section--------------->
<!-----------------start footer---------------->
<?php include('common/footer.php');?>
<!-----------------  End footer---------------->
</body>
</html>