⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 noticeview.jsp

📁 数学网
💻 JSP
字号:
<%@ page language="java" pageEncoding="gb2312"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-template" prefix="template" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-nested" prefix="nested" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html locale="true">
  <head>
   <link href="../images/myweb.css" rel="stylesheet" type="text/css">
<title>管理界面</title>
<style type="text/css">
<!--
body {
	background-image: url(../images/main_bg.gif);
}
-->
</style>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">    
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
  </head>
  
  <body>
   <html:form action="/admin/notice/noticelist">
   
<table width="99%" cellpadding="0"  cellspacing="0" border="0" align="center">
	<tr>
    		<td>
			<table width="82" height="28" border="0" cellpadding="0"  cellspacing="0" background="../images/main_menu_bg.gif">
      				<tr>
        				<td valign="bottom"><FONT COLOR="BLACK"><div align="center">公告信息查询</div></FONT></td>
      				</tr>
    			</table>
		</td>
  	</tr>
</table>

<table width="99%"  cellpadding="3"  cellspacing="1" border="0" align="center" class="main_table">
	<tr>
    		<td colspan="6" align="center" class="main_topbg" >网站后台管理</td>
  	</tr>
  	<tr >
  		<td class="myweb_td" onMouseOut="this.style.backgroundColor=''" onMouseOver="this.style.backgroundColor='#ffffff'" colspan="6">
  			查询条件:<html:text property="condition" />
  				 <html:select property="conditionid" size="1" >
                   <html:option value="0">全部</html:option>
                   <html:option value="1">公告标题</html:option>
                   <html:option value="2">公告内容</html:option>
                </html:select>
  				<html:submit value="查询" />
  		</td>
  	</tr>
</table>
</html:form>
<table width="99%"  cellpadding="3"  cellspacing="1" border="0" align="center" class="main_table">
	<tr>
    		<td colspan="10" align="center" class="main_topbg" >网站后台管理</td>
  	</tr>
  	
  	<tr >
  	
  		<td align="center" background="../admin/left_bg.gif">
    	<FONT COLOR="BLACK">		公告ID</FONT>
  		</td>
  		<td align="center" background="../admin/left_bg.gif">
    		<FONT COLOR="BLACK">	公告标题</FONT>
  		</td>
    		<td align="center" background="../admin/left_bg.gif">
    		<FONT COLOR="BLACK">	发布时间</FONT>
  		</td>
  		<td align="center" background="../admin/left_bg.gif">
    		<FONT COLOR="BLACK">	用户ID</FONT>
  		</td>

  		<td align="center" background="../admin/left_bg.gif">
    		<FONT COLOR="BLACK">	查看</FONT>
  		</td>
  		<td align="center" background="../admin/left_bg.gif">
    	<FONT COLOR="BLACK">		修改</FONT>
  		</td>
  		<td align="center" background="../admin/left_bg.gif">
    	<FONT COLOR="BLACK">		删除</FONT>
  		</td>
  	</tr>
  
<logic:notEmpty name="LIST">
  	    <logic:iterate id="list" name="LIST" type="math.notice.model.NoticeList">
  	      <%
          java.util.HashMap map = new java.util.HashMap();
          map.put("id", String.valueOf(list.getNoticeid()));
          
          pageContext.setAttribute("map", map, PageContext.PAGE_SCOPE);
          %>
  	    
  	<tr>
    
  		<td align="center" class="myweb_td" onMouseOut="this.style.backgroundColor=''" onMouseOver="this.style.backgroundColor='#ffffff'">
    			<bean:write name="list" property="noticeid"/>
  		</td>
    		<td align="center" class="myweb_td" onMouseOut="this.style.backgroundColor=''" onMouseOver="this.style.backgroundColor='#ffffff'">
    			<bean:write name="list" property="noticetitle"/>
  		</td>
  		<td align="center" class="myweb_td" onMouseOut="this.style.backgroundColor=''" onMouseOver="this.style.backgroundColor='#ffffff'">
    			<bean:write name="list" property="issuetime"/>
  		</td>
  		<td align="center" class="myweb_td" onMouseOut="this.style.backgroundColor=''" onMouseOver="this.style.backgroundColor='#ffffff'">
    			<bean:write name="list" property="userid"/>
  		</td>

  		<td align="center" class="myweb_td" onMouseOut="this.style.backgroundColor=''" onMouseOver="this.style.backgroundColor='#ffffff'">
  			<html:link action="/admin/notice/noticeshow.do"   name="map" scope="page" target="_blank">
    			查看
    		</html:link>
  		</td>
  		<td align="center" class="myweb_td" onMouseOut="this.style.backgroundColor=''" onMouseOver="this.style.backgroundColor='#ffffff'">
  			<html:link action="/admin/notice/noticeupdate.do"  name="map" scope="page" target="main">
    			修改
    		</html:link>
  		</td>
  		<td align="center" class="myweb_td" onMouseOut="this.style.backgroundColor=''" onMouseOver="this.style.backgroundColor='#ffffff'">
    		<html:link action="/admin/notice/noticedelete.do" name="map" scope="page" target="main" onclick="{if(confirm('您确定执行的操作吗?')){return true;}return false;}">
    			删除
    		</html:link>
  		</td>
  	</tr>
  	    </logic:iterate>
  
  	
  	<TR>
  	     <TD  align="center" class="myweb_td" onMouseOut="this.style.backgroundColor=''" onMouseOver="this.style.backgroundColor=''" colspan="10">
  	     
             <bean:write name="pagerHeader" scope="request" filter="false"/>
       
  	     </TD>
  	</TR>
</table>
</logic:notEmpty>
  </body>
</html:html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -