Current File : /home/inlingua/www/icentex/admin-in-centre/ingl_terms_conditions.form.php |
<?php
// Created on: 04-05-2013
// Include header
include "header_cert.php";
?>
<h3 class='pa-nor-navbar'><a href='index.php'>Home</a> >> <a href='ingl_terms_conditions.select.php'>ingl_terms_conditions</a> >> ingl_terms_conditions</h3><br><br>
<?php
echo $succFailMesg;
// Show result of a form submission?
if ($showResult == "Y")
{ echo "<br><a href='ingl_terms_conditions.select.php'>Back</a><br>";
// Include footer
include "footer_cert.php";
return;
}
?>
<script type="text/javascript" src="js/jquery.validate.min.js"></script>
<script language="javascript">
<!--
function validate1(form)
{ if (form.recNo.value=="")
{ alert("recNo cannot be blank. Please enter it.");
form.recNo.focus(); return false;
}
return true;
}
-->
</script>
<form id='aForm' method='post' action='ingl_terms_conditions.main.php' onsubmit="return validate(this)">
<input type='hidden' name='recNo' class='required' value="<?php echo $dbObject->getDbField('recNo');?>">
<input type='hidden' name='kV' value="<?php echo $_REQUEST['kV'];?>">
<table border='0' class='pa-nor'>
<tr valign='top'><td>Terms & Condtions:</td><td><textarea wrap='virtual' rows='3' cols='50' name='terms_conditions'><?php echo $dbObject->getDbField('terms_conditions');?></textarea></td><td></td></tr>
<tr><td colspan='3'><input type='submit' name='aC' value='<?php echo $currentMode;?>'></td></tr>
</table>
</form>
<script>
$(function() {
$('#aForm').validate({
errorPlacement: function(error, element)
{ error.appendTo( element.parent("td").next("td") );
}
});
});
</script>
<?php
// Include footer
include "footer_cert.php";
?>