printNewsContent(); printCodeblock(1); ?> </div> <div id="pagination"> <?php if (getPrevNewsURL()) { ?> <div class="prev"><?php printPrevNewsLink('←'); ?> </div><?php } ?> <?php if (getNextNewsURL()) { ?> <div class="next"><?php printNextNewsLink('→'); ?> </div><?php } ?> </div> <?php if (function_exists('printCommentForm')) { ?> <div class="section"><?php printCommentForm(); ?> </div><?php
</a></li> <?php } else { ?> <li class="disabledlink"><span>« <?php echo gettext('newer'); ?> </span></li> <?php } ?> <?php if (getNextNewsURL()) { ?> <li><a href="<?php $article_url = getNextNewsURL(); echo $article_url['link']; ?> " title="<?php echo $article_url['title']; ?> "><?php echo gettext('older'); ?> »</a></li> <?php } else { ?> <li class="disabledlink"><span><?php echo gettext('older'); ?>
printPrevNewsLink(); ?> </div><?php } ?> <?php if (getNextNewsURL()) { ?> <div class="singlenews_next"><?php printNextNewsLink(); ?> </div><?php } ?> <?php if (getPrevNewsURL() or getNextNewsURL()) { ?> <br style="clear:both" /><?php } ?> <div class="newsarticlewrapper" style="margin-top: 1em; padding-bottom:0.4em;"><div class="newsarticle"> <h3 style="color: #82996F;"><?php printNewsTitle(); ?> </h3> <div class="newsarticlecredit"><span class="newsarticlecredit-left"><?php printNewsDate(); ?> | <?php echo gettext("Comments:"); ?>
?> <?php if (getNextNewsURL()) { $nextnews = getNextNewsURL(); ?> <a class="imgnext" href="<?php echo html_encode($nextnews['link']); ?> " data-role="button" data-icon="arrow-r" data-iconpos="right" data-inline="true"><?php echo gettext("next"); ?> </a><?php } ?> <?php if (getPrevNewsURL() || getNextNewsURL()) { } ?> <?php } else { printNewsPageListWithNav(gettext('next »'), gettext('« prev'), true, 'pagelist', true, 7); ?> <ul data-role="listview" data-inset="true" data-theme="a" class="ui-listview ui-group-theme-a"> <?php while (next_news()) { ?> <li> <a href="<?php echo html_encode(jqm_getLink());
/** * Prints the link of the next article in single news article pagination if available * * NOTE: This is not available if using the CombiNews feature * * @param string $next If you want to show something with the title of the article like a symbol * @return string */ function printNextNewsLink($next = " »") { $article_url = getNextNewsURL(); if ($article_url && array_key_exists('link', $article_url) && $article_url['link'] != "") { echo "<a href=\"" . html_encode($article_url['link']) . "\" title=\"" . html_encode(getBare($article_url['title'])) . "\">" . $article_url['title'] . "</a> " . html_encode($next); } }
<div class="five columns offset-by-one sidebar"> <?php if (is_NewsArticle()) { ?> <?php if ($zpskel_social) { include "inc-social.php"; } ?> <?php printNewsExtraContent(); ?> <div class="news-nav"> <?php $next_article_url = getNextNewsURL('date', 'desc'); if ($next_article_url && array_key_exists('link', $next_article_url) && $next_article_url['link'] != "") { echo "<a class=\"button\" href=\"" . html_encode($next_article_url['link']) . "\" title=\"" . html_encode(strip_tags($next_article_url['title'])) . "\">" . $next_article_url['title'] . " »</a> "; } $prev_article_url = getPrevNews('date', 'desc'); if ($prev_article_url && array_key_exists('link', $prev_article_url) && $prev_article_url['link'] != "") { echo "<a class=\"button\" href=\"" . html_encode($prev_article_url['link']) . "\" title=\"" . html_encode(strip_tags($prev_article_url['title'])) . "\">« " . $prev_article_url['title'] . "</a> "; } ?> </div> <?php } ?> <h3><?php echo gettext('News Categories');
?> <span>Prev</span><?php } ?> </div> <div id="next" <?php if (getNextNewsURL()) { echo 'class="active"'; } ?> > <?php if (getNextNewsURL()) { ?> <a href="<?php echo getNextNewsURL()['link']; ?> ">Next</a><?php } else { ?> <span>Next</span><?php } ?> </div> <?php } else { ?> <div id="prev" <?php if (getPrevNewsPageURL()) { echo 'class="active"'; }