
PK 
<?php
include "templatic/head.php";
include "templatic/header.php";
?>
<head>
<script language="JavaScript" type="text/javascript">
<!--
function checkform ( form )
{
// ** START **
if (form.headname.value == "") {
alert( "Please enter Company Name here." );
form.headname.focus();
return false ;
}
// ** END **
// ** START **
if (form.headaddress.value == "") {
alert( "Please enter Address." );
form.headaddress.focus();
return false ;
}
// ** END **
// ** START **
if (form.headperson.value == "") {
alert( "Please enter Contact person It`s urjent." );
form.headperson.focus();
return false ;
}
// ** END **
return true ;
}
//-->
</script>
</head>
<h2 id="icon_pick">
Add A New Client Form</h2>
<br>
<strong> Fill in details for new Client Account:</strong>
<form action="clntadded.php" method="post" onsubmit="return checkform(this);">
<table cellspacing="3" align="center" width="100%" border="0" cellpadding="3">
<tr>
<td valign="top">
<strong>Company Name</strong>:</td>
<td><input type="text" name="headname" size="33"></td>
</tr>
<tr>
<td><strong>Address</strong>:</td>
<td><textarea rows="4" cols="25" name="headaddress"></textarea></td>
</tr>
<tr>
<td valign="top"><strong>Contact Person</strong>:</td>
<td><input type="text" name="headperson" size="33"></td>
</tr>
<tr>
<td valign="top"><strong>Phone</strong>:</td>
<td><input type="text" name="headphone" size="33"></td>
</tr>
<tr>
<td><strong>Description</strong>:</td>
<td><textarea rows="4" cols="25" name="headdecp"></textarea></td>
</tr>
<tr>
<td align="center" colspan="2">
<input type="hidden" name="action" value="add" />
<br><center><input type="submit" value="Add Client" class="amo-submit"></center>
</td>
</tr>
</table>
</form>
<?php
include "templatic/footer.php";
?>


PK 99