Current File : /home/inlingua/www/dwarka/icentex/admin/changepass.php |
<?php include("header.php");
?>
<div class="clear"></div>
<?php include("left.php"); ?>
<div id="content-wrap" style="padding-top:20px;" >
<div id="content-box" >
<div id="toolbar-title" >
<h3>
Change Password
</h3>
<div class="clear"></div>
</div>
<div id="toolbar-box">
<div class="toolbar" id="toolbar"></div>
<div class="clear"></div>
</div>
<div class="clear"></div>
<div id="element-box">
<div class="m">
<font style="font-size:12px; color:#E84B1E"><?php if($_SESSION['chpass']) { echo $_SESSION['chpass']; unset ($_SESSION['chpass']); }?></font>
<table class="adminform">
<tbody><tr>
<td valign="top" width="55%">
<script language="javascript">
<!--
function validate(form)
{ if (document.form.oldpass.value=="")
{ alert("Old Pasword cannot be blank. Please enter it.");
document.form.oldpass.focus(); return false;
}
if (document.form.newpass.value=="")
{ alert("New Password cannot be blank. Please enter it.");
document.form.newpass.focus(); return false;
}
if (document.form.confirmpass.value=="")
{ alert("Confirm Password cannot be blank. Please enter it.");
document.form.confirmpass.focus(); return false;
}
if (document.form.newpass.value!=document.form.confirmpass.value)
{
alert("New Password and Confirm Password are not same.");
return false;
}
return true;
}
-->
</script>
<form method='post' action='changeaction.php' name="form" onsubmit="return validate(this)">
<input type='hidden' name='kV' value="1">
<table boder='1' class='pa-nor'>
<tr valign='top'><td>Old Password</td><td><input type='password' name='oldpass' value="" size='20' maxlength='200'></td></tr>
<tr valign='top'><td>New Password</td><td><input type='password' name='newpass' value="" size='20' maxlength='100'></td></tr>
<tr valign='top'><td>Confirm Password</td><td><input type='password' name='confirmpass' value="" size='20' maxlength='100'></td></tr>
<tr><td colspan='2'><input type='submit' name='aC' value='ChangePassword'></td></tr>
</table>
</form>
<div id="cpanel">
<div style="float: left;">
<div class="icon"></div>
</div>
<div style="float: left;">
<div class="icon"></div>
</div>
<div style="float: left;"></div>
</div>
</td>
<td valign="top" width="45%"> </td>
</tr>
</tbody></table>
</div>
</div>
<div class="clear"></div>
<p class="copyright"> </p>
</div>
</div>
</body></html>