<!--#include file="../../owFunctions/I_GeneralFunctions.asp"-->
<!--#include file="../header.asp"-->
<%
	'************************************************************************************
	'*																					*
	'*	MODIFICATION TO THIS SCRIPT OR ANY FILES INCLUDED WITH 							*
	'*		ONEWORLDSTORE IS DONE AT YOUR OWN RISK!										*
	'*	Product  : OneWorldStore														*
	'*	Version  : 9.0000																*
	'*	Modified : June 2004															*
	'*	Copyright:	Copyright (C) 2004 OneWorldStore.Com								*
	'*				Registration Number: 1024507										*
	'*				http://strategis.ic.gc.ca/											*
	'*																					*
	'************************************************************************************
	
	dim sSort

	sSort					= Trim(Request("sSort"))
	sSearch					= Trim(Request("sSearch"))
	sSearchText				= Trim(Request("sSearchText"))
	%>
	<script language = "javascript">

		parent.owBodyTopNav.location="owBodyTopNav.asp?sPage=AddShipping"
		parent.owBodyFooter.location="owBodyFooter.asp?sAction=Null"
		
	</script>
	<body onLoad = 'toForm()' style="font-family: Arial; font-size: 11px;" topmargin="0" leftmargin="0" bgcolor=C3DAF9>
	<form method="post" name="AddShipping" action='owAddShipmentExec.asp'>
		<input type='hidden' name='sAction' value='AddShipping'>
		<input type='hidden' name='sSort' value='<%=sSort%>'>
		<input type='hidden' name='sSearchText' value='<%=sSearchText%>'>
		<input type='hidden' name='sSearch' value='<%=sSearch%>'>
		<table border="0" cellpadding="0" cellspacing="0" width="100%" style="padding:5px; FONT-WEIGHT: bold; FONT-SIZE: 11px; COLOR: #808080" bgcolor="#ffffff"><tr><td>
			<table border="0" cellpadding="0" cellspacing="0" width="100%" style="FONT-WEIGHT: bold; FONT-SIZE: 11px; COLOR: #808080" bgcolor="#ffffff">
				<tr>
					<td colspan=2 style='padding-top: 5px;'>
						<%=LANG_DT( "MANUALSHIP_DESC", "Description" )%>
					</td>
					<td style='padding-top: 5px;'>
						<%=LANG_DT( "MANUALSHIP_SHIPTIME", "Shipment time" )%>
					</td>
					<td style='padding-top: 5px;'>
						<%=LANG_DT( "MANUALSHIP_CUSTTYPE", "Customer type" )%>
					</td>
				</tr>
				<tr>
					<td colspan=2>
						<%VALIDATE_textbox "shipmentDesc", "", 66, "textbox", "blank"%>
					</td>
					<td>
						<%VALIDATE_textbox "shipmentTime", "", 25, "textbox", "blank|bok"%>
					</td>
					<td>
						<select name="customerType">
							<option selected value="0"> <%=LANG_DT( "MANUALSHIP_ALL", "ALL" )%> </option>
							<option value='<%=C_GROUP_RETAIL%>' ><%=LANG_DT( "MANUALSHIP_RETAIL", "Retail" )%></option>
							<option value='<%=C_GROUP_WHOLESALE%>' ><%=LANG_DT( "MANUALSHIP_WHOLESALE", "Wholesale" )%></option>
						</select>
					</td>
				</tr>
				<tr>
					<td style='padding-bottom: 2px; padding-top: 6px;'>
						<%=LANG_DT( "MANUALSHIP_QTYFROM", "Quantity From" )%>
					</td>
					<td valign=bottom style='padding-bottom: 2px; padding-top: 6px;'>
						<%=LANG_DT( "MANUALSHIP_UNTIL", "Until" )%>
					</td>
					<td style='padding-bottom: 2px; padding-top: 6px;'>
						<%=LANG_DT( "MANUALSHIP_WEIGHTFROM", "Weight From" )%>
					</td>
					<td valign=bottom style='padding-bottom: 2px; padding-top: 6px;'>
						<%=LANG_DT( "MANUALSHIP_UNTIL", "Until" )%>
					</td>
				</tr>
				<tr>
					<td>
						<%VALIDATE_textbox "quantityFrom", "", 25, "textbox", "number|bok"%>
					</td>
					<td>
						<%VALIDATE_textbox "quantityUntil", "", 25, "textbox", "number|bok"%>
					</td>
					<td>
						<%VALIDATE_textbox "WeightFrom", "", 25, "textbox", "number|bok"%>
					</td>
					<td>
						<%VALIDATE_textbox "WeightUntil", "", 25, "textbox", "number|bok"%>
					</td>
				</tr>
				
				<tr>
					<td style='padding-bottom: 2px; padding-top: 6px;'>
						<%=LANG_DT( "MANUALSHIP_PRICEFROM", "Total price From" )%>
					</td>
					<td valign=bottom style='padding-bottom: 2px; padding-top: 6px;'>
						<%=LANG_DT( "MANUALSHIP_UNTIL", "Until" )%>
					</td>
					<td valign=bottom style='padding-bottom: 2px; padding-top: 6px;'>
						<%=LANG_DT( "MANUALSHIP_PERCENT", "Percentage to add" )%>
					</td>
					<td valign=bottom style='padding-bottom: 2px; padding-top: 6px;'>
						<%=LANG_DT( "MANUALSHIP_FIXEDPRICE", "Fixed price to add" )%>
					</td>
				</tr>
				<tr>
					<td>
						<%VALIDATE_textbox "priceFrom", "", 25, "textbox", "decimalr|bok"%>
					</td>
					<td>
						<%VALIDATE_textbox "priceUntil", "", 25, "textbox", "decimalr|bok"%>
					</td>
					<td>
						<%VALIDATE_textbox "percentageToAdd", "", 25, "textbox", ""%>
					</td>
					<td>
						<%VALIDATE_textbox "priceToAdd", "", 25, "textbox", "decimalr|bok"%>
					</td>
				</tr>
				
				<tr>
					<td style='padding-bottom: 2px; padding-top: 6px;'>
						<%=LANG_DT( "MANUALSHIP_STATE", "State Code" )%>
					</td>
					<td valign=bottom style='padding-bottom: 2px; padding-top: 6px;'>
						<%=LANG_DT( "MANUALSHIP_STATEEQ", "State Code Equal" )%>
					</td>
					<td valign=bottom style='padding-bottom: 2px; padding-top: 6px;'>
						<%=LANG_DT( "MANUALSHIP_ZIP", "Zip Code" )%>
					</td>
					<td valign=bottom style='padding-bottom: 2px; padding-top: 6px;'>
						<%=LANG_DT( "MANUALSHIP_ZIPEQ", "Zip Equal" )%>
					</td>
				</tr>
				<tr>
					<td>
						<%
						sSQLText = "SELECT * FROM stateCodes WHERE Active = 'Y'"
						call DB_getFromDatabase(sSQLText, rsStoreData2, "") 
						%>
						<SELECT name=stateCode size=1>
							<OPTION value=""><%=LANG_DT( "MANUALSHIP_SELSTATE", "Select a State" )%></OPTION>
							<%
							do while not rsStoreData2.eof      
								pStateCode2 = rsStoreData2("stateCode")
								%><option value="<%response.write pStateCode2%>"><%=rsStoreData2("stateName")%></OPTION>
								<%
								rsStoreData2.movenext
							loop
							Call DB_closeRecordset(rsStoreData2)
							%>
						</SELECT>
					</td>
					<td>
						<%=LANG_DT( "YES", "Yes" )%>  
						<input type="checkbox" name="stateCodeEq" value="-1">
					</td>
					<td>
						<%VALIDATE_textbox "zip", "", 12, "textbox", ""%>
					</td>
					<td>
						<%=LANG_DT( "YES", "Yes" )%>  
						<input type="checkbox" name="zipEq" value="-1">
					</td>
				</tr>
				
				<tr>
					<td colspan=4>
						<table border="0" cellpadding="0" cellspacing="0" style="FONT-WEIGHT: bold; FONT-SIZE: 11px; COLOR: #808080" bgcolor="#ffffff">
							<tr>
								<td style='padding-bottom: 2px; padding-top: 6px;'>
									<%=LANG_DT( "MANUALSHIP_COUNTRY", "Country" )%>
								</td>
								<td style='padding-bottom: 2px; padding-top: 6px;'>&nbsp;&nbsp;&nbsp;</td>
								<td valign=bottom style='padding-bottom: 2px; padding-top: 6px;'>
									<%=LANG_DT( "MANUALSHIP_COUNTRYEQ", "Country Code Equal" )%>
								</td>
							</tr>
							<tr>
								<td>
									<%
									sSQLText = "SELECT * FROM countryCodes WHERE Active = 'Y'"
									call DB_getFromDatabase(sSQLText, rsStoreData2, "") 
									%>
									<SELECT name=CountryCode>
										<OPTION value=""><%=LANG_DT( "MANUALSHIP_COUNTRY", "Country" )%></OPTION>
										<%
										do while not rsStoreData2.eof
											pCountryCode2=rsStoreData2("countryCode")
											%>
											<option value="<%response.write pCountryCode2%>"><%=rsStoreData2("countryName")%></OPTION>
											<%
											rsStoreData2.movenext
										loop
										%>
									</SELECT>   
								</td>
								<td>&nbsp;&nbsp;&nbsp;</td>
								<td>
									<%=LANG_DT( "YES", "Yes" )%>  
									<input type="checkbox" name="countryCodeEq" value="-1">
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
			</td></tr></table>
		</form>
		<!--#include file="../footer.asp"-->