[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-i18n
Subject:    [PHP-I18N] FW: could you or someone rate this code and let us know your thoughts
From:       "Michael James Dalton" <ceo () netvenues ! com>
Date:       2000-08-22 20:59:12
[Download RAW message or body]

-----Original Message-----
From: Michael James Dalton [mailto:ceo@netvenues.com]
Sent: Tuesday, August 22, 2000 3:25 PM
To: kk@netuse.de
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


["ddb_php3.txt" (text/plain)]

<script language="JavaScript">
	  function Close_Win(){
	  win.close();
	  }	
	  var load_it = "0";
	  var win = window.open("About:Loading","FileProgress","toolbar=no,width=220,height=120,directories=no,status=no,scrollbars=no,resize=no,menubar=no");
  win.document.open();
	  win.document.writeln('<hmtl><head><title>Processing......</title></head>');  
	  win.document.writeln('<body bgcolor="white"><br><center>');
	  win.document.writeln('<font face="Arial,Helvetica" size=2 \
color="red"><b>Processing...</b></font><br><br>');  win.document.writeln('<font \
face="Arial,Helvetica" size=2><b>Please Wait.....</b></font></center>');  \
win.document.writeln('</body></html>');  win.document.close();
	  window.onload=Close_Win;
</script>
<HTML>  
<HEAD>
<META NAME="GENERATOR" CONTENT="Adobe PageMill 3.0 Mac">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="GENERATOR" CONTENT="Mozilla/4.5 (Macintosh; I; PPC) [Netscape]">
<TITLE>Digital Drop Box www.fire-house.net/ddb.phtml</TITLE>
</HEAD>
<BODY BACKGROUND="http://www.fire-house.net/back.jpg" LINK="#000099" ALINK="#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".....               */
/* ======================================================================== */
/*                                                                          */
/* 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 = "0"       */
/*     4C). If Errors were found, $ERRORS_FOUND will = "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,$email,$pegasus,$photo,$ink,$other,$otherarea;*/
 /*                                                                          */
/*                                                                          */
/*  this function will process the Progress Bar                             */
Function Progress_Bar ($tmpfile)
{
   if(isset($tmpfile) && $tmpfile!="none"):
	Global $tmpfile_name,$tmpfile_size,$tmpfile_type;
        ?><script language="JavaScript">
	   var load_it="1";
          </script><?
        $loadBsize = 102400;
        $loadFsize = filesize($tmpfile);
        $loadTimes = $loadFsize/$loadBsize+1;
        $fabc = fopen($tmpfile, "r");
        $i = 0;
        while(!feof($fabc)):
                $i++;
                $data = fgets($fabc, $loadBsize );
                $outvalue = $loadBsize * $i * 100.0 / $loadFsize;
                if( $outvalue > 100 ):
		  $outvalue = 100;
		endif;
                $outdata = sprintf( "%.2f", $outvalue );
                flush();
        endwhile;
        fclose($fabc);
        sleep(1);
        echo "<span class=minired>File $tmpfile_name  $tmpfile_size bytes \
($tmpfile_type) has been successfully uploaded</span><p><br>";   ?><script \
language="JavaScript">  var load_it="2";
          </script><?
  endif;
}
?>

<?
/*                                                                          */
/*   this function is performed to validate form fields                     */
Function Check_Errors \
($tmpfile,$firstname,$lastname,$address,$city,$state,$zipcode,$phone,$email,$pegasus,$photo,$ink,$other) \
 {
	Global $Errors_Out;
	$Errors_Out="0";
	if($tmpfile=="none"):
	   $Errors_Out="1";
	elseif($firstname==""):
	   $Errors_Out="1";
	elseif($lastname==""):
	   $Errors_Out="1";
	elseif($address==""):
	   $Errors_Out="1";
	elseif($city==""):
	   $Errors_Out="1";
	elseif($state==""):
	   $Errors_Out="1";
	elseif($zipcode==""):
	   $Errors_Out="1";
	elseif($phone==""):
	   $Errors_Out="1";
	elseif($email==""):
	   $Errors_Out="1";
	elseif(!isset($pegasus) && !isset($photo) && !isset($ink) && !isset($other) ):
	   $Errors_Out="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,$pegasus,$Pqty,$Psi \
ze,$Psize,$Pfinish,$photo,$Phqty,$Phsize,$Phtype,$ink,$Iqty,$Isize,$Ifinish,$other,$otherarea,$drop,$company) \
 {
	Global $e_detail;
	$e_detail=" ";
	$ed1="Name    		: $firstname   $lastname \n";
	$ed2="Company 		: $company \n";
	$ed3="Address 		: $address \n";
	$ed4="City    		: $city \n";
	$ed5="State   		: $state \n";
	$ed6="Zipcode 		: $zipcode \n";
	$ed7="DropCode		: $drop \n";
	$ed8="Phone   		: $phone \n";
	$ed9="Email             : $email \n";
       $ed10="\n";
	if($pegasus==""):
	   $Pqty="";$Psize="";$Pfinish="";
	endif;
       $ed11="Pegasus Prints	: $pegasus \n";
       $ed12="Quantity		: $Pqty \n";
       $ed13="Size		: $Psize \n";
       $ed14="Finish		: $Pfinish \n";
       $ed15="\n";
	if($photo==""):
	   $Phqty="";$Phsize="";$Phtype="";
	endif;
       $ed16="Photographic Film : $photo \n";
       $ed17="Quantity		: $Phqty \n";
       $ed18="Size		: $Phsize \n";
       $ed19="Film Type		: $Phtype \n";
       $ed20="\n";
	if($ink==""):
	   $Iqty="";$Isize="";$Ifinish="";
	endif;
       $ed21="Inkjet Prints	: $ink \n";
       $ed22="Quantity		: $Iqty \n";
       $ed23="Size		: $Isize \n";
       $ed24="Finish		: $Ifinish \n";
	if($other==""):
	   $otherarea="";
	endif;
       $ed25="\nComments	: $otherarea \n";
       $e_detail="$ed1$ed2$ed3$ed4$ed5$ed6$ed7$ed8$ed9$ed10$ed11$ed12$ed13$ed14$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=="0"):
	  Progress_Bar($tmpfile);
	  echo "<font color='red'><br>Your File Has Been Submitted \
Successfully.....<br><br></font>";  echo "<font color='blue'>";
	  if($tmpfile_type=="image/jpg"):
	       $var0="jpg"; 
	  elseif($tmpfile_type=="image/jpeg"):
	       $var0="jpg"; 
	  elseif($tmpfile_type=="image/pjpeg"):
	       $var0="jpg"; 
	  elseif($tmpfile_type=="image/gif"):
	       $var0="gif"; 
	  elseif($tmpfile_type=="image/bmp"):
	       $var0="bmp"; 
	  endif;
	  if($var0==" "):
	     $tok=strtok($tmpfile_type,"/");
	     While($tok):
	       $var0=$tok;
	       $tok=strtok("/");
	     endwhile;
	  endif;
/*  set the date and make sure no leading or trailing spaces in first/last  */
	  $today = date("YmdHis"); 
	  $under="_";$per=".";
	  $firstname=chop($firstname);
	  if(substr($firstname,0,1)==" "):
	     $l1=strlen($firstname)-1;
	     $firstname=substr($firstname,1,$l1);
	  endif;
	  $lastname=chop($lastname);
	  if(substr($lastname,0,1)==" "):
	     $l1=strlen($lastname)-1;
	     $lastname=substr($lastname,1,$l1);
	  endif;
	  $var1="$today$under$firstname$under$lastname$per$var0";
	  $var2 = "$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=passthru("cd /ddbfiles");                             /*<---------*/
	  $result=passthru("cp $tmpfile $var2");
	  $result=passthru("cd /");

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

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

	  $e1=$email;
	  $e2="Thank you for submitting your image to Firehouse...";
	  $e3="The details of your request can be found below.\n ";
	  $e4="\nIf you have any questions please contact us: \n ";
	  $e5="\nToll Free    : (800) 382-7179 ";
	  $e6="\nIndianapolis : (317) 237-1749 ";
	  $e7="\nEmail        : rbaer@fire-house.net \n\n";
	  $e8="$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='+1' color='red'>";
	  echo "<br>ERRORS HAVE OCCURRED.  File was not Uploaded!<br><br>";
  	  if($tmpfile=="none"):
	     echo "You must select a FILE to upload...<br><br>";
	  endif;
	  echo "The following Required fields have not been entered... <br>";
	  if($firstname==""):
	     echo "Firstname ";
	  endif;
	  if($lastname==""):
	     echo "Lastname ";
	  endif;
	  if($address==""):
	     echo "Address ";
	  endif;
	  if($city==""):
	     echo "City ";
	  endif;
	  if($state==""):
	     echo "State ";
	  endif;
	  if($zipcode==""):
	     echo "ZipCode ";
  	  endif;
	  if($phone==""):
	     echo "Phone ";
	  endif;
	  if($email==""):
	     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; 

?>

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

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

            <P><CENTER><FONT SIZE="+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="+2">If you have any questions, please
            feel free to contact our <A HREF="mailto:rbaer@fire-house.net">system
            administrator</A>.</FONT></CENTER></P>

            <B><FONT SIZE="+2"><HR ALIGN=LEFT></FONT></B><br>

            <P><B><FONT SIZE="+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="+1">:</FONT></B></P>

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

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

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

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

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

            <P><HR ALIGN=LEFT></P>

            <P><B><FONT SIZE="+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="checkbox" NAME="pegasus" VALUE="Yes"><B><FONT
             SIZE="+1"><A HREF="http://www.fire-house.net/pegasus.html">Pegasus \
                Prints</A></FONT><FONT
             SIZE="+2">:</FONT> </B>Photographic prints made from your digital
            files.</P>

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

            <P><INPUT TYPE="checkbox" NAME="photo" VALUE="Yes"><B><FONT
             SIZE="+1"><A HREF="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="Phqty" TYPE="text" SIZE="4">
              Size: 
              <SELECT NAME="Phsize">
              <OPTION VALUE="lvt35mm" SELECTED>35mm
              <OPTION VALUE="lvt4x5">4x5
              <OPTION VALUE="lvt8x10">8x10
              </SELECT> 
              Film Type: 
              <SELECT NAME="Phtype">
              <OPTION VALUE="lvtneg" SELECTED>Negative
              <OPTION VALUE="lvttrans">Transparency
              <OPTION VALUE="lvtbw">B&amp;W
              </SELECT></P></BLOCKQUOTE>

            <P><INPUT TYPE="checkbox" NAME="ink" VALUE="Yes"><B><FONT
             SIZE="+1"><A HREF="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="Iqty" TYPE="text" SIZE="4">
              Size: 
              <SELECT NAME="Isize">
              <OPTION VALUE="ink16x20" SELECTED>16x20
              <OPTION VALUE="ink20x24">20x24
              <OPTION VALUE="ink20x30">20x30
              <OPTION VALUE="ink24x30">24x30
              <OPTION VALUE="ink24x36">24x36
              <OPTION VALUE="ink30x30">30x30
              <OPTION VALUE="ink30x36">30x36
              <OPTION VALUE="ink36x36">36x36
              <OPTION VALUE="ink36x48">36x48
              <OPTION VALUE="ink40x60">40x60
              <OPTION VALUE="ink40x72">40x72
              <OPTION VALUE="ink40x84">40x84
              <OPTION VALUE="ink48x48">48x48
              <OPTION VALUE="ink48x60">48x60
              <OPTION VALUE="ink48x72">48x72
              <OPTION VALUE="ink48x84">48x84
              <OPTION VALUE="ink48x96">48x96
              <OPTION VALUE="ink48x120">48x120
              </SELECT> 
              Finish: 
              <SELECT NAME="Ifinish">
              <OPTION VALUE="inkcoated" SELECTED>Coated Paper
              <OPTION VALUE="inkfilm">Film
              <OPTION VALUE="inkcanvas">Canvas
              </SELECT></P></BLOCKQUOTE>

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

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

            <P><HR ALIGN=LEFT></P>

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

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

            <P><CENTER><B><FONT SIZE="+1"><INPUT NAME="submit" TYPE="submit"
            VALUE="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>



-- 
PHP Internationalization Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-i18n-unsubscribe@lists.php.net
For additional commands, e-mail: php-i18n-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic