sendmsg.htm

来自「城市分类信息,门户网站,我做为地方信息网」· HTM 代码 · 共 147 行

HTM
147
字号
{template header}<div align="left">	<table width="960" border="0" align="center" cellpadding="0" cellspacing="0">                <tr>                  <td height="5"></td>                </tr>              </table>              <table width="960" border="0" align="center" cellpadding="0" cellspacing="0">                <tr>                  <td width="156" height="117" valign="top">                  <table width="150" border="0" cellpadding="0" cellspacing="0" class="index_int">                    <tr>                      <td width="13"  height="28" style="width:13; height:28 " class="index_int1">&nbsp;</td>                      <td  class="index_int2" style="color:#ffffff">我的用户中心</td>                      <td width="13" class="index_int3"><span class=""></span></td>                    </tr>                  </table>                    <table width="150" border="0" cellpadding="0" cellspacing="0">                      <tr>      <td  class="index_k4" style="padding:3px;" >                        <table width="99%" border="0" align="center" cellpadding="2" cellspacing="2">                            <tr>                             <td width="13%"><img src="../images/common/usr_tip.gif" width="11" height="11" /></td>                             <td width="87%"><a href="../user/myindex.php" class="shopgogo">我的首页</a></td>                           </tr>                           <tr>                             <td width="13%"><img src="../images/common/usr_tip.gif" width="11" height="11" /></td>                             <td width="87%"><a href='../user/userinfo.php?uid=$cbc_uid' class="shopgogo">别人眼中我的首页</a></td>                           </tr>                           <tr>                             <td width="13%"><img src="../images/common/usr_tip.gif" width="11" height="11" /></td>                             <td width="87%"><a href="../user/myinfo.php" class="shopgogo">我的基本资料</a></td>                           </tr>                           <tr>                             <td width="13%"><img src="../images/common/usr_tip.gif" width="11" height="11" /></td>                             <td width="87%"><a href='../user/mypwd.php' class="shopgogo">修改密码</a></td>                           </tr>                           <tr>                             <td width="13%"><img src="../images/common/usr_tip.gif" width="11" height="11" /></td>                             <td width="87%"><a href='../user/mybiz.php' class="shopgogo">我的店铺</a></td>                           </tr>                           <tr>                             <td width="13%"><img src="../images/common/usr_tip.gif" width="11" height="11" /></td>                             <td width="87%"><a href="../user/mydianp.php" class="shopgogo">我的点评</a></td>                           </tr>                           <tr>                             <td width="13%"><img src="../images/common/usr_tip.gif" width="11" height="11" /></td>                             <td width="87%"><a href='../user/myflei.php' class="shopgogo">我发表的信息</a></td>                           </tr>                           <tr>                             <td width="13%"><img src="../images/common/usr_tip.gif" width="11" height="11" /></td>                             <td width="87%"><a href='../user/sendmsg.php' class="shopgogo">发送短消息</a></td>                           </tr>                           <tr>                             <td width="13%"><img src="../images/common/usr_tip.gif" width="11" height="11" /></td>                             <td width="87%"><a href="../user/message.php" class="shopgogo">收件箱</a></td>                           </tr>                           <tr>                             <td width="13%"><img src="../images/common/usr_tip.gif" width="11" height="11" /></td>                             <td width="87%"><a href='../user/message.php?action=outbox' class="shopgogo">发件箱</a></td>                           </tr>			              </table>                                </td>                      </tr>                    </table>                  </td>                  <td valign="top" width="804"> <table bgcolor="#eeeeee" border="0" cellpadding="0" cellspacing="0" width="100%"><tbody><tr>  <td height="23">&nbsp;&nbsp;<img src="../images/common/arrow3.gif" height="5" width="3">&nbsp;&nbsp;短消息</td></tr></tbody></table><table border="0" cellpadding="0" cellspacing="0" width="100%">  <tbody><tr>    <td class="left" height="35"><strong>发送消息 </strong></td>  </tr></tbody></table><script type="text/javascript">String.prototype.trim = function(){	return (this.replace(/^\s*|\s*$/g,""));}function send_message(){	$('sendinfo').innerHTML = '';	if ($('touser').value.trim() == '')	{		$('sendinfo').innerHTML = '收件人不能为空';	}	else if ($('msgtitle').value.trim() == '')	{		$('sendinfo').innerHTML = '标题不能为空';	}	else if ($('msgcontent').value.trim() == '')	{		$('sendinfo').innerHTML = '内容不能为空';	}	else	{		document.form1.submit();	}}</script><div id="sendinfo" style="	position:absolute;	line-height:20px;	z-index:10000;	color:#FFF;	background-color:#F60;"></div>	<table width="630" border="0" align="center" cellpadding="0" cellspacing="0">	<form action="savemsg.php" method="POST" name="form1" target="iframe_data">	<input type="hidden" name="formhash" value="{FORMHASH}">									<tr>										<td height="10" colspan="2">&nbsp;</td>									</tr>									<tr>										<td height="30">收件人:</td>										<td height="20">											<input name="touser" id="touser" type="text" value="$touser" class="input_border w1" size="47" />														</td>									</tr>									<tr>										<td height="30">标 题:</td>										<td>											<input name="msgtitle" id="msgtitle" type="text" class="input_border w1" size="62" />										</td>									</tr>									<tr>										<td width="56" valign="top">内 容:</td>										<td width="549" valign="top">											<textarea name="msgcontent" id="msgcontent" cols="60" rows="10" class="input_border"></textarea> 										</td>									</tr>									<tr>										<td height="40" colspan="2" align="center">											<input type="button" value="发 送" onclick="javascript:send_message()" />										</td>									</tr>									</form>								</table>                                                </td>                </tr>              </tbody></table>        <br>  </div>        {template footer}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?