コード例 #1
0
ファイル: newslist.php プロジェクト: howareyoucolin/demo
$pages->setPageCss("page_mid");
$pages->setCurrentPageCss("page_now");
$pages->setPrePageCss("page_pre");
$pages->setNextPageCss("page_next");
$pages->setPrePageFadeCss("page_pre_fade");
$pages->setNextPageFadeCss("page_next_fade");
$pages->setPrePageStyle($style);
$pages->setNextPageStyle($style);
$pages->setPageStyle("");
$pages->setCurrentPageStyle("color:#fff;");
$pages->setLinkSymbol('?act=news_list&page=');
$pages->isShowFirstAndLast(true);
$pages->isShowForSimplePage(false);
$pages->setElPageCss("elpage");
$pageCount = $pages->getTotalPageNum();
$PageList = $pages->generatePages();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>分类Operate</title>
<link href="../css/manager.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="../js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="../js/common.js"></script>
<script src="../../addon/artDialog/artDialog.js?skin=default"></script>
<script src="../../addon/artDialog/plugins/iframeTools.source.js"></script>
<script type="text/javascript">
$(document).ready(function(){
	
コード例 #2
0
ファイル: index.php プロジェクト: howareyoucolin/demo
$pages->setPageCss("page_mid");
$pages->setCurrentPageCss("page_now");
$pages->setPrePageCss("page_pre");
$pages->setNextPageCss("page_next");
$pages->setPrePageFadeCss("page_pre_fade");
$pages->setNextPageFadeCss("page_next_fade");
$pages->setPrePageStyle($style);
$pages->setNextPageStyle($style);
$pages->setPageStyle("");
$pages->setCurrentPageStyle("color:#fff;");
$pages->setLinkSymbol('?classpage=');
$pages->isShowFirstAndLast(true);
$pages->isShowForSimplePage(false);
$pages->setElPageCss("elpage");
$pageCount = $pages->getTotalPageNum();
$classPageList = $pages->generatePages();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>新闻Operate</title>
<link href="../css/manager.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="../js/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="../js/common.js"></script>
<script type="text/javascript" src="../../ckeditor/ckeditor.js"></script>
<script src="../../addon/artDialog/artDialog.js?skin=default"></script>
<script src="../../addon/artDialog/plugins/iframeTools.source.js"></script>
</head>
<script type="text/javascript">
コード例 #3
0
ファイル: events.php プロジェクト: howareyoucolin/demo
//设置上一页页码的样式,即style属性
$pages->setNextPageStyle($style);
//设置下一页页码的样式,即style属性
$pages->setPageStyle("");
//设置各分页码的样式,即style属性
$pages->setCurrentPageStyle("");
//设置当前页码的样式,即style属性
$pages->setLinkSymbol('&id=' . $id);
//设置地址链接中页码与变量的连接符,如page=2中的"="
$pages->isShowFirstAndLast(true);
//设置是否显示第一页与最后一页的链接
$pages->isShowForSimplePage(false);
//设置当只有一页时是否显示分页
$pages->setElPageCss("elpage");
$pageCount = $pages->getTotalPageNum();
echo $pages->generatePages();
?>
</div>
<div class="clear"></div>
</div>     
                </div>
                        <!-- End_Module_485 -->
            </div>
                </div>
          </div>
            <div class="clr">
            </div>
        </div>
    </div>
	<?php 
include 'foot.php';