?? viewmsg.htm
字號:
{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"> </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:10px; line-height:20px;" > <a href="../user/myindex.php">我的首頁</a><br /> <a href='../user/userinfo.php?uid=$cbc_uid'>別人眼中我的首頁</a><br /> <a href="../user/myinfo.php">我的基本資料</a><br /> <a href="../user/mypwd.php">修改密碼</a><br/> <a href="../user/mybiz.php">我的店鋪</a><br /> <a href="../user/mydianp.php">我的點評</a><br /> <a href="../user/myflei.php">我發表的信息</a><br /> <a href="../user/sendmsg.php">發送短消息</a><br /> <a href="../user/message.php">收件箱</a><br /> <a href="../user/message.php?action=outbox">發件箱</a><br /> </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"> <img src="/images/user/arrow3.gif" height="5" width="3"> 用戶中心</td></tr></tbody></table><table border="0" cellpadding="0" cellspacing="0" width="100%"> <tbody><tr> <td class="left" height="35"><strong>短消息 >閱讀消息</strong><span id="info" style="color:#ff0000"></span></td> </tr></tbody></table><div class="viewmsg"><div style="padding-top:15px; border-bottom:1px solid #DFDFDF; font-size:12px; color:#FF8A00; padding-bottom:3px;"><strong>閱讀消息</strong></div><table width="630" border="0" align="center" cellpadding="0" cellspacing="0"><tr> <td height="20" colspan="2"> </td></tr><tr> <td height="25" colspan="2" class="msg_title">主 題:$msg[title]</td></tr><tr> <td colspan="2"> <table width="100%" height="40" border="0" cellpadding="0" cellspacing="0"> <tr class="c_gray"> <td width="78%">來自:$msg[fromuser]</td> <td width="22%">$msg[dateline]</td> </tr> <tr class="c_gray"> <td> </td> <td> </td> </tr> </table> </td></tr><tr> <td width="95" valign="top"><a href="#"><img src="$msg[face]"border="0" title="查看用戶信息"/></a></td> <td width="514" valign="top" class="content">$msg[content]</td></tr><tr> <td> </td> <td height="30"> </td></tr><!--{if $msg['touid'] == $cbc_uid}--><tr> <td> </td> <td height="25" class="c_o"><strong>回復消息給$msg[fromuser]</strong> <div id="sendinfo" style=" position:absolute; line-height:20px; z-index:10000; color:#FFF; background-color:#F60;"></div></td></tr><tr> <td> </td> <td> <form action="savemsg.php" method="POST" name="form1" target="iframe_data"> <input type="hidden" name="formhash" value="{FORMHASH}"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr><td colspan="3"></td></tr> <tr> <td width="10%" height="30"><strong>標 題:</strong></td> <td colspan="2"> <input name="msgtitle" id="msgtitle" type="text" class="input_border w1" value="Re:$msg[title]" size="50" /> </td> </tr> <tr> <td valign="top"><strong>內 容:</strong></td> <td colspan="2"> <textarea name="msgcontent" id="msgcontent" cols="49" rows="10" class="input_border"></textarea> </td> </tr> <tr> <td height="30"> </td> <td width="68%" height="25" align="right"> <input type="hidden" name="touser" id="touser" value="$msg[fromuser]" /> <input type="button" value="發 送" onclick="javascript:send_message()" /> </td> <td width="22%" valign="top"> </td> </tr> <tr> <td> </td> <td colspan="2"> </td> </tr> </table> </form> </td></tr> <!--{/if}--> </table></div> </td> </tr> </tbody></table> <br> </div> <script type="text/javascript">String.prototype.trim = function(){ return (this.replace(/^\s*|\s*$/g,""));}function send_message(){ $('sendinfo').innerHTML = ''; if ($('msgtitle').value.trim() == '') { $('sendinfo').innerHTML = '標題不能為空'; } else if ($('msgcontent').value.trim() == '') { $('sendinfo').innerHTML = '內容不能為空'; } else { /* var url = '../user/sendmsg.php'; var pars = 'rid='+$('rid').value+'&title='+$('title').value+'&content='+$('content').value; runAjax(url, pars, "POST", 'sendinfo'); */ alert('kkkkk'); $('form1').submit(); }}</script>{template footer}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -