Current File : /home/inlingua/public_html/faridabad/icentex/Backup/timesheet_user.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'])
{
?>
<div style="width:720px; background-color:#E2E2E2; height:20px;"><h1>&nbsp;&nbsp;&nbsp;Change Rates</h1></div>
<div style="height:20px; padding-left:10px; padding-top:10px;"><?php echo $succFailMesg; ?></div>
<form method='post' action='timesheet_user.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:80px;">Eng Rate</td><td>Rs. <input type='text' name='rate_eng' value="<?php echo $dbObject->getDbField('rate_eng');?>" size='10' maxlength='10'> / hour</td></tr>
<tr valign='top'><td style="padding-top:8px; font-weight:bold; width:80px;">Fr Rate</td><td>Rs. <input type='text' name='rate_fr' value="<?php echo $dbObject->getDbField('rate_fr');?>" size='10' maxlength='10'> / hour</td></tr>
<tr valign='top'><td style="padding-top:8px; font-weight:bold; width:80px;">Ger Rate</td><td>Rs. <input type='text' name='rate_ger' value="<?php echo $dbObject->getDbField('rate_ger');?>" size='10' maxlength='10'> / hour</td></tr>
<tr valign='top'><td style="padding-top:8px; font-weight:bold; width:80px;">Sp Rate</td><td>Rs. <input type='text' name='rate_sp' value="<?php echo $dbObject->getDbField('rate_sp');?>" size='10' maxlength='10'> / hour</td></tr>
<tr valign='top'><td style="padding-top:8px; font-weight:bold; width:80px;">Clubs Rate</td><td>Rs. <input type='text' name='rate_clubs' value="<?php echo $dbObject->getDbField('rate_clubs');?>" size='10' maxlength='10'> / hour</td></tr>
<tr valign='top'><td style="padding-top:8px; font-weight:bold; width:110px;">Training Rate</td><td>Rs. <input type='text' name='rate_training' value="<?php echo $dbObject->getDbField('rate_training');?>" size='10' maxlength='10'> / hour</td></tr>
<tr valign='top'><td style="padding-top:8px; font-weight:bold; width:80px;">Biz Rate</td><td>Rs. <input type='text' name='rate_biz' value="<?php echo $dbObject->getDbField('rate_biz');?>" size='10' maxlength='10'> / hour</td></tr>
<!--<tr valign='top'><td>rate_others</td><td><input type='text' name='rate_others' value="<?php //echo $dbObject->getDbField('rate_others');?>" size='10' maxlength='10'></td></tr>-->
<tr valign='top'><td style="padding-top:8px; font-weight:bold; width:80px;">Orals Rate</td><td>Rs. <input type='text' name='rate_orals' value="<?php echo $dbObject->getDbField('rate_orals');?>" size='10' maxlength='10'> / hour</td></tr>

<tr><td  height="10"colspan='2'>&nbsp;</td></tr>
<tr><td colspan='2'><input type='submit' name='aC' value='<?php echo $currentMode;?>'></td></tr>
</table>
</form>
<?php
}
else
{
header("location: admin.php");
}

include("footer.php");
?>