📄 badlist.php
字号:
<?php
if(!defined('IN_ONEZ') || !defined('IN_ADMIN')) {
exit('Access Denied');
}
include("header.php");?>
<table border="0" cellspacing="1" align="center" class="list">
<tr align="center">
<th width="10%">用户</th>
<th width="50%">网页地址</th>
<th width="10%">举报次数</th>
<th width="20%">操作</th>
</tr>
<?
foreach($list[0] as $rs){
$count=$db->rows("badlist","weburl='".$rs['weburl']."'");;
?>
<tr align="center">
<td height="20"><?=$rs['username']?></td>
<td align="left"><?=$rs["weburl"]?></td>
<td><?=$count?></td>
<td>
<a href="?action=viewurl&url=<?=urlencode($rs['weburl'])?>&ac=<?=$_GET['action']?>&page=<?=$_GET['page']?>&u=<?=$rs['username']?>">查看</a> -
<a href="javascript:onez('del','<?=urlencode($rs['weburl'])?>',0,'<?=$rs['username']?>')">取消</a>
</td>
</tr>
<?}?>
</table>
</form>
<table width='90%' height=2><tr ><td></td></tr></table>
<!--页码开始-->
<?=$list[1]?>
<!--页码结束-->
<script type="text/javascript">
function $(id){
return document.getElementById(id);
}
function onez(ntype,url,s,u){
if(ntype=='del'){
window.location.href='save.php?action=badlist_del&ac=<?=$_GET['action']?>&page=<?=$_GET['page']?>&url='+url;
}
}
</script>
<?include("footer.php");?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -