<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="Sat, 1 Jan 2000 00:00:00 GMT">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$language.lblAdmin} : {$language.lblBusinessType}</title>
<script type="text/javascript" src="{$common_js}/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="{$common_js}/jquery-migrate-1.4.1.js"></script>
{form->basepath_script}{form->rootpath_script}
<link href="{$view_styles}/popup.css" rel="stylesheet" type="text/css" media="screen" />
</head><body>
{form->start name="formBusTypeSubmit" action="" method="post"}{form->hidden name="businessTypeID" value=$businessTypeID|default:''}
<div class="popup-block">
	<div class="form_listing">
	<div id="common_message" ></div>
	<div class="clearfix"> {include file='ContentLanguageOptions.tpl'}	</div>
		<ul>
			<li class="clearfix"> 
				<div class="inner-left fixing_left"><strong>{$language.lblBusinessType}</strong></div>
				<div class="inner-right fixing_right"> 
					{form->textbox name="businessTypeName" class="textbox" maxlength="50" validate="required"  error=$language.errBusinessTypeName tabindex="1"}                                             
					{form->hidden name="validateCityName" value="0"}                
				</div>
			</li>
			<li class="clearfix">
				<div class="inner-left fixing_left"><strong>{$language.lblParentBusinessTypeName}</strong></div>
				<div class="inner-right fixing_right">
					<div class="select-box"> 
						{form->select name="businessTypeParent" validate="required" error=$language.errBusinessParentType  class="width_55" options=$resListParentBusinessType  tabindex="1"} 
					</div>
				</div>
			</li>
			<li class="clearfix">
				<div class="inner-left fixing_left">{$language.lblDescription}</div>
				<div class="inner-right fixing_right"> 
					{form->textarea name="businessTypeDescription"  cols="4" rows="3" onKeyDown="limitText(this,250);" onKeyUp="limitText(this,250);" tabindex="1"} 
				</div>
			</li>
			<li class="clearfix">
				<div class="inner-left fixing_left">{$language.lblStatus}</div>
				<div class="inner-right fixing_right">
					<div id="perioddiv">
						{form->radio name="businessTypeStatus" tabindex="1" class="customradio" options="Active->{$language.lblActive}~*Inactive->{$language.lblInactive}" value="Active"}
					</div>
				</div>
			</li>
			<li >
				<div class="submit-block clearfix textto_center"> <span>&nbsp; </span> {form->submit name="submitBusType" id="submit" class="curve-3"  value="{$language.lblSave}"  tabindex="1"} {$language.lblOr}
				{html->anchor  onclick="parent.location.reload();parent.$.colorbox.close();" id="cancel" name="cancelBusinessType" tabindex="1" caption="{$language.lblCancel}" } </div>
			</li>
		</ul>
		</form>
	</div>
</div>
{form->close}  {form->validate_script form="formBusTypeSubmit"}{include file='CommonJavaScriptBottom.tpl'} 
<script type="text/javascript" src="{$view_javascript}/businesstypeadd.page.js"></script> 
<script type="text/javascript" src="{$common_js}/validate.plugin.js"></script> 
<script type="text/javascript" src="{$view_javascript}/urlEncode.js"></script> 
<script type="text/javascript" src="{$view_javascript}/custom-radiobutton.js"></script> 
<script type="text/javascript">
$(function(){
	 $('#perioddiv input').customInput('');
	});	
</script>
</body>
</html>
