if ($_zenpage_enabled) { include 'inc_header.php'; ?> <div id="headline-news"> <?php if (is_NewsArticle()) { ?> <div class="control-nav-news"> <div class="nav-img clearfix"> <ul class="clearfix"> <?php if (getPrevNewsURL()) { ?> <li><a href="<?php $article_url = getPrevNewsURL(); echo $article_url['link']; ?> " title="<?php echo $article_url['title']; ?> ">« <?php echo gettext('newer'); ?> </a></li> <?php } else { ?> <li class="disabledlink"><span>« <?php echo gettext('newer'); ?>
echo gettext("Comments:"); ?> <?php echo getCommentCount(); } ?> </span> </div> <?php 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 }
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 previous 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 printPrevNewsLink($prev = "« ") { $article_url = getPrevNewsURL(); if ($article_url && array_key_exists('link', $article_url) && $article_url['link'] != "") { echo html_encode($prev) . " <a href=\"" . html_encode($article_url['link']) . "\" title=\"" . html_encode(getBare($article_url['title'])) . "\">" . $article_url['title'] . "</a>"; } }
<div class="clear_left"></div> <div id="move"> <?php if (is_NewsArticle()) { ?> <div id="prev" <?php if (getPrevNewsURL()) { echo 'class="active"'; } ?> > <?php if (getPrevNewsURL()) { ?> <a href="<?php echo getPrevNewsURL()['link']; ?> ">Prev</a><?php } else { ?> <span>Prev</span><?php } ?> </div> <div id="next" <?php if (getNextNewsURL()) { echo 'class="active"'; } ?> > <?php