<?php if (!defined('THINK_PATH')) exit();?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title><?php echo C('softname'); ?></title>
<link href="__PUBLIC__/admin/css/reset.css" rel="stylesheet" type="text/css" />
<link href="__PUBLIC__/admin/css/zh-cn-system.css" rel="stylesheet" type="text/css" />
<link href="__PUBLIC__/admin/css/table_form.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/images/metinfo.css" />
<script language="javascript" type="text/javascript" src="__PUBLIC__/admin/js/jquery.min.js"></script>
<script language="javascript" type="text/javascript" src="__PUBLIC__/admin/js/admin_common.js"></script>
<script language="javascript" type="text/javascript" src="__PUBLIC__/admin/js/styleswitch.js"></script>
<script type="text/javascript" src="__PUBLIC__/admin/js/common.js"></script>
<script type="text/javascript">
 $(document).ready(function(){
$(".spec_delete").click(function(){
        if(confirm("确认删除吗")){
        var id     = $(this).attr('sid');
        $.post("<?php echo U('store/ajax_spec_delete');?>",{id:id},function(result){
            if(result.status=='1'){
                window.top.art.dialog({content:result.info,lock:true,width:'200',height:'50',time:1.5},function(){});
                window.location.reload();
            }else{
                window.top.art.dialog({content:result.info,lock:true,width:'200',height:'50',time:1.5},function(){});
            }
            // alert(result);
        });
      }
});
});
</script>
</head>
<body>
<div class="metinfotop">
    <div class="position">简体中文：内容模块 > <a href="<?php echo U('member/comment_list');?>">评论管理</a></div>
    </div>
    <div class="clear"></div>
<div class="subnav">
</div>
<style type="text/css">
    html{_overflow-y:scroll}
</style><div class="pad-lr-10">

<form name="myform" action="<?php echo U('member/content_comment_update');?>" method="post">
<div class="table-list">
    <table width="100%" cellspacing="0" >
        <thead>
            <tr>
            <th align='left' width="5%"><input type="checkbox" value="" id="check_box" onclick="selectall('all_check[]');"></th>
            <th align='left' width="50%">评论</th>
            <th align='left' width="10%">昵称</th>
            <th align='left' width="10%">访问内容</th>
            <th align='left' width="10%">管理操作</th>
            </tr>
        </thead>
    <tbody>
    <?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
                    <td align='left'><input type="checkbox" name="all_check[]" value="<?php echo ($vo["id"]); ?>"></td>
                    <td align='left'><?php echo ($vo["content"]); ?></td>
                    <td align='left'><a href="<?php echo (gurl($vo["uid"],'user','view')); ?>" target='_blank'><?php echo ($vo["username"]); ?></a></td>
                    <td align='left'><a href="<?php echo (gurl($vo["cid"],'article','view')); ?>" target='_blank'>访问</a></td>
                    <td align='left' >
                    <a href="javascript:all_deletes('<?php echo U('member/content_comment_delete',array('id'=>$vo['id']));?>');">删除</a>
                    </td>
                </tr><?php endforeach; endif; else: echo "" ;endif; ?>
    </volist>
                </tbody>
    </table>

    <div class="btn">
    <label for="check_box">全选/取消</label> 
    <input type="submit" class="button" name="delete" value="删除" onclick="return confirm('您确定要删除吗？')"/>
    </div>
    <div id="pages"><?php echo ($page); ?></div>
</div>

</form>

</div>
</body>
</html>