不错的一个网站管理系统
源代码在线查看: feedback.php
require("../../class/connect.php");
include("../../class/config.php");
include("../../class/q_functions.php");
include("../../class/db_sql.php");
include("../../class/user.php");
include "../".LoadLang("pub/fun.php");
$link=db_connect();
$empire=new mysqlquery();
$editor=1;
$user=islogin();
$url="首页 > 控制面板 > 反馈管理";
$line=20;
$page_line=12;
$start=(int)$_GET['start'];
$page=(int)$_GET['page'];
$offset=$start+$page*$line;
$totalquery="select count(*) as total from {$dbtbpre}enewsmemberfeedback where userid='$user[userid]'";
$num=$empire->gettotal($totalquery);
$query="select fid,title,uid,uname,addtime from {$dbtbpre}enewsmemberfeedback where userid='$user[userid]'";
$query.=" order by fid desc limit $offset,$line";
$sql=$empire->query($query);
$returnpage=page1($num,$line,$page_line,$start,$page,$search);
include("../../data/template/cp_1.php");
?>
function CheckAll(form)
{
for (var i=0;i {
var e = form.elements[i];
if (e.name != 'chkall')
e.checked = form.chkall.checked;
}
}
空间设置
设置空间
选择模板
管理留言
管理反馈
标题(点击查看)
提交时间
删除
while($r=$empire->fetch($sql))
{
if($r['uid'])
{
$r['uname']="$r[uname]";
}
else
{
$r['uname']='游客';
}
?>
)
}
?>
include("../../data/template/cp_2.php");
db_close();
$empire=null;
?>