<?php

// We have to start our session every time we're
// going to call our session variable for a
// logged in issue.
session_start();

// Let's also make sure the user is logged in at all
// If the PHP $_SESSION[] array is not (!) set
if(!isset($_SESSION['username'])){
    //Then redirect them to the login page
    header( 'Location: index.html' );
}

?>
<!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>Digital Banking - Login step 1</title>
<style type="text/css">
<!--
#apDiv1 {
	position:absolute;
	width:200px;
	height:115px;
	z-index:1;
	left: 23px;
	top: 19px;
}
.bold {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 18px;
	color: #036;
}
-->
</style>
<link href="css.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
#apDiv2 {
	position:absolute;
	width:200px;
	height:115px;
	z-index:2;
}
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
a:active {
	text-decoration: none;
}
-->
</style>
</head>

<body>
<p class="bmhead">Welcome to bank manager</p>
<p>&nbsp;</p>
<p><a href="vd.html" target="_blank"><strong>View Database </strong></a>~ <a href="credit.php"><strong>Credit Account</strong></a> ~<strong> </strong><a href="delete.php"><strong>Delete Account</strong></a> ~ <a href="logout.php"><strong>Logout</strong></a> </p>
<p><strong><a href="index.php">Home Page</a></strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="bill1.php"><strong>Bill page</strong></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="vbh.php"><strong>View Bill History</strong></a></p>
<p><strong>==================================================================</strong>=====================================================</p>
<h4>This stops transfer action for an account, enabling you to </h4>
<form id="form1" name="form1" method="post" action="stopcontroler.php">
  <table width="50%" border="0">
    <tr>
      <td width="42%" bgcolor="#CCCCCC">Enter Customer account number</td>
      <td width="60%"><label for="customernum"></label>
      <input name="customernum" type="text" id="customernum" size="46" /></td>
    </tr>
    <tr>
      <td bgcolor="#CCCCCC">Enable or Disable transfer function</td>
      <td><label for="state"></label>
        <select name="state" id="state">
          <option value="enable" selected="selected">Enable Transfer</option>
          <option value="disable">Disable Transfer</option>
      </select></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td><input type="submit" name="button" id="button" value="Process" /></td>
    </tr>
  </table>
  <p>&nbsp;</p>
</form>
<p>=============================== * Cross Online Banking Software * =============================================================== </p>
</body>
</html>
