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

$theValue = custom_mysql_real_escape_string($theValue);

  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;
}
}

$colname_token = "-1";
if (isset($_GET['id'])) {
  $colname_token = $_GET['id'];
}
//custom_mysql_select_db($database_bnkconn);
$query_token = sprintf("SELECT * FROM `transaction` WHERE id = %s", GetSQLValueString($colname_token, "int"));
$token = custom_mysql_query($query_token) or die(custom_mysql_error());
$row_token = custom_mysql_fetch_assoc($token);
$totalRows_token = custom_mysql_num_rows($token);
 
if (session_status() === PHP_SESSION_NONE) {
  session_start();
}

include('header.php'); 

$sql=custom_mysql_fetch_object(custom_mysql_query("select * from transaction where id='".$_REQUEST['id']."'"));

?>



			<div>
				<ul class="breadcrumb">
					<li>
						<a href="dashboard.php">Home</a> <span class="divider">/</span>
					</li>
					<li>
						<a href="#">Fund Transfer</a>
					</li>
				</ul>
			</div>
			<div class="breadcrumb">
            <p>
            <?php include "menu.php";?>

            <p>&nbsp;</p>
            <p>&nbsp;</p>
            <p><strong>Your transfer request was unsuccessfully, please get the proper OTP and reinitiate another transfer transaction, NOTE there is an account bar after 3 attempts </strong>
              <!--
            <strong>
           Amount <?php// echo $sql->debited;?> (USD) Debited To This  [<?php// echo $_SESSION['act_number'];?>] Account Number 
            </strong>
            -->
            </p>
            </p>
            </div>
			<!--/row-->



    
<?php include('footer.php'); 
//mysql_free_result($token);
?>
