📄 newsview.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/onlineask/list">
<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:select property="askVip" size="1" >
<html:option value="">请选择</html:option>
<html:option value="0">游客</html:option>
<html:option value="1">普通会员</html:option>
<html:option value="2">高级会员</html:option>
</html:select>
按适应阶段查询: <html:select property="difficulty" size="1" >
<html:option value="">请选择</html:option>
<html:option value="0">一年级</html:option>
<html:option value="1">二年级</html:option>
<html:option value="2">三年级</html:option>
<html:option value="3">四年级</html:option>
<html:option value="4">五年级</html:option>
<html:option value="5">六年级</html:option>
<html:option value="6">七年级</html:option>
<html:option value="7">八年级</html:option>
<html:option value="8">九年级</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"> 试题编号</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>
<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>
<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.onlineask.model.OnlineAsk">
<%
java.util.HashMap map = new java.util.HashMap();
map.put("id", String.valueOf(list.getId()));
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="id"/>
</td>
<td align="center" class="myweb_td" onMouseOut="this.style.backgroundColor=''" onMouseOver="this.style.backgroundColor='#ffffff'">
<bean:write name="list" property="svip"/>
</td>
<td align="center" class="myweb_td" onMouseOut="this.style.backgroundColor=''" onMouseOver="this.style.backgroundColor='#ffffff'">
<bean:write name="list" property="award"/>分
</td>
<td align="center" class="myweb_td" onMouseOut="this.style.backgroundColor=''" onMouseOver="this.style.backgroundColor='#ffffff'">
<bean:write name="list" property="sdifficulty"/>
</td>
<td align="center" class="myweb_td" onMouseOut="this.style.backgroundColor=''" onMouseOver="this.style.backgroundColor='#ffffff'">
<bean:write name="list" property="stype"/>
</td>
<td align="center" class="myweb_td" onMouseOut="this.style.backgroundColor=''" onMouseOver="this.style.backgroundColor='#ffffff'">
<html:link action="/admin/onlineask/showselect" 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/onlineask/updateselect.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/onlineask/delete" 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 + -