📄 html_add.asp
字号:
function cleanHtml()
{
var fonts = message.document.body.all.tags("FONT");
var curr;
for (var i = fonts.length - 1; i >= 0; i--) {
curr = fonts[i];
if (curr.style.backgroundColor == "#ffffff") curr.outerHTML = curr.innerHTML;
}
}
// -->
</script>
<script language="JavaScript">
function about()
{
window.showModalDialog("about.htm","","dialogWidth:420px;dialogHeight:240px;scroll:no;status:no;help:no");
}
function help()
{
var helpmess;
helpmess="---------------填写帮助---------------\r\n\r\n"+
"1.请不要发表有危险性的脚本。\r\n\r\n"+
"2.如果要书写源代码,请选中\r\n\r\n"+
" 查看HTML源代码书写.\r\n\r\n"+
"3.需要你自己运行,才能看效果.\r\n\r\n"+
"4.如果书写js,尽量不要在这儿书写.\r\n\r\n";
alert(helpmess);
}
</script>
<script src="edit.js" type="text/javascript"></script>
<script src="inc/ubbcode.js" type="text/javascript"></script>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta copy="程序制作:xoyu(QQ:5964887)www.xoyu.com">
<link rel="stylesheet" type="text/css" href="admin.css">
<title>晓宇听幽 网站内容管理系统—添加文章</title>
</head>
<body topmargin="1" leftmargin="1">
<form action="html_add_save.asp?d=addsave&id=<%=request("id")%>&spid=<%=request("spid")%>" method=post name="frmAnnounce">
<input type="hidden" name="user" value="<%=xoYuStudioAdminName%>">
<table width="100%" border="0" cellspacing="1" cellpadding="3" align=center class="tableBorder" height="1">
<tr>
<th width="100%" class="tableHeaderText" colspan=2 height=18>
<p align="left"><b>
<img border="0" src="images/ICON1.GIF">在栏目:<%=thistype%>
(添加文章 2/2)</b></th>
</tr>
<tr>
<td class="forumrow" height="1" width="100%">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="98%" id="AutoNumber1">
<tr><td class="forumrow" width="65"><font color="#FF0000">所属栏目</font>:</td>
<td class="forumrow">
<select size="1" name="tid">
<%if request("id")<>"" then
response.write("<option selected value='"&request("id")&"'>"&thistype&"("&request("id")&")</option>")
else
response.write("<option selected value=''>- - = = = 请选择文章分类 = = = - -</option>")
end if%><%=typelist%>
</select>
</td></tr>
<tr>
<td width="65">所属专题:</td>
<td>
<select size="1" name="sid">
<%if request("spid")<>"" then
response.write("<option selected value='"&request("spid")&"'>"&thisSPtype&"("&request("spid")&")</option>")
else
'response.write("<option selected value=''>- - = = = 请选择专题分类 = = = - -</option>")
end if%><%=SPtypelist%>
</select>
</td>
</tr>
<tr>
<td width="65"><font color=#FF0000>文章标题</font>:</td>
<td>
<SELECT onchange=DoTitle(this.options[this.selectedIndex].value)>
<option value="">标题颜色</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>
<option value=[酱色]> [酱色]</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>
<option value=[建议]> [建议]</option>
<option value=[焦点]> [焦点]</option>
<option value=[社会]> [社会]</option>
</select><input type="text" size=64 name="title" value="<%=request("title")%>">
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1" height="1">
<tr>
<td height="1" width="100%">
<!--#include file="xoYuEdit.asp"-->
<script language="javascript">
document.write ('<iframe src="textbox.asp?action=new" id="message" width="525" height="150" align=left></iframe>')
frames.message.document.designMode = "On";
</script>
</td>
</tr>
<tr>
<td width="767" height="49">
<table border="0" width="524" cellpadding="0" cellspacing="0" height="117" >
<tr><td width="65" height="20"><font color="#FF0000">关 键 字</font>:</td>
<td height="20" width="452"><input type="text" size=21 name="se"> <select name="se1" id="select" onchange=Dose(this.options[this.selectedIndex].value)>
<option value="" selected>选关键字</option>
<%
if newskey<>"" then
key=split(newskey,",")
for i=0 to ubound(key)
response.write "<option value='"&key(i)&"'>"&key(i)&"</option>"
next
end if
%>
</select> 请选择
<input name="change" value="快速发表文章" type="submit" OnClick="document.frmAnnounce.body.value = frames.message.document.body.innerHTML;"></td>
</tr>
<tr>
<td width="65" height="20"><font color="<font color=#FF0000">模版捆绑</font>:</td>
<td height="20" width="452">
<select name="MbName" size="1">
<%if MbName="" then %>
<option value="未捆绑" selected>无模版可捆绑</option>
<%else%>
<%=choose1%>
<%end if
%>
</select><font color="#0000ff"> 请在模板管理中</font><font color="#0000FF">修改</font><font color="#0000ff">模板。</font></td>
</tr>
<tr>
<td width="65" height="20">文章作者:</td>
<td height="20" width="452">
<input type="text" size=21 name="form_user" value=""> <select name="form_user1" id="select" onchange=Doform_user(this.options[this.selectedIndex].value)>
<option value="" selected>选择作者</option>
<%
if form_user<>"" then
writer=split(form_user,",")
for i=0 to ubound(writer)
response.write "<option value='"&writer(i)&"'>"&writer(i)&"</option>"
next
end if
%>
</select> 请选择</td></tr>
<tr>
<td width="65" height="17">文章来源:</td><td height="17" width="452">
<input type="text" size=21 name="form_url" value=""> <select name="se1" id="select" onchange=Doform_url(this.options[this.selectedIndex].value)>
<option value="" selected>选择来源</option>
<%
if form_url<>"" then
url=split(form_url,",")
for i=0 to ubound(url)
response.write "<option value='"&url(i)&"'>"&url(i)&"</option>"
next
end if
%>
</select> 请选择</td>
</tr>
<tr>
<td width="65" height="20">浏览等级:</td>
<td width="452" height="20"><select size="1" name="xoYuNewsDJ">
<option selected value="6">游 客</option>
<option value="0">普通会员</option>
<option value="1">认证会员</option>
<option value="2">栏目管理员</option>
<option value="3">系统管理员</option>
</select>(选择允许浏览的最低级别)</td>
</tr>
<tr>
<td width="65" height="7">文章图片:</td>
<td width="452" height="7"><input type="text" size=31 name="pic"></td>
</tr>
<tr>
<td width="65" height="4">文章属性:</td>
<td width="452" height="4">滚动<input name="marquee" type="checkbox" value="true" checked>
并排<input type="checkbox" name="bingpai" value="true" checked> 评论<input name="reply" type="checkbox" value="true" checked>
首页推荐<input type="checkbox" name="commend" value="1"></td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
<tr>
<th width="100%" bgcolor="#99CCFF" height="21" colspan=2>
<p align="center">
<input name="change" value="添加" type="submit" OnClick="document.frmAnnounce.body.value = frames.message.document.body.innerHTML;">
<input type="hidden" name="body" value="">
<input name="change1" value="重置" type="reset"> <input type="checkbox" name="makehtml" value="yes" checked>自动生成HTML页 现在时间:<%=savetime%></th>
</tr>
</table>
</form>
</body>
<% end if %></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -