📄 admin_addchannel.asp
字号:
<%
if action="edit" and ChannelType_e=2 then
%>
<input name="ChannelType" type="radio" class="checkbox" onClick="show(0)" value="2" checked>
<%
else
if action <>"edit" then
%>
<input name="ChannelType" type="radio" class="checkbox" onClick="show(0)" value="2" checked>
<% else %>
<input name="ChannelType" type="radio" disabled="disabled" class="checkbox" onClick="show(0)" value="2">
<% end if %>
<% end if %>
<font color="ff6600"><b class="style1">外部频道</b></font></label>
外部频道指链接到本系统以外的地址中。当此频道准备链接到网站中的其他系统时,请使用这种方式。
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="34%" height="45" align="right">外部频道的链接地址:</td>
<td width="35%"><label>
<%
if action="edit" and ChannelType_e=2 then
%>
<input name="LinkUrl" type="text" id="LinkUrl" value="<%=LinkUrl_e%>" size="40">
<%
else
if action ="edit" then
%>
<% else %>
<input name="LinkUrl" type="text" id="LinkUrl" value="<%=LinkUrl_e%>" size="40">
<% end if %>
<% end if %>
</label>
<label> </label></td>
<td width="31%">
<div id="ff" >
<%
if action="edit" and ChannelType_e=2 then
%>
<font color=red>*</font>
<% end if %>
<%
if action<>"edit" then
%>
<font color=red>*</font>
<% end if %>
</div> </td>
</tr>
</table></td>
</tr>
<tr class="tdbg" onMouseOut="this.style.backgroundColor=''" onMouseOver="this.style.backgroundColor='#BFDFFF'">
<td> </td>
<td>
<%if action="edit" then
select case ChannelType_e
case 0%>
<input name="ChannelType" type="radio" class="checkbox" onClick="show(1)" value="0" checked>
<font color="ff6600"><b class="style1">系统频道 </b></font>系统内部频道指的是在本系统现有功能模块(新闻、文章、图片等)频道。
<%case 1%>
<input name="ChannelType" type="radio" class="checkbox" onClick="show(1)" value="1" checked>
<%end select
else%>
<input name="ChannelType" type="radio" class="checkbox" onClick="show(1)" value="1">
<font color="ff6600"><b class="style1">内部频道 </b></font>系统内部频道指的是在本系统现有功能模块(新闻、文章、图片等)基础上添加新的频道,新频道具备和所使用功能模块完全相同的功能。例如,添加一个名为“网络学院”的新频道,新频道使用“文章”模块的功能,则新添加的“网络学院”频道具有原文章频道的所有功能。
此功能需要服务器支持FSO才可用。
<%end if%>
<div id="div2" style="display:
<%if action="edit" and (ChannelType_e=0 or ChannelType_e=1) then
response.write ""
else
response.write "none"
end if%>">
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="1">
<tr>
<td width="37%" height="30"><STRONG><font color="ff6600"><b class="style1">频道使用的功能模块:</b></font></STRONG></td>
<td width="63%"><label>
<%if action="edit" and (ChannelType_e=0 or ChannelType_e=1) then%>
<select name="ModuleType" id="ModuleType" disabled="disabled">
<option value="1" <%if ModuleType_e=1 then Response.Write"selected"%>>求职</option>
<option value="2" <%if ModuleType_e=2 then Response.Write"selected"%>>招聘</option>
<option value="3" <%if ModuleType_e=3 then Response.Write"selected"%>>院校</option>
<option value="4" <%if ModuleType_e=4 then Response.Write"selected"%>>猎头</option>
<option value="5" <%if ModuleType_e=5 then Response.Write"selected"%>>培训</option>
<option value="6" <%if ModuleType_e=6 then Response.Write"selected"%>>留言</option>
<option value="7" <%if ModuleType_e=7 then Response.Write"selected"%>>测评</option>
<option value="8" <%if ModuleType_e=8 then Response.Write"selected"%>>派遣</option>
<option value="9" <%if ModuleType_e=9 then Response.Write"selected"%>>下载</option>
<option value="10" <%if ModuleType_e=10 then Response.Write"selected"%>>文章</option>
<option value="11" <%if ModuleType_e=11 then Response.Write"selected"%>>论坛</option>
<option value="12" <%if ModuleType_e=12 then Response.Write"selected"%>>视频招聘</option>
<option value="13" <%if ModuleType_e=13 then Response.Write"selected"%>>视频简历</option>
<option value="14" <%if ModuleType_e=14 then Response.Write"selected"%>>帮助</option>
<option value="15" <%if ModuleType_e=15 then Response.Write"selected"%>>分站</option>
</select>
<% else %>
<select name="ModuleType" id="ModuleType">
<option value="10">文章</option>
</select>
<% end if %>
<font color=red>*</font></label></td>
</tr>
<tr>
<td><STRONG><font color="ff6600"><b class="style1">频道目录:</b></font></STRONG>(频道英文名)<font color="#FF0000">只能是英文,不能带空格或“\”、“/”等符号。</font><BR>
样例:News或Article或Soft</td>
<td><label>
<%
if action="edit" and (ChannelType_e=0 or ChannelType_e=1) then
%>
<input name="ChannelDir" type="text" id="ChannelDir" size="20" disabled="disabled" value="<%=ChannelDir_e%>">
<% else %>
<input name="ChannelDir" type="text" id="ChannelDir" size="20">
<% end if %>
</label>
<font color="#FF0000">注:请慎重填写,一但填写不得修改.</font></td>
</tr>
<tr>
<td><STRONG><font color="ff6600"><b class="style1">项目名称:</b></font></STRONG><BR>
例如:频道名称为“网络学院”,其项目名称为“文章”或“教程”</td>
<td><input name="ChannelShortName" type="text" id="ChannelShortName" value="<%=ChannelShortName_e%>" size="20">
<font color=red>*</font></td>
</tr>
<tr>
<td><STRONG><font color="ff6600"><b class="style1">项目单位:</b></font></STRONG><BR>
例如:“篇”、“条”、“个”</td>
<td><input name="ChannelItemUnit" type="text" id="ChannelItemUnit" value="<%=ChannelShortName_e%>" size="10">
<font color=red>*</font></td>
</tr>
</table>
</div> </td>
</tr>
<tr>
<td height="1" colspan="2" bgcolor="#EFEFEF">
<div id="div1" style="display:
<%
if action="edit" and (ChannelType_e=0 or ChannelType_e=1) then
response.write ""
else
response.write "none"
end if
%>">
<table width="100%" border="0" cellspacing="1" cellpadding="2">
<tr class="tdbg" onMouseOut="this.style.backgroundColor=''" onMouseOver="this.style.backgroundColor='#BFDFFF'">
<td width="26%"><font color="ff6600"><b class="style1">频道META关键词:</b></font><BR>
针对搜索引擎设置的关键词<BR>
例如:在文本框填写“网站,门户,新闻,快讯”<BR>
多个关键词请用,号分隔</td>
<td width="74%"><label>
<textarea name="Meta_Keywords" cols="70" rows="5" id="Meta_Keywords"><%=Meta_Keywords_e%></textarea>
</label></td>
</tr>
<tr class="tdbg" onMouseOut="this.style.backgroundColor=''" onMouseOver="this.style.backgroundColor='#BFDFFF'">
<td><font color="ff6600"><b class="style1">频道META网页描述:</b></font><BR>
针对搜索引擎设置的网页描述<BR>
例如:在文本框填写“网站,门户,新闻,快讯”<BR>
多个描述请用,号分隔</td>
<td><label>
<textarea name="Meta_Description" cols="70" rows="5" id="Meta_Description"><%=Meta_Description_e%></textarea>
</label></td>
</tr>
</table>
</div></td>
</tr>
<tr class="tdbg" onMouseOut="this.style.backgroundColor=''" onMouseOver="this.style.backgroundColor='#BFDFFF'">
<td><STRONG><font color="ff6600"><b class="style1">打开方式:</b></font></STRONG></td>
<td><label>
<input name="OpenType" type="radio" class="checkbox" value="0"
<%
if action ="edit" and OpenType_e=0 then
response.write "checked"
else
if action <> "edit" then
response.write "checked"
end if
end if
%>>
在原窗口打开
<input name="OpenType" type="radio" class="checkbox" value="1"
<%
if action ="edit" and OpenType_e=1 then
response.write "checked"
end if
%>>
在新窗口打开</label></td>
</tr>
<tr class="tdbg" onMouseOut="this.style.backgroundColor=''" onMouseOver="this.style.backgroundColor='#BFDFFF'">
<td><STRONG><font color="ff6600"><b class="style1">禁用本频道:</b></font></STRONG></td>
<td>
<input name="Disabled" type="radio" class="checkbox" value="True"
<%
if action ="edit" and Disabled_e then
response.write "checked"
end if
%>>
是
<input name="Disabled" type="radio" class="checkbox" value="False"
<%
if action ="edit" and not Disabled_e then
response.write "checked"
else
if action <> "edit" then
response.write "checked"
end if
end if
%>>
否</td></tr>
<tr class="tdbg" onMouseOut="this.style.backgroundColor=''" onMouseOver="this.style.backgroundColor='#BFDFFF'">
<td colspan="2" align="center">
<div id="cs" style="display:
<%if action <>"edit" or ChannelType_e=2 then
response.write "none"
end if
%>
">
<table width="100%" border="0" cellpadding="2" cellspacing="1">
<tr>
<td width="26%" bgcolor="#EFEFEF"><STRONG><font color="ff6600"><b class="style1">生成HTML方式:</b></font></STRONG><BR>
服务器支持FSO才能启用“生成HTML”功能<BR>
请谨慎选择!以后在每一次更改生成方式前,你最好先删除所有以前生成的文件,然后在保存频道参数后再重新生成所有文件。</td>
<td width="74%" bgcolor="#EFEFEF"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><input name="UseCreateHTML" type="radio" class="checkbox" value="0"
<%
if UseCreateHTML_e=0 then
response.write "checked"
end if
%>
>
不生成</td>
</tr>
<tr>
<td><input name="UseCreateHTML" type="radio" class="checkbox" value="1"
<%
if UseCreateHTML_e=1 then
response.write "checked"
end if
%>
>
全部生成</td>
</tr>
<tr>
<td><input name="UseCreateHTML" type="radio" class="checkbox" value="2"
<%
if UseCreateHTML_e=2 then
response.write "checked"
end if
%>
>
只生成内容页,首页</td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="2" bgcolor="#FFFFFF"><strong><font color="ff6600"><b class="style1">以下参数仅当“生成HTML方式”设为后二者时才有效。
<br>
请谨慎选择!以后在每一次更改以下参数前,你最好先删除所有以前生成的文件,然后在保存参数设置后再重新生成所有文件。</b></font></strong></td>
</tr>
<tr>
<td bgcolor="#EFEFEF"><STRONG><font color="ff6600"><b class="style1">自动生成HTML时的生成方式:</b></font></STRONG><BR>
添加/修改信息时,系统可以自动生成有关页面文件,请在这里选择自动生成时的方式。</td>
<td bgcolor="#EFEFEF"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><input name="AutoCreateType" type="radio" class="checkbox" value="0"
<%
if AutoCreateType_e=0 then
response.write "checked"
end if
%>
>
不自动生成</td>
</tr>
<tr>
<td><input name="AutoCreateType" type="radio" class="checkbox" value="1"
<%
if AutoCreateType_e=1 then
response.write "checked"
end if
%>
>
自动生成全部所需页面<br>
当“生成HTML方式”设置为“全部生成”时,将生成所有页面;当“生成HTML方式”设置为后两种时,会根据设置的选项生成有关页面。</td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor="#EFEFEF"><STRONG><font color="ff6600"><b class="style1">栏目列表文件的存放位置:</b></font></STRONG></td>
<td bgcolor="#EFEFEF"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><input name="ListFileType" type="radio" class="checkbox" value="0"
<%
if ListFileType_e=0 then
response.write "checked"
end if
%>
>
列表文件统一保存在指定的“List”文件夹中<br>
例:Article/List/List_236.html(栏目首页)<BR>
Article/List/List_236_2.html(第二页)</td>
</tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -