<!--#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/											*
	'*																					*
	'************************************************************************************
	%>
	<script language = "javascript">

		parent.owBodyTopNav.location="owBodyTopNav.asp?sPage=AddCategories"
		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 ENCTYPE="multipart/form-data" method="post" name="addcategories" action='owAddCategoryExec.asp'>
		<input type='hidden' name='sAction' value='AddCategories'>
		<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 style='padding-top: 5px;'>
					<%=LANG_DT( "CATLIST_DESC", "Description" )%>
				</td>
				<td align=center>
					<%=LANG_DT( "CATLIST_ACTIVE", "Active?" )%>
				</td>
				<td align=center>
					<%=LANG_DT( "CATLIST_FEATURED", "Featured?" )%>
				</td>
			</tr>
			<tr>
				<td>
					<%VALIDATE_textbox "sCategoryDesc", "", 75, "textbox", "blank"%>
				</td>
				<td align=center>
					<input type="checkbox" name="sActive" value=-1>
				</td>
				<td align=center>
					<input type="checkbox" name="sFeatured" value=-1>
				</td>
			</tr>
			<tr>
				<td colspan=3 style='padding-bottom: 2px; padding-top: 6px;'>
					<%=LANG_DT( "CATLIST_PARENTCAT", "Parent Category" )%>
				</td>
			</tr>
			<tr>
				<td colspan=3>
					<select name="sIDParentCategory">
						<%Call STRUCTURE_RecurseCategories(0, 0, "SELECT", -1)%>
					</select>
				</td>
			</tr>
			<tr>
				<td colspan=3 style='padding-bottom: 2px; padding-top: 6px;'>
					<%=LANG_DT( "CATLIST_SHORTHTML", "Short HTML <font size=-1>(255 chars or less)" )%></font>
				</td>
			</tr>
			<tr>
				<td colspan=3>
					<%VALIDATE_textbox "sShortHTML", "", 75, "textbox", ""%>
				</td>
			</tr>
			<tr>
				<td colspan=3 style='padding-bottom: 2px; padding-top: 6px;'>
					<%=LANG_DT( "CATLIST_LONGHTML", "Long HTML" )%>
				</td>
			</tr>
			<tr>
				<td colspan=3>
					<%VALIDATE_textbox "sLongHTML", "", 75, "textarea", ""%>
				</td>
			</tr>
			<tr>
				<td colspan=3 style='padding-bottom: 2px; padding-top: 6px;'>
					<%=LANG_DT( "CATLIST_CATIMAGE", "Category Image" )%>
				</td>
			</tr>
			<tr>
				<td colspan=3>
					<input TYPE='FILE' NAME='sImageCategory' SIZE=30 alt='file|jpg,gif,png|0|bok'>
				</td>
			</tr>
		</table>
		</td></tr></table>
	</form>
	<!--#include file="../footer.asp"-->