PK

ADDRLIN : /home/anibklip/ulpc.in/bkp2014-2015/
FLL :
Current File : //home/anibklip/ulpc.in/bkp2014-2015/addajent.php

<?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.headperson.value == "") {
    alert( "Please enter Address." );
    form.headperson.focus();
    return false ;
  }
  // ** END **
  
  // ** START **
  if (form.headaddress.value == "") {
    alert( "Please enter Address." );
    form.headaddress.focus();
    return false ;
  }
  // ** END **
  

  
  return true ;
}
//-->
</script>
</head>
 <br>
<strong> &nbsp;Fill in details for new Agent Account:</strong> 

<form action="ajentadded.php" method="get" 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 valign="top"><strong>Contact Person</strong>:</td><td><input type="text" name="headperson" size="33"></td>
		</tr>
		<tr>
			<td><strong>Address</strong>:</td><td><textarea rows="4" cols="28" name="headaddress"></textarea></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="2" cols="28" name="headdecp"></textarea></td>
		</tr>
		<tr>
		<tr><td align="center" colspan="2"><br><center><input type="submit" value="Add New Ajent"  class="amo-submit"></center></td></tr>
	</table>
</form>


<?php
include "foot.php";
?>


PK 99