<!--#include file="conn.asp"-->

<%
'-------------------------------------
'功能：管理员管理网站首页
'天天智能友情链接管理系统
'天天DV网制作 http://www.ttdv.cn
'博大网址库http://www.ip126.com

'可自由传播和免费使用，但必须保留此完整版权信息
'本程序撷取了ITlearner、博大网址库等优秀程序中的源代码，对他们的作者表示感谢
'-------------------------------------

if session(hxCacheName&"_admin")<>"OK" then
    response.redirect("admin_login.asp")
end if
dim action
action=request.QueryString("action")
%>
<%
dim rs,sql
%>
<html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>新建网页 1</title>
<base target="main">
<link href="../style.css" rel="stylesheet" type="text/css">

<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #BDBEDE;
}
.style1 {color: #FF0000}
-->
</style></head>

<body>

<div align="center">
  <table width="158"  border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><img src="../images/admin_title.gif" width="158" height="38"></td>
    </tr>
    <tr>
      <td height="25" background="../images/title_bg_quit.gif">&nbsp;&nbsp;<a href="admin_manage.asp">管理首页</a> | <a href="admin_login.asp?action=exit">安全退出</a></td>
    </tr>


    <tr>
      <td height="25" background="../images/title_bg_show.gif">&nbsp;&nbsp;<span class="style1">友情链接管理</span></td>
    </tr>
    <tr>
      <td bgcolor="#FFFFFF"><table width="95%"  border="0" align="center" cellpadding="0" cellspacing="0">

        <tr>
          <td><img src="../images/bullet.gif" width="15" height="20"></td>
          <td><a href="admin_manage.asp?action=ListSite">管理友情链接</a></td>
        </tr>
         <tr>
          <td><img src="../images/bullet.gif" width="15" height="20"></td>
          <td><a href="admin_addlink.asp">添加友情链接</a></td>
        </tr>           
         <tr>
          <td><img src="../images/bullet.gif" width="15" height="20"></td>
          <td><a href="admin_manage.asp?action=Summary">查看统计记录</a></td>
        </tr>        
         <tr>
          <td><img src="../images/bullet.gif" width="15" height="20"></td>
          <td><a href="admin_manage.asp?action=ShowLog">查看点击记录</a></td>
        </tr>

        <tr>
          <td><img src="../images/bullet.gif" width="15" height="20"></td>
          <td><A href="admin_manage.asp?action=BatchDelform">批量删除数据</A></td>
        </tr>

        
      </table></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
    </tr>
    
        <tr>
      <td height="25" background="../images/title_bg_show.gif">&nbsp;&nbsp;<span class="style1">网站系统管理</span></td>
    </tr>
    <tr>
      <td bgcolor="#FFFFFF"><table width="95%"  border="0" align="center" cellpadding="0" cellspacing="0">

        <tr>
          <td><img src="../images/bullet.gif" width="15" height="20"></td>
          <td><a href="admin_config.asp">网站基本信息</a></td>
        </tr>
        <tr>
          <td><img src="../images/bullet.gif" width="15" height="20"></td>
          <td><a href="admin_add.asp">管理帐号设置</a></td>
        </tr>
        <tr>
          <td><img src="../images/bullet.gif" width="15" height="20"></td>
          <td><a href='admin_userpass.asp?admin=<%=request.cookies(hxCacheName&"_ttlink")("administrator")%>'>修改管理密码</a></td>
        </tr>                  
         <tr>
          <td><img src="../images/bullet.gif" width="15" height="20"></td>
          <td><a href="admin_fenlei.asp">友情链接分类</a></td>
        </tr>
        <tr><%if emailkg=1 then%>
         <tr>
          <td><img src="../images/bullet.gif" width="15" height="20"></td>
          <td><a href="sendmail_user.asp">邮件列表管理</a></td>
        </tr><%end if%>        
      </table></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
    </tr>
        <tr>
      <td height="25" background="../images/title_bg_show.gif">&nbsp;&nbsp;<span class="style1">系统数据管理</span></td>
    </tr>
    <tr>
      <td bgcolor="#FFFFFF"><table width="95%"  border="0" align="center" cellpadding="0" cellspacing="0">

        <tr>
          <td><img src="../images/bullet.gif" width="15" height="20"></td>
          <td><a href="admin_database.asp">数据库管理</a></td>
        </tr>
         <tr>
          <td><img src="../images/bullet.gif" width="15" height="20"></td>
          <td><a href="admin_manage.asp?action=init"  onclick="return confirm('慎重！初始化后，所有数据将清零，你确认要继续吗？')">初始化数据</a></td>
        </tr>

        <tr>
          <td><img src="../images/bullet.gif" width="15" height="20"></td>
          <td><a href="admin_manage.asp?action=ClearCache"  onclick="return confirm('删除本系统上的缓存后，首页显示link.asp和js.asp将立刻显示最新的数据（不影响数据库），你确认要删除吗？')">删除系统缓存</a></td>
        </tr>   

        
      </table></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
    </tr>    
    <tr>
      <td height="25" background="../images/admin_left_2.gif">&nbsp;&nbsp;<span class="style1">系统版权信息</span></td>
    </tr>
    <tr>
      <td bgcolor="#FAFAFA">&nbsp;copy：久久时空<br>&nbsp;web：<a href="http://www.99shik.cn" target="_blank">http://www.99shik.cn</A></td>
    </tr>
  </table>
  <br>
</div>

</body>

</html>
