本文整理汇总了PHP中printPageListWithNav函数的典型用法代码示例。如果您正苦于以下问题:PHP printPageListWithNav函数的具体用法?PHP printPageListWithNav怎么用?PHP printPageListWithNav使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了printPageListWithNav函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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
}
}
}
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:17,代码来源:functions.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);
}
开发者ID:IliyanGochev,项目名称:zenphoto,代码行数:11,代码来源:template-functions.php
示例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);
}
开发者ID:ItsHaden,项目名称:epicLanBootstrap,代码行数:10,代码来源:template-functions.php
示例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";
开发者ID:ariep,项目名称:ZenPhoto20-DEV,代码行数:31,代码来源:search.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 -->
开发者ID:rb26,项目名称:zenphoto,代码行数:31,代码来源:gallery.php
示例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
}
?>
开发者ID:kokyandrei,项目名称:Unsupported,代码行数:31,代码来源:album.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>
开发者ID:JoniWeiss,项目名称:JoniWebGirl,代码行数:31,代码来源:search.php
示例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
}
?>
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:album.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>
开发者ID:bgenere,项目名称:negpos,代码行数:31,代码来源:search.php
示例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');
?>
开发者ID:ItsHaden,项目名称:epicLanBootstrap,代码行数:29,代码来源:album.php
示例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>
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:album.php
示例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'];
开发者ID:ItsHaden,项目名称:epicLanBootstrap,代码行数:31,代码来源:index.php
示例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';
}
?>
开发者ID:ariep,项目名称:ZenPhoto20-DEV,代码行数:31,代码来源:album.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>
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:30,代码来源:search.php
示例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>
开发者ID:hatone,项目名称:zenphoto-1.4.1.4,代码行数:31,代码来源:search.php
示例16: printBaseAlbumMenuJump
</div>
</div>
<?php
if ((hasNextPage() || hasPrevPage()) && (getOption('zpbase_galhomeop') == 'albums' && $showall == false)) {
$jumpclass = 'jump';
$pagin = true;
} else {
$jumpclass = 'jump center';
$pagin = false;
}
?>
<div id="page-nav">
<div class="<?php
echo $jumpclass;
?>
"><?php
printBaseAlbumMenuJump('count', gettext('Gallery Index'));
?>
</div>
<?php
if ($pagin) {
printPageListWithNav('« ' . gettext('prev set'), gettext('next set') . ' »', false, true, 'pagination');
}
?>
</div>
</div>
</div>
<?php
include 'sdscroll-jscall.php';
include 'footer.php';
开发者ID:BimbaLaszlo,项目名称:zpbase,代码行数:31,代码来源:index-sdscroll.php
示例17: printf
printf(gettext('Sorry, no matches for <em>%s</em>. Try refining your search.'), $searchwords);
}
?>
</p>
</div>
</div> <!-- main3 -->
<?php
}
?>
<!-- Page Numbers -->
<div id="pagenumbers">
<?php
if ($numalbums != 0 || $_noFlash) {
printPageListWithNav("« prev", "next »", !$_noFlash);
}
?>
</div> <!-- pagenumbers -->
</div> <!-- subcontent -->
<!-- Footer -->
<div class="footlinks">
<?php
if (getOption('Use_Simpleviewer') && !MOD_REWRITE) {
/* display missing css file error */
echo '<div class="errorbox" id="message">';
echo "<h2>" . gettext('Simpleviewer requires <em>mod_rewrite</em> to be set. Simpleviewer is disabled.') . "</h2>";
echo '</div>';
}
开发者ID:hatone,项目名称:zenphoto-1.4.1.4,代码行数:31,代码来源:search.php
示例18: printImageThumb
printImageThumb(getImageTitle());
?>
</a>
</div>
</div>
</div>
<?php
}
?>
<p style="margin:0px;padding:0px;clear: both; "> </p>
</div>
<?php
printPageListWithNav("« prev", "next »");
?>
</div>
<div id="credit"><?php
if (!zp_loggedin()) {
printUserLogin_out($before = '', $after = '|', $showLoginForm = NULL, $logouttext = NULL, $show_user = NULL);
} else {
printLink(WEBPATH . '/' . ZENFOLDER . '/admin.php', 'Admin');
}
printZenphotoLink();
?>
</div>
<?php
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:album.php
示例19: printPageListWithNav
?>
<div class="pagination-nogal clearfix">
<?php
printPageListWithNav(' « ', ' » ', false, true, 'clearfix', NULL, true, 7);
?>
</div>
</noscript>
<!-- End of noscript display -->
<?php
} else {
include 'inc_print_image_thumb.php';
}
}
if (!(getNumImages() > 0 && getOption('use_galleriffic'))) {
?>
<div class="pagination-nogal">
<?php
printPageListWithNav(' « ', ' » ', false, true, 'clearfix', NULL, true, 7);
?>
</div>
<?php
}
?>
<?php
include 'inc_footer.php';
} else {
include SERVERPATH . '/' . ZENFOLDER . '/404.php';
}
开发者ID:ariep,项目名称:ZenPhoto20-DEV,代码行数:31,代码来源:favorites.php
示例20: printAlbumDate
</a>
<?php
printAlbumDate("");
echo truncate_string(getAlbumDesc(), 45);
}
}
if (getNumImages() > 0) {
while (next_image()) {
?>
<a href="<?php
echo html_encode(getImageLinkURL());
?>
" title="<?php
echo getBareImageTitle();
?>
"><?php
printImageThumb(getBareImageTitle());
?>
</a>
<?php
}
}
if ($total == 0) {
echo "<p>" . gettext("Sorry, no matches found. Try refining your search.") . "</p>";
}
printPageListWithNav("« " . gettext("prev"), gettext("next") . " »");
printAdminToolbox();
zp_apply_filter('theme_body_close');
?>
</body>
</html>
开发者ID:arinyc,项目名称:DevTools,代码行数:31,代码来源:search.php
注:本文中的printPageListWithNav函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论