profile.tpl
来自「用php编写的一个BBS 小程序」· TPL 代码 · 共 50 行
TPL
50 行
<div id="displayProfile" style="display:none;z-index:1;position:absolute;width:362px;height:250px;left:0px;top:0px;" onmousedown="emersion(this.id)">
<table id="dragTable1" class="dragTable" width="100%" height="100%">
<tr class="dragBar" onMousedown="downMouse()" onMouseup="upMouse(this)" onMousemove="moveLayer(this.parentNode.parentNode)">
<td width="6%" height="18"></td>
<td width="88%" align="center" valign="bottom">修改资料</td>
<td width="6%" align="right" valign="top"><a href="javascript:hideDiv(0)" style="text-decoration:none;" title="关闭窗口">×</a></td>
</tr>
<tr>
<td colspan="3" align="center" style="padding:2px">
<table class="table1" width="360" height="200">
<form name="profile" id="profileForm" action="javascript:void(null)" onsubmit="profileSubmit()" method="post">
<tr bgcolor="#fafafa">
<td class="td1" width="25%" align="right" style="padding:5px" onmouseover="this.style.background='#ffffff'" onmouseout="this.style.background='#fafafa'"><span title="修改资料必须输入密码!">密码:</span></td>
<td class="td1" width="45%" style="padding-left:5px" onmouseover="this.style.background='#ffffff'" onmouseout="this.style.background='#fafafa'"><input type="password" name="oldpassword" id="opv_opwd" value="" maxlength="30" size="23" class="input1" onfocus="this.select()" /></td>
<td class="td1" width="30%" rowspan="4" align="center" style="padding:5px" onmouseover="this.style.background='#ffffff'" onmouseout="this.style.background='#fafafa'"><img id="opv_img" src="images/avatar.gif" width="80" height="80" title="" /></td>
</tr>
<tr bgcolor="#fafafa">
<td class="td1" align="right" style="padding:5px" onmouseover="this.style.background='#ffffff'" onmouseout="this.style.background='#fafafa'"><span title="不修改密码此项请留空!">新密码:</span></td>
<td class="td1" style="padding-left:5px" onmouseover="this.style.background='#ffffff'" onmouseout="this.style.background='#fafafa'"><input type="password" name="newpassword" id="opv_npwd" value="" maxlength="30" size="23" class="input1" onfocus="this.select()" /></td>
</tr>
<tr bgcolor="#fafafa">
<td class="td1" align="right" style="padding:5px" onmouseover="this.style.background='#ffffff'" onmouseout="this.style.background='#fafafa'"><span title="不修改密码此项请留空!">确认密码:</span></td>
<td class="td1" style="padding-left:5px" onmouseover="this.style.background='#ffffff'" onmouseout="this.style.background='#fafafa'"><input type="password" name="rnewpassword" id="opv_rpwd" value="" maxlength="30" size="23" class="input1" onfocus="this.select()" onblur="verifyProfilePwd()" /></td>
</tr>
<tr bgcolor="#fafafa">
<td class="td1" align="right" style="padding:5px" onmouseover="this.style.background='#ffffff'" onmouseout="this.style.background='#fafafa'"><span title=" QQ号码 ">QQ号码:</span></td>
<td class="td1" style="padding-left:5px" onmouseover="this.style.background='#ffffff'" onmouseout="this.style.background='#fafafa'"><input type="text" name="qq" id="opv_qq" value="" maxlength="30" size="23" class="input1" onfocus="this.select()" /></td>
</tr>
<tr bgcolor="#fafafa">
<td class="td1" align="right" style="padding:5px" onmouseover="this.style.background='#ffffff'" onmouseout="this.style.background='#fafafa'"><span title="E-mail地址">E-mail:</span></td>
<td class="td1" colspan="2" style="padding-left:5px" onmouseover="this.style.background='#ffffff'" onmouseout="this.style.background='#fafafa'"><input type="text" name="email" id="opv_eml" value="" maxlength="200" size="24" class="input1" onfocus="this.select()" /> <input type="checkbox" name="hidemail" id="opv_hdml" value="1" /> <span title="选中此项,其他人不会看到你的E-mail。">隐藏邮箱</span></td>
</tr>
<tr bgcolor="#fafafa">
<td class="td1" align="right" style="padding:5px" onmouseover="this.style.background='#ffffff'" onmouseout="this.style.background='#fafafa'"><span title="自定义论坛头像">头像链接:</span></td>
<td class="td1" colspan="2" style="padding-left:5px" onmouseover="this.style.background='#ffffff'" onmouseout="this.style.background='#fafafa'"><input type="text" name="avatar" id="opv_avt" value="images/avatar.gif" maxlength="200" size="24" class="input1" onfocus="this.select()" onblur="varyProfileImg()" /> <input type="checkbox" name="defavatar" id="opv_davt" value="1" /> <span title="选中此项,恢复成论坛默认头像。">默认头像</span></td>
</tr>
<tr bgcolor="#fafafa">
<td class="td1" align="right" style="padding:5px" onmouseover="this.style.background='#ffffff'" onmouseout="this.style.background='#fafafa'"><span title="个性签名不可以超过100个汉字。">个性签名:</span></td>
<td class="td1" colspan="2" style="padding:'3px 5px'" onmouseover="this.style.background='#ffffff'" onmouseout="this.style.background='#fafafa'"><textarea wrap="hard" name="comment" maxlength="200" rows="3" cols="38" class="input1" onfocus="this.select()" id="opv_cmt"></textarea></td>
</tr>
<tr onmouseover="this.style.background='#ffffff'" onmouseout="this.style.background='#fafafa'" bgcolor="#fafafa">
<td class="td1" colspan="3" align="center" style="padding:5px"><input type="submit" name="bPVary" value="修改资料" class="input2" title="确定修改资料" /> <input type="button" name="bVPRefit" value="重置" onclick="modifyProfileRefit()" class="input2" alt="重置个人资料" /></td>
</tr>
</form>
</table>
</td>
</tr>
</table>
</div>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?