<?php
//sEcure Login ---- library by abdohoo.com
//file ---- login form
function dojo_form($error_text='',$errordetails="home") { ?>
<?php
//include"head.php"; head section can contain your head file of ur template ?>
<style type="text/css">
.stformone {
font-family: Verdana;
font-size: 12px;
}
.stformtwo {
font-family: Verdana;
font-size: 12px;
text-align: center;
}
.stformonem {
background-color: #F7F7DE;
}
.stformtwom {
font-family: Verdana;
font-size: 12px;
text-align: center;
color: #FF0000;
}
</style>
<center>
<div id='center'>
<form method="post">
<h3> Please Login To View This Page </h3>
<table style="width: 40%; text-alig:center;" cellpadding="2" class="stformonem">
<tr>
<td class="stformtwom" colspan="2"><strong></strong></td>
</tr>
<tr>
<td class="stformone"><strong>Name</strong></td>
<td>
<strong>
<input name="userName" type="text" class="stformone" /></strong>
</td>
</tr>
<tr>
<td class="stformone" style="width: 96px"><strong>Password</strong></td>
<td style="width: 513px"><strong>
<input name="password" type="password" class="stformone" /></strong></td>
</tr>
<tr>
<td class="stformtwom" colspan="2"><strong><?php echo $error_text[0]; ?></strong></td>
</tr>
<tr>
<td class="stformone" style="width: 96px"> </td>
<td style="width: 513px"><strong>
<input name="Submit1" type="submit" value="submit" /></strong></td>
</tr>
</table>
<input name="do_login" type="hidden" value="1" />
</form>
</div>
</center>
<?php //include"footer.php"; -- footer section can contain your head file of ur template ?>
<?php } ?>
|