<?php
use yii\helpers\Html;
use yii\widgets\ListView;
use yii\helpers\Url;
use yii\db\Query;
use backend\models\PostMore;
use backend\models\Post;
use backend\models\Category;
use backend\models\Tag;
use backend\models\WeekendGateway;
use backend\models\PopularTab;
use backend\models\State;
/* @var $this yii\web\View */

$js = <<<JS
var modal1 = document.getElementById("myModal1");
var btn1 = document.getElementById("myBtn1");
var span1 = document.getElementsByClassName("close1")[0];
btn1.onclick = function() {
  modal1.style.display = "block";
}
span1.onclick = function() {
  modal1.style.display = "none";
}
window.onclick = function(event) {
  if (event.target == modal) {
    modal1.style.display = "none";
  }
}
var modal = document.getElementById("myModal");
var btn = document.getElementById("myBtn");
var span = document.getElementsByClassName("close")[0];
btn.onclick = function() {
  modal.style.display = "block";
}
span.onclick = function() {
  modal.style.display = "none";
}
window.onclick = function(event) {
  if (event.target == modal) {
    modal.style.display = "none";
  }
}
JS;
$this->registerJs($js);

$this->title = $postQuery->meta_title;
$this->registerJsFile('//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-61c0534afa5c87da', ['position' => \yii\web\View::POS_END]);


Yii::$app->params['og_description']['content'] = $postQuery->meta_description;
if($postQuery->image != '') {
   Yii::$app->params['og_image']['content'] = 'https://www.exploreourindia.com'. Yii::$app->urlManagerBackend->baseUrl.'/images/post/big/'.$postQuery->image;
} else {
    Yii::$app->params['og_image']['content'] = 'https://www.exploreourindia.com'. Yii::$app->urlManagerFrontend->baseUrl.'/images/photo-not-availabe.jpg';
}

\Yii::$app->view->registerMetaTag([
    'name' => 'description',
    'content' => $postQuery->meta_description,
]);
\Yii::$app->view->registerMetaTag([
    'name' => 'keywords',
    'content' => $postQuery->meta_keyword,
]);
?>
<div role="main" class="main">

 <div class="container" style="background:#FFF;">
      <div class="row">
        <div class="col-lg-12" style="margin-bottom:15px; margin-top:15px;">
        <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3311269295796373"
     crossorigin="anonymous"></script>
<!-- Horizontal -->
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-3311269295796373"
     data-ad-slot="9520896402"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>
        </div>
        </div>
        </div>

    <section class="page-header page-header-modern bg-color-light-scale-1 page-header-md">
      <div class="container">
        <div class="row">
          <div class="col-md-12 align-self-left order-1">
            <ul class="breadcrumb d-block text-left">
              <li><?=Html::a("Home", ['/site/index'])?></li>
              <li class="active"><?=Html::a($postQuery->state->state_name, ['/state/view', 'slug' => $postQuery->state->slug])?></li>
              <li class="active"><?=Html::a($postQuery->category->name, ['/category/view', 'slug' => $postQuery->category->slug])?></li>
              <li class="active"><?=$postQuery->title?></li>
            </ul>
          </div>
        </div>
      </div>
    </section>
   <div class="container">
      <div class="row">
        <div class="col-lg-9 order-lg-1" style="margin-bottom:25px;">
        <div class="heading heading-border heading-middle-border">
            <h3 class="text-4"><strong class="font-weight-bold text-1 px-3 text-light py-2 bg-secondary"><?=$postQuery->city->city_name?></strong></h3>
          </div>
          
          <div class="blog-posts">
            <article class="post post-large">
              <div class="post-image">
			  <?php if($postQuery->image != '') {?>
			    <img src="<?=Yii::$app->urlManagerBackend->baseUrl.'/images/post/big/'.$postQuery->image?>" class="img-fluid img-thumbnail img-thumbnail-no-borders rounded-0" alt="<?=$postQuery->title?>">
              <?php } else { ?>
			    <img src="<?=Yii::$app->urlManagerFrontend->baseUrl?>/images/photo-not-availabe.jpg" class="img-fluid img-thumbnail img-thumbnail-no-borders rounded-0" alt="<?=$postQuery->title?>">
			  <?php } ?>
</div>
              <div class="post-content mrgnlfta">
                <h1 class="font-weight-semibold text-6 line-height-3 mb-3"><?=$postQuery->title?></h1>
               
				<?=$postQuery->content?>
              </div>
			  <?php $morepostQuery = PostMore::find()->where(['status' => 1])->andwhere(['post_id' => $postQuery->id])->orderBy(['id' => SORT_ASC])->all();
			         if(count($morepostQuery) != '') {?>
                <div class="hpanel panel-group sidebar mrgnlfta" id="accordion" role="tablist" aria-multiselectable="true">
                
                <!-- google adsense -->
              <!-- <span>
               <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3311269295796373"
     crossorigin="anonymous"></script>

<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-3311269295796373"
     data-ad-slot="9520896402"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>
               </span>-->
              <!-- google adsense -->
                
				  <aside class="aside bgcolortop">
					<h3 class="aside-title">Read More on <?=$postQuery->title?></h3>
				  </aside>
              <?php $i=1; 
		        foreach($morepostQuery as $MoreposttQuery) {?>
					  <div class="panel-body"> <a data-toggle="collapse" data-parent="#accordion" href="#n<?=$MoreposttQuery->id?>" aria-expanded="false" class="collapsed"> <i class="fa fa-chevron-down pull-right text-muted"></i> <i class="fa fa-arrow-circle-o-right facolor" aria-hidden="true"></i> <?=$MoreposttQuery->heading?></a>
						<div id="n<?=$MoreposttQuery->id?>" class="panel-collapse collapse" aria-expanded="false" style="">
						  <hr>
							<?=$MoreposttQuery->content?>
						</div>
					  </div>
				<?php $i++; } ?>
                </div>
				<?php } ?>
               
            </article>
            
             
          </div>
           <div class="addthis_inline_share_toolbox_m4qd" style="margin-bottom:25px;"></div>
           
           <!-- google adsense  remove-->
           <!--<span style="margin:10px 0 10px 0;">
                 <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3311269295796373"
     crossorigin="anonymous"></script>
<ins class="adsbygoogle"
     style="display:block"
     data-ad-format="fluid"
     data-ad-layout-key="-h8-11+3w-8c+9p"
     data-ad-client="ca-pub-3311269295796373"
     data-ad-slot="9659114311"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>
<span>
<br>-->
              <!-- google adsense -->
         
           <div class="heading heading-border heading-middle-border">
            <h3 class="text-4"><strong class="font-weight-bold text-1 px-3 text-light py-2 bg-quaternary">Near by Places in <?=$postQuery->state->state_name?></strong></h3>
          </div>
		  <?php 
		     $relatedpost = backend\models\Post::find()->where(['state_id' => $postQuery->state_id])->andwhere(['!=', 'id', $postQuery->id])->andwhere(['status' => 1])->orderBy('id')->limit(20)->all();
		     if(count($relatedpost) != '') {?>
          <div class="row pb-1">
		  <?php foreach($relatedpost as $relatedposts) { 
	           ?>
            <div class="col-lg-3 mb-4 pb-1">
              <article class="thumb-info thumb-info-side-image thumb-info-no-zoom bg-transparent border-radius-0 pb-2 mb-2">
                <div class="row">
                  <div class="col">
				  <?php if($relatedposts->image != '') {?>
                    <?=Html::a('<img src="'.Yii::$app->urlManagerBackend->baseUrl.'/images/post/big/'.$relatedposts->image.'" alt="'.$relatedposts->title.'" class="img-fluid border-radius-0"> ', ['/post/view', 'slug' => $relatedposts->slug])?>  
		          <?php } else { ?>
			       <?=Html::a('<img src="/images/photo-not-availabe.jpg" alt="'.$relatedposts->title.'" class="img-fluid border-radius-0"> ', ['/post/view', 'slug' => $relatedposts->slug])?>  
			      <?php } ?>
				  </div>
                </div>
                <div class="row">
                  <div class="col">
                    <div class="thumb-info-caption-text">
                      <h2 class="d-block line-height-2 text-4 text-dark font-weight-bold mb-0 margtoptext">
                       <?=Html::a($relatedposts->title, ['/post/view', 'slug' => $relatedposts->slug], ['class' => 'text-decoration-none text-color-dark'])?>
					   </h2>
                    </div>
                  </div>
                </div>
              </article>
            </div>
            <?php } ?>
           </div>
<?=Html::a('Read more '.$postQuery->state->state_name, ['/state/view', 'slug' => $postQuery->state->slug], ['class' => 'btn btn-primary btn-block mb-2', 'style' => 'padding: 10px 5px;font-size: 13px;'])?>
		   <?php } ?>
           
           <!-- Google Adsense -->
         <!-- <span style="margin:15px 0px;">
          <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3311269295796373"
     crossorigin="anonymous"></script>
<ins class="adsbygoogle"
     style="display:block"
     data-ad-format="autorelaxed"
     data-ad-client="ca-pub-3311269295796373"
     data-ad-slot="2887776118"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>

          </span>-->
<!-- Google Adsense -->
           
        </div>
        
        
        
       <div class="col-lg-3 mb-4 mb-lg-0 sidebar order-lg-2">
      
      <div class="input-group mb-3 pb-1">
                <input class="form-control text-1" placeholder="Search..." name="s" id="s" type="text">
                <span class="input-group-append">
                <button type="submit" class="btn btn-dark text-1 p-2"><i class="fas fa-search m-2"></i></button>
                </span> </div>
                
                <!-- Google Adsense -->
              <!--  <span style="margin:10px 0px;">
             <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3311269295796373"
     crossorigin="anonymous"></script>
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-3311269295796373"
     data-ad-slot="5817191787"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>  </span>-->
<!-- Google Adsense -->
                
      			<aside class="aside bgcolortop">
                  <h3 class="aside-title"><?=$postQuery->state->state_name?> Attraction</h3>
                </aside>

				<div class="accordion" id="accordion12">
				   <div class="card card-default">
						<?php $i=1;
						  foreach($arrayorderid as $postAllQueryy) {
						   $postAllQuery = Category::find()->where(['id' => $postAllQueryy])->andWhere(['status' => 1])->all();
						   foreach($postAllQuery as $postAllQuerycat) {
						   if($postAllQueryy == $postAllQuerycat->id) {
						  ?>
						<div class="card-header" id="collapse1Heading<?=$postAllQuerycat->id?>">
							<h4 class="card-title m-0">
								<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#collapse12<?=$postAllQueryy?>" aria-expanded="false" aria-controls="collapse12<?=$postAllQueryy?>">
									<?=$postAllQuerycat->name?>
								</a>
							</h4>
						</div>
						<div id="collapse12<?=$postAllQueryy?>" class="collapse <?php if($i==1) {?>show<?php } ?>" aria-labelledby="collapse1Heading<?=$postAllQuerycat->id?>" data-parent="#accordion12" style="">
							<div class="card-body">
							 <form role="form" action="state-tag" method="post" name="statetaglist<?=$postAllQueryy?>" id="statetaglist<?=$postAllQueryy?>">
                             <input type="hidden" name="_csrf" value="<?= Yii::$app->request->getCsrfToken() ?>" />
								<?php
								  $orderidd = array();
								  $postQueryAlll = Post::find()->where(['status' => 1])->Andwhere(['state_id' => $postQuery->state_id])->Andwhere(['category_id' => $postAllQueryy])->all();
									foreach($postQueryAlll as $modelqntyy) {
										foreach(explode(',', $modelqntyy->tag_id) as $row) {
										 if($row != '') {
										 $orderidd[] = $row;
										 }
										}
									}
								  $arrayorderidd = array_unique($orderidd);
								  foreach($arrayorderidd as $tagcatwise) { 
									$postTagQuery = Tag::find()->where(['id' => $tagcatwise])->andWhere(['status' => 1])->all(); 
                                     foreach($postTagQuery as $postAllQuerytag) {									
									if($tagcatwise == $postAllQuerytag->id) {
									?>
									<div class="checkbox">
										<label style="font-size: 1.15em">
											<input type="checkbox" name="tagid[]" value="<?php echo $postAllQuerytag->id;?>">
											<span class="cr"><i class="cr-icon fa fa-check"></i></span>
											<?php echo $postAllQuerytag->name;?>
										</label>
									</div>
									<?php } } } ?>
									<input type="hidden" name="stateid" value="<?=$postQuery->state_id?>"/>
									<input type="submit" class="btn btn-outline btn-secondary mb-2 mt-2" style="width:100%" value="Apply">
								</form>	
						   </div>
						</div>
						<?php } } $i++; } ?>
					</div>
				</div>
                
                  <!-- Google Adsense -->
                  <!--<span style="margin:10px 0px;">
             <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3311269295796373"
     crossorigin="anonymous"></script>

<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-3311269295796373"
     data-ad-slot="5625620098"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script> 
</span>-->
<!-- Google Adsense -->
                            
                            <div class="accordion" id="accordion12">
                              <aside class="aside bgcolortop">
								<h3 class="aside-title">Weekend getaway from <?=$postQuery->state->state_name?></h3>
							  </aside>
								<div class="card card-default" style="margin-top:0px;">
									<div id="collapse12One" class="collapse show" aria-labelledby="collapse12HeadingOne" data-parent="#accordion12" style="">
										<div class="card-body">
											 <ul class="list list-icons list-icons-style-3 list-quaternary list-icons-sm">
											  <?php 
												 $postAllQuerywekend = WeekendGateway::find()->where(['state_id' => $postQuery->state->id])->andWhere(['status' => 1])->all();
												 if(count($postAllQuerywekend) != '') {
												 foreach($postAllQuerywekend as $postAllQueryweekend) {
													$postidwek = explode(',', $postAllQueryweekend->post_id);
													foreach($postidwek as $displayallwek) {
													$allpostQuerywek = Post::find()->where(['status' => 1])->andwhere(['id' => $displayallwek])->one();
												?>
												<li><?=Html::a('<i class="fas fa-arrow-alt-circle-right"></i> '.$allpostQuerywek->title, ['/post/view', 'slug' => $allpostQuerywek->slug])?></li>
												 <?php } } }?>
											</ul>
                                      </div>
									</div>
								</div>
							</div>
                            
                            <div class="accordion" id="accordion12">
 							    <div class="" style="margin-top:10px;">
									<div class="tabs tabs-dark mb-4 pb-2">
									  <ul class="nav nav-tabs">
										<li class="nav-item active"><a class="nav-link show text-1 font-weight-bold text-uppercase active" href="#popularPosts" data-toggle="tab">Popular</a></li>
										<li class="nav-item"><a class="nav-link text-1 font-weight-bold text-uppercase" href="#recentPosts" data-toggle="tab">Pilgrimage</a></li>
									  </ul>
									  <div class="tab-content">
										<div class="tab-pane active" id="popularPosts">
											<ul class="simple-post-list">
												<?php 
												 $postAllQuerypopular = PopularTab::find()->where(['state_id' => $postQuery->state->id])->Andwhere(['category_id' => 'Popular'])->andWhere(['status' => 1])->all();
												 if(count($postAllQuerypopular) != '') {
												 foreach($postAllQuerypopular as $postAllQuerytabpop) {
													$postidpop = explode(',', $postAllQuerytabpop->post_id);
													foreach($postidpop as $displayallpop) {
													$allpostQuerypop = Post::find()->where(['status' => 1])->andwhere(['id' => $displayallpop])->all();
													foreach($allpostQuerypop as $displayallpopo) {
												?>
												<li><div class="post-info"><?=Html::a($displayallpopo->title, ['/post/view', 'slug' => $displayallpopo->slug])?></div></li>
													<?php } } } }?> 
											</ul>
										</div>
										<div class="tab-pane" id="recentPosts">
											<ul class="simple-post-list">
												<?php 
												 $postAllQuerypilgrimage = PopularTab::find()->where(['state_id' => $postQuery->state->id])->Andwhere(['category_id' => 'Pilgrimage'])->andWhere(['status' => 1])->all();
												 if(count($postAllQuerypilgrimage) != '') {
												 foreach($postAllQuerypilgrimage as $postAllQuerytabpil) {
													$postidpil = explode(',', $postAllQuerytabpil->post_id);
													foreach($postidpil as $displayallpil) {
													$allpostQuerypil = Post::find()->where(['status' => 1])->andwhere(['id' => $displayallpil])->all();
													foreach($allpostQuerypil as $displayallpili) {
												?>
												<li><div class="post-info"><?=Html::a($displayallpili->title, ['/post/view', 'slug' => $displayallpili->slug])?></div></li>
													<?php } } } }?> 
											</ul>
										</div>
									  </div>
									</div>
                                </div>
							</div>
                            
                            <!-- Google Adsense -->
                        
<!-- Google Adsense -->
                            
                            <div class="hpanel panel-group sidebar" id="accordion" role="tablist" aria-multiselectable="true">
                               <div class="toggle toggle-primary" data-plugin-toggle="" data-plugin-options="{ 'isAccordion': true }">
								<section class="toggle active">
									<aside class="aside bgcolortop">
									   <h3 class="aside-title">The Best state to visit in India</h3>
									</aside>
									<div class="toggle-content">
										<div class="panel-body"> 
										    <div class="form-group">
											  <input type="text" value="" placeholder="Select Your City..." maxlength="100" class="form-control" name="name" required>
											</div>
									    </div>
                                        <form role="form" action="https://www.exploreourindia.com/state" method="post" name="statewiselist" id="statewiselist">
										<input type="hidden" name="_csrf" value="<?= Yii::$app->request->getCsrfToken() ?>" />
										<div class="panel-body"> 
											<div class="checkbox">
												<label style="font-size: 1em; margin-bottom:0px;">
													<input type="checkbox" name="stateid[]" value="10">
													<span class="cr"><i class="cr-icon fa fa-check"></i></span>
													Delhi
												</label>
											</div>
										</div>
										
										<div class="panel-body"> 
										  <div class="checkbox">
											<label style="font-size: 1em; margin-bottom:0px;">
												<input type="checkbox" name="stateid[]" value="46">
												<span class="cr"><i class="cr-icon fa fa-check"></i></span>
												Goa
											</label>
										</div>  </div>
										
										<div class="panel-body"> 
										  <div class="checkbox">
											<label style="font-size: 1em; margin-bottom:0px;">
												<input type="checkbox" name="stateid[]" value="70">
												<span class="cr"><i class="cr-icon fa fa-check"></i></span>
												Jammu & Kashmir
											</label>
										</div>  </div>
										
										<div class="panel-body"> 
										  <div class="checkbox">
											<label style="font-size: 1em; margin-bottom:0px;">
												<input type="checkbox" name="stateid[]" value="39">
												<span class="cr"><i class="cr-icon fa fa-check"></i></span>
												Uttarakhand
											</label>
										</div>  </div>
										
										<div class="panel-body"> 
										  <div class="checkbox">
											<label style="font-size: 1em; margin-bottom:0px;">
												<input type="checkbox" name="stateid[]" value="49">
												<span class="cr"><i class="cr-icon fa fa-check"></i></span>
												Himachal Pradesh
											</label>
										</div>  </div>
										
										<div class="panel-body"> 
										  <div class="checkbox">
											<label style="font-size: 1em; margin-bottom:0px;">
												<input type="checkbox" name="stateid[]" value="74">
												<span class="cr"><i class="cr-icon fa fa-check"></i></span>
												Leh-Ladakh
											</label>
										</div>  </div>
										
										<div class="panel-body"> 
										  <div class="checkbox">
											<label style="font-size: 1em; margin-bottom:0px;">
												<input type="checkbox" name="stateid[]" value="55">
												<span class="cr"><i class="cr-icon fa fa-check"></i></span>
												Manipur
											</label>
										</div>  </div>
										
										<div class="panel-body"> 
										  <div class="checkbox">
											<label style="font-size: 1em; margin-bottom:0px;">
												<input type="checkbox" name="stateid[]" value="62">
												<span class="cr"><i class="cr-icon fa fa-check"></i></span>
												Sikkim
											</label>
										</div>  </div>
										
										<div class="panel-body"> 
										  <div class="checkbox">
											<label style="font-size: 1em; margin-bottom:0px;">
												<input type="checkbox" name="stateid[]" value="52">
												<span class="cr"><i class="cr-icon fa fa-check"></i></span>
												Kerala
											</label>
										</div>  </div>
										
										<div class="panel-body"> 
										  <div class="checkbox">
											<label style="font-size: 1em; margin-bottom:0px;">
												<input type="checkbox" name="stateid[]" value="43">
												<span class="cr"><i class="cr-icon fa fa-check"></i></span>
												Assam
											</label>
										</div>  </div>
										
										<div class="panel-body"> 
											<input type="submit" class="btn btn-outline btn-secondary mb-2 mt-2" style="width:100%" value="Apply">
										</div>
									</form>
                                    <div class="panel-body"> 
									  <div class="checkbox">
										  <button id="myBtn1" class="morebtn">30 More</button>
										  <div id="myModal1" class="modal1">
												  <div class="col-lg-12">
												  <form role="form" action="https://www.exploreourindia.com/state" method="post" name="statewiselistALL" id="statewiselistALL">
												  <div class="modal1-content">
												  <span1 class="close1">&times;</span1>
												  <div class="row pb-1">
												  <div class="col-lg-12" style="margin:0px 0px;">
												  <h4>Select Your Destination</h4>
												  </div>
												  
													<input type="hidden" name="_csrf" value="<?= Yii::$app->request->getCsrfToken() ?>" />
													<?php
													  $postAllState = State::find()->where(['status' => 1])->orderBy('state_name ASC')->all();
													  foreach($postAllState as $postAllStates) {
													?>
														<div class="col-lg-3" style="margin:1px 0px;">
															<div class="panel-body"> 
															  <div class="checkbox">
																<label style="font-size: 12px; margin:0px 0px;">
																	<input type="checkbox" name="stateid[]" value="<?=$postAllStates->id?>">
																	<span class="cr"><i class="cr-icon fa fa-check"></i></span>
																	<?=$postAllStates->state_name?>
																</label>
																</div>
															</div>
														</div>
													  <?php } ?>
														<div class="col-lg-3" style="margin:1px 0px;">
															<div class="panel-body"> 
															  <div class="checkbox">
																<input type="submit" class="btn btn-outline btn-secondary mb-2 mt-2" style="width:100%" value="Apply">
															  </div> 
															</div>
														</div>
													
													</div>
												</div>
												</form>
											</div>
										</div>
									   </div> 
									 </div> 
                                           
						    </div>
						</section>							
	         </div>
    </div>
   <div class="hpanel panel-group sidebar" id="accordion" role="tablist" aria-multiselectable="true">
              <aside class="aside bgcolortop">
                <h3 class="aside-title">Recent Blog</h3>
              </aside>
                <ul class="simple-post-list">
			       <?php foreach($recentBlog as $recentBlogg) {?>
					<li>
					  <article>
						<div class="post-image">
						  <div class="img-thumbnail img-thumbnail-no-borders d-block">
							<?=Html::a('<img src="'.Yii::$app->urlManagerBackend->baseUrl.'/images/blog/'.$recentBlogg->image.'" alt="'.$recentBlogg->heading.'" class="border-radius-0" width="50" height="50">', ['/blog/view', 'slug' => $recentBlogg->slug])?>
						  </div>
						</div>
						<div class="post-info">
						  <h2 class="font-weight-normal text-3 mb-0" style="line-height:22px;"><?=Html::a($recentBlogg->heading, ['/blog/view', 'slug' => $recentBlogg->slug])?></h2>
						  <p><?php echo $recentBlogg->limitTextWords(strip_tags($recentBlogg->content), 20, true, true);?></p>
						</div>
					  </article>
					</li>
					<?php } ?>  
				</ul>
            </div>
        </div>
    </div>
 </div>
 
 
 
 <!--<div class="container ">
    <div class="row">
    <div class="col-md-12 sidebar"> 
    
    <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3311269295796373"
     crossorigin="anonymous"></script>
<ins class="adsbygoogle"
     style="display:block"
     data-ad-format="autorelaxed"
     data-ad-client="ca-pub-3311269295796373"
     data-ad-slot="4062021013"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>
    
    </div>
    </div>
    </div>-->
 
 
 <!--<div class="container ">
    <div class="row">
    <div class="col-md-12 sidebar">          
           <aside class="aside bgcolortop">
                <h3 class="aside-title">States and Capitals</h3>
              </aside>
          <div class="row pb-1 pt-3 ">
           
            <div class="col-md-3">
              <ul class="simple-post-list">
              <li>Andaman and Nicobar Islands <br><span class="clr">(Port Blair)</span></li>
                <li>Andhra Pradesh <br><span class="clr">(Hyderabad)</span></li>
                <li>Arunachal Pradesh<br><span class="clr">(Itanagar)</span></li>
                <li>Assam<br><span class="clr">(Dispur)</span></li>
                <li>Bihar<br><span class="clr">(Patna)</span></li>
                 <li>Chandigarh <br><span class="clr">(Chandigarh)</span></li>
                <li>Chhattisgarh<br><span class="clr">(Raipur)</span></li>
                <li>Dadra and Nagar Haveli and Daman & Diu</li>
                <li>The Government of NCT of Delhi <br><span class="clr">(Delhi)</span></li>
              </ul>
            </div>
            <div class="col-md-3">
              <ul class="simple-post-list">
                <li>Goa<br><span class="clr">(Panaji)</span></li>
                <li>Gujarat(<br><span class="clr">Gandhinagar)</span></li>
                <li>Haryana<br><span class="clr">(Chandigarh)</span></li>
                <li>Himachal Pradesh<br><span class="clr">(Shimla)</span></li>
                <li>Jammu & Kashmir <br><span class="clr">(Srinagar-S*, Jammu-W*)</span></li>
                <li>Jharkhand<br><span class="clr">(Ranchi)</span></li>
                <li>Karnataka<br><span class="clr">(Bangalore)</span></li>
                <li>Kerala<br><span class="clr">(Thiruvananthapuram)</span></li>
                <li>Ladakh <br><span class="clr">(Leh)</span></li>
              </ul>
            </div>
            <div class="col-md-3">
              <ul class="simple-post-list">
              <li>Lakshadweep <br><span class="clr">(Kavaratti)</span></li>
                <li>Madhya Pradesh<br><span class="clr">(Bhopal)</span></li>
                <li>Maharashtra<br><span class="clr">(Mumbai)</span></li>
                <li>Manipur<br><span class="clr">(Imphal)</span></li>
                <li>Meghalaya<br><span class="clr">(Shillong)</span></li>
                <li>Mizoram<br><span class="clr">(Aizawl)</span></li>
                <li>Nagaland<br><span class="clr">(Kohima)</span></li>
                <li>Odisha<br><span class="clr">(Bhubaneshwar)</span></li>
                <li>Punjab<br><span class="clr">(Chandigarh)</span></li>
              </ul>
            </div>
            <div class="col-md-3">
              <ul class="simple-post-list">
               <li>Puducherry <br><span class="clr">(Puducherry) </span></li>
                <li>Rajasthan<br><span class="clr">(Jaipur)</span></li>
                <li>Sikkim<br><span class="clr">(Gangtok)</span></li>
                <li>Tamil Nadu<br><span class="clr">(Chennai)</span></li>
                <li>Telangana<br><span class="clr">(Hyderabad)</span></li>
                <li>Tripura<br><span class="clr">(Agartala)</span></li>
                <li>Uttarakhand<br><span class="clr">(Dehradun)</span></li>
                <li>Uttar Pradesh<br><span class="clr">(Lucknow)</span></li>
                <li>West Bengal<br><span class="clr">(Kolkata)</span></li>
              </ul>
            </div>
            
          </div>
        </div>
        
        </div>
        </div>-->
  </div>