本文整理汇总了PHP中printPageListWithNav函数的典型用法代码示例。如果您正苦于以下问题:PHP printPageListWithNav函数的具体用法?PHP printPageListWithNav怎么用?PHP printPageListWithNav使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了printPageListWithNav函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: show_pagenav
function show_pagenav()
{
if (getTotalPages() != 1) {
?>
<div id="pagenav">
<?php
printPageListWithNav("« prev", "next »");
?>
</div> <?php
} else {
if (getTotalPages() == 1) {
?>
<div id="pagenav"></div>
<?php
}
}
}
示例2: printPageList
/**
* Prints a list of all pages.
*
* @param string $class the css class to use, "pagelist" by default
* @param string $id the css id to use
* @param int $navlen Number of navigation links to show (0 for all pages). Works best if the number is odd.
*/
function printPageList($class = 'pagelist', $id = NULL, $navlen = 9)
{
printPageListWithNav(null, null, false, false, $class, $id, false, $navlen);
}
示例3: printPageList
/**
* Prints a list of all pages.
*
* @param string $class the css class to use, "pagelist" by default
* @param string $id the css id to use
*/
function printPageList($class = 'pagelist', $id = NULL)
{
printPageListWithNav(null, null, false, false, $class, $id);
}
示例4: printPageListWithNav
<?php
$c++;
$mobilebreak = $c % 2;
if ($c == $breakcount) {
echo '<br class="clear clearforboth" />';
$c = 0;
} else {
if ($mobilebreak == 0) {
echo '<br class="clear clearformobile" />';
}
}
}
}
?>
<div class="sixteen columns">
<?php
if (hasNextPage() || hasPrevPage()) {
printPageListWithNav('«', '»', false, true, 'pagination', null, true, 5);
}
if ($numimages > 0) {
printPPSlideShowLink(gettext('Slideshow'));
}
?>
</div>
</div>
</div>
<?php
include "inc-bottom.php";
include "inc-footer.php";
示例5: printAlbumTitle
<?php
printAlbumTitle();
?>
</a>
</h3>
<br />
<small><?php
printAlbumDate();
?>
</small>
</div>
<p style="clear: both;"></p>
</div>
<?php
}
printPageListWithNav(gettext("« prev"), gettext("next »"));
?>
</div><!-- album -->
<?php
?>
<p style="clear: both;"></p>
<?php
printCodeblock(2);
?>
<?php
footer();
?>
</div><!-- main -->
<span class="clear"></span>
</div><!-- left corner -->
</div><!-- right corner -->
示例6: printPageListWithNav
<?php
}
?>
</li>
<?php
}
?>
</ul>
</div>
<?php
}
?>
<?php
if (getPrevPageURL() || getNextPageURL()) {
printPageListWithNav('« ' . gettext('Prev'), gettext('Next') . ' »', false, 'true', 'page-nav', '', true, '5');
}
?>
<?php
if (function_exists('printGoogleMap')) {
?>
<div class="gmap">
<?php
setOption('gmap_width', 600, false);
printGoogleMap();
?>
</div>
<?php
}
?>
示例7: printf
} else {
printf(gettext('Sorry, no matches for <em>%s</em>. Try refining your search.'), html_encode($searchwords));
}
?>
</p>
</div>
</div> <!-- main3 -->
<?php
}
?>
<!-- Page Numbers -->
<div id="pagenumbers">
<?php
if (getNumAlbums() != 0 || !$_oneImagePage) {
printPageListWithNav("« " . gettext('prev'), gettext('next') . " »", $_oneImagePage);
}
?>
</div> <!-- pagenumbers -->
</div> <!-- subcontent -->
<!-- Footer -->
<br style="clear:all" />
<?php
printFooter();
zp_apply_filter('theme_body_close');
?>
</body>
</html>
示例8: printPageListWithNav
/images/details.png" /></a>
</div>
<?php
}
?>
</div>
<?php
}
?>
</div>
<?php
if (hasPrevPage() || hasNextPage()) {
?>
<div id="pagination">
<?php
printPageListWithNav("← " . gettext("prev"), gettext("next") . " →");
?>
</div>
<?php
}
?>
<?php
if (function_exists('printGoogleMap')) {
?>
<div class="section"><?php
setOption('gmap_width', 550, false);
printGoogleMap();
?>
</div><?php
}
?>
示例9: gettext
?>
</a></div>
</div>
<?php
}
?>
</div>
<br class="clearall" />
<?php
}
?>
<?php
@call_user_func('printSlideShowLink');
if ($total == 0) {
echo "<p>" . gettext("Sorry, no matches found. Try refining your search.") . "</p>";
}
printPageListWithNav("« " . gettext("prev"), gettext("next") . " »", FALSE, TRUE, "pager", TRUE, 9);
?>
</div><!-- content -->
<?php
include "footer.php";
?>
</div><!-- main -->
<!-- theme body close filter -->
<?php
zp_apply_filter('theme_body_close');
?>
</body>
</html>
示例10: gettext
<p align="center"><?php
echo gettext('Album is empty');
?>
</p>
</div>
</div> <!-- main3 -->
<?php
}
}
?>
<!-- Page Numbers -->
<div id="pagenumbers">
<?php
if (getNumSubalbums() != 0 || !$oneImagePage) {
printPageListWithNav("« " . gettext('prev'), gettext('next') . " »", $oneImagePage);
}
?>
</div> <!-- pagenumbers -->
</div> <!-- subcontent -->
<!-- Footer -->
<br style="clear:all" />
<?php
printFooter('album');
?>
示例11: printAlbumDesc
?>
</a></h3>
<p><?php
printAlbumDesc();
?>
</p>
</div>
<p style="clear: both; "></p>
</div>
<?php
}
?>
</div>
<?php
printPageListWithNav("« " . gettext('prev'), gettext('next') . " »", false, true, 'pagelist', NULL, true, 9);
?>
</div>
<div id="credit"><?php
printZenphotoLink();
?>
| <a href="http://www.tanarat.com/blogs" title="Theme: Moon Lover">Moon Lover</a></div>
<?php
zp_apply_filter('theme_body_close');
?>
</body>
</html>
示例12: getAnnotatedAlbumTitle
?>
" title="<?php
echo getAnnotatedAlbumTitle();
?>
">
<?php
printAlbumTitle();
?>
</a>
</h3>
<p class="date">
<?php
printAlbumDate();
?>
</p>
<p>
<?php
printAlbumDesc();
?>
</p>
</div>
<?php
}
?>
<br class="clear" />
<?php
printPageListWithNav(gettext("Previous"), gettext("Next"));
?>
<?php
echo $layout['footer'];
示例13: printPageListWithNav
$c++;
$mobilebreak = $c % 2;
if ($c == $breakcount) {
echo '<br class="clear clearforboth" />';
$c = 0;
} else {
if ($mobilebreak == 0) {
echo '<br class="clear clearformobile" />';
}
}
}
?>
<div class="sixteen columns">
<?php
if (hasNextPage() || hasPrevPage()) {
printPageListWithNav("«", "»", false, true, 'pagination', null, true, 5);
}
?>
<?php
if (function_exists('printAddToFavorites')) {
printAddToFavorites($_zp_current_album);
}
?>
<?php
printPPSlideShowLink(gettext('Slideshow'));
?>
<?php
if ($zpskel_social) {
include 'inc-social.php';
}
?>
示例14: printCustomSizedImage
<?php
printCustomSizedImage(getAnnotatedImageTitle(), NULL, 376, 140, 376, 140, NULL, NULL, NULL, NULL, true, NULL);
?>
</a>
<span><?php
echo getAnnotatedImageTitle();
?>
</span>
</li>
<?php
}
?>
</ul>
</div>
<div class="clear"></div>
<?php
printPageListWithNav("« " . gettext("prev"), gettext("next") . " »", false, true, 'pagelist', null, true, 5);
?>
</div>
<div id="footer" class="grid_15">
<?php
printFooter();
?>
</div>
</div>
<?php
zp_apply_filter('theme_body_close');
?>
</body>
</html>
示例15: printSlideShowLink
?>
</a>
</div>
</div>
<?php
}
if (function_exists('printSlideShowLink')) {
?>
<p style="clear: both;"></p>
<?php
printSlideShowLink(gettext('View Slideshow'), 'text-align:center;');
}
?>
</div>
<?php
printPageListWithNav(gettext("« prev"), gettext("next »"));
footer();
?>
<p style="clear: both;"></p>
</div>
<!-- end content -->
<span class="clear"></span>
</div>
</div>
</div>
<div class="sidebar">
<div id="rightsidebar">
</div>
</div>
<span class="clear"></span>
</div>