?? admin_articlemodify.asp
字號:
</tr>
<tr class="tdbg">
<td width="100" align="right"><strong>文章標(biāo)題:</strong></td>
<td><input name="Title" type="text"
id="Title" value="<%=rsArticle("Title")%>" size="50" maxlength="255">
<font color="#FF0000">*</font>
<select name="TitleFontColor" id="TitleFontColor">
<option value="" <%if rsArticle("TitleFontColor")="" then response.write " selected"%>>顏色</option>
<OPTION value="">默認(rèn)</OPTION>
<OPTION value="#000000" style="background-color:#000000" <%if rsArticle("TitleFontColor")="#000000" then response.write " selected"%>></OPTION>
<OPTION value="#FFFFFF" style="background-color:#FFFFFF" <%if rsArticle("TitleFontColor")="#FFFFFF" then response.write " selected"%>></OPTION>
<OPTION value="#008000" style="background-color:#008000" <%if rsArticle("TitleFontColor")="#008000" then response.write " selected"%>></OPTION>
<OPTION value="#800000" style="background-color:#800000" <%if rsArticle("TitleFontColor")="#800000" then response.write " selected"%>></OPTION>
<OPTION value="#808000" style="background-color:#808000" <%if rsArticle("TitleFontColor")="#808000" then response.write " selected"%>></OPTION>
<OPTION value="#000080" style="background-color:#000080" <%if rsArticle("TitleFontColor")="#000080" then response.write " selected"%>></OPTION>
<OPTION value="#800080" style="background-color:#800080" <%if rsArticle("TitleFontColor")="#800080" then response.write " selected"%>></OPTION>
<OPTION value="#808080" style="background-color:#808080" <%if rsArticle("TitleFontColor")="#808080" then response.write " selected"%>></OPTION>
<OPTION value="#FFFF00" style="background-color:#FFFF00" <%if rsArticle("TitleFontColor")="#FFFF00" then response.write " selected"%>></OPTION>
<OPTION value="#00FF00" style="background-color:#00FF00" <%if rsArticle("TitleFontColor")="#00FF00" then response.write " selected"%>></OPTION>
<OPTION value="#00FFFF" style="background-color:#00FFFF" <%if rsArticle("TitleFontColor")="#00FFFF" then response.write " selected"%>></OPTION>
<OPTION value="#FF00FF" style="background-color:#FF00FF" <%if rsArticle("TitleFontColor")="#FF00FF" then response.write " selected"%>></OPTION>
<OPTION value="#FF0000" style="background-color:#FF0000" <%if rsArticle("TitleFontColor")="#FF0000" then response.write " selected"%>></OPTION>
<OPTION value="#0000FF" style="background-color:#0000FF" <%if rsArticle("TitleFontColor")="#0000FF" then response.write " selected"%>></OPTION>
<OPTION value="#008080" style="background-color:#008080" <%if rsArticle("TitleFontColor")="#008080" then response.write " selected"%>></OPTION>
</select>
<select name="TitleFontType" id="TitleFontType">
<option value="0" <%if rsArticle("TitleFontType")="0" then response.write " selected"%>>字形</option>
<option value="1" <%if rsArticle("TitleFontType")="1" then response.write " selected"%>>粗體</option>
<option value="2" <%if rsArticle("TitleFontType")="2" then response.write " selected"%>>斜體</option>
<option value="3" <%if rsArticle("TitleFontType")="3" then response.write " selected"%>>粗+斜</option>
<option value="0" <%if rsArticle("TitleFontType")="4" then response.write " selected"%>>規(guī)則</option>
</select>
</td>
</tr>
<tr class="tdbg">
<td width="100" align="right"><strong>關(guān)鍵字:</strong></td>
<td><input name="Key" type="text"
id="Key" value="<%=mid(rsArticle("Key"),2,len(rsArticle("Key"))-2)%>" size="50" maxlength="255">
<font color="#FF0000">*</font><br>
<font color="#0000FF">用來查找相關(guān)文章,可輸入多個(gè)關(guān)鍵字,中間用<font color="#FF0000">“|”</font>分開。不能出現(xiàn)"'*?()等字符。</font></td>
</tr>
<tr class="tdbg">
<td width="100" align="right"><strong>作者:</strong></td>
<td>姓名:
<input name="AuthorName" type="text"
id="AuthorName" value="<%=AuthorName%>" size="20" maxlength="30">
Email:
<input name="AuthorEmail" type="text" id="AuthorEmail" value="<%=AuthorEmail%>" size="40" maxlength="100">
</td>
</tr>
<tr class="tdbg">
<td width="100" align="right"><strong>原出處:</strong></td>
<td>名稱:
<input name="CopyFromName" type="text"
id="CopyFromName" value="<%=CopyFromName%>" size="20" maxlength="50">
地 址:
<input name="CopyFromUrl" type="text" id="CopyFromUrl" value="<%=CopyFromUrl%>" size="40" maxlength="200"></td>
</tr>
<tr class="tdbg">
<td width="100" align="right" valign="middle"><p><strong>文章內(nèi)容:</strong></p>
<p align="left"><font color="#006600">· 如果是從其它網(wǎng)站上復(fù)制內(nèi)容,并且內(nèi)容中包含有圖片,本系統(tǒng)保存修改結(jié)果時(shí)將把非本站圖片復(fù)制到本站服務(wù)器上,系統(tǒng)會因復(fù)制圖片的大小而影響速度,請稍候(此功能需要服務(wù)器安裝了IE5.5以上版本才有效)。<br>
<br>
· 換行請按Shift+Enter</font><br>
<font color="#006600">· 另起一段請按Enter</font></p></td>
<td><textarea name="Content" style="display:none"></textarea>
<iframe ID="editor" src="editor.asp?Action=Modify&ArticleID=<%=ArticleID%>" frameborder=1 scrolling=no width="600" height="405"></iframe>
</td>
</tr>
<tr class="tdbg">
<td width="100" align="right"><strong>內(nèi)容分頁方式:</strong></td>
<td><select name="PaginationType" id="PaginationType">
<option value="0" <%if rsArticle("PaginationType")=0 then response.write " selected"%>>不分頁</option>
<option value="1" <%if rsArticle("PaginationType")=1 then response.write " selected"%>>自動(dòng)分頁</option>
<option value="2" <%if rsArticle("PaginationType")=2 then response.write " selected"%>>手動(dòng)分頁</option>
</select> <strong><font color="#0000FF">注:</font></strong><font color="#0000FF">手動(dòng)分頁符標(biāo)記為“</font><font color="#FF0000">[NextPage]</font><font color="#0000FF">”,注意大小寫</font></td>
</tr>
<tr class="tdbg">
<td align="right"> </td>
<td>自動(dòng)分頁時(shí)的每頁大約字符數(shù)(包含HTML標(biāo)記):<strong>
<input name="MaxCharPerPage" type="text" id="MaxCharPerPage" value="<%=rsArticle("MaxCharPerPage")%>" size="8" maxlength="8">
</strong></td>
</tr>
<tr class="tdbg">
<td width="100" align="right"><strong>文章閱讀等級:</strong></td>
<td><select name="ReadLevel" id="select">
<option value="9999" <%if rsArticle("ReadLevel")=9999 then response.write " selected"%>>游客</option>
<option value="999" <%if rsArticle("ReadLevel")=999 then response.write " selected"%>>注冊用戶</option>
<option value="99" <%if rsArticle("ReadLevel")=99 then response.write " selected"%>>收費(fèi)用戶</option>
<option value="9" <%if rsArticle("ReadLevel")=9 then response.write " selected"%>>VIP用戶</option>
<option value="5" <%if rsArticle("ReadLevel")=5 then response.write " selected"%>>管理員</option>
</select>
<font color="#0000FF">只有具有相應(yīng)權(quán)限的人才能閱讀此文章。</font></td>
</tr>
<tr class="tdbg">
<td width="100" align="right"><strong>文章閱讀點(diǎn)數(shù):</strong></td>
<td><input name="ReadPoint" type="text" id="ReadPoint" value="<%=rsArticle("ReadPoint")%>" size="5" maxlength="3">
<font color="#0000FF">如果大于0,則用戶閱讀此文章時(shí)將消耗相應(yīng)點(diǎn)數(shù)。(對游客和管理員無效)</font></td>
</tr>
<tr class="tdbg">
<td width="100" align="right"><strong>包含圖片:</strong></td>
<td><input name="IncludePic" type="checkbox" id="IncludePic" value="yes" <% if rsArticle("IncludePic")=true then response.Write("checked") end if%>>
是<font color="#0000FF">(如果選中的話會在標(biāo)題前面顯示[圖文])</font></td>
</tr>
<tr class="tdbg">
<td width="100" align="right"><strong>首頁圖片:</strong></td>
<td><input name="DefaultPicUrl" type="text" id="DefaultPicUrl" value="<%=rsArticle("DefaultPicUrl")%>" size="56" maxlength="200">
用于在首頁的圖片文章處顯示 <br>
直接從上傳圖片中選擇:
<select name="DefaultPicList" id="DefaultPicList" onChange="DefaultPicUrl.value=this.value;">
<option value=""<% if rsArticle("DefaultPicUrl")="" then response.write "selected" %>>不指定首頁圖片</option>
<%
if rsArticle("UploadFiles")<>"" then
dim IsOtherUrl
IsOtherUrl=True
if instr(rsArticle("UploadFiles"),"|")>1 then
dim arrUploadFiles,intTemp
arrUploadFiles=split(rsArticle("UploadFiles"),"|")
for intTemp=0 to ubound(arrUploadFiles)
if rsArticle("DefaultPicUrl")=arrUploadFiles(intTemp) then
response.write "<option value='" & arrUploadFiles(intTemp) & "' selected>" & arrUploadFiles(intTemp) & "</option>"
IsOtherUrl=False
else
response.write "<option value='" & arrUploadFiles(intTemp) & "'>" & arrUploadFiles(intTemp) & "</option>"
end if
next
else
if rsArticle("UploadFiles")=rsArticle("DefaultPicUrl") then
response.write "<option value='" & rsArticle("UploadFiles") & "' selected>" & rsArticle("UploadFiles") & "</option>"
IsOtherUrl=False
else
response.write "<option value='" & rsArticle("UploadFiles") & "'>" & rsArticle("UploadFiles") & "</option>"
end if
end If
if IsOtherUrl=True then
response.write "<option value='" & rsArticle("DefaultPicUrl") & "' selected>" & rsArticle("DefaultPicUrl") & "</option>"
end if
end if
%>
</select> <input name="UploadFiles" type="hidden" id="UploadFiles" value="<%=rsArticle("UploadFiles")%>">
</td>
</tr>
<%if AdminPurview=1 or AdminPurview_Article<=2 then%>
<tr class="tdbg">
<td width="100" align="right"><strong>文章性質(zhì):</strong></td>
<td><input name="OnTop" type="checkbox" id="OnTop" value="yes" <% if rsArticle("OnTop")=true then response.Write("checked") end if%>>
固頂文章 <input name="Hot" type="checkbox" id="Hot" value="yes" onclick="javascript:document.myform.Hits.value=<%=HitsOfHot%>" disabled>
熱點(diǎn)文章 <input name="Elite" type=checkbox id="Elite" value="yes" <% if rsArticle("Elite")=true then response.Write("checked") end if%>>
推薦文章 文章評分等級:
<select name="Stars" id="Stars">
<option value="5" <%if rsArticle("Stars")=5 then response.write " selected"%>>★★★★★</option>
<option value="4" <%if rsArticle("Stars")=4 then response.write " selected"%>>★★★★</option>
<option value="3" <%if rsArticle("Stars")=3 then response.write " selected"%>>★★★</option>
<option value="2" <%if rsArticle("Stars")=2 then response.write " selected"%>>★★</option>
<option value="1" <%if rsArticle("Stars")=1 then response.write " selected"%>>★</option>
<option value="0" <%if rsArticle("Stars")=0 then response.write " selected"%>>無</option>
</select>
</td>
</tr>
<tr class="tdbg">
<td width="100" align="right"><strong>點(diǎn)擊數(shù):</strong></td>
<td><input name="Hits" type="text" id="Hits" value="<%=rsArticle("Hits")%>" size="10" maxlength="10">
<font color="#0000FF">這功能是提供給管理員作弊用的。不過盡量不要用呀!^_^</font></td>
</tr>
<tr class="tdbg">
<td width="100" align="right"><strong>錄入時(shí)間:</strong></td>
<td><input name="UpdateTime" type="text" id="UpdateTime" value="<%=rsArticle("UpdateTime")%>" maxlength="50">
時(shí)間格式為“年-月-日 時(shí):分:秒”,如:<font color="#0000FF">2003-5-12 12:32:47</font>
</td>
</tr>
<%end if%>
<tr class="tdbg">
<td width="100" align="right"><strong>配色模板:</strong></td>
<td><%call Admin_ShowSkin_Option(rsArticle("SkinID"))%> 相關(guān)模板中包含CSS、顏色、圖片等信息</td>
</tr>
<tr class="tdbg">
<td width="100" align="right"><strong>版面設(shè)計(jì)模板:</strong></td>
<td><%call Admin_ShowLayout_Option(3,rsArticle("LayoutID"))%> 相關(guān)模板中包含了版面設(shè)計(jì)的版式等信息</td>
</tr>
<%if AdminPurview=1 or AdminPurview_Article<=2 then%>
<tr class="tdbg">
<td width="100" align="right"><strong>已通過審核:</strong></td>
<td><input name="Passed" type="checkbox" id="Passed" value="yes" <% if rsArticle("Passed")=true then response.Write("checked") end if%>>
是<font color="#0000FF">(如果選中的話將直接發(fā)布,否則審核后才能發(fā)布。)</font></td>
</tr>
<%end if%>
</table>
</td>
</tr>
</table>
<div align="center">
<p>
<input name="ArticleID" type="hidden" id="ArticleID" value="<%=rsArticle("ArticleID")%>">
<input
name="Save" type="submit" id="Save" value="保存修改結(jié)果" style="cursor:hand;">
<input name="Cancel" type="button" id="Cancel" value=" 取 消 " onClick="window.location.href='Admin_ArticleManage.asp'" style="cursor:hand;">
</p>
</div>
</form>
</body>
</html>
<%
end if
rsArticle.close
set rsArticle=nothing
call CloseConn()
%>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -