Current File : /home/inlingua/public_html/noida/icentex/edit.form.php
<?php include("header.php"); ?>



			
			<?php
			
			?>
			<?php
// Copyright, Panalink Infotech Limited. Created on: 22-05-2010

// Include header




// Show result of a form submission?
if ($showResult == "Y")
{	//echo "<br><a href='timesheet_user.select.php'>Back</a><br>";
	// Include footer
	//include "footer.php";
	//return; 
}
?>	<script language="javascript">
<!--
function validate(form) 
{	if (document.form.recNo.value=="")
	{	alert("recNo cannot be blank. Please enter it.");
		document.form.recNo.focus(); return false;
	}
	if (document.form.name.value=="")
	{	alert("Name cannot be blank. Please enter it.");
		document.form.name.focus(); return false;
	}
	if (document.form.username.value=="")
	{	alert("User Name cannot be blank. Please enter it.");
		document.form.username.focus(); return false;
	}
	if (document.form.password.value=="")
	{	alert("Password cannot be blank. Please enter it.");
		document.form.password.focus(); return false;
	}
	return true;
}
-->
</script>
<?php
if($_REQUEST['aC'])
{
?>
<h3>&nbsp;&nbsp;&nbsp;Edit Profile</h3>
<div style="height:20px; padding-left:10px; padding-top:10px;"><?php echo $succFailMesg; ?></div>
<form method='post' action='edit.main.php' name="form" onsubmit="return validate(this)">
<input type='hidden' name='recNo' value="<?php echo $dbObject->getDbField('recNo');?>">
<input type='hidden' name='kV' value="<?php echo $_SESSION['id'];?>">
<table border='0' class='pa-nor' style="margin-left:15px;">

<tr><td style="padding-top:8px; font-weight:bold; width:100px;">Name</td><td> <input type='text' name='name' value="<?php echo $dbObject->getDbField('name');?>" size='30' maxlength='100' readonly> </td></tr>
<tr valign='top'><td style="padding-top:8px; font-weight:bold; width:100px;">Email</td><td> <input type='text' name='email' value="<?php echo $dbObject->getDbField('email');?>" size='30' maxlength='100'> </td></tr>
<tr valign='top'><td style="padding-top:8px; font-weight:bold; width:150px;">Contact Number</td><td><input type='text' name='contact_no' value="<?php echo $dbObject->getDbField('contact_no');?>" size='30' maxlength='20'></td></tr>
<!--<tr valign='top'><td style="padding-top:8px; font-weight:bold; width:100px;">Pay Type</td><td>

<input type="radio" name='pay_type' value="Hourly"  <?php 
/*if($dbObject->getDbField('pay_type')=="")
{
echo"checked";
}
else if($dbObject->getDbField('pay_type')=="Hourly")
{
echo"checked";
}  
*/
?> >Hourly
<input type="radio" name='pay_type' value="Fixed salaried" <?php 
/*if($dbObject->getDbField('pay_type')=="Fixed salaried")
{
echo"checked";
}*/?> >Fixed salaried
</td></tr>-->
<tr><td  height="10"colspan='2'>&nbsp;</td></tr>
<tr><td colspan='2'><input type='submit' class="submit1"  name='aC' value='<?php echo $currentMode;?>'></td></tr>
</table>
</form>
<?php
}
else
{
header("location: admin.php");
}

include("footer.php");
?>