
PK 
<?php
session_start();
require_once 'common/common.php';
require_once 'common/secure.php';
include("head.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="4" 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 valign="top"><strong>Billing Cycle</strong>:</td>
<td><input type="radio" name="btype" value="1" checked>Monthly <input type="radio" name="btype" value="2">Instant</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 "foot.php";
?>


PK 99