📄 tlinkview.jsp
字号:
<%@ page language="java" pageEncoding="GB2312" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<jsp:useBean id="Article" scope="session" class="math.article.model.Article"/>
<html>
<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>
</head>
<body>
<br>
${requestScope.message}
<html:form action="/admin/tlink/tlinklist.do" method="POST">
<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"><div align="center">中考连接查询</div></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: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="../images/left_bg.gif">
标题
</td>
<td align="center" background="../images/left_bg.gif">
连接目标
</td>
<td align="center" background="../images/left_bg.gif">
发布人ID
</td>
<td align="center" background="../images/left_bg.gif">
发布时间
</td>
<!-- <td align="center" background="../images/left_bg.gif">
连接详细内容
</td>-->
<td align="center" background="../images/left_bg.gif">
查看
</td>
<td align="center" background="../images/left_bg.gif">
修改
</td>
<td align="center" background="../images/left_bg.gif">
删除
</td>
</tr>
<logic:notEmpty name="LIST">
<logic:iterate id="list" name="LIST" type="math.tlink.model.TlinkList">
<%//request.setAttribute("LIST",request.getAttribute("LIST"));
java.util.HashMap map = new java.util.HashMap();
map.put("tlink_id", String.valueOf(list.getTlink_id()));
map.put("pager.offset", String.valueOf(list.getPageroffset()));
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="tlink_name"/>
</td>
<td align="center" class="myweb_td" onMouseOut="this.style.backgroundColor=''" onMouseOver="this.style.backgroundColor='#ffffff'">
<bean:write name="list" property="tlink_link"/>
</td>
<td align="center" class="myweb_td" onMouseOut="this.style.backgroundColor=''" onMouseOver="this.style.backgroundColor='#ffffff'">
<bean:write name="list" property="tlink_talkerid"/>
</td>
<td align="center" class="myweb_td" onMouseOut="this.style.backgroundColor=''" onMouseOver="this.style.backgroundColor='#ffffff'">
<bean:write name="list" property="tlink_time"/>
</td>
<!--
<td align="center" class="myweb_td" onMouseOut="this.style.backgroundColor=''" onMouseOver="this.style.backgroundColor='#ffffff'">
<bean:write name="list" property="tlink_content"/>
</td>
-->
<td align="center" class="myweb_td" onMouseOut="this.style.backgroundColor=''" onMouseOver="this.style.backgroundColor='#ffffff'">
<html:link action="/admin/tlink/tlinkshow.do" name="map" target="main" 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/tlink/tlinkupdate.do" name="map" target="main">
修改
</html:link>
</td>
<td align="center" class="myweb_td" onMouseOut="this.style.backgroundColor=''" onMouseOver="this.style.backgroundColor='#ffffff'">
<html:link action="/admin/tlink/tlinkdel.do" name="map" 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"/><%! String key;%>
</TD>
</TR>
</table>
</logic:notEmpty>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -