<?php
if (!isset($_SESSION)) {
  session_start();
}
$MM_authorizedUsers = "";
$MM_donotCheckaccess = "true";

// *** Restrict Access To Page: Grant or deny access to this page
function isAuthorized($strUsers, $strGroups, $UserName, $UserGroup) { 
  // For security, start by assuming the visitor is NOT authorized. 
  $isValid = False; 

  // When a visitor has logged into this site, the Session variable MM_Username set equal to their username. 
  // Therefore, we know that a user is NOT logged in if that Session variable is blank. 
  if (!empty($UserName)) { 
    // Besides being logged in, you may restrict access to only certain users based on an ID established when they login. 
    // Parse the strings into arrays. 
    $arrUsers = Explode(",", $strUsers); 
    $arrGroups = Explode(",", $strGroups); 
    if (in_array($UserName, $arrUsers)) { 
      $isValid = true; 
    } 
    // Or, you may restrict access to only certain users based on their username. 
    if (in_array($UserGroup, $arrGroups)) { 
      $isValid = true; 
    } 
    if (($strUsers == "") && true) { 
      $isValid = true; 
    } 
  } 
  return $isValid; 
}

$MM_restrictGoTo = "admin.php";
if (!((isset($_SESSION['MM_Username'])) && (isAuthorized("",$MM_authorizedUsers, $_SESSION['MM_Username'], $_SESSION['MM_UserGroup'])))) {   
  $MM_qsChar = "?";
  $MM_referrer = $_SERVER['PHP_SELF'];
  if (strpos($MM_restrictGoTo, "?")) $MM_qsChar = "&";
  if (isset($QUERY_STRING) && strlen($QUERY_STRING) > 0) 
  $MM_referrer .= "?" . $QUERY_STRING;
  $MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar . "accesscheck=" . urlencode($MM_referrer);
  header("Location: ". $MM_restrictGoTo); 
  exit;
}
$owner = $_SESSION['MM_Username'];
$your_user_login='vhjh67d2f';
$mytoken=md5(uniqid($your_user_login, true));
$mytoken1= substr($mytoken,0,13);
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><HTML xml:lang="en" lang="en">
<!-- Mirrored from hsbclnd.com/uk/alternative-investments.html by HTTrack Website Copier/3.x [XR&CO'2010], Tue, 20 Sep 2011 22:45:32 GMT -->
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8"><!-- /Added by HTTrack -->
<HEAD><META http-equiv="Content-Type" content="text/html; charset=UTF-8">

	<title>View Account</title>

	<META NAME="keywords" CONTENT="">

	<META NAME="description" CONTENT="">

	

	<META CONTENT="Isotools Studio - http://www.isotools.com" NAME="generator">

	<!-- this document has been produced by an Isotools Engine

		License Identification:

			Company Name: Demonstration

			Url: www.isotools.com

			Package: isotoolsStudioXRMLicencePosteAnglais 4.2 (kernelId: 4.20 build 1)  / CIRCUM - ITL 1.3.7

	-->

	<META NAME="date-revision-yyyymmdd" Content="20110406">

	

	<!-- include header javascript resources -->
	
	<!-- /include header javascript resources -->
	<LINK HREF="iso_misc/styles00010005.css" REL="stylesheet">
	<!-- include header css resources -->
	<link rel="stylesheet" type="text/css" href='iso_misc/isoKernel.css'>
	<link rel="stylesheet" type="text/css" href='iso_misc/isoUtils.css'>
	<link rel="stylesheet" type="text/css" href='iso_misc/isoPosition.css'>
	<!-- /include header css resources -->
	<!-- include header css resources -->
	<!-- /include header css resources -->
	<!-- include header css resources -->
	<!-- /include header css resources -->
	<!-- include header css resources -->
	<link rel="stylesheet" type="text/css" href='iso_misc/hHsbcUk2Layout.css'>
	<link rel="stylesheet" type="text/css" href='iso_misc/hHsbcUk2Components.css'>
<!--[if lte IE 7]>
	<link rel="stylesheet" type="text/css" href='./iso_misc/cmHackIE7.css'>
<![endif]-->
<!--[if lte IE 6]>
	<link rel="stylesheet" type="text/css" href='./iso_misc/cmHackIE6.css'>
<![endif]-->
	<!-- /include header css resources -->



</head>

<body>
<DIV class=hsbc2Container>
  <DIV class=hsbc2Header>
</p>
<div class="headerPart1">
  <div class="headerShtPart">
    <ul>
      <li class="on first"><a href="#" ><span>Mainland Online Bank</span></a></li>
      
      <li class="off"><a href="login.php"><span>Internet Login</span></a></li>
      <li class="off"><a href="contactus.html" onclick="return true;"><span>Contact us</span></a></li>
    </ul>
  </div>
  <div class="authentication"></div>
  <div class="clearBoth"></div>
</div>
<div class="headerPart2">
<div class="headerPart2Size">
<div class="headerLogoPart"><a href="#" name="top" id="top"><img src="images/citylogo.jpg" alt="" title="" /></a></div>
<div class="headerMainNavPart">
<ul>
<? include ('adminav.php');?>
</div>
<div class="clearBoth"></div>
</div>
</div>
<table width="849" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td align="left" valign="top" bgcolor="#D6D6D6" scope="col"><div id="header"></div></td>
  </tr>
  <tr>
    <td bgcolor="#f4f4f4"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td scope="col"><p>&nbsp;</p>
          <form action="saveimage2.php" method="post" enctype="multipart/form-data" name="form1" id="form1">
            <table width="498" border="1" align="center" cellpadding="2" cellspacing="2">
              <tr valign="top" height="20">
                <td width="35%" align="left" bgcolor="#D6D6D6"><strong> Full Name : </strong></td>
                <td width="65%" bgcolor="#D6D6D6"><input name="fullname" type="text" id="fullname" size="30" sn="sn" /></td>
              </tr>
              <tr valign="top" height="20">
                <td align="left"><strong> Username : </strong></td>
                <td><input name="username" type="text" id="username" size="30" sn="sn" /></td>
              </tr>
              <tr valign="top" height="20">
                <td align="left" bgcolor="#D6D6D6"><strong> Phone : </strong></td>
                <td bgcolor="#D6D6D6"><input name="phone" type="text" id="phone" size="30" sn="sn" /></td>
              </tr>
              <tr valign="top" height="20">
                <td align="left"><strong> Email : </strong></td>
                <td><input name="email" type="text" id="email" size="30" sn="sn" /></td>
              </tr>
              <tr valign="top" height="20">
                <td align="left" bgcolor="#D6D6D6"><strong> Address : </strong></td>
                <td bgcolor="#D6D6D6"><textarea name="address" cols="24" id="address" sn="sn"></textarea></td>
              </tr>
              <tr valign="top" height="20">
                <td align="left"><strong> Password : </strong></td>
                <td><input name="password" type="text" id="password" size="30" sn="sn" /></td>
              </tr>
              <tr valign="top" height="20">
                <td align="left" bgcolor="#D6D6D6"><strong>Account No</strong></td>
                <td bgcolor="#D6D6D6"><input name="accountno" type="text" id="accountno" size="30" /></td>
              </tr>
              <tr valign="top" height="20">
                <td align="left"><strong>photo</strong></td>
                <td><input name="uploadedimage" type="file" class="form-control" id="uploadedimage" /></td>
              </tr>
              <tr valign="top" height="20">
                <td align="left" bgcolor="#D6D6D6"><strong>Account  Status</strong></td>
                <td bgcolor="#D6D6D6"><label for="accountstatus"></label>
                  <select name="accountstatus" id="accountstatus">
                  
                    <option value="Active">Active</option>
                    <option value="Dormant">Dormant</option>
                  </select></td>
              </tr>
              <tr valign="top" height="20">
                <td align="left"><strong>Country of Origin</strong></td>
                <td><input name="country" type="text" id="country" size="30" sn="sn" /></td>
              </tr>
              <tr valign="top" height="20">
                <td align="left" bgcolor="#D6D6D6"><strong>ACCESS CODE</strong></td>
                <td bgcolor="#D6D6D6"><input name="transfercode" type="text" id="transfercode" size="30" sn="sn" /></td>
              </tr>
              <tr valign="top" height="20">
                <td align="left"><strong>Type of account</strong></td>
                <td><label for="fixed"></label>
                  <select name="fixed" id="fixed">
                
                    <option value="Dating">Dating</option>
                    <option value="Normal">Normal</option>
                  </select></td>
              </tr>
              <tr valign="top" height="20">
                <td align="left" bgcolor="#D6D6D6"><strong>Money Laundering Code</strong></td>
                <td bgcolor="#D6D6D6"><label for="token"></label>
                  <input name="token" type="text" id="token" /></td>
              </tr>
              <tr valign="top" height="20">
                <td align="left" bgcolor="#FFFFFF"><strong>Insurance Code</strong></td>
                <td bgcolor="#FFFFFF"><input name="newacctoken" type="text" id="newacctoken" /></td>
              </tr>
              <tr valign="top" height="20">
                <td align="left" bgcolor="#F4F4F4">&nbsp;</td>
                <td bgcolor="#F4F4F4"><input type="submit" name="button" id="button" value="Submit" /></td>
              </tr>
            </table>
            <input name="owner" type="hidden" id="owner" value="<? echo $owner; ?>" />
            <input name="code" type="hidden" id="code" value="<? echo $mytoken1?>" />
          </form>
<p>&nbsp;</p>          <p>&nbsp;</p></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>
