Code: Select all
<div class="form">
<h2><span><?php echo $form_title['Login'] ?></span></h2>
<div class="form">
<form id="login" method="post" action="login.php?action=n" onsubmit="return process_form(this)">
<div class="in_form">
<fieldset>
<legend><?php echo $form_title['Login legend'] ?></legend>
<div class="infldset">
<input type="hidden" name="form_sent" value="1" />
<input type="hidden" name="redirect_url" value="<?php echo $redirect_url ?>" />
<label class="conl"><strong><?php echo $form_title['Username'] ?></strong><br /><input type="text" name="username" size="25" maxlength="25" tabindex="1" /><br /></label>
<label class="conl"><strong><?php echo $form_title['Password'] ?></strong><br /><input type="password" name="password" size="16" maxlength="16" tabindex="2" /><br /></label>
<p class="clearb"><?php echo $form_title['Login info'] ?></p>
<p><a href="register.php" tabindex="4"><?php echo $form_title['Not registered'] ?></a>
<a href="login.php?action=f" tabindex="5"><?php echo $form_title['Forgotten pass'] ?></a></p>
</div>
</fieldset>
</div>
<p><input type="submit" name="login" value="<?php echo $form_title['Login'] ?>" tabindex="3" /></p>
</form>
</div>
</div>Any input on this will be appreciative. This is my first attempt at securing things!