Discuz.Web/templates/default3.1/usercppostpm.htm
(开头部分) 6KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%template _header%>
<%if {infloat}!=1%>
<div id="nav">
<div class="wrap s_clear">
<a href="{config.forumurl}" class="title">{config.forumtitle}</a> » <a href="usercp.aspx">用户中心</a> » <strong>撰写短消息</strong>
</div>
</div>
<%/if%>
<%if {ispost}%>
<%if {infloat}==1%>
<%if page_err==0%>
<script type="text/javascript">
$('postpm').style.display = 'none';
$('return_mods').className = '';
</script>
<div class="msgbox">
<h1>{config.forumtitle} 提示信息</h1>
<p>{msgbox_text}</p>
<%if {msgbox_url}!=""%>
<h1><a href="javascript:;" onclick="location.reload()">如果长时间没有响应请点击此处</a></h1>
<script type="text/javascript">setTimeout('location.reload()', 3000);</script>
<%/if%>
</div>
<%else%>
{msgbox_text}
<%/if%>
<%else%>
<%if page_err==0%>
<%template _msgbox%>
<%else%>
<%template _errmsgbox%>
<%/if%>
<%/if%>
<%else%>
<%if {infloat}==1%>
<div class="floatbox" id="floatlayout_postpm">
<h3 class="float_ctrl">
<!--操作标题开始-->
<em id="return_mods">撰写短消息</em>
<!--操作标题结束-->
<span>
<a href="javascript:;" class="float_close" onclick="floatwin('close_postpm')" title="关闭">关闭</a>
</span>
</h3>
<div class="gateform" style="padding-left:15px;">
<h3 id="returnmessage"></h3>
<form id="postpm" name="postpm" method="post" onsubmit="javascript:ajaxpost('postpm', 'return_mods', 'return_mods', 'onerror');return false;" action="{rooturl}usercppostpm.aspx?infloat=1" style="position:relative;">
<table cellspacing="0" cellpadding="0" class="formtable" summary="撰写短消息">
<tbody>
<tr>
<th><label for="msgto">收件人</label></th>
<td><input name="msgto" type="text" id="msgto" value="{msgto}" size="25" class="txt" tabindex="1" /><a id="friendchoice" href="javascript:void(0);" onclick="ShowPanel('240px','24px','radio');SetCompleteAction(function(){ OnSelectComplete();return false;});return false;">选择好友</a></td>
</tr>
<tr>
<th><label for="subject">标题</label></th>
<td><input name="subject" type="text"id="subject" value="{subject}" size="40" class="txt" tabindex="1" /></td>
</tr>
<tr>
<th><label for="message">内容</label></th>
<td><textarea name="message" cols="60" rows="8" id="message" tabindex="1" onkeydown="if((event.ctrlKey && event.keyCode == 13) || (event.altKey && event.keyCode == 83)) {ajaxpost('postpm', 'return_mods', 'return_mods', 'onerror');return false;}" style="width:80%;" class="txtarea">{message}</textarea></td>
后面还有 105 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
