Current File : /home/inlingua/public_html/icentex/admin/taxes.form.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>
Rates Manager
</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">
<?php echo $succFailMesg; ?>
<table class="adminform">
<tbody><tr>
<td valign="top" width="55%">
<?php
// Show result of a form submission?
if ($showResult == "Y")
{ echo "<br><a href='taxes.select.php'>Back</a><br>";
// Include footer
//include "footer.php";
return;
}
?>
<script language="javascript">
<!--
function validate(form)
{ if (form.recNo.value=="")
{ alert("recNo cannot be blank. Please enter it.");
form.recNo.focus(); return false;
}
if (form.taxName.value=="")
{ alert("Tax Type cannot be blank. Please enter it.");
form.taxName.focus(); return false;
}
if (form.taxPer.value=="")
{ alert("Tax Percentage cannot be blank. Please enter it.");
form.taxPer.focus(); return false;
}
return true;
}
-->
</script>
<form method='post' action='taxes.main.php' onsubmit="return validate(this)">
<input type='hidden' name='recNo' value="<?php echo $dbObject->getDbField('recNo');?>">
<input type='hidden' name='kV' value="<?php echo $_REQUEST['kV'];?>">
<table boder='1' class='pa-nor'>
<tr valign='top'><td>Tax Type</td><td><input type='text' name='taxName' value="<?php echo $dbObject->getDbField('taxName');?>" size='10' maxlength='10'></td></tr>
<tr valign='top'><td>Tax %</td><td><input type='text' name='taxPer' value="<?php echo $dbObject->getDbField('taxPer');?>" size='10' maxlength='10'></td></tr>
<tr valign='top'><td>Status</td><td>
<input type="radio" name='status' value="Active" <?php
if($dbObject->getDbField('status')=="")
{
echo"checked";
}
else if($dbObject->getDbField('status')=="Active")
{
echo"checked";
}
?> >Active
<input type="radio" name='status' value="Deactive" <?php
if($dbObject->getDbField('status')=="Deactive")
{
echo"checked";
}?> >Deactive
</td></tr>
<tr><td colspan='2'><input type='submit' name='aC' value='<?php echo $currentMode;?>'></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>
<?php
// Include footer
//include "footer.php";
?>