<?php
if (!defined('WEB_ROOT')) {
	exit;
}

$errorMessage = (isset($_GET['error']) && $_GET['error'] != '') ? $_GET['error'] : '&nbsp;';
?> 
<script language="JavaScript" type="text/javascript" src="../fckeditor/fckeditor.js"></script>
 <script type="text/javascript">
	window.onload = function()
	{
	var oFCKeditor = new FCKeditor( 'txtdetail' ) ;
	oFCKeditor.BasePath = "../fckeditor/" ;
	oFCKeditor.ReplaceTextarea() ;
	}
</script>
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<p class="errorMessage">&nbsp;</p>
<p class="errorMessage"><?php echo $errorMessage; ?></p>
<form action="processFiles.php?action=add" method="post" enctype="multipart/form-data" name="frmAddFile" id="frmAddFile" onsubmit="return validate(this)">
 <table width="80%" border="0" align="center" cellpadding="5" cellspacing="1">
  <tr>
    <td align="left" valign="top" class="label">Description </td>
    <td align="left" valign="middle" class="content">
    <textarea name="txtdetail" id="txtdetail" cols="45" rows="5" class="formField"></textarea>   </td>
  </tr>
  <tr>
    <td class="label">&nbsp;</td>
    <td class="content">&nbsp;</td>
  </tr>
 </table>
 <p align="center"> 
  <input type="submit" name="btnAddClient" id="btnAddClient" value="Add Contact" class="button">
  &nbsp;&nbsp;<input name="btnCancel" type="button" id="btnCancel" value="Cancel" onClick="window.location.href='index.php';" class="button">  
 </p>
</form>