<%
if Request.Cookies("admindj")<>"1" then
   Response.Write "<BR><BR><BR><BR><center>权限不足，你没有此功能的管理权限"
   Response.end
end if
%>
<!--#include file = admin_chk.asp -->
<!--#include file = admin_conn.asp -->

<head>
<!--#include file = language.asp -->

<STYLE type="text/css">
<!--
a:link       {text-decoration: none; font-family: AdobeSm; color: #000000 }
a:visited    {text-decoration: none; color: #000000 }
A:hover      {COLOR: green; FONT-FAMILY: "宋体,MingLiU"; TEXT-DECORATION: underline}
body         {font-size: 9pt; font-family: 宋体,MingLiU, Arial;color: #000000}
TD           {FONT-SIZE: 9pt; FONT-FAMILY: "宋体,MingLiU, Arial";color: #000000;table-layout:fixed;word-break:break-all}
p            {FONT-SIZE: 9pt; FONT-FAMILY: "宋体,MingLiU, Arial";color: #000000}
input        {FONT-SIZE: 9pt; FONT-FAMILY: "宋体,MingLiU, Arial";color: #000000}
body         {margin-top: 0; margin-bottom: 0;margin-left:0;margin-right:0; color: #000000}
select       {FONT-SIZE: 9PT;}
option       {FONT-SIZE: 9pt;}
textarea     {FONT-SIZE: 9pt;}
-->
</STYLE>
</head>
<body bgcolor="#ffffff">
<%
Function finddir(filepath)
	finddir=""
	for i=1 to len(filepath)
	if left(right(filepath,i),1)="/" or left(right(filepath,i),1)="\" then
	  abc=i
	  exit for
	end if
	next
	if abc <> 1 then
	finddir=left(filepath,len(filepath)-abc+1)
	end if
end Function
%>
<BR>
<div align="center">
	<table border="1" cellpadding="3" cellspacing="0" width="750" id="table1" style="border-collapse: collapse" bordercolor="#C0C0C0">
		<tr>
			<td background="images/topBar_bg.gif">　<b>下拉方式调用 </b>显示所有的链接</td>
		</tr>
		<tr>
			<td><font color="#FF0000">JS调用代码：<br>
			&lt;script TYPE=&quot;text/javascript&quot; language=&quot;javascript&quot; src=&quot;<%=finddir(request.servervariables("URL"))%>admin_link_js.asp?link=1&quot;&gt;&lt;/script&gt;</font></td>
		</tr>
		<tr>
			<td><script TYPE="text/javascript" language="javascript" src="admin_link_js.asp?link=1"></script></td>
		</tr>
	</table>
</div>
<BR>
<div align="center">
	<table border="1" cellpadding="3" cellspacing="0" width="750" id="table1" style="border-collapse: collapse" bordercolor="#C0C0C0">
		<tr>
			<td background="images/topBar_bg.gif">　<b>文字方式调用 </b>(横排，不分行) 
			仅显示没有图片的文字链接</td>
		</tr>
		<tr>
			<td><font color="#FF0000">JS调用代码：<br>
			&lt;script TYPE=&quot;text/javascript&quot; language=&quot;javascript&quot; src=&quot;<%=finddir(request.servervariables("URL"))%>admin_link_js.asp?link=2&amp;n=8&amp;w=5&quot;&gt;&lt;/script&gt;<br>
			</font>n=8 意思是显示8个文字链接, 如果n=1那么就是显示所有的不带图片LOGO的链接。<br>
			h=5 意思是每横排只显示5个链接</td>
		</tr>
		<tr>
			<td><script TYPE="text/javascript" language="javascript" src="admin_link_js.asp?link=2&n=8"></script></td>
		</tr>
	</table>
</div>
<BR>
<div align="center">
	<table border="1" cellpadding="3" cellspacing="0" width="750" id="table1" style="border-collapse: collapse" bordercolor="#C0C0C0">
		<tr>
			<td background="images/topBar_bg.gif">　<b>文字方式调用 </b>
			(竖排)　仅显示没有图片的文字链接</td>
		</tr>
		<tr>
			<td><font color="#FF0000">JS调用代码：<br>
			&lt;script TYPE=&quot;text/javascript&quot; language=&quot;javascript&quot; src=&quot;<%=finddir(request.servervariables("URL"))%>admin_link_js.asp?link=3&amp;n=8&quot;&gt;&lt;/script&gt;<br>
			</font>n=8 意思是显示8个文字链接</td>
		</tr>
		<tr>
			<td><script TYPE="text/javascript" language="javascript" src="admin_link_js.asp?link=3&n=8"></script></td>
		</tr>
	</table>
</div>
<BR>
<div align="center">
	<table border="1" cellpadding="3" cellspacing="0" width="750" id="table1" style="border-collapse: collapse" bordercolor="#C0C0C0">
		<tr>
			<td background="images/topBar_bg.gif">　<b>图片方式调用 </b>(横排，不分行)　仅显示图片的链接</td>
		</tr>
		<tr>
			<td><font color="#FF0000">JS调用代码：<br>
			&lt;script TYPE=&quot;text/javascript&quot; language=&quot;javascript&quot; src=&quot;<%=finddir(request.servervariables("URL"))%>admin_link_js.asp?link=4&amp;n=8&quot;&gt;&lt;/script&gt;<br>
			</font>n=8 意思是显示8个文字链接</td>
		</tr>
		<tr>
			<td><script TYPE="text/javascript" language="javascript" src="admin_link_js.asp?link=4&n=8"></script></td>
		</tr>
	</table>
</div>
<BR>
<div align="center">
	<table border="1" cellpadding="3" cellspacing="0" width="750" id="table1" style="border-collapse: collapse" bordercolor="#C0C0C0">
		<tr>
			<td background="images/topBar_bg.gif">　<b>图片方式调用 </b>(竖排)　仅显示图片的链接</td>
		</tr>
		<tr>
			<td><font color="#FF0000">JS调用代码：<br>
			&lt;script TYPE=&quot;text/javascript&quot; language=&quot;javascript&quot; src=&quot;<%=finddir(request.servervariables("URL"))%>admin_link_js.asp?link=5&amp;n=8&quot;&gt;&lt;/script&gt;<br>
			</font>n=8 意思是显示8个文字链接</td>
		</tr>
		<tr>
			<td><script TYPE="text/javascript" language="javascript" src="admin_link_js.asp?link=5&n=8"></script></td>
		</tr>
	</table>
</div>
<BR>
<div align="center">
	<table border="1" cellpadding="3" cellspacing="0" width="750" id="table1" style="border-collapse: collapse" bordercolor="#C0C0C0">
		<tr>
			<td background="images/topBar_bg.gif">　<b>全页方式调用 </b>(先文字后图片　横排)</td>
		</tr>
		<tr>
			<td><font color="#FF0000">JS调用代码：<br>
			&lt;script TYPE=&quot;text/javascript&quot; language=&quot;javascript&quot; src=&quot;<%=finddir(request.servervariables("URL"))%>admin_link_js.asp?link=6&quot;&gt;&lt;/script&gt;</font></td>
		</tr>
		<tr>
			<td>无预览</td>
		</tr>
	</table>
</div>