<?php require_once('Connections/lancrox.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") 
{
  if (PHP_VERSION < 6) {
    $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
  }

  $theValue = function_exists("mysqli_real_escape_string") ? mysqli_real_escape_string($GLOBALS["___mysqli_ston"], $theValue) : ((isset($GLOBALS["___mysqli_ston"]) && is_object($GLOBALS["___mysqli_ston"])) ? mysqli_real_escape_string($GLOBALS["___mysqli_ston"], $theValue) : ((trigger_error("[MySQLConverterToo] Fix the mysql_escape_string() call! This code does not work.", E_USER_ERROR)) ? "" : ""));

  switch ($theType) {
    case "text":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;    
    case "long":
    case "int":
      $theValue = ($theValue != "") ? intval($theValue) : "NULL";
      break;
    case "double":
      $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
      break;
    case "date":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;
    case "defined":
      $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
      break;
  }
  return $theValue;
}
}

mysqli_select_db( $lancrox, $database_lancrox);
$query_me = "SELECT * FROM `admin`";
$me = mysqli_query( $lancrox, $query_me) or die(mysqli_error($GLOBALS["___mysqli_ston"]));
$row_me = mysqli_fetch_assoc($me);
$totalRows_me = mysqli_num_rows($me);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body><form action="https://www.coinpayments.net/index.php" method="post">
	<input type="hidden" name="cmd" value="_pay_simple">
	<input type="hidden" name="reset" value="1">
    	<input type="hidden" name="allow_amount" value="0">
	<input type="hidden" name="merchant" value="2f3c128b6da9254e8b5a99a728b4b7e3">
	<input type="hidden" name="item_name" value="Registration">
	<input type="hidden" name="item_desc" value="Registration Fee">
	<input type="hidden" name="item_number" value="<? echo $row_me[userid]; ?>">
    	<input type="hidden" name="email" value="<? echo $row_me[email]; ?>">
	<input type="hidden" name="invoice" value="<? echo $row_me[userid]; ?>">
	<input type="hidden" name="currency" value="USD">
	<input type="hidden" name="amountf" value="5.00000000">
	<input type="hidden" name="want_shipping" value="0">
	<input type="hidden" name="success_url" value="http://enuanimegacity.com/thanknelson.php">
	<input type="hidden" name="cancel_url" value="http://enuanimegacity.com/pay.php">
	<input type="image" src="https://www.coinpayments.net/images/pub/buynow-wide-blue.png" alt="Buy Now with CoinPayments.net">
</form>

</body>
</html>
<?php
((mysqli_free_result($me) || (is_object($me) && (get_class($me) == "mysqli_result"))) ? true : false);
?>
