<%@ page session="true" import="java.util.*, sunsilks.Silk" %> <% java.text.SimpleDateFormat dateFormat = new java.text.SimpleDateFormat("d MMM yyyy"); java.util.Date dt = new java.util.Date(); String todayDate = dateFormat.format(dt); Vector buylist = (Vector)session.getValue("sunsilks.cart"); int z = 0, pageCount=0, itemPerPage=12; if (buylist != null) z = buylist.size(); %> Untitled Document
print
Home
Products
Sample Order (Please fill out the form to email or print and fax)
Phone:  (678) 566-0924 or 1-800-SILKMAN(745-5626)                                                      
Fax: (678) 566-0942 / (678) 566-0972
Mail to:   Sunsilks Inc., 375-C Winkler Drive, Alpharetta (Atlanta), GA. 30004-0788

Purchase Order No.
Date
Page
Ship Via
Reference
Billing Address * Mandatory fields
Co. Name* 
Contact*    
Address*   
City*           
State*        
Zip/Code* 
Country*  
Phone*      
Fax              
Email          
Shipping Address Check if same as billing
Co. Name* 
Contact*    
Address*   
City*           
State*        
Zip/Code* 
Country*  
Phone*      
Fax              
Side Mark:
<% int i=0; String amount = "0"; if (buylist != null) { //String amount = (String) request.getAttribute("amount"); amount = (String) session.getValue("amount"); for (i=0; i < buylist.size();i++) { Silk prevSilk = (Silk) buylist.elementAt(i); %> <% } } %>
Item No.
Description
Quantity
Unit Price
Amount
<%=i+1%> <% if ((prevSilk.getItemName().indexOf("COL") == -1) && (prevSilk.getItemName().indexOf("FLAG") == -1) && (prevSilk.getItemLink().indexOf("BOOK") == -1)) { %> size="52"> <% } else{ %> <% } %> <% int x=535, y=405; if (prevSilk.getItemLink().indexOf("BOOK") != -1) { x=540; y=405; } if (prevSilk.getItemLink().indexOf("WATERFALL") != -1) { x=398; y=450; } %> <% if ((prevSilk.getItemName().indexOf("COL") == -1) && (prevSilk.getItemName().indexOf("FLAG") == -1) && (prevSilk.getItemLink().indexOf("BOOK") == -1)) { %> <%="MEMO " + prevSilk.getItemName()%> <% } else{ %> <%=prevSilk.getItemName()%> <% } %>   image <%=prevSilk.getQuantity()%> <%=prevSilk.getPrice()%> <%=( (new Integer(prevSilk.getQuantity()).intValue()) * (new Float(prevSilk.getPrice()).floatValue()))%> Delete
<%float tax=0;%> <% float amt = new Float(amount).floatValue(); float freight = 0; if (amt>0 && amt <=10) freight = 1; if (amt>10 && amt <=50) freight = 3; if (amt>50 && amt<=100) freight = 7; if (amt>100 && amt<=200) freight = 11; if (amt>200 && amt<=300) freight = 13; if (amt>300 && amt<=500) freight = 17; if (amt>500) freight = 21; %>
Subtotal : <%=amount%>
       Tax : <%=tax%>
Freight : <%=freight%>
Total : <%=amt+tax+freight%>