posts - 22, comments - 32, trackbacks - 0, articles - 73
            BlogJava :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理

          <%@include file="/common/taglib.jsp"%>
          <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
          <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
          <html>
          <head>
          <title>網(wǎng)站后臺管理系統(tǒng)</title>
           <%@include file="/common/metadata.jsp"%>
           <link href="${ctx}/admin/style/css_body.css" rel="stylesheet" type="text/css" />
           <script type="text/javascript">
                function del(id){
                  if(confirm("您確認(rèn)要刪除該項嗎?")){
                    document.location.href="${ctx}/NewsManage?action=deleteNews&id="+id;
                  }else{
                    return;
                  }
                }
                function pagging(pageNo){
                   document.location.href="${ctx}/MemeberRegisterServlet?action=list&pageNo="+pageNo;
               }
              </script>
          </head>
          <body>
           
            <div class="bodytitle">
              <div>
                <span class="bodytitletxt">新聞列表</span>
              </div>
            </div>
           
            <div class="list-div">
            <table border="0" cellpadding="10" cellspacing="1">
             <tr>
              <td align="center"><a href="${ctx}/NewsManage?action=refresh">刷新新聞列表</a></td>
              </tr>
            </table>
           
              <table border="0" cellpadding="10" cellspacing="1">
            
                <tr>
                  <th>新聞編號</th>
                  <th>新聞名稱</th>
                  <th>發(fā)布者</th>
                  <th>發(fā)布時間</th>
                  <th>修改時間</th>
                  <th>瀏覽次數(shù)</th>
                  <th>操作</th>
                </tr>
                <c:forEach items="${newsList}" var="news">
                <tr>
                  <td align="center">${news.id}</td>
                  <td align="center"><a href="${ctx}/BrowerNewsServlet?action=browerNews&id=${news.id}">${news.topic}</a></td>
                  <td align="center">${news.publishuser}</td>
                  <td align="center">${news.publishtimes}</td>
                  <td align="center">${news.modifytimes}</td>
                  <td align="center">${news.hits}</td>
                 <td align="center">
                    <a href="${ctx}/NewsManage?action=modifyNews&id=${news.id}"><img src="${ctx}/icons/icon_edit.gif"></a>
                    &nbsp;&nbsp;|&nbsp;&nbsp;
                    <a href="javascript:del(${news.id})"><img src="${ctx}/icons/icon_drop.gif"></a>
                  </td>
                </tr>
                </c:forEach>
                <tr>
                  <td align="right" bgcolor="#f9ffe6" colspan="7"><%@include file="/common/paggingDiv.jsp" %></td>
                </tr>
              </table>
             
            </div>
           
            <div id="footer"><br />版權(quán)所有 &copy; 2005-2008 Onest's Studio 工作室,并保留所有權(quán)利。</div>

          </body>
          </html>


          只有注冊用戶登錄后才能發(fā)表評論。


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 梅州市| 威宁| 东方市| 浑源县| 桐梓县| 大余县| 陆川县| 马边| 正蓝旗| 阿拉善右旗| 灵寿县| 高阳县| 巨鹿县| 东光县| 天峻县| 峨山| 亚东县| 区。| 常德市| 姚安县| 商城县| 光泽县| 巴马| 花垣县| 丰镇市| 天等县| 三门峡市| 台安县| 昭觉县| 山阴县| 项城市| 阿尔山市| 平远县| 宜君县| 深泽县| 义马市| 全椒县| 崇州市| 微博| 双江| 任丘市|