<?php //netteCache[01]000585a:2:{s:4:"time";s:21:"0.06030200 1552564139";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:99:"/home/bebiluck/public_html/buburbayi.id/wp-content/themes/cityguide/portal/parts/item-container.php";i:2;i:1527926426;}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/portal/parts/item-container.php

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

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

//
// main template
//
$categories = get_the_terms($post->id, 'ait-items') ?>

<?php $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 ?>

<?php $noFeatured = $options->theme->item->noFeatured ?>

<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 style="font-family: Arial;"
 id="topbar">

<a href="http://buburbayi.id/"><img src="http://buburbayi.id/home.png" /></a>
<a class="modal-link" href="http://buburbayi.id/tentang-kami/"><img src="http://buburbayi.id/about-us.png" /></a>
<a class="modal-link" href="http://buburbayi.id/hubungi-kami/"><img src="http://buburbayi.id/email-icon.png" /></a>
</div>
<div id="<?php echo NTemplateHelpers::escapeHtml($element->htmlId, ENT_COMPAT) ?>-main">
			<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 (count($categories) > 0) { ?>
					<div class="item-categories">
<?php $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) { ?>
								<?php echo $template->truncate($template->trim($template->striptags($post->excerpt)), 140) ?>

<?php } else { ?>
								<?php echo $template->truncate($template->trim($template->striptags($post->content)), 140) ?>

<?php } ?>
						</p>
					</div>
				</div>
				<div class="item-footer">
					<div class="item-address">
						<?php echo NTemplateHelpers::escapeHtml($meta->map['address'], ENT_NOQUOTES) ?>

					</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['gu47v6re7y'])->render() ;} ?>
</div>