📄 publish_buttom.jsp
字号:
string=string+"<td></td>";
}
string=string+"</tr>";
}
string=string+"</table>";
content=idContent1.document.body.innerHTML;
content=content+string;
idContent1.document.body.innerHTML=content;
idContent1.focus();
}
else idContent1.focus();
}
</SCRIPT>
</head>
<body bgcolor="eeeeee" text="#000000" onload="window_onload();MM_preloadImages('editorimg/save_over.gif','editorimg/cut_over.gif','editorimg/copy_over.gif','editorimg/paste_over.gif','editorimg/bold_over.gif','editorimg/italic_over.gif','editorimg/underline_over.gif','editorimg/left_over.gif','editorimg/center_over.gif','editorimg/right_over.gif','editorimg/orderedlist_over.gif','editorimg/unorderedlist_over.gif','editorimg/outdent_over.gif','editorimg/indent_over.gif','editorimg/table_over.gif','editorimg/createlink_over.gif')">
<form name="form1" method="post" action="dealwithcenter.jsp?action=add">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#999999">
<tr>
<td height="28" background="editorimg/bg2.gif"><table width="100%" height="28" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="13"><img src="editorimg/bg2_a.gif" width="3" height="28"><img src="editorimg/bg2.gif" width="9" height="28"></td>
<td width="13" align="center" valign="middle"><img src="editorimg/save.gif" width="22" height="22" name="Image100" onClick="onClick=save(idContent1.document.body.innerHTML)" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image100','','editorimg/save_over.gif',1)" alt="保存"></td>
<td width="964" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="2" valign="middle"></td>
</tr>
<tr>
<td valign="middle"><img src="editorimg/aa.gif" width="17" height="22"><img src="editorimg/cut.gif" width="22" height="22" name="Image1" onClick="cmdExec('cut')" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1','','editorimg/cut_over.gif',1)" alt="剪切"><img src="editorimg/copy.gif" width="22" height="22" name="Image2" onClick="cmdExec('copy')" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image2','','editorimg/copy_over.gif',1)" alt="复制"><img src="editorimg/paste.gif" width="22" height="22" name="Image3" onClick="cmdExec('paste')" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image3','','editorimg/paste_over.gif',1)" alt="粘贴"><img src="editorimg/aa.gif" width="17" height="22"><img src="editorimg/bold.gif" width="22" height="22" name="Image4" onClick="cmdExec('bold')" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image4','','editorimg/bold_over.gif',1)" alt="粗体"><img src="editorimg/italic.gif" width="22" height="22" name="Image5" onClick="cmdExec('italic')" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image5','','editorimg/italic_over.gif',1)" alt="斜体"><img src="editorimg/underline.gif" width="22" height="22" name="Image6" onClick="cmdExec('underline')" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image6','','editorimg/underline_over.gif',1)" alt="下划线"><img src="editorimg/aa.gif" width="17" height="22"><img src="editorimg/left.gif" width="22" height="22" name="Image7" onClick="cmdExec('justifyleft')" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image7','','editorimg/left_over.gif',1)" alt="向左对齐"><img src="editorimg/center.gif" width="22" height="22" name="Image8" onClick="cmdExec('justifycenter')" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image8','','editorimg/center_over.gif',1)" alt="居中对齐"><img src="editorimg/right.gif" width="22" height="22" name="Image9" onClick="cmdExec('justifyright')" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image9','','editorimg/right_over.gif',1)" alt="向右对齐"><img src="editorimg/aa.gif" width="17" height="22"><img src="editorimg/orderedlist.gif" width="22" height="22" name="Image10" onclick="cmdExec('insertorderedlist');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image10','','editorimg/orderedlist_over.gif',1)" alt="列表"><img src="editorimg/unorderedlist.gif" width="22" height="22" name="Image11" onclick="cmdExec('insertunorderedlist')" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image11','','editorimg/unorderedlist_over.gif',1)" alt="取消列表"><img src="editorimg/outdent.gif" width="22" height="22" name="Image13" onclick="cmdExec('indent');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image13','','editorimg/outdent_over.gif',1)" alt="缩进"><img src="editorimg/indent.gif" width="22" height="22" name="Image12" onclick="cmdExec('outdent');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image12','','editorimg/indent_over.gif',1)" alt="取消缩进"><img src="editorimg/aa.gif" width="17" height="22"><img src="editorimg/table.gif" width="22" height="22" name="Image14" onclick="fortable();" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image14','','editorimg/table_over.gif',1)" alt="插入表格"><img src="editorimg/createlink.gif" width="22" height="22" name="Image16" onclick="createLink();" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image16','','editorimg/createlink_over.gif',1)" alt="超级链接">
<img src="editorimg/line.gif" alt="插入直线" width="22" height="22"
onClick="idContent1.document.execCommand('InsertHorizontalRule', false, null); idContent1.focus();" onmouseover="eButton(this, 'over');" onmouseout="eButton(this, 'out'); " onmousedown="eButton(this, 'down');" onmouseup="eButton(this, 'up');"></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="128" background="Images/bg1.gif"> <table width="100%" height="133" border="0" cellpadding="4" cellspacing="0">
<tr>
<td height="29" bgcolor="D6D3CE">字体属性</td>
<td colspan="3" bgcolor="D6D3CE"><select onChange="format('fontname',this[this.selectedIndex].value);this.selectedIndex=0" id="select12" name="select2">
<option selected>Font</option>
<option value="Arial">Arial</option>
<option value="Arial Black">Arial Black</option>
<option value="Arial Narrow">Arial Narrow</option>
<option value="Comic Sans MS">Comic Sans MS</option>
<option value="Courier New">Courier New</option>
<option value="System">System</option>
<option value="Tahoma">Tahoma</option>
<option value="Times New Roman">Times New Roman</option>
<option value="Times New Roman">MS Sans Serif</option>
<option value="Verdana">Verdana</option>
<option value="Wingdings">Wingdings</option>
<option value="宋体">宋体</option>
<option value="楷体_GB2312">楷体_GB2312</option>
<option value="新宋体">新宋体</option>
<option value="黑体">黑体</option>
<option value="CustomFont">Custom...</option>
</select> <select onChange="cmdExec('fontsize',this[this.selectedIndex].value);" id="select13" name="select3">
<option selected>Size</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
</select> <select onChange="format('forecolor',this[this.selectedIndex].style.color);this.selectedIndex=0" id="select14" name="select4" class="modilogin">
<option selected>Color</option>
<option style="color: #000000;background-color: #000000">黑色</option>
<option style="color: #840000;background-color: #840000">暗红色</option>
<option style="color: #008200;background-color: #008200">绿色</option>
<option style="color: #838200;background-color: #838200">橄榄色</option>
<option style="color: #000084;background-color: #000084">深蓝色</option>
<option style="color: #840084;background-color: #840084">紫色</option>
<option style="color: #008284;background-color: #008284">绿蓝</option>
<option style="color: #848284;background-color: #848284">灰色</option>
<option style="color: #c6c3c6;background-color: #c6c3c6">银色</option>
<option style="color: #ff0000;background-color: #ff0000">红色</option>
<option style="color: #00ff00;background-color: #00ff00">浅绿色</option>
<option style="color: #ffff00;background-color: #ffff00">黄色</option>
<option style="color: #0000ff;background-color: #0000ff">蓝色</option>
<option style="color: #ff00ff;background-color: #ff00ff">艳红色</option>
<option style="color: #00ffff;background-color: #00ffff">湖色</option>
<option>Custom...</option>
</select></td>
<td bgcolor="D6D3CE"> </td>
<td width="133" bgcolor="D6D3CE"><input type="checkbox" onClick="setMode(this.checked)" name="checkbox" id="checkbox4">
<label for="checkbox4">编辑HTML</label></td>
<td width="49" align="center" valign="middle" bgcolor="D6D3CE">加亮</td>
<td width="161" bgcolor="D6D3CE"><input type="radio" name="light" value="red">
<font color="#FF0000">红色</font> <input type="radio" name="light" value="blue">
<font color="#0000FF">蓝色</font></td>
</tr>
<tr>
<td width="125" height="24" valign="middle" bgcolor="D6D3CE">主题</td>
<td colspan="3" bgcolor="D6D3CE"> <%
if (session.getValue("topic") == null) out.print("<input name=topic type=text maxlength=200 size=40>");
else out.print("<input name=topic type=text maxlength=200 size=40 value=" + session.getValue("topic") + ">");
%> </td>
<td width="56" valign="middle" bgcolor="D6D3CE">来源</td>
<td colspan="3" bgcolor="D6D3CE"> <%
if (session.getValue("source") == null) out.print("<input name=source type=text>");
else out.print("<input name=source type=text value=" + session.getValue("source") + ">");
%> </td>
</tr>
<tr>
<td height="29" valign="middle" bgcolor="D6D3CE">所属栏目</td>
<td width="53" bgcolor="D6D3CE"><select name="type_id">
<%
if (session.getValue("type_id") == null) out.print(managerNews.ListNewsType(request,tb_news_type,tb_news_visitor_type));
else out.print(managerNews.ListNewsType(request,tb_news_type,tb_news_visitor_type,Integer.parseInt(session.getValue("type_id")+"")));
%>
</select></td>
<td width="72" align="center" valign="middle" bgcolor="D6D3CE">分页</td>
<td width="278" bgcolor="D6D3CE"><input type="radio" name="pagination" value="0" checked>
否
<input type="radio" name="pagination" value="1">
是</td>
<td valign="middle" bgcolor="D6D3CE">关键字</td>
<td colspan="3" bgcolor="D6D3CE"> <%
if (session.getValue("keywords") == null) out.print("<input name=keywords type=text>");
else out.print("<input name=keywords type=text value=" + session.getValue("keywords") + ">");
%>
(个数不限,用<font color="#FF0000">,</font>隔开)</td>
</tr>
<tr bgcolor="D6D3CE">
<td height="51" colspan="8" align="center" valign="middle">
<iframe name="ad" frameborder=0 width=100% height=50 scrolling=no src=publish_top.jsp></iframe>
</td>
</tr>
</table></td>
</tr>
<tr>
<td><iframe width="100%" id="idContent1" height="700" ></iframe></td>
</tr>
</table></td>
</tr>
</table>
<input type="hidden" name="content">
<input type="hidden" name="content_type" value=1>
<!--end editor.htm-->
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -