FW: could you or someone rate this code and let us know your thoughts

[email protected] ("Michael James Dalton") Tue, 22 Aug 2000 16:01:35 -0500
Newsgroups php.db,php.dev,php.general,php.i18n,php.migration,php.windows
Message-ID <[email protected]>
------=_NextPart_000_0024_01C00C52.3F7297A0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit



-----Original Message-----
From: Michael James Dalton [mailto:[email protected]]
Sent: Tuesday, August 22, 2000 3:25 PM
To: [email protected]
Subject: could you or someone rate this code and let us know your
thoughts



on.  We need to rate this on

1) usability,
2) code look,
3) code maintainability,
4) use of functions


basically there are 3 functions followed by a mainline process. the form
posts to itself and the code in the mainline checks for the hidden fields
which are only there if submit used.  if submit used, the form is validated,
if all fields entered then upload, else display a page with the errors
encountered.

it appears to be documented quite well and works very nicely, except there
is no progress bar (although the IE and Netscape status lines do display
their own tiny progress meter).

SO, please rate this code as we are looking to use it for a client this
afternoon.  test it at
www.netvenues.com/ddb.php3

thanks


Michael J. Dalton
 IT2000/NetVenues

Michael J. Dalton
 IT2000/NetVenues


------=_NextPart_000_0024_01C00C52.3F7297A0
Content-Type: text/plain;
	name="ddb_php3.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="ddb_php3.txt"

<script language=3D"JavaScript">
	  function Close_Win(){
	  win.close();
	  }=09
	  var load_it =3D "0";
	  var win =3D =
window.open("About:Loading","FileProgress","toolbar=3Dno,width=3D220,heig=
ht=3D120,directories=3Dno,status=3Dno,scrollbars=3Dno,resize=3Dno,menubar=
=3Dno");
	  win.document.open();
	  =
win.document.writeln('<hmtl><head><title>Processing......</title></head>'=
); =20
	  win.document.writeln('<body bgcolor=3D"white"><br><center>');
	  win.document.writeln('<font face=3D"Arial,Helvetica" size=3D2 =
color=3D"red"><b>Processing...</b></font><br><br>');
	  win.document.writeln('<font face=3D"Arial,Helvetica" =
size=3D2><b>Please Wait.....</b></font></center>');
          win.document.writeln('</body></html>');
	  win.document.close();
	  window.onload=3DClose_Win;
</script>
<HTML> =20
<HEAD>
<META NAME=3D"GENERATOR" CONTENT=3D"Adobe PageMill 3.0 Mac">
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"GENERATOR" CONTENT=3D"Mozilla/4.5 (Macintosh; I; PPC) =
[Netscape]">
<TITLE>Digital Drop Box www.fire-house.net/ddb.phtml</TITLE>
</HEAD>
<BODY BACKGROUND=3D"http://www.fire-house.net/back.jpg" LINK=3D"#000099" =
ALINK=3D"#009900">
<?
/*                                                                       =
   */
/*  URGENT */
/*  AFTER you have completed testing do a FIND on the following as they  =
   */
/*  will need to be changed to the FIREHOUSE values......                =
   */
/*   "ddbfiles"   "forinstance"   "<-----"                               =
   */
/*  (please also note that if any FORM input field names are changed =
then   */
/*   this code will need modified. it can be done by simply finding all  =
   */
/*   occurrences of the "from" string before you do the change and then  =
   */
/*   the easiest would be to do a change ALL "from" "to".....            =
   */
/* =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D */
/*                                                                       =
   */
/* This PHP web page will perform the following:                         =
   */
/* 1). Global variables will be set for the form elements and validation =
   */
/* 2). This page and form "ddb.phtml" post using the POST method to =
itself  */
/* 3). PHP code logic will display the FORM only if the HIDDEN fields =
are   */
/*     not yet defined. These are $MAX_FILE_SIZE $Errors_Out. These =
fields  */
/*     will only be set when User presses SUBMIT key....                 =
   */
/* 4). If the HIDDEN elements are set (or present in memory), then it is =
   */
/*     understood that the user has pressed SUBMIT and the PHP logic =
will   */
/*     then process all validation steps BEFORE attempting to UPLOAD the =
   */
/*     selected file.  The following Validation steps will take =
place....   */
/*     4A). All fields are checked to make sure they were entered except =
   */
/*          for DROP and COMPANY.                                        =
   */
/*     4B). If all fields have been entered, $ERRORS_FOUND will =3D "0"  =
     */
/*     4C). If Errors were found, $ERRORS_FOUND will =3D "1"             =
     */
/*     4D). If Errors found, show error page and do not UPload file      =
   */
/* 5). If NO Errors, then the "email_detail()" function is performed to  =
   */
/*     prepare the email for formatting and content.                     =
   */
/*                                                                       =
   */
/*                                                                       =
   */
/*$tmpfile,$firstname,$lastname,$address,$city,$state,$zipcode,$phone,$em=
ail,$pegasus,$photo,$ink,$other,$otherarea;*/
/*                                                                       =
   */
/*                                                                       =
   */
/*  this function will process the Progress Bar                          =
   */
Function Progress_Bar ($tmpfile)
{
   if(isset($tmpfile) && $tmpfile!=3D"none"):
	Global $tmpfile_name,$tmpfile_size,$tmpfile_type;
        ?><script language=3D"JavaScript">
	   var load_it=3D"1";
          </script><?
        $loadBsize =3D 102400;
        $loadFsize =3D filesize($tmpfile);
        $loadTimes =3D $loadFsize/$loadBsize+1;
        $fabc =3D fopen($tmpfile, "r");
        $i =3D 0;
        while(!feof($fabc)):
                $i++;
                $data =3D fgets($fabc, $loadBsize );
                $outvalue =3D $loadBsize * $i * 100.0 / $loadFsize;
                if( $outvalue > 100 ):
		  $outvalue =3D 100;
		endif;
                $outdata =3D sprintf( "%.2f", $outvalue );
                flush();
        endwhile;
        fclose($fabc);
        sleep(1);
        echo "<span class=3Dminired>File $tmpfile_name  $tmpfile_size =
bytes ($tmpfile_type) has been successfully uploaded</span><p><br>";=20
        ?><script language=3D"JavaScript">
	    var load_it=3D"2";
          </script><?
  endif;
}
?>

<?
/*                                                                       =
   */
/*   this function is performed to validate form fields                  =
   */
Function Check_Errors =
($tmpfile,$firstname,$lastname,$address,$city,$state,$zipcode,$phone,$ema=
il,$pegasus,$photo,$ink,$other)=20
{
	Global $Errors_Out;
	$Errors_Out=3D"0";
	if($tmpfile=3D=3D"none"):
	   $Errors_Out=3D"1";
	elseif($firstname=3D=3D""):
	   $Errors_Out=3D"1";
	elseif($lastname=3D=3D""):
	   $Errors_Out=3D"1";
	elseif($address=3D=3D""):
	   $Errors_Out=3D"1";
	elseif($city=3D=3D""):
	   $Errors_Out=3D"1";
	elseif($state=3D=3D""):
	   $Errors_Out=3D"1";
	elseif($zipcode=3D=3D""):
	   $Errors_Out=3D"1";
	elseif($phone=3D=3D""):
	   $Errors_Out=3D"1";
	elseif($email=3D=3D""):
	   $Errors_Out=3D"1";
	elseif(!isset($pegasus) && !isset($photo) && !isset($ink) && =
!isset($other) ):
	   $Errors_Out=3D"1";
	endif;
	Return($Errors_Out);
}
/*                                                                       =
   */
/*   this function is performed if all validation checks are successful  =
   */
Function email_detail =
($lastname,$firstname,$address,$city,$state,$zipcode,$phone,$email,$pegas=
us,$Pqty,$Psize,$Psize,$Pfinish,$photo,$Phqty,$Phsize,$Phtype,$ink,$Iqty,=
$Isize,$Ifinish,$other,$otherarea,$drop,$company)=20
{
	Global $e_detail;
	$e_detail=3D" ";
	$ed1=3D"Name    		: $firstname   $lastname \n";
	$ed2=3D"Company 		: $company \n";
	$ed3=3D"Address 		: $address \n";
	$ed4=3D"City    		: $city \n";
	$ed5=3D"State   		: $state \n";
	$ed6=3D"Zipcode 		: $zipcode \n";
	$ed7=3D"DropCode		: $drop \n";
	$ed8=3D"Phone   		: $phone \n";
	$ed9=3D"Email             : $email \n";
       $ed10=3D"\n";
	if($pegasus=3D=3D""):
	   $Pqty=3D"";$Psize=3D"";$Pfinish=3D"";
	endif;
       $ed11=3D"Pegasus Prints	: $pegasus \n";
       $ed12=3D"Quantity		: $Pqty \n";
       $ed13=3D"Size		: $Psize \n";
       $ed14=3D"Finish		: $Pfinish \n";
       $ed15=3D"\n";
	if($photo=3D=3D""):
	   $Phqty=3D"";$Phsize=3D"";$Phtype=3D"";
	endif;
       $ed16=3D"Photographic Film : $photo \n";
       $ed17=3D"Quantity		: $Phqty \n";
       $ed18=3D"Size		: $Phsize \n";
       $ed19=3D"Film Type		: $Phtype \n";
       $ed20=3D"\n";
	if($ink=3D=3D""):
	   $Iqty=3D"";$Isize=3D"";$Ifinish=3D"";
	endif;
       $ed21=3D"Inkjet Prints	: $ink \n";
       $ed22=3D"Quantity		: $Iqty \n";
       $ed23=3D"Size		: $Isize \n";
       $ed24=3D"Finish		: $Ifinish \n";
	if($other=3D=3D""):
	   $otherarea=3D"";
	endif;
       $ed25=3D"\nComments	: $otherarea \n";
       =
$e_detail=3D"$ed1$ed2$ed3$ed4$ed5$ed6$ed7$ed8$ed9$ed10$ed11$ed12$ed13$ed1=
4$ed15$ed16$ed17$ed18$ed19$ed20$ed21$ed22$ed23$ed24$ed25";
       Return($e_detail);
}
?>

<?
/*                                                                       =
   */
/*   this is the mainline process for this PHP web page                  =
   */
/*                                                                       =
   */
if(isset($MAX_FILE_SIZE) && isset($Errors_Out)):
  =
Check_Errors($tmpfile,$firstname,$lastname,$address,$city,$state,$zipcode=
,$phone,$email,$pegasus,$photo,$ink,$other);
/*                                                                       =
   */
/*   if NO Errors are encountered, then submit the file for UPLOAD       =
   */
    if($Errors_Out=3D=3D"0"):
	  Progress_Bar($tmpfile);
	  echo "<font color=3D'red'><br>Your File Has Been Submitted =
Successfully.....<br><br></font>";
	  echo "<font color=3D'blue'>";
	  if($tmpfile_type=3D=3D"image/jpg"):
	       $var0=3D"jpg";=20
	  elseif($tmpfile_type=3D=3D"image/jpeg"):
	       $var0=3D"jpg";=20
	  elseif($tmpfile_type=3D=3D"image/pjpeg"):
	       $var0=3D"jpg";=20
	  elseif($tmpfile_type=3D=3D"image/gif"):
	       $var0=3D"gif";=20
	  elseif($tmpfile_type=3D=3D"image/bmp"):
	       $var0=3D"bmp";=20
	  endif;
	  if($var0=3D=3D" "):
	     $tok=3Dstrtok($tmpfile_type,"/");
	     While($tok):
	       $var0=3D$tok;
	       $tok=3Dstrtok("/");
	     endwhile;
	  endif;
/*  set the date and make sure no leading or trailing spaces in =
first/last  */
	  $today =3D date("YmdHis");=20
	  $under=3D"_";$per=3D".";
	  $firstname=3Dchop($firstname);
	  if(substr($firstname,0,1)=3D=3D" "):
	     $l1=3Dstrlen($firstname)-1;
	     $firstname=3Dsubstr($firstname,1,$l1);
	  endif;
	  $lastname=3Dchop($lastname);
	  if(substr($lastname,0,1)=3D=3D" "):
	     $l1=3Dstrlen($lastname)-1;
	     $lastname=3Dsubstr($lastname,1,$l1);
	  endif;
	  $var1=3D"$today$under$firstname$under$lastname$per$var0";
	  $var2 =3D "$DOCUMENT_ROOT/ddbfiles/$var1";                      =
/*<---------*/
   	  echo "The file you submitted  was: $tmpfile_name <br>";
	  echo "The web file we created is : /ddbfiles/$var1 <br>";     =
/*<---------*/
	  echo "The file size processed was: $tmpfile_size <br>";
	  echo "Full Web file path Output  : $var2 <br>";
	  $result=3Dpassthru("cd /ddbfiles");                             =
/*<---------*/
	  $result=3Dpassthru("cp $tmpfile $var2");
	  $result=3Dpassthru("cd /");

	  echo "Email is being sent to the site administrator for processing";
	  =
email_detail($lastname,$firstname,$address,$city,$state,$zipcode,$phone,$=
email,$pegasus,$Pqty,$Psize,$Psize,$Pfinish,$photo,$Phqty,$Phsize,$Phtype=
,$ink,$Iqty,$Isize,$Ifinish,$other,$otherarea,$drop,$company);
	  $e0=3D"Real-Time Email Notifications (by Forinstance.Com)... ";
	  /*$BASEURL=3D"http://www.fire-house.net/ddbfiles/";              =
<---------*/
	  $BASEURL=3D"http://www.netvenues.com/ddbfiles/";               =
/*<---------*/
	  $e1=3D"[email protected]";                              =
/*<---------*/
	  $e2=3D"$firstname  $lastname digitally submitted an image file...";
	  $e3=3D"Please be advised that $firstname $lastname submitted an =
image";
	  $e4=3D"\nfile on $today.  The file was submitted from $tmpfile_name =
.";
	  $e5=3D"\n \nDigital dropbox submission. ";
	  $e6=3D"\nThe file can be retrieved at:\n";
	  $e7=3D"\n$BASEURL$today$under$firstname$under$lastname$per$var0 =
\n\n";
	  $e8=3D"$e3$e4$e5$e6$e7$e_detail";

	  MAIL($e1,$e2,$e8,$e0);

	  $e1=3D$email;
	  $e2=3D"Thank you for submitting your image to Firehouse...";
	  $e3=3D"The details of your request can be found below.\n ";
	  $e4=3D"\nIf you have any questions please contact us: \n ";
	  $e5=3D"\nToll Free    : (800) 382-7179 ";
	  $e6=3D"\nIndianapolis : (317) 237-1749 ";
	  $e7=3D"\nEmail        : [email protected] \n\n";
	  $e8=3D"$e3$e4$e5$e6$e7$e_detail";
	  MAIL($e1,$e2,$e8,$e0);

	  unset($tmpfile);
     /*   ERRORS FOUND, so perform Error Notification , display WEb page =
for User action */
     else:
	  echo "<font size=3D'+1' color=3D'red'>";
	  echo "<br>ERRORS HAVE OCCURRED.  File was not Uploaded!<br><br>";
  	  if($tmpfile=3D=3D"none"):
	     echo "You must select a FILE to upload...<br><br>";
	  endif;
	  echo "The following Required fields have not been entered... <br>";
	  if($firstname=3D=3D""):
	     echo "Firstname ";
	  endif;
	  if($lastname=3D=3D""):
	     echo "Lastname ";
	  endif;
	  if($address=3D=3D""):
	     echo "Address ";
	  endif;
	  if($city=3D=3D""):
	     echo "City ";
	  endif;
	  if($state=3D=3D""):
	     echo "State ";
	  endif;
	  if($zipcode=3D=3D""):
	     echo "ZipCode ";
  	  endif;
	  if($phone=3D=3D""):
	     echo "Phone ";
	  endif;
	  if($email=3D=3D""):
	     echo "Email ";
	  endif;
	  if(!isset($pegasus) && !isset($photo) && !isset($ink) && =
!isset($other) ):
	     echo "<br><br>You must select at least one of our services via the =
checkboxes!";
	  endif;
	  echo "<br><br> --------> Please use your BACK browser button to Try =
Again <--------";
	  echo "</font></body></html>";
	  EXIT;
     endif;=20

?>

<?   /*  this segment is performed BEFORE user presses SUBMIT to display =
FORM for entry */
else:
/*  this is simply the HTML  Form tags area                              =
   */
?>
<FORM name=3D"uploader" action=3D"ddb.php3" method=3D"Post" =
ENCTYPE=3D"multipart/form-data" >
<input type=3D"hidden" name=3D"MAX_FILE_SIZE" value=3D"800000">
<input type=3D"hidden" name=3D"Errors_Out" value=3D"0" default=3D"0">
<TABLE WIDTH=3D"90%" BORDER=3D"0" CELLSPACING=3D"0" CELLPADDING=3D"0">
  <TR>
    <TD><TABLE WIDTH=3D"90%" BORDER=3D"0" CELLSPACING=3D"0"
      CELLPADDING=3D"0">
        <TR>
          <TD WIDTH=3D"174"><A =
HREF=3D"http://www.fire-house.net/default.html"><IMG =
SRC=3D"http://www.fire-house.net/fonline.gif"
            WIDTH=3D"150" HEIGHT=3D"80" ALIGN=3D"BOTTOM" BORDER=3D"0" =
NATURALSIZEFLAG=3D"3"></A></TD>=20
          <TD WIDTH=3D"400"><IMG =
SRC=3D"http://www.fire-house.net/ddb-top.gif" WIDTH=3D"390" =
HEIGHT=3D"80"
            ALIGN=3D"BOTTOM" BORDER=3D"0" NATURALSIZEFLAG=3D"3"></TD>=20
          <TD WIDTH=3D"150"><A =
HREF=3D"http://www.fire-house.net/mesage.html"><IMG =
SRC=3D"http://www.fire-house.net/relate-message.gif"
            WIDTH=3D"125" HEIGHT=3D"80" ALIGN=3D"BOTTOM" BORDER=3D"0" =
NATURALSIZEFLAG=3D"3"></A></TD>=20
        </TR>
        </TABLE><TABLE WIDTH=3D"90%" BORDER=3D"0" CELLSPACING=3D"0" =
CELLPADDING=3D"0">
        <TR>
          <TD WIDTH=3D"120" VALIGN=3D"TOP">
            <P><BR>
            <IMG SRC=3D"http://www.fire-house.net/photoside.jpg" =
WIDTH=3D"100" HEIGHT=3D"20" ALIGN=3D"BOTTOM"
            BORDER=3D"0" NATURALSIZEFLAG=3D"3"><A =
HREF=3D"http://www.fire-house.net/backlit.html"><IMG =
SRC=3D"http://www.fire-house.net/backlitside.jpg"
            WIDTH=3D"100" HEIGHT=3D"40" ALIGN=3D"BOTTOM" BORDER=3D"0" =
NATURALSIZEFLAG=3D"3"></A><A
            HREF=3D"http://www.fire-house.net/bw.html"><IMG =
SRC=3D"http://www.fire-house.net/bwside.jpg" WIDTH=3D"100" HEIGHT=3D"40"
            ALIGN=3D"BOTTOM" BORDER=3D"0" NATURALSIZEFLAG=3D"3"></A><A =
HREF=3D"http://www.fire-house.net/custom.html"><IMG=20
            SRC=3D"http://www.fire-house.net/customside.jpg" =
WIDTH=3D"100" HEIGHT=3D"40" ALIGN=3D"BOTTOM"=20
            BORDER=3D"0" NATURALSIZEFLAG=3D"3"></A><A =
HREF=3D"http://www.fire-house.net/economy.html"><IMG=20
            SRC=3D"http://www.fire-house.net/econoside.jpg" =
WIDTH=3D"100" HEIGHT=3D"40" ALIGN=3D"BOTTOM" BORDER=3D"0"
            NATURALSIZEFLAG=3D"3"></A><A =
HREF=3D"http://www.fire-house.net/film.html"><IMG =
SRC=3D"http://www.fire-house.net/filmside.jpg"
            WIDTH=3D"100" HEIGHT=3D"40" ALIGN=3D"BOTTOM" BORDER=3D"0" =
NATURALSIZEFLAG=3D"3"></A><A
            HREF=3D"http://www.fire-house.net/pegasus.html"><IMG =
SRC=3D"http://www.fire-house.net/peg2side.jpg" WIDTH=3D"100" =
HEIGHT=3D"40"
            ALIGN=3D"BOTTOM" BORDER=3D"0" NATURALSIZEFLAG=3D"3"></A><A =
HREF=3D"http://www.fire-house.net/mounting.html"><IMG=20
            SRC=3D"http://www.fire-house.net/mountside.jpg" =
WIDTH=3D"100" HEIGHT=3D"40" ALIGN=3D"BOTTOM" BORDER=3D"0"
            NATURALSIZEFLAG=3D"3"></A><A =
HREF=3D"http://www.fire-house.net/slides.html"><IMG =
SRC=3D"http://www.fire-house.net/slideside.jpg"
            WIDTH=3D"100" HEIGHT=3D"40" ALIGN=3D"BOTTOM" BORDER=3D"0" =
NATURALSIZEFLAG=3D"3"></A><IMG=20
            SRC=3D"http://www.fire-house.net/digside.jpg" WIDTH=3D"100" =
HEIGHT=3D"20" ALIGN=3D"BOTTOM" BORDER=3D"0"
            NATURALSIZEFLAG=3D"3"><A =
HREF=3D"http://www.fire-house.net/writecd.html"><IMG =
SRC=3D"http://www.fire-house.net/cdside.jpg"
            WIDTH=3D"100" HEIGHT=3D"40" ALIGN=3D"BOTTOM" BORDER=3D"0" =
NATURALSIZEFLAG=3D"3"></A><A
            HREF=3D"http://www.fire-house.net/inkjet.html"><IMG =
SRC=3D"http://www.fire-house.net/inkjetside.jpg" WIDTH=3D"100" =
HEIGHT=3D"40"
            ALIGN=3D"BOTTOM" BORDER=3D"0" NATURALSIZEFLAG=3D"3"></A><A =
HREF=3D"http://www.fire-house.net/imaging.html"><IMG=20
            SRC=3D"http://www.fire-house.net/lvtside.jpg" WIDTH=3D"100" =
HEIGHT=3D"40" ALIGN=3D"BOTTOM" BORDER=3D"0"
            NATURALSIZEFLAG=3D"3"></A><A =
HREF=3D"http://www.fire-house.net/pcd1.html"><IMG =
SRC=3D"http://www.fire-house.net/pcdside1.jpg"
            WIDTH=3D"100" HEIGHT=3D"40" ALIGN=3D"BOTTOM" BORDER=3D"0" =
NATURALSIZEFLAG=3D"3"></A><A
            HREF=3D"http://www.fire-house.net/pcd2.html"><IMG =
SRC=3D"http://www.fire-house.net/pcdside2.jpg" WIDTH=3D"100" =
HEIGHT=3D"40"
            ALIGN=3D"BOTTOM" BORDER=3D"0" NATURALSIZEFLAG=3D"3"></A><A =
HREF=3D"http://www.fire-house.net/pegasus.html"><IMG=20
            SRC=3D"http://www.fire-house.net/pegside.jpg" WIDTH=3D"100" =
HEIGHT=3D"40" ALIGN=3D"BOTTOM" BORDER=3D"0"
            NATURALSIZEFLAG=3D"3"></A><A =
HREF=3D"http://www.fire-house.net/retouch.html"><IMG =
SRC=3D"http://www.fire-house.net/retside.jpg"
            WIDTH=3D"100" HEIGHT=3D"40" ALIGN=3D"BOTTOM" BORDER=3D"0" =
NATURALSIZEFLAG=3D"3"></A><IMG=20
            SRC=3D"http://www.fire-house.net/northside.jpg" =
WIDTH=3D"100" HEIGHT=3D"20" ALIGN=3D"BOTTOM" BORDER=3D"0"
            NATURALSIZEFLAG=3D"3"><A =
HREF=3D"http://www.fire-house.net/copies.html"><IMG =
SRC=3D"http://www.fire-house.net/copyside.jpg"
            WIDTH=3D"100" HEIGHT=3D"40" ALIGN=3D"BOTTOM" BORDER=3D"0" =
NATURALSIZEFLAG=3D"3"></A><A
            HREF=3D"http://www.fire-house.net/prepress.html"><IMG =
SRC=3D"http://www.fire-house.net/prepreside.jpg" WIDTH=3D"100" =
HEIGHT=3D"40"
            ALIGN=3D"BOTTOM" BORDER=3D"0" NATURALSIZEFLAG=3D"3"></A><A =
HREF=3D"http://www.fire-house.net/printing.html"><IMG=20
            SRC=3D"http://www.fire-house.net/printside.jpg" =
WIDTH=3D"100" HEIGHT=3D"40" ALIGN=3D"BOTTOM" BORDER=3D"0"
            NATURALSIZEFLAG=3D"3"></A><IMG =
SRC=3D"http://www.fire-house.net/webside.jpg" WIDTH=3D"100" =
HEIGHT=3D"20"
            ALIGN=3D"BOTTOM" BORDER=3D"0" NATURALSIZEFLAG=3D"3"><A =
HREF=3D"http://real.fire-house.net/"><IMG=20
            SRC=3D"http://www.fire-house.net/realside.jpg" WIDTH=3D"100" =
HEIGHT=3D"40" ALIGN=3D"BOTTOM" BORDER=3D"0"
            NATURALSIZEFLAG=3D"3"></A><A =
HREF=3D"http://www.fire-house.net/ddb.html"><IMG =
SRC=3D"http://www.fire-house.net/ddbside.jpg"
            WIDTH=3D"100" HEIGHT=3D"40" ALIGN=3D"BOTTOM" BORDER=3D"0" =
NATURALSIZEFLAG=3D"3"></A><A
            HREF=3D"http://www.fire-house.net/email.html"><IMG =
SRC=3D"http://www.fire-house.net/emailside.jpg" WIDTH=3D"100" =
HEIGHT=3D"40"
            ALIGN=3D"BOTTOM" BORDER=3D"0" NATURALSIZEFLAG=3D"3"></A><A =
HREF=3D"http://www.fire-house.net/mesage.html"><IMG=20
            SRC=3D"http://www.fire-house.net/messageside.jpg" =
WIDTH=3D"100" HEIGHT=3D"40" ALIGN=3D"BOTTOM"
            BORDER=3D"0" NATURALSIZEFLAG=3D"3"></A></P>

            <P><A HREF=3D"http://www.fire-house.net/policy.html"><IMG =
SRC=3D"http://www.fire-house.net/policyside.jpg" WIDTH=3D"100"
            HEIGHT=3D"40" ALIGN=3D"BOTTOM" BORDER=3D"0" =
NATURALSIZEFLAG=3D"3"></A>
          </TD>
          <TD WIDTH=3D"90%" VALIGN=3D"TOP">
            <P><CENTER>&nbsp;</CENTER></P>

            <P><CENTER><FONT SIZE=3D"+2">The Digital Drop Box allows you =
to
            send Firehouse your files without the hassle of FTP or the =
headaches
            of email. Simply fill out this form to submit your =
file.</FONT></CENTER></P>

            <P><CENTER><FONT SIZE=3D"+2">If you have any questions, =
please
            feel free to contact our <A =
HREF=3D"mailto:[email protected]">system
            administrator</A>.</FONT></CENTER></P>

            <B><FONT SIZE=3D"+2"><HR ALIGN=3DLEFT></FONT></B><br>

            <P><B><FONT SIZE=3D"+1">A bit of information about yourself, =
please.
            </FONT></B>(Your order <B>WILL NOT</B><br> be processed if =
you do
            not completely fill out this section.)<B><FONT =
SIZE=3D"+1">:</FONT></B></P>

            <P>FirstName:<INPUT NAME=3D"firstname" value=3D"" =
TYPE=3D"text" SIZE=3D"25"> LastName: <INPUT
            NAME=3D"lastname" value=3D"" TYPE=3D"text" SIZE=3D"25"></P>

            <P>Company: <INPUT NAME=3D"company" value=3D"" TYPE=3D"text" =
SIZE=3D"50"></P>

            <P>Address: <INPUT NAME=3D"address" value=3D"" TYPE=3D"text" =
SIZE=3D"25"> City: <INPUT
            NAME=3D"city" value=3D"" TYPE=3D"text" SIZE=3D"25"></P>

            <P>State:<INPUT NAME=3D"state" value=3D"" TYPE=3D"text" =
SIZE=3D"2"> Zip Code:<INPUT
            NAME=3D"zipcode" value=3D"" TYPE=3D"text" SIZE=3D"12"> Drop =
Code:<INPUT NAME=3D"drop"
            value=3D"" TYPE=3D"text" SIZE=3D"9"></P>

            <P>Phone Number: <INPUT NAME=3D"phone" value=3D"" =
TYPE=3D"text" SIZE=3D"21">Email
            Address: <INPUT NAME=3D"email" value=3D"" TYPE=3D"text" =
SIZE=3D"20"></P>

            <P><HR ALIGN=3DLEFT></P>

            <P><B><FONT SIZE=3D"+1">What would you like us to do with =
your
            file? </FONT></B>(Check all that apply; be sure to specify =
quantity
            &amp; size.)</P>

            <P><INPUT TYPE=3D"checkbox" NAME=3D"pegasus" =
VALUE=3D"Yes"><B><FONT
             SIZE=3D"+1"><A =
HREF=3D"http://www.fire-house.net/pegasus.html">Pegasus =
Prints</A></FONT><FONT
             SIZE=3D"+2">:</FONT> </B>Photographic prints made from your =
digital
            files.</P>

            <BLOCKQUOTE>
              <P>Quantity: <INPUT NAME=3D"Pqty" TYPE=3D"text" =
SIZE=3D"4">
	       Size:<B>
              <SELECT NAME=3D"Psize">
              <OPTION VALUE=3D"peg4x5" SELECTED>4x5
              <OPTION VALUE=3D"peg5x7">5x7
              <OPTION VALUE=3D"peg8x10">8x10
              <OPTION VALUE=3D"peg8.5x11">8.5x11
              <OPTION VALUE=3D"peg11x14">11x14
              <OPTION VALUE=3D"peg16x20">16x20
              <OPTION VALUE=3D"peg20x24">20x24
              <OPTION VALUE=3D"peg20x30">20x30
              </SELECT> </B>Finish: <SELECT name=3D"Pfinish">
              <OPTION VALUE=3D"pegmatte" SELECTED>Matte
              <OPTION VALUE=3D"peggloss">Glossy
              <OPTION VALUE=3D"pegbw">B&amp;W
              </SELECT></P></BLOCKQUOTE>

            <P><INPUT TYPE=3D"checkbox" NAME=3D"photo" =
VALUE=3D"Yes"><B><FONT
             SIZE=3D"+1"><A =
HREF=3D"http://www.fire-house.net/imaging.html">Photographic =
Film</A>:</FONT>
            </B>Photographic transparencies &amp; negatives made from =
your
            digital files.</P>

            <BLOCKQUOTE>
              <P>Quantity: <INPUT NAME=3D"Phqty" TYPE=3D"text" =
SIZE=3D"4">
              Size:=20
              <SELECT NAME=3D"Phsize">
              <OPTION VALUE=3D"lvt35mm" SELECTED>35mm
              <OPTION VALUE=3D"lvt4x5">4x5
              <OPTION VALUE=3D"lvt8x10">8x10
              </SELECT>=20
              Film Type:=20
              <SELECT NAME=3D"Phtype">
              <OPTION VALUE=3D"lvtneg" SELECTED>Negative
              <OPTION VALUE=3D"lvttrans">Transparency
              <OPTION VALUE=3D"lvtbw">B&amp;W
              </SELECT></P></BLOCKQUOTE>

            <P><INPUT TYPE=3D"checkbox" NAME=3D"ink" =
VALUE=3D"Yes"><B><FONT
             SIZE=3D"+1"><A =
HREF=3D"http://www.fire-house.net/inkjet.html">Inkjet =
Prints</A>:</FONT></B>
            High quality inkjet prints made from your digital files.</P>

            <BLOCKQUOTE>
              <P>Quantity: <INPUT NAME=3D"Iqty" TYPE=3D"text" =
SIZE=3D"4">
              Size:=20
              <SELECT NAME=3D"Isize">
              <OPTION VALUE=3D"ink16x20" SELECTED>16x20
              <OPTION VALUE=3D"ink20x24">20x24
              <OPTION VALUE=3D"ink20x30">20x30
              <OPTION VALUE=3D"ink24x30">24x30
              <OPTION VALUE=3D"ink24x36">24x36
              <OPTION VALUE=3D"ink30x30">30x30
              <OPTION VALUE=3D"ink30x36">30x36
              <OPTION VALUE=3D"ink36x36">36x36
              <OPTION VALUE=3D"ink36x48">36x48
              <OPTION VALUE=3D"ink40x60">40x60
              <OPTION VALUE=3D"ink40x72">40x72
              <OPTION VALUE=3D"ink40x84">40x84
              <OPTION VALUE=3D"ink48x48">48x48
              <OPTION VALUE=3D"ink48x60">48x60
              <OPTION VALUE=3D"ink48x72">48x72
              <OPTION VALUE=3D"ink48x84">48x84
              <OPTION VALUE=3D"ink48x96">48x96
              <OPTION VALUE=3D"ink48x120">48x120
              </SELECT>=20
              Finish:=20
              <SELECT NAME=3D"Ifinish">
              <OPTION VALUE=3D"inkcoated" SELECTED>Coated Paper
              <OPTION VALUE=3D"inkfilm">Film
              <OPTION VALUE=3D"inkcanvas">Canvas
              </SELECT></P></BLOCKQUOTE>

            <P><INPUT TYPE=3D"checkbox" NAME=3D"other" =
VALUE=3D"Yes"><B><FONT
             SIZE=3D"+1">Other</FONT></B>: Please specify below:</P>

            <BLOCKQUOTE>
              <P><TEXTAREA NAME=3D"otherarea" ROWS=3D"7" =
COLS=3D"63"></TEXTAREA></P></BLOCKQUOTE>

            <P><HR ALIGN=3DLEFT></P>

            <P><B><FONT SIZE=3D"+1">Now just click the button below, and =
choose
            the file you wish to send us!</FONT></B></P>

	    <p><center><b><input type=3D"file" name=3D"tmpfile" value=3D"" =
default=3D""><br></b></center></p>

            <P><CENTER><B><FONT SIZE=3D"+1"><INPUT NAME=3D"submit" =
TYPE=3D"submit"
            VALUE=3D"Submit My File"></FONT></B></CENTER>
          </TD>
        </TR>
      </TABLE></TD>
  </TR>
</TABLE>&nbsp;
</FORM>

<?  /*  this is simply the end of the construct                          =
   */
endif;
?>

</BODY>
</HTML>

------=_NextPart_000_0024_01C00C52.3F7297A0--