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

📄 loginy.asp

📁 asp+Access开发的客户资源管理系统,用户名:admin,密码:
💻 ASP
字号:
<script id="clientEventhandlersJS"LANGUAGE="JAVASCRIPT">
function isEmpty(s){
   return((s==null)||(s.length==0));
}

function isWhitespace(s){
   var whitespace="/t/n/r";
   
   if(isEmpty(s)) return true;
   
   var i;
   for(i=0;i<s.length;i++)
   {
     var c=s.charAt(i);
     
     if(whitespace.indexOf(c)!=-1)
       continue;
     else
       return false;
    }
    return true;
 }
 
 function warnEmpty (theField,s)
 {    alert(s);
      theField.focus();
      return false;
 }
 
 function warnInvalid(theField,s)
 {    alert(s);
      theField.focus();
      theField.select();
      return false;
 }
 function checkString (theField,s)
 {
    if(theField==null)return true;
    if(isWhitespace(theField.value))
      return warnEmpty(theField,s);
    else return true;
 }
 function checkPassWord(theField)
 {
    if(theField.value.length<4)
    {
       alert("密码长度小于4");
       theField.focus();
       return false;
     }
     else return true;
 }

 function checkFigure(theField,s)
 {
    var vv,ww,xx;
    vv=theField.value;
    var iPos=vv.indexOf(".");
    if(iPos==0)vv="0"+vv;
    if(iPos==(vv.length-1))  vv==vv+"0";
    
       xx=parsefloat(vv);
       ww=xx.tostring(10);
       var i=vv.length-ww.length;
       var j=0;
       if(i>0)  {
           iPos=ww.indexOf(".");
           if(iPos==-1){ww=ww+".";
                          i=i-1;}
           for(j=0;j<i;j++)
                ww=ww+"0";
          }
          
          if(ww!=vv)
              return warnInvalid(theField,s);
          
          return true;
  }
  function validateFormInfo(name2,pass2){
	str="请输入登录名!";
	if (!checkString(mem.elements["username"],str))return false;
	str="请输入密码!";
	if (!checkString(mem.elements["password"],str))return false;
	self.opener.window.location='login_test.asp?username='+name2+'&password='+pass2;
	window.close();
}
</script>


<html>
<head>
<title>『晨景软体』-客户资源管理系统                                                                                                                              。</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style>

.drag{position:relative;cursor:hand}
</style>
<link rel="stylesheet" href="other/customer.css">
<script language="JavaScript">
var dragapproved=false
var eventsource,x,y
function move()
 {
  if (event.button==1&&dragapproved) //改变被拖动元素在页面上的位置
   {
    self.moveBy (event.clientX-x,event.clientY-y); //改变窗体位置
    return false
   }
 }
function drags()
 {
  if (!document.all)
  return
  if (event.srcElement.className=="drag") //捕捉鼠标当前位置
   {
    dragapproved=true//确信当前鼠标是按下
    x=event.clientX//鼠标当前位置
    y=event.clientY//鼠标当前位置
    document.onmousemove=move//调动move函数
   }
 }
document.onmousedown=drags   //鼠标左键按下时,准备拖动
document.onmouseup=new Function("dragapproved=false")//鼠标左键放开时,拖动停止
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
</script>

<link rel="stylesheet" href="other/css.css">
</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<div id="Layer1" style="position:absolute; left:13px; top:41px; width:383px; height:258px; z-index:1"> 
  <table border="0" cellpadding="0" cellspacing="0" width="379">
    <form method="POST" name="mem" autocomplete = "off">
      <tr>
      <td><img src="images/spacer.gif" width="42" height="1" border="0"></td>
      <td><img src="images/spacer.gif" width="52" height="1" border="0"></td>
      <td><img src="images/spacer.gif" width="10" height="1" border="0"></td>
      <td><img src="images/spacer.gif" width="71" height="1" border="0"></td>
      <td><img src="images/spacer.gif" width="30" height="1" border="0"></td>
      <td><img src="images/spacer.gif" width="44" height="1" border="0"></td>
      <td><img src="images/spacer.gif" width="38" height="1" border="0"></td>
      <td><img src="images/spacer.gif" width="49" height="1" border="0"></td>
      <td><img src="images/spacer.gif" width="43" height="1" border="0"></td>
      <td><img src="images/spacer.gif" width="1" height="1" border="0"></td>
  </tr>

  <tr>
      <td colspan="3"><img name="login_r1_c1" src="images/login_r1_c1.jpg" width="104" height="70" border="0"></td>
      <td colspan="3"><img name="login_r1_c4" src="images/login_r1_c4.jpg" width="145" height="70" border="0"></td>
      <td colspan="3"><img name="login_r1_c7" src="images/login_r1_c7.jpg" width="130" height="70" border="0"></td>
      <td><img src="images/spacer.gif" width="1" height="70" border="0"></td>
  </tr>
  <tr>
      <td rowspan="5"><img name="login_r2_c1" src="images/login_r2_c1.jpg" width="42" height="185" border="0"></td>
      <td colspan="7" align="left" valign="top"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="294" height="65">
          <param name=movie value="other/login.swf">
          <param name=quality value=high>
          <embed src="other/login.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="294" height="64">
          </embed> 
        </object></td>
      <td rowspan="5"><img name="login_r2_c9" src="images/login_r2_c9.jpg" width="43" height="185" border="0"></td>
      <td><img src="images/spacer.gif" width="1" height="65" border="0"></td>
  </tr>
  <tr>
        <td colspan="7" bgcolor="#fdc67d" valign="middle" align="center"><b class="big"><LABEL FOR="username" ACCESSKEY="N">用户名(<U>N</U>):</LABEL></b> 
          <input  class="inputfont" type="text" id="username" name="username" size="18" value="<% =Request.Cookies("username1") %>" maxlength="18">
        <br>
          <b class="big"><LABEL FOR="password" ACCESSKEY="P">密 码(<U>P</U>):</LABEL></b> 
          <input class="inputfont" type="password" id="password" name="password" size="18" maxlength="18" >
      </td>
      <td><img src="images/spacer.gif" width="1" height="71" border="0"></td>
  </tr>
  <tr>
      <td colspan="7"><img name="login_r4_c2" src="images/login_r4_c2.jpg" width="294" height="10" border="0"></td>
      <td><img src="images/spacer.gif" width="1" height="10" border="0"></td>
  </tr>
  <tr>
      <td rowspan="2"><img name="login_r5_c2" src="images/login_r5_c2.jpg" width="52" height="39" border="0"></td>
      <td colspan="2"><A HREF=""><IMG src="images/login_r5_c3.jpg" width="81" height="18" border="0" onclick="return validateFormInfo(username.value,password.value);"></A></td>
      <td rowspan="2"><img name="login_r5_c5" src="images/login_r5_c5.jpg" width="30" height="39" border="0"></td>
      <td colspan="2"><a href="javascript:window.close()"><img name="login_r5_c6" src="images/login_r5_c6.jpg" width="82" height="18" border="0"></a></td>
      <td rowspan="2"><img name="login_r5_c8" src="images/login_r5_c8.jpg" width="49" height="39" border="0"></td>
      <td><img src="images/spacer.gif" width="1" height="18" border="0"></td>
  </tr>
  <tr>
      <td colspan="2"><img name="login_r6_c3" src="images/login_r6_c3.jpg" width="81" height="21" border="0"></td>
      <td colspan="2"><img name="login_r6_c6" src="images/login_r6_c6.jpg" width="82" height="21" border="0"></td>
      <td><img src="images/spacer.gif" width="1" height="21" border="0"></td>
  </tr>
</form>
</table>
</div>
<div class="drag" id="Layer2" style="position:absolute; left:2px; top:1px; width:401px; height:22px; z-index:2"></div>
</body>
</html>
<html></html>

⌨️ 快捷键说明

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