<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="../common/common.jsp"%>
<title>公告管理</title>
</head>
<link rel="stylesheet" type="text/css" href="${staticPath}webupload/progress.css">
<body>
<%@ include file="../common/head.jsp"%>
<div class="screen main">
    <%@ include file="../common/left.jsp" %>
    <div class="main-content">
        <div class="btn-radius">公告管理</div>
        <form name="dataForm" action="ajax_notice_list.do" method="post">
        <div class="search-group">
            <input type="hidden" name="download" value="1" />
            <div class="search-item">公告标题&nbsp;&nbsp;<input type="text" id="title" name="title" class="text {text:'请输入关键字'}" size="12" /></div>
            <div class="search-item">
                显示状态
                <div class="select {width:120}">
                    <select id="status" name="status">
                        <option value="">全部</option>
                        <option value="2">显示</option>
                        <option value="0">隐藏</option>
                    </select>
                </div>
            </div>
            <div class="search-item">
                <a href="javascript:void(0);" onclick="getList(1)" class="btn-radius">搜 索</a>
            </div>
        </div>
        </form>
        <div class="rFloat buttons">
            <c:if test="${funcMap['notice_add'] eq 1}">
                <a href="javascript:platformModfiy('add','公告信息');" class="btn">+新增</a>
            </c:if>
        </div>
        
        已选 <span id="checkCount" class="orange">0</span> 条&nbsp;&nbsp;
        <c:if test="${funcMap['notice_all_delete'] eq 1}">
            <a href="javascript:void(0);" onclick="delRecordBatch()" class="btn del">批量删除</a>
        </c:if>
        <table class="table mTop10" cellpadding="0" cellspacing="0">
            <thead>
                <tr>
                    <th><input type="checkbox" class="checkbox checkbox-white {click:checkAll}" name="all" value="" /></th>
                    <th>公告标题</th>
                    <th>发布人</th>
                    <th>创建时间</th>
                    <th>排序号</th>
                    <th>状态</th>
                    <th>操作</th>
                </tr>
            </thead>
            <tbody id="list"></tbody>
        </table>
        <div class="mTop20">
            <div id="page" class="rFloat"></div>
            累计 <span id="count" class="blue">0</span> 条
        </div>
        <input type="hidden" id="curPage" >
    </div>
    <div class="clear"></div>
</div>
<iframe name="hframe" style="display: none;"></iframe>
<%@ include file="../common/footer.jsp"%>
<script type="text/javascript" src="${staticPath}js/advertise/notice.js"></script>
<script type="text/javascript">
	var update_flag = "${funcMap['notice_update']}",delete_flag = "${funcMap['notice_delete']}";
	var update_status_flag = "${funcMap['notice_set_status']}";
	$(function(){
		$.resetText();
	    $(".text").input();
	    $(".select").uiSelect();
		$.checkbox();
		getList(1);
	});
	
</script>
</body>
</html>