熊猫办公系统
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

72 lines
2.3 KiB

<?php
if(!defined('InEmpireCMS'))
{
exit();
}
?>
<?php
$public_diyr['pagetitle']='管理反馈';
$url="<a href='../../../'>首页</a>&nbsp;>&nbsp;<a href='../cp/'>会员中心</a>&nbsp;>&nbsp;管理反馈";
require(ECMS_PATH.'e/template/incfile/header.php');
?>
<script>
function CheckAll(form)
{
for (var i=0;i<form.elements.length;i++)
{
var e = form.elements[i];
if (e.name != 'chkall')
e.checked = form.chkall.checked;
}
}
</script>
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
<form name="feedbackform" method="post" action="index.php" onsubmit="return confirm('确认要删除?');">
<tr class="header">
<td width="6%" height="25"><div align="center"><input type='checkbox' name='chkall' value='on' onClick='CheckAll(this.form)'></div></td>
<td width="58%"><div align="center">标题(点击查看)</div></td>
<td width="25%"><div align="center">提交时间</div></td>
<td width="11%"><div align="center">删除</div></td>
</tr>
<?php
while($r=$empire->fetch($sql))
{
$r['uname']=stripSlashes($r['uname']);
if($r['uid'])
{
$r['uname']="<a href='../../space/?userid=$r[uid]' target='_blank'>$r[uname]</a>";
}
else
{
$r['uname']='游客';
}
?>
<tr bgcolor="#FFFFFF">
<td height="25"><div align="center">
<input name="fid[]" type="checkbox" value="<?=$r[fid]?>">
</div></td>
<td height="25"><div align="left">
<a href="#ecms" onclick="window.open('ShowFeedback.php?fid=<?=$r[fid]?>','','width=650,height=600,scrollbars=yes,top=70,left=100');"><?=stripSlashes($r[title])?></a>&nbsp;(<?=$r['uname']?>)
</div></td>
<td height="25"><div align="center">
<?=$r[addtime]?>
</div></td>
<td height="25"><div align="center">
<a href="index.php?enews=DelMemberFeedback&fid=<?=$r[fid]?>" onclick="return confirm('确认要删除?');">删除</a>
</div></td>
</tr>
<?
}
?>
<tr bgcolor="#FFFFFF">
<td height="25" colspan="4">
<?=$returnpage?>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type="submit" name="Submit" value="批量删除">
<input name="enews" type="hidden" id="enews" value="DelMemberFeedback_All"></td>
</tr>
</form>
</table>
<?php
require(ECMS_PATH.'e/template/incfile/footer.php');
?>