本文整理汇总了PHP中SplitPage函数的典型用法代码示例。如果您正苦于以下问题:PHP SplitPage函数的具体用法?PHP SplitPage怎么用?PHP SplitPage使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了SplitPage函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: SplitPage
</TABLE></TD>
<?php
$count++;
if ($count % _KNOW_COL == 0) {
echo "</TR><TR><TD colspan=2 height=\"1\" class=\"dotline\"></TD></TR>";
$count = 0;
}
}
$db->closedb();
//¨º¡ÒÃáÊ´§¢èÒÇÊÒÃ
?>
</TABLE>
<BR>
<table border="0" cellpadding="0" cellspacing="1" width="750" align=center>
<tr>
<td><?php
SplitPage($page, $totalpage, "?name=knowledge&category=" . $category . "");
echo $ShowSumPages;
echo "<BR>";
echo $ShowPages;
?>
</td>
</tr>
</table> <?php
}
?>
</TD>
</TR>
</TBODY>
</TABLE>
示例2: NewsIcon
)<?php
echo NewsIcon(TIMESTAMP, $arr['gallery']['post_date'], "images/icon_new.gif");
?>
</td>
</tr>
</table>
</td>
<?php
$count++;
if ($count % _GALLERY_ADMIN_COL == 0) {
echo "</TR><TR><TD colspan=5 height=\"1\" class=\"dotline\"></TD></TR>";
$count = 0;
}
}
echo "</table>";
SplitPage($page, $totalpage, "?name=admin&file=gallery&op=gallery_detail&id=" . $_GET['id'] . "");
echo $ShowSumPages;
echo "<BR>";
echo $ShowPages;
} else {
//¡Ã³ÕäÁè¼èÒ¹
$ProcessOutput = $PermissionFalse;
}
}
}
}
}
}
?>
<BR><BR>
</TD>
示例3: delConfirm
</tr>
<?php
$count++;
}
?>
</table>
<div align="right">
<input type="button" name="CheckAll" value="Check All" onclick="checkAll(document.myform)" >
<input type="button" name="UnCheckAll" value="Uncheck All" onclick="uncheckAll(document.myform)" >
<input type="hidden" name="ACTION" value="article_del" >
<input type="submit" value="Delete" onclick="return delConfirm(document.myform)">
</div>
</form><BR><BR>
<?php
SplitPage($page, $totalpage, "?name=admin&file=knowledge");
echo $ShowSumPages;
echo "<BR>";
echo $ShowPages;
} else {
if ($op == "article_add" and $action == "add") {
//////////////////////////////////////////// ¡Ã³Õà¾ÔèÁ Database
if (CheckLevel($admin_user, $op)) {
$FILE = $_FILES['FILE'];
$FILESS = $_FILES['FILESS'];
if (!$_POST['CATEGORY'] or !$_POST['TOPIC'] or !$_POST['HEADLINE'] or !$_POST['DETAIL']) {
echo "<script language='javascript'>";
echo "alert('" . _JAVA_DATA_NULL . "')";
echo "</script>";
echo "<script language='javascript'>javascript:history.back()</script>";
exit;
示例4: confirm
}
?>
<tr>
<td valign=bottom height=20 colspan="7" align=right>
<input type="hidden" name="pagenum" value="<?php
echo $pagenum;
?>
">
<input name="s_list_order" type="submit" class="inputbox" value="修改顺序">
<input type="button" class="inputbox" onclick='selectalldel()' value="全选删除">
<input name="s_list_del" type="submit" class="inputbox" onClick="return confirm('你真的要删除所选信息?!');" value="删除">
<input type="reset" class="inputbox" value="全不选">
</td>
</TR>
</form>
<tr height="22" valign="bottom">
<td colspan="7" width="100%" align="right">
<form method="get" action="" style="MARGIN-BOTTOM:0px" name="article_list_frm">
<input type="hidden" name="cateid" value="<?php
echo $cateid;
?>
">
<?php
echo SplitPage($recordcount, $pagenum);
?>
</form> </td>
</tr>
</table>
</body>
</html>
示例5: page
/**
* 分页
*
*
*/
private function page()
{
$tmpStr = '<tr><td colspan=999>' . SplitPage($this->recordcount, $this->page, $this->pagesize) . '</td></tr>';
$this->js .= '
<script language="javascript">
function goto(pagenum){
$("#pagenum").val(pagenum);
$("#' . $this->name . '").submit();
}
</script>
';
return $tmpStr;
}
示例6: SplitPage
$count++;
if ($count % _BLOG_COL == 0) {
echo "</TR><TR><TD colspan=2 height=\"1\" class=\"dotline\"></TD></TR>";
$count = 0;
}
}
$db->closedb();
//¨º¡ÒÃáÊ´§¢èÒÇÊÒÃ
?>
</TABLE>
<BR>
<table border="0" cellpadding="0" cellspacing="1" width=740 align=center>
<tr>
<td>
<?php
SplitPage($page, $totalpage, "?name=blogdetail");
echo $ShowSumPages;
echo "<BR>";
echo $ShowPages;
?>
</td>
</tr>
</table>
<BR><BR>
<!-- End blog -->
</TD>
</TR>
</TBODY>
</TABLE>
<?php
示例7: SplitPage
</tr>
<?php
$count++;
if ($count % _KNOW_COL == 0) {
echo "</TR><TR><TD colspan=2 height=\"1\" class=\"dotline\"></TD></TR>";
$count = 0;
}
}
$db->closedb();
//¨º¡ÒÃáÊ´§¢èÒÇÊÒÃ
?>
</TABLE>
<BR>
<table border="0" cellpadding="0" cellspacing="1" width="750" align=center>
<tr>
<td><?php
SplitPage($page, $totalpage, "?name=research&category=" . $category . "");
echo $ShowSumPages;
echo "<BR>";
echo $ShowPages;
?>
</td>
</tr>
</table>
<BR>
<BR>
<!-- End research -->
</TD>
</TR>
</TBODY>
</TABLE>
示例8: delConfirm
</tr>
<?php
$count++;
}
?>
</table>
<div align="right">
<input type="button" name="CheckAll" value="Check All" onclick="checkAll(document.myform)" >
<input type="button" name="UnCheckAll" value="Uncheck All" onclick="uncheckAll(document.myform)" >
<input type="hidden" name="ACTION" value="gbook_del">
<input type="submit" value="Delete" onclick="return delConfirm(document.myform)">
</div>
</form><BR><BR>
<?php
SplitPage($page, $totalpage, "?name=admin&file=gbook");
echo $ShowSumPages;
echo "<BR>";
echo $ShowPages;
}
if ($op == "gbook_edit" and $action == "edit") {
//////////////////////////////////////////// ¡Ã³Õá¡éä¢ Database Edit
if (CheckLevel($admin_user, $op)) {
//´Ö§¤èÒ
$db->connectdb(DB_NAME, DB_USERNAME, DB_PASSWORD);
$res['news'] = $db->select_query("SELECT * FROM " . TB_gbook . " WHERE No='" . $_GET['no'] . "' ");
$arr['news'] = $db->fetch($res['news']);
$db->closedb();
//·Ó¡ÒÃá¡é䢢éÍÁÙÅŧ´ÒµéÒàºÊ
$db->connectdb(DB_NAME, DB_USERNAME, DB_PASSWORD);
$db->update_db(TB_gbook, array("message" => "" . $_POST['Messages'] . "", "Name" => "" . $_POST['Name'] . "", "Email" => "" . $_POST['Email'] . "", "Date" => "" . $_POST['Date'] . "", "IP" => "" . $_POST['IP'] . "", "URL" => "" . $_POST['Url'] . ""), " No=" . $_GET['no'] . "");
示例9: SplitPage
</td>
</tr>
</table>
</td>
<?php
$count++;
if ($count % _VIDEO_COL == 0) {
echo "</TR><TR><TD colspan=5 height=\"1\" class=\"dotline\"></TD></TR>";
$count = 0;
}
}
echo "</table>";
?>
<?php
SplitPage($page, $totalpage, "?name=video&op=video_detail&id=" . $_GET['id'] . "");
echo "{$ShowSumPages} [¨Ó¹Ç¹ {$SUMPAGE} video]";
echo "<BR>";
echo $ShowPages;
}
}
?>
<BR><BR>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
示例10: SplitPage
<tr>
<td >
<img src="images/com/b_07.jpg" width="23" height="11" alt=""></td>
<td background="images/com/b_08.jpg" height="11" width="100%" alt=""></td>
<td>
<img src="images/com/b_09.jpg" width="10" height="11" alt=""></td>
</tr>
</table><br>
</td>
</tr>
</table>
<?php
}
echo "<center>";
SplitPage($page, $totalpage, "?name=research&file=readresearch&id=" . $_GET['id'] . "");
echo $ShowSumPages;
echo "<BR>";
echo $ShowPages;
echo "<BR>";
echo "<BR>";
$db->closedb();
?>
<!-- Enable Comment -->
<TABLE cellSpacing=0 cellPadding=0 width=550 border=0 align="center">
<TBODY>
<TR>
<TD width="10" vAlign=top><IMG src="images/fader.gif" border=0></TD>
<TD width="490" vAlign=top align=left><IMG src="images/topfader.gif" border=0><BR>
<IMG SRC="images/menu/textmenu_comment.gif" BORDER="0"><BR>
示例11: delConfirm
</tr>
<?php
$count++;
}
?>
</table>
<div align="right">
<input type="button" name="CheckAll" value="Check All" onclick="checkAll(document.myform)" >
<input type="button" name="UnCheckAll" value="Uncheck All" onclick="uncheckAll(document.myform)" >
<input type="hidden" name="ACTION" value="ipblock_del">
<input type="submit" value="Delete" onclick="return delConfirm(document.myform)">
</div>
</form><BR><BR>
<?php
SplitPage($page, $totalpage, "?name=admin&file=ipblock");
echo $ShowSumPages;
echo "<BR>";
echo $ShowPages;
} else {
if ($op == "ipblock_add" and $action == "add") {
//////////////////////////////////////////// ¡Ã³Õà¾ÔèÁ Database
if (CheckLevel($admin_user, $op)) {
// require("includes/class.resizepic.php");
if (!$_POST['IP']) {
echo "<script language='javascript'>";
echo "alert('" . _JAVA_DATA_NULL . "')";
echo "</script>";
echo "<script language='javascript'>javascript:history.back()</script>";
exit;
}
示例12: SplitPage
<tr>
<td >
<img src="images/com/b_07.jpg" width="23" height="11" alt=""></td>
<td background="images/com/b_08.jpg" height="11" width="100%" alt=""></td>
<td>
<img src="images/com/b_09.jpg" width="10" height="11" alt=""></td>
</tr>
</table><br>
</td>
</tr>
</table>
<?php
$count++;
}
echo "<center>";
SplitPage($page, $totalpage, "?name=blog&file=readblog&id=" . $_GET['id'] . "");
echo $ShowSumPages;
echo "<BR>";
echo $ShowPages;
echo "<BR>";
echo "<BR>";
$db->closedb();
?>
<!-- Enable Comment -->
<TABLE cellSpacing=0 cellPadding=0 width=550 border=0 align="center">
<TBODY>
<TR>
<TD width="10" vAlign=top><IMG src="images/fader.gif" border=0></TD>
<TD width="490" vAlign=top align=left><IMG src="images/topfader.gif" border=0><BR>
<IMG SRC="images/menu/textmenu_comment.gif" BORDER="0" ><BR>
<FORM NAME="form2" METHOD=POST ACTION="?name=blog&file=comment&id=<?php
示例13: delConfirm
</tr>
<?php
$count++;
}
?>
</table>
<div align="right">
<input type="button" name="CheckAll" value="Check All" onclick="checkAll(document.myform)" >
<input type="button" name="UnCheckAll" value="Uncheck All" onclick="uncheckAll(document.myform)" >
<input type="hidden" name="ACTION" value="download_del">
<input type="submit" value="Delete" onclick="return delConfirm(document.myform)">
</div>
</form><BR><BR>
<?php
SplitPage($page, $totalpage, "?name=admin&file=download");
echo $ShowSumPages;
echo "<BR>";
echo $ShowPages;
} else {
if ($op == "download_add" and $action == "add") {
//////////////////////////////////////////// ¡Ã³Õà¾ÔèÁ Database
if (CheckLevel($admin_user, $op)) {
require "includes/class.resizepic.php";
$FILE = $_FILES['FILE'];
$FILES = $_FILES['filesw'];
if (!$_POST['CATEGORY'] or !$_POST['TOPIC'] or !$_POST['HEADLINE'] or !$_POST['DETAIL'] or !$FILE['type']) {
echo "<script language='javascript'>";
echo "alert('" . _JAVA_DATA_NULL . "')";
echo "</script>";
echo "<script language='javascript'>javascript:history.back()</script>";
示例14: SplitPage
</tr>
<TR>
<TD colspan="4" height="1" class="dotline"></TD>
</TR>
<?php
}
?>
</table>
<div align="right">
<input type="button" name="CheckAll" value="Check All" onclick="checkAll(document.myform)" >
<input type="button" name="UnCheckAll" value="Uncheck All" onclick="uncheckAll(document.myform)" >
<input type="submit" value="Delete" >
</div>
</form><BR><BR>
<?php
SplitPage($page, $totalpage, "?name=admin&file=groups");
echo $ShowSumPages;
echo "<BR>";
echo $ShowPages;
echo "<BR><BR>";
$query = $db->select_query("SELECT * FROM " . TB_ADMIN_GROUP . " ORDER BY id ");
while ($group = $db->fetch($query)) {
echo "<LI><B>" . $group['name'] . " : </B>" . $group['description'] . "</LI>";
}
$db->closedb();
} else {
if ($_GET['op'] == "group_add" and isset($_GET['action']) && $_GET['action'] == "add") {
//////////////////////////////////////////// กรณีเพิ่ม Group Admin Database
if (CheckLevel($_SESSION['admin_user'], $_GET['op'])) {
$db->connectdb(DB_NAME, DB_USERNAME, DB_PASSWORD);
$query = mysql_query("SELECT * FROM " . TB_ADMIN_GROUP . " WHERE name='" . $_POST['GROUP_NAME'] . "'") or die(mysql_error());
示例15: SplitPage
echo $arr['user']['p_tel'];
?>
</td>
</tr>
<TR>
<TD colspan="8" height="1" class="dotline"></TD>
</TR>
<?php
$rank++;
}
?>
</table>
<?php
SplitPage($page, $totalpage, "?name=personnel&file=detail&&pid=" . $_GET['pid'] . "&gr=" . $_GET['gr'] . "&op=gdetail");
echo $ShowSumPages;
echo "<BR>";
echo $ShowPages;
echo "<BR><BR>";
echo "<br><form action='?name=personnel&file=detail' method='post'>";
echo "<center><input type='submit' name='index' value=' " . _FORM_BUTTON_LINK_INDEX . "' ></form></center>";
} else {
//¡Ã³ÕäÁè¼èÒ¹
echo $PermissionFalse;
}
}
}
?>
<BR><BR>
</TD>