议题提交:swords [E.S.T]
信息来源:邪恶八进制信息安全团队(
www.eviloctal.com)
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>消息管理</title>
<link href="chat.css" rel="stylesheet" type="text/css">
<style type="text/css">
.style1 {color: #FFFFFF}
</style>
</head>
<script language=javascript>
function gurl(qs,rps){
ws=window.location.search
wsl=ws.length-1
base="m_msg.php"
if (ws.length>4)
{
ws=ws.replace(rps,"")
url=base+ws+"&"+qs
}else
{
url=base+"?"+qs
}
url=url.replace("?&","?")
url=url.replace("&&","&")
window.location.href=url
}
function qnum(num)
{
str="m_msg.php?qnum="+num
window.location.href=str
}
function chgp(pn,curp){
str="pageNum_rs="+pn
rps="pageNum_rs="+curp
gurl(str,rps)
}
function qqnum(num)
{
str="m_msg.php?qqnum=yes"
window.location.href=str
}
</script>
<body>
<br>
<table width="780" border="0" cellpadding="0" cellspacing="0" align="center">
<form name="form1" method="post"> <tr>
<td bgcolor="#F1F1F1"><a href="<?php printf("%s?pageNum_rs=%d%s", $currentPage, 0, $queryString_rs); ?>"><font color="#FF6600">
</font>
第一页</a> <a href="<?php printf("%s?pageNum_rs=%d%s", $currentPage, max(0, $pageNum_rs - 1), $queryString_rs); ?>">前一页</a> <a href="<?php printf("%s?pageNum_rs=%d%s", $currentPage, min($totalPages_rs, $pageNum_rs + 1), $queryString_rs); ?>">下一页</a> <a href="<?php printf("%s?pageNum_rs=%d%s", $currentPage, $totalPages_rs, $queryString_rs); ?>">最后一页</a>
<select name="select" onChange="chgp(this.value<?php if (isset($_GET['pageNum_rs'])&&strlen($_GET['pageNum_rs'])>0) echo ",".$_GET['pageNum_rs']?>);">
<?php
for ($i=0;$i<$totalPages_rs+1;$i++)
{
if ($pageNum_rs==$i){
echo "<option value=\"".$i."\" selected>".($i+1)."</option>\n";}
else{
echo "<option value=\"".$i."\">".($i+1)."</option>\n";}
}
?>
</select>
.............