<<<<Restricted Area>>>>" . "
Sorry, you must Log In to view this Page

"); exit(); } $usrn = $_GET['usrn']; if($usrn == ""){ $usrn = $_POST['usrn']; } if($usrn == ""){ echo("

<<<<Restricted Area>>>>" . "
Problem with your username. Please Log In again.

"); exit(); } $today = date("Ymd"); $warn = 'off'; $wmark = " "; $hmark = " "; $productname = $_POST['productname']; $type = $_POST['type']; $fixed_price = $_POST['fixed_price']; $minimum = $_POST['minimum']; $percent_of_sale = $_POST['percent_of_sale']; $currency = $_POST['currency']; $o_country = $_POST['o_country']; $o_city = $_POST['o_city']; $o_code = $_POST['o_code']; if($type = "UPS" and $o_code == ""){ $warn = 'on'; $warnmess[] = "UPS shipments require a Zip Code."; } $custom_value = $_POST['custom_value']; $handling = $_POST['handling']; $new_weight = $_POST['weight_lb']; $weight_lb = ceil($new_weight); $new_length = $_POST['length_in']; $length_in = ceil($new_length); $new_width = $_POST['width_in']; $width_in = ceil($new_width); $new_height = $_POST['height_in']; $height_in = ceil($new_height); if($type == "UPS"){ $pack_size = ($width_in*2)+($height_in*2)+$length_in; if($pack_size > 165){ $warn = 'on'; $warnmess[] = "UPS will not accept this package size."; }elseif($pack_size > 84 and $packsize < 108 and $weight_lb < 30){ $change_weight = 'on'; $changemess = "Oversized Package (OS1)
Weight Calculated at 30 lbs.
UPS Handling = \$6"; $weight_lb = 30; $wmark = "*"; $hmark = "*"; $handling = $handling + 6.00; }elseif($pack_size > 108 and $pack_size < 130 and $weight_lb < 70){ $change_weight = 'on'; $changemess = "Oversized Package (OS2)
Weight Calculated at 70 lbs.
UPS Handling = \$6"; $weight_lb = 70; $wmark = "*"; $hmark = "*"; $handling = $handling + 6.00; }elseif($pack_size > 130 and $weight_lb < 90){ $change_weight = 'on'; $changemess = "Oversized Package (OS3)
Weight Calculated at 90 lbs.
UPS Handling = \$6"; $weight_lb = 90; $wmark = "*"; $hmark = "*"; $handling = $handling + 6.00; }elseif($length_in > 60 or $width_in > 30 or $height_in > 30){ $change_weight = 'on'; $changemess = "Excessive Dimension
UPS Handling = \$6"; $handling = $handling + 6.00; $hmark = "*"; } if($weight_lb > 150){ $warn = 'on'; $warnmess[] = "UPS will not accept this package weight."; } } ?>

Eco-$mart Product Shipping

New Shipping Check  Help 
Date: 
" . "$changemess

"); } ?>
Item Number:  
Charges
Type: 
Fixed Price: $
Minimum Price: $
% of Sale:   
Currency:   
Origin
Country: 
City: 
Mail Code: 
Custom Value: $
Handling:$
Size
Weight(lb):
Length(in): 
Width(in):   
Height(in):  

There are problems with your entry:
"); foreach($warnmess as $value){ echo ("$value
"); } echo("Please Go Back and edit this entry.

"); }else{ echo(""); } ?>
" . "" . "" . "" . "" . "" . "
Eco-$mart Products
©2006 - Data Base Interface - Custom Built at:  kwgrubbs.com