<!--#include file="const.asp"-->
<%
Admin_header
'=====================================================================
' 软件名称：新云网站管理系统
' 当前版本：NewAsp Content Management System Version 4.0
' 文件名称：admin_index.asp
' 更新日期：2008-06-16
' 官方网站：新云网络(www.newasp.net www.newasp.cn) QQ：94022511
'=====================================================================
' Copyright 2003-2008 newasp.net - All Rights Reserved.
' newasp is a trademark of newasp.net
'=====================================================================
Dim Rs,ChannelOption
%>
<table class="table1" cellspacing="1" cellpadding="3" align="center" border="0">
	<tr>
		<td class="tableline linetitle" width="200" align="left">文章频道</td>
		<td class="tableline" width="*" align="right"><a href="admin_post.asp?action=add&ChannelID=<%=ChannelID%>">添加文章</a>
			 - <a href="../sys/admin_class.asp?ChannelID=<%=ChannelID%>">分类管理</a>
			 - <a href="admin_list.asp?ChannelID=<%=ChannelID%>&order=0">时间排序</a>
			 - <a href="admin_list.asp?ChannelID=<%=ChannelID%>&order=1">ID 排序</a>
			 - <a href="admin_list.asp?ChannelID=<%=ChannelID%>&showmode=1">专题列表</a>
			 - <a href="admin_list.asp?ChannelID=<%=ChannelID%>&isaccept=1">审核列表</a>
		</td>
	</tr>
</table>
<table class="tableborder" cellspacing="1" cellpadding="3" align="center" border="0">
<tr>
	<th colspan="6">文章频道管理</th>
</tr>
<tr>
	<td colspan="6" class="tablerow1" id="searchBox">&nbsp;</td>
</tr>
<tr>
	<td colspan="6" class="tablerow2"><b>说明：</b><br/>&nbsp;&nbsp;搜索时请选择相应的频道；选择分词搜索时，程序会将关键字中的中文、英文、数字自动分开搜索，是一种模糊查询方式。</td>
</tr>
<%
ChannelOption=""
Set Rs=NewAsp.Execute("SELECT ChannelID,ChannelName,ChannelDir,modules,ModuleName FROM NC_Channel WHERE StopChannel=0 And modules=1 And ChannelType<2 ORDER BY orders ASC,ChannelID ASC")
Do While Not Rs.EOF
%>
<tr>
	<td colspan="6" class="tablerow1"><b><%=Rs("ChannelName")%> -- 频道管理</b></td>
</tr>
<tr align="center">
	<td class="tablerow2"><a href="admin_list.asp?ChannelID=<%=Rs("ChannelID")%>">文章管理</a></td>
	<td class="tablerow2"><a href="../sys/admin_class.asp?ChannelID=<%=Rs("ChannelID")%>">分类管理</a></td>
	<td class="tablerow2"><a href="../sys/admin_special.asp?ChannelID=<%=Rs("ChannelID")%>">专题管理</a></td>
	<td class="tablerow2"><a href="admin_list.asp?ChannelID=<%=Rs("ChannelID")%>&isaccept=1">审核管理</a></td>
	<td class="tablerow2"><a href="../sys/admin_template.asp?action=browse&path=<%=NewAsp.MainSetting(0)%>\Channel_<%=Rs("ChannelID")%>">模板管理</a></td>
	<td class="tablerow2"><a href="../sys/admin_channel.asp?action=edit&ChannelID=<%=Rs("ChannelID")%>">频道管理</a></td>
</tr>
<tr align="center">
	<td class="tablerow1"><a href="admin_post.asp?action=add&ChannelID=<%=Rs("ChannelID")%>">添加<%=Rs("ModuleName")%></a></td>
	<td class="tablerow1"><a href="../sys/admin_class.asp?action=add&ChannelID=<%=Rs("ChannelID")%>">添加分类</a></td>
	<td class="tablerow1"><a href="admin_collection.asp?ChannelID=<%=Rs("ChannelID")%>">采集管理</a></td>
	<td class="tablerow1"><a href="admin_setting.asp?action=setting&ChannelID=<%=Rs("ChannelID")%>">批量设置</a></td>
	<td class="tablerow1"><a href="admin_setting.asp?action=move&ChannelID=<%=Rs("ChannelID")%>">批量移动</a></td>
	<td class="tablerow1"><a href="../sys/admin_taglist.asp?ChannelID=<%=Rs("ChannelID")%>">Tag管理</a></td>
</tr>
<tr align="center">
	<td class="tablerow2"><a href="admin_makehtml.asp?ChannelID=<%=Rs("ChannelID")%>">生成HTML文件</a></td>
	<td class="tablerow2"><a href="../sys/admin_setting.asp?ChannelID=<%=Rs("ChannelID")%>">基本设置</a></td>
	<td class="tablerow2"><a href="admin_comment.asp?ChannelID=<%=Rs("ChannelID")%>">评论管理</a></td>
	<td class="tablerow2"><a href="admin_jscript.asp?ChannelID=<%=Rs("ChannelID")%>">JS文件管理</a></td>
	<td class="tablerow2"><a href="admin_upload.asp?action=img&ChannelID=<%=Rs("ChannelID")%>">上传图片管理</a></td>
	<td class="tablerow2"><a href="admin_upload.asp?action=file&ChannelID=<%=Rs("ChannelID")%>">上传文件管理</a></td>
</tr>
<%
	ChannelOption = ChannelOption & "<option value="""&Rs("ChannelID")&""">"&Rs("ModuleName")&"频道</option>"
	Rs.movenext
Loop
Rs.Close()
Set Rs=Nothing
%>
</table>
<div id="searchDIV" style="display:none;">
	<form name="search_form" id="search_form" method="get" action="admin_search.asp">
		文章搜索：
		<input type="text" class="alingmid" id="word" name="word" size="45" onfocus="if(this.value=='请输入关键字')this.value=''" value="请输入关键字" />
		<select name="ChannelID" id="ChannelOption" class="alingmid">
			<%=ChannelOption%>
			<option value="1">请选择频道</option>
		</select>
		<select name="searchfield" class="alingmid">
			<option value="0" selected="selected">标题</option>
			<option value="1">录入者</option>
			<option value="2">作者</option>
			<option value="3">来源</option>
			<option value="9">标签</option>
		</select>
		<input type="submit" value="开始搜索" name="search_submit" class="button alingmid" />
		<input type="checkbox" id="searchmode" name="searchmode" value="1" class="alingmid" /><label for="searchmode">分词搜索</label>
	</form>
</div>
<script type="text/javascript">
document.getElementById("searchBox").innerHTML = document.getElementById("searchDIV").innerHTML;
</script>
<%
Admin_footer
NewAsp.PageEnd
%>