📄 post.asp
字号:
return false;
}
// set icon;
function seticon(iname){
var iconurl;
iconurl='icon'+iname+'.gif';
newmsg.icon.value=iconurl;
document.showicon.src='icons/'+iconurl;
//alert(iconurl);
}
function openeditor(){
var bname;
bname=navigator.appName;
//alert(navigator.appVersion);
if (bname!="Microsoft Internet Explorer"&&bname!="MSIE"){
alert("此功能只有IE用户才能使用!");
//alert(bname);
}else{
newwin=window.open('editor/editor.html','','width=544,height=294');
newwin.focus();
}
}
</script>
</head>
<body bgcolor=#ffffff leftmargin="0" topmargin="0">
<table width="760" height="600" border="0" align="center" cellpadding="0" cellspacing="0">
<tr bgcolor="#FFFFFF">
<td width="20" height="11"></td>
<td width="719" height="11"></td>
<td width="21" height="11"></td>
</tr>
<tr>
<td width="25" height="576" background="images/bg.gif"></td>
<td width="719" height="576" valign="top">
<table width="720" border="0" cellspacing="0">
<tr>
<td> </td>
</tr>
<tr>
<td><table width="710" height="100%" border="0" align="center" cellpadding="0" cellspacing="0" >
<tr>
<td width="48" height="424" align="left" valign="top"> </td>
<td width="730" align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="2%" align="left" valign="top"> </td>
<td width="98%"> </td>
</tr>
<tr>
<td align="left" valign="top"> </td>
<td align="left" valign="middle">
<img src="images/post_title.gif" align="absmiddle">
<%
if pt="re" then
response.write("回复:")
response.write(request("rt"))
else
response.write("写新贴。")
end if
%>
<!-- TemplateEndEditable --></td>
</tr>
</table>
<table width="83%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="323" align="left" valign="top"> <!-- TemplateBeginEditable name="edithere" -->
<form name="newmsg" method="post" action="post.asp" onsubmit="return(checkform());">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="80" align="right">select icon:</td>
<td width="370" valign="middle"> <table width="100%" border="0" cellspacing="0" cellpadding="0" height="50">
<tr>
<td align="left" valign="middle"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="7%" align="center" valign="middle">
<table width="100%" height="100%" cellpadding="0" cellspacing="1" border="0" bgcolor="#0099ff">
<tr>
<td align="center" height="40" bgcolor="#ffffff"><img name="showicon" src="icons/icon01.gif" width="7" height="29">
<input type="hidden" name="icon" value="icon01.gif">
</td>
</tr>
</table></td>
<td width="93%"> <img src="icons/icon01.gif" onclick="seticon('01');" width="7" height="29">
<img src="icons/icon02.gif" onclick="seticon('02');" width="11" height="28">
<img src="icons/icon03.gif" onclick="seticon('03');" width="6" height="28">
<img src="icons/icon04.gif" onclick="seticon('04');" width="8" height="26">
<img src="icons/icon05.gif" onclick="seticon('05');" width="7" height="29">
<img src="icons/icon06.gif" onclick="seticon('06');" width="8" height="29">
<img src="icons/icon07.gif" onclick="seticon('07');" width="9" height="29">
<img src="icons/icon08.gif" onclick="seticon('08');" width="6" height="29">
<img src="icons/icon09.gif" onclick="seticon('09');" width="10" height="26">
<img src="icons/icon10.gif" onclick="seticon('10');">
<img src="icons/icon11.gif" onclick="seticon('11');">
<img src="icons/icon12.gif" onclick="seticon('12');" width="8" height="31">
<img src="icons/icon13.gif" onclick="seticon('13');" width="17" height="28">
<img src="icons/icon14.gif" onclick="seticon('14');" width="9" height="28">
<img src="icons/icon15.gif" onclick="seticon('15');" width="9" height="30">
<img src="icons/icon16.gif" onclick="seticon('16');" width="8" height="28">
<img src="icons/icon17.gif" onclick="seticon('17');" width="7" height="29">
<img src="icons/icon18.gif" onclick="seticon('18');" width="7" height="22">
<img src="icons/icon19.gif" onclick="seticon('19');" width="8" height="22">
<img src="icons/icon20.gif" onclick="seticon('20');" width="7" height="22">
<img src="icons/icon21.gif" onclick="seticon('21');" width="8" height="29">
<img src="icons/icon22.gif" onclick="seticon('22');" width="8" height="28">
<img src="icons/icon23.gif" onclick="seticon('23');" width="7" height="27">
<img src="icons/icon24.gif" onclick="seticon('24');" width="8" height="30">
<img src="icons/icon25.gif" onclick="seticon('25');" width="9" height="29">
<img src="icons/icon26.gif" onclick="seticon('26');" width="7" height="29">
<img src="icons/icon27.gif" onclick="seticon('27');" width="9" height="30">
</td>
</tr>
</table></td>
</tr>
</table></td>
</table>
<table border="0" cellspacing="0" cellpadding="0" width="500">
<tr>
<td align="right" width="80">title:</td>
<td width="370"> <input type="text" name="ptitle" size="20" <% if pt="re" then %> value="re: <%=request("rt")%>" <% end if %>>
签名?
<input type="checkbox" name="addsign" value="no">
</td>
</tr>
<tr>
<td align="right" width="80" valign="top">write
here:</td>
<td width="370">
<!-- btn group start -->
<input name="button" type="button" onclick="document.execCommand('bold');" value="B">
<input name="button" type="button" onclick="document.execCommand('Italic');" value="I">
<input name="button" type="button" onclick="document.execCommand('Underline');" value="U">
<input name="button" type="button" style="color:BLUE" onclick="document.execCommand('CreateLink');" value="L">
<input name="button" type="button" style="background-color:BLACK" onclick="document.execCommand('ForeColor','','BLACK');" value="">
<input name="button" type="button" style="background-color:RED" onclick="document.execCommand('ForeColor','','RED');" value="">
<input name="button" type="button" style="background-color:#FFFFCC" onclick="document.execCommand('ForeColor','','#FFFFCC');" value="">
<input name="button" type="button" style="background-color:#009900" onclick="document.execCommand('ForeColor','','#009900');" value="">
<input name="button" type="button" style="background-color:#CCCC66" onclick="document.execCommand('ForeColor','','#CCCC66');" value="">
<input name="button" type="button" style="background-color:#CCFFFF" onclick="document.execCommand('ForeColor','','#CCFFFF');" value="">
<input name="button" type="button" style="background-color:#3399FF" onclick="document.execCommand('ForeColor','','#3399FF');" value="">
<input name="button" type="button" style="background-color:#CC99CC" onclick="document.execCommand('ForeColor','','#CC99FF');" value="">
<input name="button" type="button" style="background-color:#FF00CC" onclick="document.execCommand('ForeColor','','#FF00cc');" value="">
<input name="button" type="button" style="background-color:#FFFFFF" onclick="document.execCommand('ForeColor','','#FFFFFF');" value="">
<input name="button" type="button" onclick="document.execCommand('FontSize','','1');" value="-">
<input name="button" type="button" onclick="document.execCommand('FontSize','','2');" value="=">
<input name="button" type="button" onclick="document.execCommand('FontSize','','4');" value="+">
<input name="button" type="button" onclick="document.execCommand('FontSize','','6');" value="++">
<input type="button" name="swapbtn" value="预览" onclick="if(this.value=='预览'){document.execCommand('unSelect');document.all.xpbody.contentEditable=false;document.all.xpbody.style.background='#FFCC66';this.value='编辑';}else{document.all.xpbody.contentEditable=true;document.all.xpbody.style.background='#FFE386';this.value='预览';}">
<input type="button" name="tempbtn" onclick="alert(document.all.xpbody.innerHTML);">
<!-- btn group end -->
<table cellpadding="0" border="0" cellspacing="1">
<tr>
<td width="2"></td>
</tr>
</table>
<table bgcolor=BLACK border=0 cellpadding="3" cellspacing="1">
<tr>
<td bgcolor="#ffcc66"> <div id=xpbody contentEditable=true style="position:absolut; width:390; height=120;background-color:#FFE386;"></div></td>
</tr>
</table>
<!--<textarea name="pbody" cols="45" rows="10"></textarea><br>-->
<input type="hidden" name="pbody">
<!--<a href="javascript:openeditor();">打开html编辑器</a> |
<a href="###" onclick="window.open('em/em.htm','','left=100,top=100,width=450,height=450');"><img src="em/em16.gif" border="0">添加表情</a>-->
</td>
</tr>
<tr>
<td></td>
<td align="left"><br> <p>
<input type="hidden" name="bid" value="<%=bid%>">
<input type="hidden" name="isok" value="ok">
<input type="hidden" name="sign">
<input type="hidden" name="type" value="<%=pt%>">
<input type="hidden" name="bdid" value="<%=bdid%>">
<input type="submit" name="submit" value="post">
<input type="button" name="cancel" value="back" onclick="window.location='main.asp?bdid=<%=bdid%>';">
</td>
</tr>
</table>
</form>
<iframe border="0" frameborder="0" width="0" height="0" name="onlineframe" id="onlineframe" src="keep.asp?act=正在写贴" scrolling="false"></iframe>
<!-- TemplateEndEditable --></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
<td width="25" height="576" background="images/bg.gif"></td>
</tr>
<tr>
<td height="12" colspan="3"><div align="center">
<table width="760" border="0" align="center" cellspacing="0">
<tr>
<td height="35" colspan="2" background="images/footbg.gif"> <div align="center">3鸟设社[v1.2色彩连视]T恤论论坛
www.3niao.com</div></td>
</tr>
<tr>
<td width="392" background="http://www.3niao.com/v2/down1/images/footgb1.gif"> </td>
<td width="362"><div align="right"><img src="http://www.3niao.com/v2/down1/images/foot.jpg"></div></td>
</tr>
</table>
</div></td>
</tr>
</table>
</center>
</div>
</body>
</html>
<% end sub %>
<% closedb %>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -