登陆页面

(login.asp)
<% @LANGUAGE = " VBSCRIPT "  CODEPAGE = " 936 " %>
<%
Response.Buffer 
=  True 
Response.Expires 
=   - 1
Response.ExpiresAbsolute 
=  Now()  -   1  
Response.Expires 
=   0  
Response.CacheControl 
=   " no-cache "  
Function GetCode()
    Dim TestObj
    On Error Resume Next
    Set TestObj 
=  Server.CreateObject( " Adodb.Stream " )
    Set TestObj 
=  Nothing
    If Err Then
        Dim TempNum
        Randomize timer
        TempNum 
=  cint( 8999 * Rnd + 1000 )
        session(
" RndCode " =  TempNum
        GetCode 
=  session( " RndCode " )        
    Else
        GetCode 
=   " <img src= "" inc/GetCode.asp "" > "         
    End If
End Function
 
%>

< html >
< head >
< meta http - equiv = " Content-Type "  content = " text/html; charset=gb2312 " >
< title > 网站管理员登录 </ title >
< link href = " bmp/admin_login.css "  rel = " stylesheet "  type = " text/css " >
</ head >

< body topmargin = " 50 " >
< TABLE cellSpacing = 0  cellPadding = 0  width = 550  align = center border = 0 >
  
< TR bgColor = #2b4ed6 >  
      
    
< TD width = 30  height = 10 >< IMG height = 30  
      src
= " bmp/btm-left1.gif "  width = 30 ></ TD >
      
    
< TD align = " left "  valign = " bottom " > 深圳市 ** 网站管理系统  </ TD >
      
    
< TD width = 30 >< IMG height = 30  
      src
= " bmp/btm-right1.gif "  
width
= 30 ></ TD >
    
</ TR >
    
< TR bgColor = #2b4ed6 >  
      
    
< TD width = 30  height = " 263 " >& nbsp; </ TD >
      
    
< TD background = " bmp/icon-use.gif " >
< table width = " 300 "  border = " 0 "  align = " right "  cellpadding = " 6 "  cellspacing = " 5 " >
        
< form name = " form1 "  method = " post "  action = " sys/loginn.asp " >
          
< tr >  
            
< td colspan = " 2 " >< strong > 系统管理员登录··· </ strong ></ td >
          
</ tr >
          
< tr >  
            
< td width = " 74 "  align = " right " > 用户名称 < strong >< span  class = " Glow " >< font color = " #FFFFFF " > </ font ></ span ></ strong ></ td >
            
< td >< input name = " u "   type = " text "   id = " u "  style = " width:160px;border-style:solid;border-width:1;padding-left:4;padding-right:4;padding-top:1;padding-bottom:1 "  onFocus = " this.select();  "  onmouseover = " this.style.background='#E1F4EE'; "  onmouseout = " this.style.background='#FFFFFF' "  maxlength = " 20 " ></ td >
          
</ tr >
          
< tr >  
            
< td align = " right " > 用户密码 < strong >< span  class = " Glow " > </ span ></ strong ></ td >
            
< td >< input name = " p "   type = " password "  id = " p "  style = " width:160px;border-style:solid;border-width:1;padding-left:4;padding-right:4;padding-top:1;padding-bottom:1 "  onFocus = " this.select();  "  onmouseover = " this.style.background='#E1F4EE'; "  onmouseout = " this.style.background='#FFFFFF' "  maxlength = " 20 " ></ td >
          
</ tr >
          
< tr >  
            
< td align = " right " > 验 证 码: </ td >
            
< td >   < input name = " r "  size = " 6 "  maxlength = " 4 "  style = " border-style:solid;border-width:1;padding-left:4;padding-right:4;padding-top:1;padding-bottom:1 "  onmouseover = " this.style.background='#E1F4EE'; "  onmouseout = " this.style.background='#FFFFFF' "  onFocus = " this.select();  " >  
              
<%=  GetCode()  %></ td >
          
</ tr >
          
< tr align = " center " >  
            
< td colspan = " 2 " >   < input   type = " submit "  name = " Submit2 "  value = "  确&nbsp;认  "  style = " font-size: 9pt; height: 19; width: 60; color: #000000; background-color: #E1F4EE; border: 1 solid #E1F4EE "  onMouseOver  = " this.style.backgroundColor='#ffffff' "  onMouseOut  = " this.style.backgroundColor='#E1F4EE' " >  
              
& nbsp;  < input name = " reset2 "  type = " reset "   id = " reset2 "  value = "  清&nbsp;除  "  style = " font-size: 9pt; height: 19; width: 60; color: #000000; background-color: #E1F4EE; border: 1 solid #E1F4EE "  onMouseOver  = " this.style.backgroundColor='#ffffff' "  onMouseOut  = " this.style.backgroundColor='#E1F4EE' " >  
            
</ td >
          
</ tr >
        
</ form >
      
</ table >   </ TD >
      
< TD width = 30 >& nbsp; </ TD >
    
</ TR >
    
< TR bgColor = #2b4ed6 >  
      
< TD width = 30 >< IMG height = 30  
      src
= " bmp/btm-left.gif "  width = 30 ></ TD >
      
    
< TD align = " center "  valign = " top " > 深圳 *** 版权所有 </ TD >
      
< TD width = 30 >< IMG height = 30  
      src
= " bmp/btm-right.gif "  
width
= 30 ></ TD >
    
</ TR >
</ TABLE >
</ body >
</ html >
转自他人代码!
如有需要请联系:深圳全空间技术部
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值