<!doctype html>
<html  {$html_attrs}>
	<head>
				<meta http-equiv="X-UA-Compatible" content="IE=Edge">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>{$pagetitle}</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<base href="{$projectPath}">
		<link REL="stylesheet" href="styles/default.css?{$wizardBuildKey}" type="text/css">
	{BEGIN rtlCSS}
	<link REL="stylesheet" href="styles/defaultRTL.css?{$wizardBuildKey}" type="text/css">
	{END rtlCSS}
	{BEGIN styleCSSFiles}
	<link REL="stylesheet" href="{$stylepath}" type="text/css">
	{END styleCSSFiles}
	</head>

	<body class="{$stylename} function-add" {$bodyattrs}>
	{BEGIN body}
		<style>
		{$containerCss}
		</style>
		<div class="r-vbar-page">
			<div data-width="" data-fixed class="r-left clearfix {$leftbar_class}" >
								<div data-location="left" id="form_left_{$pageid}" data-makeup="leftbar" {$form_left} data-pageid="{$pageid}">
{BEGIN left_block}
 
     
         

			<div data-cellId="left_c0" data-pageid="{$pageid}" data-logo-cell class="clearfix " data-itemid="logo1" {$item_logo1}>
				{BEGIN logo_block}
	<A data-itemtype="logo" data-itemid="logo1" {$item_logo1} data-pageid="{$pageid}" class="navbar-brand" href="{$home_link}" data-pageid="{$pageid}" {$logo_hiddenattr}>
		{$logo}
	</A>
{END logo_block}
				<button data-pageid="1" type="button" class="navbar-toggle collapsed" data-runner-toggle="collapse" data-target="[data-mobile-controlled]">	
					<span class="sr-only">Toggle navigation</span>	
					<span class="icon-bar"></span>					
				</button>				
			</div>
		
 

			<div class="clearfix " data-cellId="left_c0" data-pageid="{$pageid}" data-logo-cell data-itemid="expand_button" {$item_expand_button} data-topcell-item-type="expand_button" >
				<span data-itemtype="expand_button" data-itemid="expand_button" {$item_expand_button} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="Expand" class="btn btn-link   
	" href="#" >
					<span class="glyphicon glyphicon-triangle-right"></span>
										</a>
</span>
			</div>
		
     
     
         

			<div data-cellId="left_c1" data-pageid="{$pageid}" class="clearfix  r-ori-vert " data-itemtype="menu" data-itemid="menu" {$item_menu} data-pageid="{$pageid}">
				{$menu main}			</div>
		
    {END left_block}
</div>				</div>	
			<div class="r-content-col" data-resize-left="leftbar">
				<div  class="r-topheader" data-resize-name="topbar">
									{BEGIN supertop_block}
<nav class="navbar navbar-default" 
	data-location="supertop" id="form_supertop_{$pageid}" data-makeup="leftbar" {$form_supertop} data-pageid="{$pageid}" >
			 
							 
				<span class="navbar-form  r-ori-vert navbar-header" data-cellId="supertop_c1" data-pageid="{$pageid}" data-itemid="collapse_button" {$item_collapse_button} data-topcell-item-type="collapse_button" >
				<span data-itemtype="collapse_button" data-itemid="collapse_button" {$item_collapse_button} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="Collapse" class="btn-link   
	 glyphicon glyphicon-triangle-left" href="#" >		
				
								</a>
</span>
			</span>
							 
							 
				<span class="navbar-form r-align-right navbar-collapse" data-cellId="supertop_c2" data-pageid="{$pageid}" data-itemid="loginform_login" {$item_loginform_login} data-topcell-item-type="loginform_login" >
				{BEGIN guestloginbutton}
<span data-itemtype="loginform_login" data-itemid="loginform_login" {$item_loginform_login} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-primary   
	" href="#" {$guestloginlink_attrs} >
							Login			</a>
</span>
{END guestloginbutton}
			</span>
		 
				<span class="navbar-form r-align-right navbar-collapse" data-cellId="supertop_c2" data-pageid="{$pageid}" data-itemid="username_button" {$item_username_button} data-topcell-item-type="username_button" >
				{BEGIN loggedas_message}
<span data-itemtype="username_button" data-itemid="username_button" {$item_username_button} data-pageid="{$pageid}" data-small data-button-item>
	<span class="dropdown ">
		<button type="button" title="" class="btn btn-default   dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">		
							<span class="glyphicon glyphicon-user"></span>
						{$username}			<span class="caret"></span>
		</button>
		<ul class="dropdown-menu">
							{BEGIN logoutbutton}
	<li data-itemtype="logout_link" data-itemid="logout_link" {$item_logout_link} data-pageid="{$pageid}" data-small >
				<a  href="#" {$logoutlink_attrs}  title="" >
				
		Log out		
		</a>
	</li>
{END logoutbutton}
							{BEGIN changepwd_link}
	<li data-itemtype="changepassword_link" data-itemid="changepassword_link" {$item_changepassword_link} data-pageid="{$pageid}" data-small >
				<a  href="#" {$changepwdlink_attrs}  title="" >
				
		Change password		
		</a>
	</li>
{END changepwd_link}
					</ul>
	</span>
</span>
{END loggedas_message}
			</span>
								</nav>
{END supertop_block}
						{$locking}
				</div>	
				<div class="r-body" data-resize-top="topbar" data-body-width="standard">
					{$header}
					<div class="r-top">
									{BEGIN top_block}
<div class="r-form" data-location="top" id="form_top_{$pageid}" data-makeup="leftbar" {$form_top} data-pageid="{$pageid}" >		
	 
		<div class="row">
			 
				<div 
	data-cellId="top_c1" data-pageid="{$pageid}"	{$cell_top_c1}
	class=" r-ori-vert			col-md-12
	
">
		 
		<h2 data-itemtype="add_header" data-itemid="add_header" {$item_add_header} data-pageid="{$pageid}" >{$pagetitlelabel company_profile add}</h2>
		</div>					</div>
	</div>		
{END top_block}
						</div>
					<div class="r-above">
										{BEGIN above-grid_block}
<div class="r-form" data-location="above-grid" id="form_above-grid_{$pageid}" data-makeup="leftbar" {$form_above-grid} data-pageid="{$pageid}" >		
	 
		<div class="row">
			 
				<div 
	data-cellId="above-grid_c1" data-pageid="{$pageid}"	{$cell_above-grid_c1}
	class=" r-ori-vert			col-md-12
	
">
		{BEGIN firstAboveGridCell}
				{END firstAboveGridCell}	
	</div>					</div>
	</div>		
{END above-grid_block}
						</div>
					<div class="r-grid">
										{BEGIN grid_block}




 
	 
												<table 
	data-body-align="left"
	data-location="grid" id="form_grid_{$pageid}" data-makeup="leftbar" {$form_grid} data-pageid="{$pageid}" 
	class="r-edit-form" cellpadding="0" cellspacing="0" 
	{$grid_hiddenattr} 
		data-form-width="2"
		
		data-v-width="5"
	>
	<tbody>
										<tr>
										

{BEGIN cellblock_grid_c3}
<td
	{$cell_grid_c3}
	class=" r-ori-vert"
	
			
		orowspan="2"	data-cellId="grid_c3" data-pageid="{$pageid}"
		data-v-cell="3"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN company_name_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_company_name}  r-horizontal-field form-horizontal" 
	data-fieldname="company_name" 
	data-signal-error-for="company_name{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field" {$item_integrated_edit_field} data-pageid="{$pageid}" data-field="company_name" >


	<label class="r-edit-label control-label" for="{$labelfor_company_name}">
		{BEGIN company_name_label}{$label company_profile company_name }{END company_name_label}
	</label>
	<div class="r-edit-field">
		{$company_name_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="company_name">
		<div class="text-muted" >
		{$tooltip company_profile company_name }		</div>
	</div>
</div>


{END company_name_fieldblock}
											
{BEGIN address_line_1_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_address_line_1}  r-horizontal-field form-horizontal" 
	data-fieldname="address_line_1" 
	data-signal-error-for="address_line_1{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field1" {$item_integrated_edit_field1} data-pageid="{$pageid}" data-field="address_line_1" >


	<label class="r-edit-label control-label" for="{$labelfor_address_line_1}">
		{BEGIN address_line_1_label}{$label company_profile address_line_1 }{END address_line_1_label}
	</label>
	<div class="r-edit-field">
		{$address_line_1_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="address_line_1">
		<div class="text-muted" >
		{$tooltip company_profile address_line_1 }		</div>
	</div>
</div>


{END address_line_1_fieldblock}
											
{BEGIN address_line_2_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_address_line_2}  r-horizontal-field form-horizontal" 
	data-fieldname="address_line_2" 
	data-signal-error-for="address_line_2{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field2" {$item_integrated_edit_field2} data-pageid="{$pageid}" data-field="address_line_2" >


	<label class="r-edit-label control-label" for="{$labelfor_address_line_2}">
		{BEGIN address_line_2_label}{$label company_profile address_line_2 }{END address_line_2_label}
	</label>
	<div class="r-edit-field">
		{$address_line_2_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="address_line_2">
		<div class="text-muted" >
		{$tooltip company_profile address_line_2 }		</div>
	</div>
</div>


{END address_line_2_fieldblock}
											
{BEGIN country_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_country}  r-horizontal-field form-horizontal" 
	data-fieldname="country" 
	data-signal-error-for="country{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field3" {$item_integrated_edit_field3} data-pageid="{$pageid}" data-field="country" >


	<label class="r-edit-label control-label" for="{$labelfor_country}">
		{BEGIN country_label}{$label company_profile country }{END country_label}
	</label>
	<div class="r-edit-field">
		{$country_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="country">
		<div class="text-muted" >
		{$tooltip company_profile country }		</div>
	</div>
</div>


{END country_fieldblock}
											
{BEGIN provinces_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_provinces}  r-horizontal-field form-horizontal" 
	data-fieldname="provinces" 
	data-signal-error-for="provinces{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field4" {$item_integrated_edit_field4} data-pageid="{$pageid}" data-field="provinces" >


	<label class="r-edit-label control-label" for="{$labelfor_provinces}">
		{BEGIN provinces_label}{$label company_profile provinces }{END provinces_label}
	</label>
	<div class="r-edit-field">
		{$provinces_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="provinces">
		<div class="text-muted" >
		{$tooltip company_profile provinces }		</div>
	</div>
</div>


{END provinces_fieldblock}
											
{BEGIN districts_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_districts}  r-horizontal-field form-horizontal" 
	data-fieldname="districts" 
	data-signal-error-for="districts{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field5" {$item_integrated_edit_field5} data-pageid="{$pageid}" data-field="districts" >


	<label class="r-edit-label control-label" for="{$labelfor_districts}">
		{BEGIN districts_label}{$label company_profile districts }{END districts_label}
	</label>
	<div class="r-edit-field">
		{$districts_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="districts">
		<div class="text-muted" >
		{$tooltip company_profile districts }		</div>
	</div>
</div>


{END districts_fieldblock}
											
{BEGIN postal_code_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_postal_code}  r-horizontal-field form-horizontal" 
	data-fieldname="postal_code" 
	data-signal-error-for="postal_code{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field6" {$item_integrated_edit_field6} data-pageid="{$pageid}" data-field="postal_code" >


	<label class="r-edit-label control-label" for="{$labelfor_postal_code}">
		{BEGIN postal_code_label}{$label company_profile postal_code }{END postal_code_label}
	</label>
	<div class="r-edit-field">
		{$postal_code_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="postal_code">
		<div class="text-muted" >
		{$tooltip company_profile postal_code }		</div>
	</div>
</div>


{END postal_code_fieldblock}
											
{BEGIN hot_line_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_hot_line}  r-horizontal-field form-horizontal" 
	data-fieldname="hot_line" 
	data-signal-error-for="hot_line{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field7" {$item_integrated_edit_field7} data-pageid="{$pageid}" data-field="hot_line" >


	<label class="r-edit-label control-label" for="{$labelfor_hot_line}">
		{BEGIN hot_line_label}{$label company_profile hot_line }{END hot_line_label}
	</label>
	<div class="r-edit-field">
		{$hot_line_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="hot_line">
		<div class="text-muted" >
		{$tooltip company_profile hot_line }		</div>
	</div>
</div>


{END hot_line_fieldblock}
											
{BEGIN Fax_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_Fax}  r-horizontal-field form-horizontal" 
	data-fieldname="Fax" 
	data-signal-error-for="Fax{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field8" {$item_integrated_edit_field8} data-pageid="{$pageid}" data-field="Fax" >


	<label class="r-edit-label control-label" for="{$labelfor_Fax}">
		{BEGIN Fax_label}{$label company_profile Fax }{END Fax_label}
	</label>
	<div class="r-edit-field">
		{$Fax_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="Fax">
		<div class="text-muted" >
		{$tooltip company_profile Fax }		</div>
	</div>
</div>


{END Fax_fieldblock}
											
{BEGIN email_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_email}  r-horizontal-field form-horizontal" 
	data-fieldname="email" 
	data-signal-error-for="email{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field9" {$item_integrated_edit_field9} data-pageid="{$pageid}" data-field="email" >


	<label class="r-edit-label control-label" for="{$labelfor_email}">
		{BEGIN email_label}{$label company_profile email }{END email_label}
	</label>
	<div class="r-edit-field">
		{$email_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="email">
		<div class="text-muted" >
		{$tooltip company_profile email }		</div>
	</div>
</div>


{END email_fieldblock}
	
								</td>
			{END cellblock_grid_c3}
			 
																

{BEGIN cellblock_grid_c}
<td
	{$cell_grid_c}
	class=" r-ori-vert"
	
			
			data-cellId="grid_c" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN logo_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_logo}  r-vertical-field" 
	data-fieldname="logo" 
	data-signal-error-for="logo{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field10" {$item_integrated_edit_field10} data-pageid="{$pageid}" data-field="logo" >


	<label class="r-edit-label control-label" for="{$labelfor_logo}">
		{BEGIN logo_label}{$label company_profile logo }{END logo_label}
	</label>
	<div class="r-edit-field">
		{$logo_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="logo">
		<div class="text-muted" >
		{$tooltip company_profile logo }		</div>
	</div>
</div>


{END logo_fieldblock}
											
{BEGIN header_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_header}  r-vertical-field" 
	data-fieldname="header" 
	data-signal-error-for="header{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field12" {$item_integrated_edit_field12} data-pageid="{$pageid}" data-page="company_profile_add" data-field="header" >


	<label class="r-edit-label control-label" for="{$labelfor_header}">
		{BEGIN header_label}{$label company_profile header }{END header_label}
	</label>
	<div class="r-edit-field">
		{$header_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="header">
		<div class="text-muted" >
		{$tooltip company_profile header }		</div>
	</div>
</div>


{END header_fieldblock}
											
{BEGIN footer_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_footer}  r-vertical-field" 
	data-fieldname="footer" 
	data-signal-error-for="footer{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field13" {$item_integrated_edit_field13} data-pageid="{$pageid}" data-field="footer" >


	<label class="r-edit-label control-label" for="{$labelfor_footer}">
		{BEGIN footer_label}{$label company_profile footer }{END footer_label}
	</label>
	<div class="r-edit-field">
		{$footer_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="footer">
		<div class="text-muted" >
		{$tooltip company_profile footer }		</div>
	</div>
</div>


{END footer_fieldblock}
											
{BEGIN time_calibration_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_time_calibration}  r-vertical-field" 
	data-fieldname="time_calibration" 
	data-signal-error-for="time_calibration{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field15" {$item_integrated_edit_field15} data-pageid="{$pageid}" data-field="time_calibration" >


	<label class="r-edit-label control-label" for="{$labelfor_time_calibration}">
		{BEGIN time_calibration_label}{$label company_profile time_calibration }{END time_calibration_label}
	</label>
	<div class="r-edit-field">
		{$time_calibration_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="time_calibration">
		<div class="text-muted" >
		{$tooltip company_profile time_calibration }		</div>
	</div>
</div>


{END time_calibration_fieldblock}
	
								</td>
			{END cellblock_grid_c}
								</tr>
	 
	 
														<tr>
										

{BEGIN cellblock_grid_c1}
<td
	{$cell_grid_c1}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="grid_c1" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				{BEGIN branch_code_fieldblock}
	<div class="r-edit-field" data-signal-error-for="branch_code{$id}" data-itemtype="edit_field" data-itemid="integrated_edit_field11" {$item_integrated_edit_field11} data-pageid="{$pageid}" data-page="company_profile_add" data-field="branch_code" >
		{$branch_code_editcontrol}	</div>
{END branch_code_fieldblock}
	
								</td>
			{END cellblock_grid_c1}
								</tr>
			</tbody></table>
{END grid_block}
						</div>
					<div class="r-below">
										{BEGIN below-grid_block}
<div class="r-form" data-location="below-grid" id="form_below-grid_{$pageid}" data-makeup="leftbar" {$form_below-grid} data-pageid="{$pageid}" >		
	 
		<div class="row">
			 
				<div 
	data-cellId="below-grid_c1" data-pageid="{$pageid}"	{$cell_below-grid_c1}
	class="			col-md-12
	
">
		 
		{BEGIN back_button}
<span data-itemtype="add_back_list" data-itemid="add_back_list" {$item_add_back_list} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-link   
	" id="backButton{$id}" >
					<img src="{$file_url images/menuicons/prev.png}" />
										</a>
</span>
{END back_button}
	 
		{BEGIN cancel_button}
<span data-itemtype="add_cancel" data-itemid="add_cancel" {$item_add_cancel} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-link   
	" id="cancelButton{$id}" >
					<img src="{$file_url images/menuicons/cancle3.png}" />
										</a>
</span>
{END cancel_button}
	 
		<span data-itemtype="add_save" data-itemid="add_save" {$item_add_save} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-link   
	" {$savebutton_attrs} >
					<img src="{$file_url images/menuicons/111112.png}" />
										</a>
</span>
		</div>					</div>
	</div>		
{END below-grid_block}
						</div>
					{$footer}
				</div>	
			</div>	
		</div>
	{END body}
	</body>
</html>
