📄 edit.jsp
字号:
<option value="darkblue" style="BACKGROUND-COLOR: darkblue">深蓝</option>
<option value="darkgreen" style="BACKGROUND-COLOR: darkgreen">深绿</option>
<option value="Goldenrod" style="BACKGROUND-COLOR: Goldenrod">土黄</option>
<option value="darkcyan" style="BACKGROUND-COLOR: darkcyan">蓝绿</option>
<option value="gray" style="BACKGROUND-COLOR: gray">浅灰</option>
<option value="black" style="BACKGROUND-COLOR: black">黑色</option>
<option value="" selected>字色</option>
</select>
<select name=SelBackColor size=1 onchange="return SelBackColor_onchange()" style="FONT-SIZE: 12px" >
<option value="">缺省</option>
<option value="red" style="BACKGROUND-COLOR: red">红色</option>
<option value="blue" style="BACKGROUND-COLOR: blue">蓝色</option>
<option value="green" style="BACKGROUND-COLOR: green">绿色</option>
<option value="yellow" style="BACKGROUND-COLOR: yellow">黄色</option>
<option value="pink" style="BACKGROUND-COLOR: pink" >粉红</option>
<option value="cyan" style="BACKGROUND-COLOR: cyan">天青</option>
<option value="white" style="BACKGROUND-COLOR: white">白色</option>
<option value="darkred" style="BACKGROUND-COLOR: darkred">深红</option>
<option value="darkblue" style="BACKGROUND-COLOR: darkblue">深蓝</option>
<option value="darkgreen" style="BACKGROUND-COLOR: darkgreen">深绿</option>
<option value="Goldenrod" style="BACKGROUND-COLOR: Goldenrod">土黄</option>
<option value="darkcyan" style="BACKGROUND-COLOR: darkcyan">蓝绿</option>
<option value="gray" style="BACKGROUND-COLOR: gray">浅灰</option>
<option value="black" style="BACKGROUND-COLOR: black">黑色</option>
<option value="" selected>字体背景色彩</option>
</select>
</div></td>
<td width="4%"><div align="center"><IMG onmouseup="return But_onmouseup(this)" onmousedown="return But_onmousedown(this)" onmouseover="return But_onmouseover(this)" onclick=EditFont(1) onmouseout ="return But_onmouseout(this)" alt=加粗 src="images/bold.gif" width="20" height="20" ></div></td>
<td width="4%"><div align="center"><IMG onmouseup="return But_onmouseup(this)" onmousedown="return But_onmousedown(this)" onmouseover="return But_onmouseover(this)" onclick=EditFont(2) onmouseout ="return But_onmouseout(this)" alt=斜体 src="images/italic.gif" width="16" height="20" ></div></td>
<td width="4%"><div align="center"><IMG onmouseup="return But_onmouseup(this)" onmousedown="return But_onmousedown(this)" onmouseover="return But_onmouseover(this)" onclick=EditFont(3) onmouseout ="return But_onmouseout(this)" alt=下划线 src="images/under.gif" width="20" height="20" ></div></td>
<td width="4%"><div align="center"><IMG onmouseup="return But_onmouseup(this)" onmousedown="return But_onmousedown(this)" onmouseover="return But_onmouseover(this)" onclick=InsertUrl() onmouseout ="return But_onmouseout(this)" alt=插入链接 src="images/wlink.gif" width="20" height="20" ></div></td>
</tr>
</table>
<hr height=1 width=100%>
<table width="100%" height=30 border="0" cellpadding="0" cellspacing="0" bgColor=buttonface>
<tr>
<td width="4%"><div align="center"><IMG onmouseup="return But_onmouseup(this)" onmousedown="return But_onmousedown(this)" onmouseover="return But_onmouseover(this)" onclick=InsertTable() onmouseout ="return But_onmouseout(this)" alt=插入表格 src="images/table.gif" width="20" height="20" ></div></td>
<td width="4%"><div align="center"><IMG onmouseup="return But_onmouseup(this)" onmousedown="return But_onmousedown(this)" onmouseover="return But_onmouseover(this)" onclick=EditFont(4) onmouseout ="return But_onmouseout(this)" alt=剪切 src="images/cut.gif" width="20" height="20" ></div></td>
<td width="4%"><div align="center"><IMG onmouseup="return But_onmouseup(this)" onmousedown="return But_onmousedown(this)" onmouseover="return But_onmouseover(this)" onclick=EditFont(5) onmouseout ="return But_onmouseout(this)" alt=复制 src="images/copy.gif" width="20" height="20" ></div></td>
<td width="4%"><div align="center"><IMG onmouseup="return But_onmouseup(this)" onmousedown="return But_onmousedown(this)" onmouseover="return But_onmouseover(this)" onclick=EditFont(6) onmouseout ="return But_onmouseout(this)" alt=粘贴 src="images/paste.gif" width="20" height="20" ></div></td>
<td width="4%"><div align="center"><IMG onmouseup="return But_onmouseup(this)" onmousedown="return But_onmousedown(this)" onmouseover="return But_onmouseover(this)" onclick=EditFont(7) onmouseout ="return But_onmouseout(this)" alt=左对齐 src="images/aleft.gif" width="20" height="20" ></div></td>
<td width="4%"><div align="center"><IMG onmouseup="return But_onmouseup(this)" onmousedown="return But_onmousedown(this)" onmouseover="return But_onmouseover(this)" onclick=EditFont(8) onmouseout ="return But_onmouseout(this)" alt=居中 src="images/center.gif" width="20" height="20" ></div></td>
<td width="4%"><div align="center"><IMG onmouseup="return But_onmouseup(this)" onmousedown="return But_onmousedown(this)" onmouseover="return But_onmouseover(this)" onclick=EditFont(9) onmouseout ="return But_onmouseout(this)" alt=右对齐 src="images/aright.gif" width="20" height="20" ></div></td>
<td width="4%"><div align="center"><IMG onmouseup="return But_onmouseup(this)" onmousedown="return But_onmousedown(this)" onmouseover="return But_onmouseover(this)" onclick=EditFont(10) onmouseout ="return But_onmouseout(this)" alt=编号 src="images/nlist.gif" width="20" height="20" ></div></td>
<td width="4%"><div align="center"><IMG onmouseup="return But_onmouseup(this)" onmousedown="return But_onmousedown(this)" onmouseover="return But_onmouseover(this)" onclick=EditFont(11) onmouseout ="return But_onmouseout(this)" alt=项目符号 src="images/blist.gif" width="20" height="20" ></div></td>
<td width="4%"><div align="center"><IMG onmouseup="return But_onmouseup(this)" onmousedown="return But_onmousedown(this)" onmouseover="return But_onmouseover(this)" onclick=EditFont(12) onmouseout ="return But_onmouseout(this)" alt=减少缩进量 src="images/ileft.gif" width="20" height="20" ></div></td>
<td width="4%"><div align="center"><IMG onmouseup="return But_onmouseup(this)" onmousedown="return But_onmousedown(this)" onmouseover="return But_onmouseover(this)" onclick=EditFont(13) onmouseout ="return But_onmouseout(this)" alt=增加缩进量 src="images/iright.gif" width="20" height="20" ></div></td>
<td width="4%"><div align="center"><IMG onmouseup="return But_onmouseup(this)" onmousedown="return But_onmousedown(this)" onmouseover="return But_onmouseover(this)" onclick=EditFont(14) onmouseout ="return But_onmouseout(this)" alt=下标 src="images/subscript.gif" width="20" height="20" ></div></td>
<td width="4%"><div align="center"><IMG onmouseup="return But_onmouseup(this)" onmousedown="return But_onmousedown(this)" onmouseover="return But_onmouseover(this)" onclick=EditFont(15) onmouseout ="return But_onmouseout(this)" alt=上标 src="images/superscript.gif" width="20" height="20" ></div></td>
<td width="4%"><div align="center"><IMG onmouseup="return But_onmouseup(this)" onmousedown="return But_onmousedown(this)" onmouseover="return But_onmouseover(this)" onclick=circle("left") onmouseout ="return But_onmouseout(this)" alt=左环绕 src="images/alignleft.gif" width="20" height="20" ></div></td>
<td width="4%"><div align="center"><IMG onmouseup="return But_onmouseup(this)" onmousedown="return But_onmousedown(this)" onmouseover="return But_onmouseover(this)" onclick=circle("texttop") onmouseout ="return But_onmouseout(this)" alt=居中环绕 src="images/aligncenter.gif" width="20" height="20" ></div></td>
<td width="4%"><div align="center"><IMG onmouseup="return But_onmouseup(this)" onmousedown="return But_onmousedown(this)" onmouseover="return But_onmouseover(this)" onclick=circle("right") onmouseout ="return But_onmouseout(this)" alt=右环绕 src="images/alignright.gif" width="20" height="20" ></div></td>
<td width="4%"><div align="center"><IMG onmouseup="return But_onmouseup(this)" onmousedown="return But_onmousedown(this)" onmouseover="return But_onmouseover(this)" onclick=DivSeg() onmouseout ="return But_onmouseout(this)" alt=分页 src="images/divseg.gif" width="20" height="20" ></div></td>
<td width="4%"><div align="center"><IMG onmouseup="return But_onmouseup(this)" onmousedown="return But_onmousedown(this)" onmouseover="return But_onmouseover(this)" onclick=InsertImg() onmouseout ="return But_onmouseout(this)" alt=插入图片 src="images/img.gif" width="20" height="20" ></div></td>
<td width="6%"><div align="center"><IMG onmouseup="return But_onmouseup(this)" onmousedown="return But_onmousedown(this)" onmouseover="return But_onmouseover(this)" onclick=InsertMul() onmouseout ="return But_onmouseout(this)" alt=插入多媒体 src="images/media.gif" width="27" height="20" ></div></td>
</tr>
</table>
</FIELDSET>
<form action="processedit.jsp" method=post name=form2>
<table width="100%">
<tr>
<td width="10%">栏目<font color="#FF0000">*</font></td>
<td><select name="first" id="first" onChange="javascript:changelocation(document.form2.first.options[document.form2.first.selectedIndex].value)">
<option selected>一级栏目</option>
<%
//一级栏目
sql = "SELECT * FROM web_class WHERE flag=0 ORDER BY id ASC";
rs = edit.query(sql);
%>
<%
while(rs.next()){
%>
<option value="<%=rs.getInt("id")%>"><%=rs.getString("classname")%></option>
<%}%>
</select>
<select name="second" id="second">
<option value="0" selected>二级栏目</option>
</select>
</td>
</tr>
<tr>
<td>标题<font color="#FF0000">*</font></td>
<td>
<SELECT name=type id="type" onchange=Dotitle(this.options[this.selectedIndex].value)>
<option value="" selected>选择</option>
<option value="[图文]">[图文]</option>
<option value="[原创]">[原创]</option>
<option value="[转帖]">[转帖]</option>
<option value="[讨论]">[讨论]</option>
<option value="[推荐]">[推荐]</option>
<option value="[公告]">[公告]</option>
<option value="[注意]">[注意]</option>
<option value="[分享]">[分享]</option>
</SELECT>
<input name="title" type="text" id="title" size="60" maxlength="80">
</td>
</tr>
<tr>
<td width="10%">作者</td>
<td><input name="author" type="text" id="author" size="20">
<input name="imgfile" type="hidden" id="imgfile"></td>
</tr>
<tr>
<td width="10%">摘自</td>
<td><input name="source" type="text" id="source" size="30"></td>
</tr>
</table>
<table width="100%">
<tr>
<td width="10%">内容<font color="#FF0000">*</font></td>
<td><IFRAME width="98%" name=contentframe height="270" onfocus="SetEdit(this)" marginWidth=1 marginHeight=1 scrolling=yes>
</IFRAME>
</td></tr></table>
<textarea name="content" rows="1" cols="20" id="content" style="display:'none'"></textarea>
<center>
<INPUT type="button" value="Design" name=visualedit onclick="EditConVis()" class="ButtonStyle" style="cursor:hand;background-Color:#C8D2EC" disabled>
<INPUT type="button" value="Source" name=viewcode onclick="EditConCode()" class="ButtonStyle" style="cursor:hand">
<INPUT type="button" value=" 提 交 " class="ButtonStyle" onclick="Form2Submit()">
</center>
</form>
</td>
</tr>
</table>
<hr>
<%@include file="copyright.jsp"%>
</body>
</HTML>
<%
edit.closestmt();
edit.closeconn();
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -