<?
	#---------------------------------------------------------------------#
	# This source code is (c)2000 White Pajamas, Inc                      #
	# see http://www.stonekeep.com/license.html for licensing information #
	#---------------------------------------------------------------------#

	#--------------------------------------------------------------------
	# $Id: addcontact.php3,v 1.11 2000/12/19 15:27:38 shevett Exp $
	#--------------------------------------------------------------------
	
?>

	<form method="post" action="nbrowse.php3">
	<input type=hidden name="f_process" value="postcont">
	<input type=hidden name="f_flag" value="add">
	<tr bgcolor=#BBBBCB>
		<td align=center>
 			Add a new Contact
		</td>
	</tr>
	<tr bgcolor=#000000 valign=top>
		<td align=center>
	<table bgcolor=#000000 cellspacing=2>
	<tr bgcolor=#000000 valign=top>

		<td bgcolor=#808080 colspan=2>
			<i>Tag (MUST be unique!)</i><br>
			<!-- FIXME: needs maxsize based on database query -->
			<input name="a_tag" size=10><br>
		</td>
	</tr>
	<tr bgcolor=#bbbbbb valign=top>
		<td bgcolor=#808080 colspan=2>
			<i>Name</i><br>
			<!-- FIXME: needs maxsize based on database query -->
			<input type=text name=a_name size=40>
		</td>
	</tr>
	<tr bgcolor=#bbbbbb valign=top>
		<td bgcolor=#808080 colspan=2>
			<i>Company</i><br>
			<!-- FIXME: needs maxsize based on database query -->
			<input type=text name=a_company size=50>
		</td>
	</tr>
	<tr bgcolor=#bbbbbb valign=top>
		<td bgcolor=#808080 colspan=2>
			<i>E-Mail</i><br>
			<!-- FIXME: needs maxsize based on database query -->
			<input type=text name="a_email" size=30>
		</td>
	</tr>
	<tr bgcolor=#bbbbbb valign=top>
		<td bgcolor=#808080>
			<i>Password</i><br>
			<!-- FIXME: needs maxsize based on database query -->
			<input type=text name="a_passwd" size=10>
		</td>
		<td bgcolor=#808080>
			<i>Type</i><br>
			<select name="a_ctype">
			<option value="C">Contact
			<option value="M">Manufacturer
			</select>
		</td>
	</tr>
	<tr bgcolor=#bbbbbb valign=top>
		<td bgcolor=#808080 colspan=2>
			<i>Comment</i><br>
			<!-- FIXME: needs maxsize based on database query -->
			<font size=<?echo $sys_selfont?><textarea name="a_comment" rows=10 cols=60 wrap="soft"><? echo StripSlashes(htmlspecialchars($currow[comment]))?></textarea></font>
		</td>
	</tr>
	<tr bgcolor=#000000 valign=top><td colspan=2>
	<input type="hidden" name="f_flag" value="add">
	<?
		PostBar("Add Contact");
	?>
	</tr>
	
	</table>
	</td>
	</tr>
	
	</form>
