<?
session_start();
define("INSITE", true);
require_once('../core/class.db.php');



$sitename="Amwwaly";

if($_SERVER['SERVER_NAME']=='massrefy.com')
{

 $sitename="Massrefy";

}

if($_SERVER['SERVER_NAME']=='massrify.com')
{

$sitename="Massrefy";

}
$token=$_GET['token'];
$order_id=$_GET['order_id'];
$amount=$_GET['amount'];
$account_id=$_GET['account_id'];
$return_url=$_GET['return_url'];

?>



<!DOCTYPE html>
<html lang="ar" dir="ltr">
  <head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- Twitter -->
    <meta name="twitter:site" content="@qedama">
    <meta name="twitter:creator" content="@ashiqoha">
    <meta name="twitter:card" content="summary_large_image">
    <meta name="twitter:title" content="Pay2Me">
    <meta name="twitter:description" content="Pay2Me By MTC">

    <link rel="icon" href="https://amwwaly.com/icon.png">
    <!-- Facebook -->
     <meta property="og:title" content="Qedama">
    <meta property="og:description" content="Pay2Me">

    <meta property="og:image:type" content="image/png">
    <meta property="og:image:width" content="1200">
    <meta property="og:image:height" content="600">

    <!-- Meta -->
    <meta name="description" content="Pay2Me by MTC">
    <meta name="author" content="Moahmmed Qedama">

    <title><? print $sitename; ?></title>
    <script src='https://www.google.com/recaptcha/api.js?hl=ar'></script>

    <!-- Vendor css -->
    <link href="../design/lib/font-awesome/css/font-awesome.css" rel="stylesheet">
    <link href="../design/lib/Ionicons/css/ionicons.css" rel="stylesheet">

    <!-- Slim CSS -->
    <link rel="stylesheet" href="../design/css/slim.css">
      <style type="text/css">
 
.card-imgc {
    width: 100%;
    border-radius: calc(px - 1px);
    width: 200px;
    //border-radius: 100%;
    padding: 5px;
    border: 2px solid #5c0d77;
    background-color: #fff;
    transition: all 0.2s ease-in-out;
}
      </style>
  </head>
  <body style=" background-color: #7339b1; ">
    <form name="loginform" id="loginform" action="../admin/core/postActions.php" method="post">
    <div class="signin-wrapper">

      <div class="signin-box">
          <div class="tx-center">
                      <a href=""><img  src="https://amwwaly.com/d.jpg" class="rounded-circle" style="width: 126px;" alt="Image"></a>
                      <br> <br> 
                      <h2 class="mg-t-10 mg-b-5" style=" color: #0a0a0a;"><? print "Name: test "; ?></h2>
                      <h2 class="mg-t-10 mg-b-5" style=" color: #0a0a0a;"><? print " Menge : 200 "; ?></h2>
                      <br> 
                    </div><!-- tx-center -->
     

        <div class="form-group">
          <input type="text" name="email" class="form-control" placeholder=" Geben Sie Ihre E-Mail-Adresse ein " value="<? if(isset($_SESSION["u"])) print $_SESSION["u"]; else  print $_GET["email"];  ?>">
        </div><!-- form-group -->
        <div class="form-group mg-b-50">
          <input type="password" name="password" class="form-control" placeholder="Geben Sie Ihr Passwort ein">
        </div><!-- form-group -->

        <?

        if(isset($_SESSION['error_login'])){

        ?>
          <div class="form-group mg-b-50">
        <div class="g-recaptcha" data-sitekey="6LfjXaEUAAAAAIktQMRbXnnOHIX5jOxh67qhnQL3"></div>
  </div>

  <?

}

  ?>

       <a href="../admin/core/postActions.php?do=succeededPaid" class="btn btn-primary btn-block btn-signin" style=" background-image: linear-gradient(to right, #49b807 0%, #254a0e 100%);" >
                     Erfolgreiche Zahlung </a> 
                      <a href="../admin/core/postActions.php?do=failurePaid" class="btn btn-primary btn-block btn-signin" style="background-image: linear-gradient(to right, #ff2113 0%, #880505 100%);" >
                          Zahlung fehlgeschlagen </a>
      </div><!-- signin-box -->

    </div><!-- signin-wrapper -->
    <input type="hidden" name="csrf" value="<?php echo $xWAF->getCSRF(); ?>" />

  </form>

    <script src="../design/lib/jquery/js/jquery.js"></script>
    <script src="../design/lib/popper.js/js/popper.js"></script>
    <script src="../design/lib/bootstrap/js/bootstrap.js"></script>

    <script src="../design/js/slim.js"></script>

  </body>
</html>
