?? sendmessage.jsp
字號:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="errorpage.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>sendmessage</title>
<link href="mycss.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.STYLE1 {color: #FFFFFF}
-->
</style>
</head>
<%
request.setCharacterEncoding("gb2312");
String toid="";
if (request.getParameter("fromid")!=null) toid=request.getParameter("fromid");
%>
<body>
<%
String id=(String)session.getAttribute("id");
if(id!=null){%>
<table width="626" height="320" border="1" align="left" bgcolor="#FFFFFF">
<tr>
<td height="23" colspan="2" bgcolor="#996666"><div align="center" class="STYLE4 STYLE1">快捷操作</div></td>
<td width="490" rowspan="10"><table width="439" height="276" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="507" height="211"><form id="form1" name="form1" method="post" action="sendmessage">
<table width="437" height="185" border="1" align="left" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td height="20" colspan="2" bgcolor="#996666"><span class="STYLE7 STYLE1">發(fā)送短消息:</span></td>
</tr>
<tr>
<td width="60" height="20"><p align="left">收信人:</p></td>
<td width="367"><input name="toid" type="text" id="toid" value="<%=toid%>" /></td>
</tr>
<tr>
<td height="22">標(biāo)題:</td>
<td height="22"><input name="title" type="text" id="title" /></td>
</tr>
<tr>
<td height="90"><p align="left">內(nèi)容:</p>
<p align="left">不得超過80字。</p></td>
<td height="90"><textarea name="message" cols="50" rows="5" id="message"></textarea></td>
</tr>
<tr>
<td height="31" colspan="2"><div align="center">
<input name="send" type="submit" id="send" value="發(fā)送" />
</div></td>
</tr>
</table>
</form></td>
</tr>
<tr>
<td height="53"> </td>
</tr>
</table></td>
</tr>
<tr>
<td width="20" height="23"><div align="center"><img src="../pic/fileopen.png" width="16" height="14" /></div></td>
<td width="94" bgcolor="#ECE9D8"><div align="center"><a href="sendmessage.jsp" target="_self">發(fā)送消息</a></div></td>
</tr>
<tr>
<td height="23"><div align="center"><img src="../pic/file.gif" width="16" height="14" /></div></td>
<td><div align="center"><a href="serchmessage.jsp">搜索消息</a></div></td>
</tr>
<tr>
<td height="23"><div align="center"><img src="../pic/file.gif" width="16" height="14" /></div></td>
<td><div align="center"><a href="zhuyi.jsp">注意事項(xiàng)</a></div></td>
</tr>
<tr>
<td height="49" colspan="2"> </td>
</tr>
<tr>
<td height="23" colspan="2" bgcolor="#996666"><div align="center" class="STYLE4 STYLE1">消息箱</div></td>
</tr>
<tr>
<td height="23"><div align="center"><img src="../pic/file.gif" width="16" height="14" /></div></td>
<td><div align="center"><a href="sendbox.jsp">發(fā)件箱</a></div></td>
</tr>
<tr>
<td height="23"><div align="center"><img src="../pic/file.gif" width="16" height="14" /></div></td>
<td><div align="center"><a href="message.jsp" target="_self">收件箱</a></div></td>
</tr>
<tr>
<td height="23"><div align="center"><img src="../pic/file.gif" width="16" height="14" /></div></td>
<td><div align="center"><a href="friend.jsp">聯(lián)系人</a></div></td>
</tr>
<tr>
<td height="37" colspan="2"> </td>
</tr>
</table>
<%
}
else
{
%>
<script language="JavaScript">
alert("出錯!您還沒登陸!點(diǎn)確定返回首頁登陸部落....");
</script>
<meta HTTP-EQUIV=REFRESH CONTENT="0;URL=/xunibuluo/index.jsp"></meta>
<%
}
%>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -