⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 left.asp

📁 xmuu.NET网址导航 V 3.3 正式版 直接修改后可使用。包括数百网址导航。
💻 ASP
字号:
<!--#include file="conn.asp"-->
<%
Const sBASE_64_CHARACTERS = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" 


Function Base64encode(asContents) 
Dim lnPosition 
Dim lsResult 
Dim Char1 
Dim Char2 
Dim Char3 
Dim Char4 
Dim Byte1 
Dim Byte2 
Dim Byte3 
Dim SaveBits1 
Dim SaveBits2 
Dim lsGroupBinary 
Dim lsGroup64 

If Len(asContents) Mod 3 > 0 Then asContents = asContents & String(3 - (Len(asContents) Mod 3), " ") 
lsResult = "" 

For lnPosition = 1 To Len(asContents) Step 3 
lsGroup64 = "" 
lsGroupBinary = Mid(asContents, lnPosition, 3) 

Byte1 = Asc(Mid(lsGroupBinary, 1, 1)): SaveBits1 = Byte1 And 3 
Byte2 = Asc(Mid(lsGroupBinary, 2, 1)): SaveBits2 = Byte2 And 15 
Byte3 = Asc(Mid(lsGroupBinary, 3, 1)) 

Char1 = Mid(sBASE_64_CHARACTERS, ((Byte1 And 252) \ 4) + 1, 1) 
Char2 = Mid(sBASE_64_CHARACTERS, (((Byte2 And 240) \ 16) Or (SaveBits1 * 16) And &HFF) + 1, 1) 
Char3 = Mid(sBASE_64_CHARACTERS, (((Byte3 And 192) \ 64) Or (SaveBits2 * 4) And &HFF) + 1, 1) 
Char4 = Mid(sBASE_64_CHARACTERS, (Byte3 And 63) + 1, 1) 
lsGroup64 = Char1 & Char2 & Char3 & Char4 

lsResult = lsResult + lsGroup64 
Next 

Base64encode = lsResult 
End Function


set rs=server.createobject("adodb.recordset")
sql="select * from admin where username='"&Session("Admin")&"'and password='"&Session("ap")&"'"
rs.open sql,conn,1,3
if rs.EOF then
	Response.Redirect "index.asp"
	Response.End 
end if
%>
<%
if Session("isAdmin")<>true Then
Response.Redirect "index.asp"
Response.End
End if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name=author content=添加网址>
</head>

<body scroll=no topmargin="10" leftmargin="3">

<div align="center">
  <center>
  <table border="0" cellspacing="0" width="98%">
    <tr>
      <td width="100%" background="../images/left_bg.gif" height="18" align="center" valign="bottom"><b><font color="#FFFFFF">管理中心</font></b></td>
    </tr>
    <tr>
      <td width="100%" bgcolor="#CC0066">
        <div align="center">
          <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
              <td width="100%" height="100" align="center" bgcolor="#FFFFFF"><br>
<p><b> <img height="14" src="../images/tip.gif" width="13" align="absMiddle"> </b><a href="leibie.asp" target="frmright">添加类别</a></p>
<p><b> <img height="14" src="../images/tip.gif" width="13" align="absMiddle"> </b><a href="detail.asp" target="frmright">添加新站</a></p>
<p><b> <img height="14" src="../images/tip.gif" width="13" align="absMiddle"> </b><a href="wz_verity.asp" target="frmright">新站审核</a></p>
<p><b> <img height="14" src="../images/tip.gif" width="13" align="absMiddle"> </b><a href="user_manager.asp" target="frmright">修改密码</a></p>
<p><b> <img height="14" src="../images/tip.gif" width="13" align="absMiddle"> </b><a href="logout.asp" target="_parent">退出管理</a></p>
<p>&nbsp; <a href="http://www.CNA6.com">CNA6网址导航</a><br>
<BR>&nbsp;&nbsp; Copyright 2004-2008</p></td>
    </tr>
    </table>
    </div>
    </td>
    </tr>
    <tr>
      <td width="100%"></td>
    </tr>
  </table>
  </center>
</div>
</body>                    
                    
</html> 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -