<?php //netteCache[01]000576a:2:{s:4:"time";s:21:"0.72947200 1552950571";s:9:"callbacks";a:4:{i:0;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:9:"checkFile";}i:1;s:90:"/home/bebiluck/public_html/buburbayi.id/wp-content/themes/cityguide/parts/post-content.php";i:2;i:1525889615;}i:1;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:10:"checkConst";}i:1;s:20:"NFramework::REVISION";i:2;s:22:"released on 2014-08-28";}i:2;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:10:"checkConst";}i:1;s:15:"WPLATTE_VERSION";i:2;s:5:"2.9.2";}i:3;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:10:"checkConst";}i:1;s:17:"AIT_THEME_VERSION";i:2;s:4:"3.20";}}}?><?php

// source file: /home/bebiluck/public_html/buburbayi.id/wp-content/themes/cityguide/parts/post-content.php

?><?php
// prolog NCoreMacros
list($_l, $_g) = NCoreMacros::initRuntime($template, '87bolig3a1')
;
// prolog NUIMacros

// snippets support
if (!empty($_control->snippetMode)) {
	return NUIMacros::renderSnippets($_control, $_l, get_defined_vars());
}

//
// main template
//
$concreteTaxonomy = isset($taxonomy) && $taxonomy != "" ? $taxonomy : '' ;$maxCategories = $options->theme->items->maxDisplayedCategories ?>

<?php if (!$wp->isSingular) { ?>

<?php if ($wp->isSearch) { ?>

<?php if (isset($_REQUEST['a']) && $_REQUEST['a'] != "") { $isAdvanced = true ;} ?>

<?php if ($isAdvanced) { $noFeatured = $options->theme->item->noFeatured ?>

<?php $categories = get_the_terms($post->id, 'ait-items') ;$categories = aitOrderTermsByHierarchy($categories) ;$categories = aitFilterTerms($categories, $options->theme->items->maxDisplayedCategories) ;$meta = $post->meta('item-data') ?>

<?php $dbFeatured = get_post_meta($post->id, '_ait-item_item-featured', true) ;$isFeatured = $dbFeatured != "" ? filter_var($dbFeatured, FILTER_VALIDATE_BOOLEAN) : false ?>

				<div<?php if ($_l->tmp = array_filter(array('item-container', $isFeatured ? 'item-featured':null, defined("AIT_REVIEWS_ENABLED") ? 'reviews-enabled':null))) echo ' class="' . NTemplateHelpers::escapeHtml(implode(" ", array_unique($_l->tmp)), ENT_COMPAT) . '"' ?>>
					<a href="<?php echo NTemplateHelpers::escapeHtml($post->permalink, ENT_COMPAT) ?>">
						<div class="content">
							<div class="item-image">
<?php if ($post->image) { ?>
								<img src="<?php echo aitResizeImage($post->imageUrl, array('width' => 640, 'height' => 384, 'crop' => 1)) ?>
" alt="<?php echo $post->title ?>" />
<?php } else { ?>
								<img src="<?php echo aitResizeImage($noFeatured, array('width' => 640, 'height' => 384, 'crop' => 1)) ?>
" alt="<?php echo $post->title ?>" />
<?php } ?>
							</div>
							<div class="item-data">
								<div class="item-header">
									<div class="item-title">
										<h3><?php echo $post->title ?></h3>
									</div>
<?php if (is_array($categories) && count($categories) > 0) { ?>
									<div class="item-categories">
<?php if ($maxCategories > 0 && count($categories) > $maxCategories) { $counter = 0 ;$iterations = 0; foreach ($categories as $category) { if ($counter < $maxCategories) { ?>
												<span class="item-category"><?php echo $category->name ?></span>
<?php $counter = $counter + 1 ;} $iterations++; } } else { $iterations = 0; foreach ($categories as $category) { ?>
												<span class="item-category"><?php echo $category->name ?></span>
<?php $iterations++; } } ?>
									</div>
<?php } ?>
								</div>
								<div class="item-body">
									<div class="entry-content">
										<p><?php if ($post->hasExcerpt) { echo $template->truncate($template->trim($template->striptags($post->excerpt)), 140) ;} else { echo $template->truncate($template->trim($template->striptags($post->content)), 140) ;} ?></p>
									</div>
								</div>
								<div class="item-footer">
									<div class="item-address">
										<?php echo NTemplateHelpers::escapeHtml($meta->map['address'], ENT_NOQUOTES) ?>

									</div>
									<!--<div class="item-rating" data-rating="85"></div>-->
								</div>
							</div>
						</div>
					</a>
<?php if (defined('AIT_REVIEWS_ENABLED')) { NCoreMacros::includeTemplate(WpLatteMacros::getTemplatePart("portal/parts/carousel-reviews-stars", ""), array('item' => $post, 'showCount' => false) + get_defined_vars(), $_l->templates['87bolig3a1'])->render() ;} ?>
				</div>

<?php } else { ?>
								<article <?php echo $post->htmlId ?> <?php echo $post->htmlClass('hentry') ?>>
					<header class="entry-header">

						<div class="entry-title">

							<div class="entry-title-wrap">

								<h2><a href="<?php echo NTemplateHelpers::escapeHtml($post->permalink, ENT_COMPAT) ?>
"><?php echo $post->title ?></a></h2>


							</div><!-- /.entry-title-wrap -->
						</div><!-- /.entry-title -->
					</header><!-- /.entry-header -->

					<div class="entry-content loop">
						<?php echo $post->excerpt ?>


						<a href="<?php echo NTemplateHelpers::escapeHtml($post->permalink, ENT_COMPAT) ?>
" class="more"><?php echo __('read more', 'wplatte') ?></a>

					</div><!-- .entry-content -->

					<footer class="entry-footer">
						<div class="footer-table">
							<div class="footer-row">

								<div class="footer-cell">

<?php if ($post->type == 'post') { NCoreMacros::includeTemplate(WpLatteMacros::getTemplatePart("parts/entry-author", ""), array() + get_defined_vars(), $_l->templates['87bolig3a1'])->render() ;} ?>

<?php $dateIcon = $post->rawDate ;$dateLinks = 'no' ;$dateShort = 'no' ?>

<?php NCoreMacros::includeTemplate(WpLatteMacros::getTemplatePart("parts/entry-date-format", ""), array('dateIcon' => $dateIcon, 'dateLinks' => $dateLinks, 'dateShort' => $dateShort) + get_defined_vars(), $_l->templates['87bolig3a1'])->render() ?>

								</div>

								<div class="footer-cell">

<?php if ($concreteTaxonomy) { NCoreMacros::includeTemplate(WpLatteMacros::getTemplatePart("parts/entry-categories", ""), array('taxonomy' => $concreteTaxonomy) + get_defined_vars(), $_l->templates['87bolig3a1'])->render() ;} else { if ($post->isInAnyCategory) { NCoreMacros::includeTemplate(WpLatteMacros::getTemplatePart("parts/entry-categories", ""), array('taxonomy' => $concreteTaxonomy) + get_defined_vars(), $_l->templates['87bolig3a1'])->render() ;} } ?>

								</div>

							</div>
						</div>
					</footer><!-- /.entry-footer -->
				</article>
<?php } ?>

<?php } else { ?>

						<article <?php echo $post->htmlId ?> <?php echo $post->htmlClass('hentry') ?>>
				<header class="entry-header <?php if (!$post->hasImage) { ?>nothumbnail<?php } ?>">


					<div class="entry-thumbnail">
<?php if ($post->hasImage) { ?>
							<div class="entry-thumbnail-wrap entry-content">
							<a href="<?php echo NTemplateHelpers::escapeHtml($post->permalink, ENT_COMPAT) ?>" class="thumb-link">
								<span class="entry-thumbnail-icon">
									<img src="<?php echo aitResizeImage($post->imageUrl, array('width' => 1000, 'height' => 500, 'crop' => 1)) ?>" />
								</span>
							</a>
							</div>
<?php } ?>

						<div class="entry-meta">
<?php if ($post->isSticky and !$wp->isPaged and $wp->isHome) { ?>
								<span class="featured-post"><?php echo NTemplateHelpers::escapeHtml(__('Featured post', 'wplatte'), ENT_NOQUOTES) ?></span>
<?php } ?>

							<?php ob_start() ?><span class="edit-link"><?php echo __('Edit', 'wplatte') ?>
</span><?php $editLinkLabel = ob_get_clean() ?>

	      					<?php echo $post->editLink($editLinkLabel) ?>

						</div><!-- /.entry-meta -->
					</div>


					<div class="entry-title">


						<div class="entry-title-wrap">

							<h2><a href="<?php echo NTemplateHelpers::escapeHtml($post->permalink, ENT_COMPAT) ?>
"><?php echo $post->title ?></a></h2>



						</div><!-- /.entry-title-wrap -->
					</div><!-- /.entry-title -->


				</header><!-- /.entry-header -->

				<div class="entry-content loop">
<?php if ($post->hasContent) { ?>
						<?php echo $post->excerpt ?>

						<a href="<?php echo NTemplateHelpers::escapeHtml($post->permalink, ENT_COMPAT) ?>
" class="more"><?php echo __('read more', 'wplatte') ?></a>
<?php } else { ?>
						<?php echo $post->content ?>

						<a href="<?php echo NTemplateHelpers::escapeHtml($post->permalink, ENT_COMPAT) ?>
" class="more"><?php echo __('read more', 'wplatte') ?></a>
<?php } ?>



				</div><!-- .entry-content -->

				<footer class="entry-footer">
					<div class="footer-table">
						<div class="footer-row">

							<div class="footer-cell">

<?php if ($post->type == 'post') { NCoreMacros::includeTemplate(WpLatteMacros::getTemplatePart("parts/entry-author", ""), array() + get_defined_vars(), $_l->templates['87bolig3a1'])->render() ;} ?>

<?php $dateIcon = $post->rawDate ;$dateLinks = 'no' ;$dateShort = 'no' ?>

<?php NCoreMacros::includeTemplate(WpLatteMacros::getTemplatePart("parts/entry-date-format", ""), array('dateIcon' => $dateIcon, 'dateLinks' => $dateLinks, 'dateShort' => $dateShort) + get_defined_vars(), $_l->templates['87bolig3a1'])->render() ?>

							</div>

							<div class="footer-cell">

<?php if ($post->tagList) { ?>
								<span class="tags">
									<span class="tags-links"><?php echo $post->tagList ?></span>
								</span>
<?php } ?>

<?php NCoreMacros::includeTemplate(WpLatteMacros::getTemplatePart("parts/comments-link", ""), array() + get_defined_vars(), $_l->templates['87bolig3a1'])->render() ?>

							</div>

						</div>
					</div>
				</footer><!-- .entry-footer -->
			</article>
<?php } ?>

<?php } else { ?>

				<article <?php echo $post->htmlId ?> class="content-block hentry">

			<div class="entry-title hidden-tag">
				<h2><?php echo $post->title ?></h2>
			</div>

			<div class="entry-thumbnail">
<?php if ($post->hasImage) { ?>
						<div class="entry-thumbnail-wrap">
						 <a href="<?php echo NTemplateHelpers::escapeHtml($post->imageUrl, ENT_COMPAT) ?>" class="thumb-link">
						  <span class="entry-thumbnail-icon">
							<img src="<?php echo aitResizeImage($post->imageUrl, array('width' => 1000, 'height' => 500, 'crop' => 1)) ?>
" alt="<?php echo $post->title ?>" />
						  </span>
						 </a>
						</div>
<?php } ?>
				</div>

			<div class="entry-content">
				<?php echo $post->content ?>

				<?php echo $post->linkPages ?>

			</div><!-- .entry-content -->

			<footer class="entry-footer">
				<div class="footer-table">
					<div class="footer-row">

						<div class="footer-cell">

<?php if ($post->type == 'post') { NCoreMacros::includeTemplate(WpLatteMacros::getTemplatePart("parts/entry-author", ""), array() + get_defined_vars(), $_l->templates['87bolig3a1'])->render() ;} NCoreMacros::includeTemplate(WpLatteMacros::getTemplatePart("parts/entry-date", ""), array() + get_defined_vars(), $_l->templates['87bolig3a1'])->render() ?>

						</div>

						<div class="footer-cell">

<?php if ($post->tagList) { ?>
							<span class="tags">
								<span class="tags-links"><?php echo $post->tagList ?></span>
							</span>
<?php } ?>

<?php if ($post->categoryList) { NCoreMacros::includeTemplate(WpLatteMacros::getTemplatePart("parts/entry-categories", ""), array('taxonomy' => 'category') + get_defined_vars(), $_l->templates['87bolig3a1'])->render() ;} ?>

						</div>

					</div>
				</div>
			</footer><!-- .entry-footer -->

<?php NCoreMacros::includeTemplate(WpLatteMacros::getTemplatePart("parts/author-bio", ""), array() + get_defined_vars(), $_l->templates['87bolig3a1'])->render() ?>


		</article>

<?php } 