?? info_olist.jsp
字號:
<%--function:交流信息列表
author:zxh
--%>
<%@ page language="java" import="java.util.*" pageEncoding="GBK"%>
<%@ taglib uri="/WEB-INF/tlds/frametag.tld" prefix="by"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%String info_list=request.getAttribute("info_list").toString(); %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>交流信息</title>
<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">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
<link rel="stylesheet" href="<%=path %>/CSS/style.css" type="text/css">
<script type="text/javascript">
function isDelInfo(id)
{
location.href="<%=path%>/Selevet.do?action=INFO_DELETE&id="+id+"&CMD=D&type=0";
}
function modifyInfo(id)
{
location.href="<%=path%>/Selevet.do?action=INFO_MODIFY&id="+id+"&type=0";
}
function lookInfo(id)
{
location.href="<%=path%>/Selevet.do?action=INFO_LOOK&id="+id+"&type=0";
}
</script>
</head>
<body topmargin="0" leftmargin="0">
<center>
<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="26" align="center" valign="middle" bgcolor="#66CCFF">
交流信息
</td>
</tr>
</table>
<p></p>
<form id="form1" name="form1" method="post" action="">
<table border="1" width="96%" cellspacing="0" cellpadding="0" bordercolor="#99CCFF" bordercolordark="#FFFFFF">
<tr>
<td width="12%" height="27" bgcolor="#A4CDFF" align="center"><strong>標題</strong></td>
<td width="10%" height="27" bgcolor="#A4CDFF" align="center"><strong>發布人</strong></td>
<td width="10%" height="27" bgcolor="#A4CDFF" align="center"><strong>發布時間</strong></td>
<td width="8%" height="27" bgcolor="#A4CDFF" align="center"><strong>操作</strong></td>
</tr>
<by:forby name="info_list" id="info">
<tr>
<td height="25px" align="center">
<script type="text/javascript">
var str="${info.TITLE}";
if(str.length>10){
document.write(str.substring(0,10)+"...");
}else{
document.write(str.substring(0,10));
}
</script>
</td>
<td height="25px" align="center"> ${info.ISSUE_USER_NAME} </td>
<td height="25px" align="center"> ${info.ISSUE_DATE}</td>
<td height="25px" align="center">
<a href="javascript:{lookInfo('${info.ID}');}">查看</a>
</td>
</tr>
</by:forby>
</table>
</form>
</div>
${pagebar}
</center>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -