posts - 22, comments - 32, trackbacks - 0, articles - 71
  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理

<%@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>网站后台管理系统</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("您确认要删除该项吗?")){
          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>发布者</th>
        <th>发布时间</th>
        <th>修改时间</th>
        <th>浏览次数</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 />版权所有 &copy; 2005-2008 Onest's Studio 工作室,并保留所有权利。</div>

</body>
</html>


只有注册用户登录后才能发表评论。


网站导航: