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

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


<?
	$f_sid = $sid;
	$f_date = time();
	$f_tech = $curruser ;
	$f_usergen = 1;
	$f_oldtimespent = $timespent;

	if ($is_public) {
		$publicchecked = "checked";
		$privatechecked = "";
	} else {
		$publicchecked = "";
		$privatechecked = "checked";
	}

?>

	<form method="post" action="nbrowse.php3">
	<input type=hidden name="f_process" value="postfoll">
	<input type=hidden name="f_flag" value="add">
	<input type=hidden name="f_sid" value="<? echo $f_sid ?>">
	<input type=hidden name="f_date" value="<? echo $f_date ?>">
	<input type=hidden name="f_tech" value="<? echo $f_tech ?>">
	<input type=hidden name="f_usergen" value="<? echo $f_usergen ?>">
	<input type=hidden name="f_oldtimespent" value="<? echo $f_oldtimespent ?> ">
	<tr bgcolor=#BBBBCB>
	<td width=100% bgcolor=#202020>
	<table width=100% bgcolor=#000000 cellspacing=2>
	<tr bgcolor=<? echo $sys_col[detailbg] ?>>
		<td align=center colspan=2>
			<font color=<? echo $sys_col[detailfg] ?>>
			Add a Followup
		</td>
	</tr>
	<tr bgcolor=<? echo $sys_col[detailbg]?> valign=top>
		<td bgcolor=<? echo $sys_col[detailbg]?> colspan=2>
			<?
				ShowStatusBar($f_sid);
			?>
		</td>
	</tr>
	<tr bgcolor=<? echo $sys_col[detailbg] ?> valign=top>
		<td bgcolor=<? echo $sys_col[detailbg] ?>>
			<font color=<? echo $sys_col[detailfg] ?>>
			<i>Followup Text:</i><br>
			<font size=<? echo $sys_selfont ?>><textarea name="f_text" rows=10 cols=80 wrap="soft"></textarea></font>
			<hr>
			<i>Time Spent:</i><br>
			<input type=text name="f_time" size=4 value="0">
		</td>
		<td bgcolor=<? echo $sys_col[detailbg] ?> valign=center>
			<font color=<? echo $sys_col[detailfg] ?>>
			<i>Followup to be available for public viewing?</i><br>
			<input type="radio" name="f_public" value="1" <? echo $publicchecked ?>> Public 
			<input type="radio" name="f_public" value="0" <? echo $privatechecked ?>> Private
			<hr>
			<? MailOptions(); ?>
		</td>
	</tr>
	<tr>
	<td colspan=2 bgcolor=<? echo $sys_col[detailbg] ?>>
	<?
		ShowExtras("followups",$sid);
	?>
	</td>
	</tr>
	</table>
	</td>
	</tr>
	<tr bgcolor=<? echo $sys_col[detailbg] ?> valign=top><td>
	<?
		PostBar("Post Followup");
	?>
	</tr>
	</form>
