?? nt_olist.jsp.svn-base
字號:
<!--function:公告列表
author:zxh
-->
<%@ page language="java" import="java.util.*" pageEncoding="GB2312"%>
<%@ taglib uri="/WEB-INF/tlds/frametag.tld" prefix="by"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%>
<!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">
-->
<script language="javascript">
function getNow(){
var Stamp=new Date();
var year = Stamp.getYear();
var month = Stamp.getMonth()+1;
var day = Stamp.getDate();
var hour=Stamp.getHours();
var minute=Stamp.getMinutes();
var second=Stamp.getSeconds();
if(month<10){
month="0"+month;
}
if(day<10){
day="0"+day;
}
if(hour<10){
hour="0"+hour;
}
if(minute<10){
minute="0"+minute;
}
if(second<10){
second="0"+second;
}
return year+"-"+month+"-"+day+" "+hour+":"+minute+":"+second;
}
function isDelBm(id)
{
location.href="<%=path%>/Selevet.do?action=NT_DELETE&id="+id;
}
function looknt(id)
{
location.href="<%=path%>/Selevet.do?action=NT_LOOK&id="+id+"&time="+getNow();
}
</script>
<link rel="stylesheet" href="<%=path %>/CSS/style.css" type="text/css">
</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>
</div>
<p></p>
<table width="96%" border="1" id='rowTable' cellspacing="0" cellpadding="0"
bordercolor="#99CCFF" bordercolordark="#FFFFFF">
<tr>
<td width="40%" height="27" bgcolor="#A4CDFF" align="center">
<strong>公告標題</strong>
</td>
<td width="10%" height="27" bgcolor="#A4CDFF" align="center">
<strong>發布人員</strong>
</td>
<td width="15%" height="27" bgcolor="#A4CDFF" align="center">
<strong>發布時間</strong>
</td>
<td width="10%" height="27" bgcolor="#A4CDFF" align="center">
<strong>操作</strong>
</td>
</tr>
<by:forby name="nt_list" id="ntlist">
<tr>
<td height="25px" align="center" style="word-break:break-all">
<by:logic col1="0" col2="${ntlist.STATUS}" logic="==">
<IMG src="<%=path%>/IMAGES/newnote.gif" />
</by:logic>
<a href="javascript:{looknt('${ntlist.ID}');}" class="tex">${ntlist.TITLE}</a>
</td>
<td height="25px" align="center">
${ntlist.ISSUE_USER_NAME}
</td>
<td height="25px" align="center">
${ntlist.ISSUE_DATE}
</td>
<td height="25px" align="center">
<a href="javascript:{looknt('${ntlist.ID}');}">查看</a>
</td>
</tr>
</by:forby>
</table>
${pagebar}
</center>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -