






































































































































{
echo "<a href='",$url,"=".$first."'>首页</a> ";
echo "<a href='",$url,"=".$prev."'>上一页</a> ";
}
if ($page < $pages)
{
echo "<a href='",$url,"=".$next."'>下一页</a> ";
echo "<a href='",$url,"=".$last."'>尾页</a> ";
}
echo
"
<selectname=changeonchange='window.location="$url="+this.value'>
"
;
for
(
$i
=
1
;
$i
<=
$pages
;
$i
++
){
if
(
$i
==
$page
)
echo
"
<optionvalue='$i'selected>$i/$pages</option>
"
;
else
echo
"
<optionvalue='$i'>$i/$pages</option>
"
;
}
echo
"
</select>
"
;
echo
"
</div>
"
;
?>









