?? new.jsp
字號:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<jsp:useBean id='db' scope='request' class='Base.DataBean.DefaultDataBean' />
<link rel=stylesheet href="../index.css" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
</head>
<script>
function setTodayDate(){
var today=new Date();
document.form1.addtime.value=today.getYear()+"-"+today.getMonth()+"-"+today.getDate();
}
</script>
<body onLoad="setTodayDate()">
<form name="form1" action="add.cgi">
<table width="100%" height="20" border="0" cellpadding="0" cellspacing="0">
<tr>
<td> </td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="40"> </td>
<td width="910"><table width="100%" height="20" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="20" class="title_s"> 您已登陸: <%= session.getAttribute("NAME")%> </td>
</tr>
<tr>
<td height="5" bgcolor="#A3BED9"></td>
</tr>
<tr>
<td height="1" bgcolor="#0A1870"></td>
</tr>
</table></td>
<td width="50"> </td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="40"> </td>
<td width="910">
<table width="100%" height="102" border="1" cellpadding="4" cellspacing="0" bordercolor="FFFFFF" bgcolor="E7F2FF" class="main_w">
<tr bgcolor="#FFFFFF" class="title_s">
<td height="20" colspan="3"><div align="center">發(fā)送信件窗口</div> <div align="center"></div> </td>
</tr>
<tr>
<td height="20"><div align="center"><span class="title_s">信件標(biāo)題:</span></div></td>
<td height="20" colspan="2"><input name="title" type="text" id="title">
<input name="addtime" type="hidden" id="addtime">
<input name="froms" type="hidden" id="froms" value="<%= session.getAttribute("ID")%>"></td>
</tr>
<tr>
<td width="26%" height="20"><div align="center" class="title_s"></div>
<div align="center" class="title_s">收件人:</div></td>
<td width="74%" height="20" colspan="2"><div align="center"></div>
<div align="left">
<select name="tos" id="tos">
<%
for(int i=0;i<db.getCount("guidance");i++){
%>
<option value="<%= db.getAttributeStr("guidance.id",i)%>">
<%= db.getAttributeStr("guidance.name",i)%>
</option>
<%
}
%>
</select>
</div> <div align="center"></div></td>
</tr>
<tr>
<td height="20"><div align="center" class="title_s">信件內(nèi)容:</div></td>
<td height="20" colspan="2"><textarea name="content" cols="60" rows="15" id="content"></textarea></td>
</tr>
<tr>
<td height="20" colspan="3"><div align="center">
<input type="submit" name="Submit" value="發(fā)送信件">
<input type="reset" name="Submit2" value="重新填寫">
</div></td>
</tr>
</table></td>
<td width="50"> </td>
</tr>
</table>
</form>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -