posts - 22, comments - 32, trackbacks - 0, articles - 73
            BlogJava :: 首頁(yè) :: 新隨筆 :: 聯(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ái)管理系統(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)要?jiǎng)h除該項(xiàng)嗎?")){
                    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>新聞編號(hào)</th>
                  <th>新聞名稱(chēng)</th>
                  <th>發(fā)布者</th>
                  <th>發(fā)布時(shí)間</th>
                  <th>修改時(shí)間</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>


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


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 连江县| 栖霞市| 内乡县| 利辛县| 宿州市| 大安市| 无极县| 冕宁县| 呼图壁县| 南澳县| 兴隆县| 黎川县| 腾冲县| 斗六市| 绥棱县| 灌云县| 周口市| 蒙山县| 五华县| 桐乡市| 黑山县| 开鲁县| 昌平区| 察隅县| 广安市| 清新县| 孟津县| 西乌珠穆沁旗| 明光市| 民乐县| 丹巴县| 科技| 云阳县| 磐安县| 兴安县| 当雄县| 丰原市| 通州市| 石狮市| 安阳市| 周宁县|