<!--#include file="../../p_inc/Include_func.asp"-->
<!--#include file="../inc/classDbPager.asp"-->
<!--#include file="../inc/public.asp"-->
<!--#include file="../inc/openconn.asp"-->

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta http-equiv="Content-Language" content="zh-cn">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<LINK href="../css/style.css" rel=stylesheet type=text/css>
<title>JS广告管理</title>
</head>
<body>

<table width="98%" border="0" cellspacing="0" cellpadding="0"  align=center class="tableBorder">
	<tr> 
		<th class="tableHeaderText" colspan=2 height=25>JS广告管理</th>
	</tr>
	
	<tr>
	  <td height=25 class='forumRowHighlight' colspan="2">以下是模版<b><%=G_moban%></b>下的所有广告文件<hr></td>
	</tr>	
		
		<%
			folder=request("folder")
			i=1
			folder=Add_Root_Dir(folder)
			set file1=server.CreateObject(G_FSO)
			set folder1=file1.GetFolder(""&server.mappath(folder)&"")
			for each thing in folder1.Files
				'IF i mod 10 =0 THen
				'	response.Write "<p>"
				'End IF
				t_name=replace(thing,"\","/")
				t_name=split(t_name,"/g_js")
				t_name1="/template/"&G_moban&"/images/g_js"&t_name(1)
				IF right(t_name(1),3)=".js" or right(t_name(1),5)=".html" or right(t_name(1),4)=".htm" or right(t_name(1),4)=".xml" Then
					IF thing.name="topad.js" Then
						response.Write "<tr><td  height=25 class='forumRowHighlight'>文件："&"<a href='../moban/index3.asp?t1="&t_name1&"' target=_blank>"&thing.name&"</a>(首页头部搜索幻灯片广告)  <a href='http://bbs.58119.com' target=_blank><img src='../images/help.gif' border=0 alt='帮助信息'></a></td>"&"<td class='forumRowHighlight'>&nbsp;&nbsp;&nbsp;(所在路径："&t_name1&")</td></tr>"
					ElseIF thing.name="tongji.js" Then
						response.Write "<tr><td  height=25 class='forumRowHighlight'>文件："&"<a href='../moban/index3.asp?t1="&t_name1&"' target=_blank>"&thing.name&"</a>(统计代码文件) <a href='http://bbs.58119.com' target=_blank><img src='../images/help.gif' border=0 alt='帮助信息'></a></td>"&"<td class='forumRowHighlight'>&nbsp;&nbsp;&nbsp;(所在路径："&t_name1&")</td></tr>"
					ElseIF thing.name="listad.js" Then
						response.Write "<tr><td  height=25 class='forumRowHighlight'>文件："&"<a href='../moban/index3.asp?t1="&t_name1&"' target=_blank>"&thing.name&"</a>(分类页面底部通用广告)</td>"&"<td class='forumRowHighlight'>&nbsp;&nbsp;&nbsp;(所在路径："&t_name1&")</td></tr>"
					Else
						response.Write "<tr><td  height=25 class='forumRowHighlight'>文件："&"<a href='../moban/index3.asp?t1="&t_name1&"' target=_blank>"&thing.name&"</a></td>"&"<td class='forumRowHighlight'>&nbsp;&nbsp;&nbsp;(所在路径："&t_name1&")</td></tr>"
					End IF
					
				End IF
				i=i+1
			Next
			
		%>					

</table>

</body>
</html>