<?php //netteCache[01]000574a:2:{s:4:"time";s:21:"0.36218900 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:88:"/home/bebiluck/public_html/buburbayi.id/wp-content/themes/cityguide/parts/pagination.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/pagination.php

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

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

//
// main template
//
?>
	<?php ob_start() ;echo _x('&nbsp;', 'previous', 'wplatte') ;$navPrevText = ob_get_clean() ?>

	<?php ob_start() ;echo _x('&nbsp;', 'next', 'wplatte') ;$navNextText = ob_get_clean() ?>


	<?php if (!isset($location)) { ?> <?php $location = '' ?> <?php } ?>

	<?php if (!isset($arrow)) { ?> <?php $arrow = '' ?> <?php } ?>


<?php $arrowLeft = '' ;$arrowRight = '' ?>

<?php $query = isset($query) ? $query : array() ?>

<?php if ($wp->isAttachment) { $arrowLeft = 'yes' ;$arrowRight = 'yes' ?>
	<?php ob_start() ?><span class="nav-previous"><?php previous_image_link(false, $navPrevText) ?>
</span><?php $navPrevLink = ob_get_clean() ?>

	<?php ob_start() ?><span class="nav-next"><?php next_image_link(false, $navNextText) ?>
</span><?php $navNextLink = ob_get_clean() ?>

<?php } elseif ($wp->isSingle and !isset($ignoreSingle)) { if ($wp->hasPreviousPost or $wp->hasNextPost) { if ($wp->hasPreviousPost) { $arrowLeft = 'yes' ?>
			<?php ob_start() ?><span class="nav-previous"><?php previous_post_link("%link", $navPrevText) ?>
</span><?php $navPrevLink = ob_get_clean() ?>

<?php } if ($wp->hasNextPost) { $arrowRight = 'yes' ?>
			<?php ob_start() ?><span class="nav-next"><?php next_post_link("%link", $navNextText) ?>
</span><?php $navNextLink = ob_get_clean() ?>

<?php } } } else { if ($wp->willPaginate($query)) { if ($wp->hasPreviousPosts) { $arrowLeft = 'yes' ?>
			<?php ob_start() ?><span class="nav-previous"><?php previous_posts_link($navPrevText) ?>
</span><?php $navPrevLink = ob_get_clean() ?>

<?php } if ($wp->hasNextPosts) { $arrowRight = 'yes' ;if (isset($max)) { ?>
				<?php ob_start() ?><span class="nav-next"><?php next_posts_link($navNextText, intval($max)) ?>
</span><?php $navNextLink = ob_get_clean() ?>

<?php } else { ?>
				<?php ob_start() ?><span class="nav-next"><?php next_posts_link($navNextText) ?>
</span><?php $navNextLink = ob_get_clean() ?>

<?php } } } } ?>

<?php if ($arrow != '') { if ($arrow == 'left') { ?>
		<?php if ($arrowLeft == 'yes') { echo $navPrevLink ;} ?>

<?php } else { ?>
		<?php if ($arrowRight == 'yes') { echo $navNextLink ;} ?>

<?php } } elseif ($arrowLeft == 'yes' or $arrowRight == 'yes' or $wp->willPaginate($query)) { ?>
	<nav class="nav-single <?php echo NTemplateHelpers::escapeHtml($location, ENT_COMPAT) ?>" role="navigation">
		<?php if ($arrowLeft == 'yes') { echo $navPrevLink ;} ?>


<?php if (isset($max)) { ?>
			<?php if ($wp->willPaginate($query)) { echo WpLatteMacros::pagination(array('max' => intval($max), 'show_all' => false)); } ?>

<?php } else { ?>
			<?php if ($wp->willPaginate($query)) { if (!$wp->isSingular) { echo WpLatteMacros::pagination(array('show_all' => false)); } } ?>

<?php } ?>

		<?php if ($arrowRight == 'yes') { echo $navNextLink ;} ?>

	</nav>
<?php } 