<?php /* Smarty version Smarty-3.1.8, created on 2021-03-25 18:19:08
         compiled from "/home/agmc/beta/application/core/views/manage/standard/ProductCategoryAdd.tpl" */ ?>
<?php /*%%SmartyHeaderCode:9203387175e78939002ceb7-83941049%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd511473686d336f6519a08f93809b247cae6ab0f' => 
    array (
      0 => '/home/agmc/beta/application/core/views/manage/standard/ProductCategoryAdd.tpl',
      1 => 1605520856,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '9203387175e78939002ceb7-83941049',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_5e789390168ec4_84436924',
  'variables' => 
  array (
    'productCategoryID' => 0,
    'language' => 0,
    'view_styles' => 0,
    'view_javascript' => 0,
    'brandID' => 0,
    'listBrand' => 0,
    'resListParentProductCategory' => 0,
    'productCatParent' => 0,
    'productParentCategoryId' => 0,
    'productCategoryParent' => 0,
    'productCategoryKey' => 0,
    'settingsRedirectforurl' => 0,
    'globalCommisionPercentage' => 0,
    'productCommissionRate' => 0,
    'productCategoryIcon' => 0,
    'productCategoryImage' => 0,
    'productCategoryFooterText' => 0,
    'parentStatus' => 0,
    'settingsProductThumbWidth' => 0,
    'settingsProductThumbHeight' => 0,
    'showRatingCountInGrid' => 0,
    'resGridLayout' => 0,
    'resDetailsLayout' => 0,
    'layoutActiveFrom' => 0,
    'layoutActiveTo' => 0,
    'pageDefaultView' => 0,
    'numberOfProductCount' => 0,
    'selectedWidgetList' => 0,
    'resWidgetList' => 0,
    'resWidget' => 0,
    'resListUpcomingProduct' => 0,
    'outerborder' => 0,
    'resGetCategoryWidgetIDs' => 0,
    'resSelWidget' => 0,
    'key' => 0,
    'selectedWidgetIDs' => 0,
    'widgetID' => 0,
    'sorthide' => 0,
    'resCategoryWidgetIDs' => 0,
    'sysKeys' => 0,
    'common_js' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5e789390168ec4_84436924')) {function content_5e789390168ec4_84436924($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_truncate')) include '/home/agmc/beta/library/template/plugins/modifier.truncate.php';
?><!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="Content-Type" content="text/html; charset=utf-8" />
<?php $_smarty_tpl->tpl_vars["productCategoryID"] = new Smarty_variable((($tmp = @$_smarty_tpl->tpl_vars['productCategoryID']->value)===null||$tmp==='' ? '' : $tmp), null, 0);?>
<title><?php echo $_smarty_tpl->tpl_vars['language']->value['lblAdmin'];?>
 : <?php if ($_smarty_tpl->tpl_vars['productCategoryID']->value>0){?> <?php echo $_smarty_tpl->tpl_vars['language']->value['lblEditProductCategory'];?>
   <?php }else{ ?> <?php echo $_smarty_tpl->tpl_vars['language']->value['lblAddProductCategory'];?>
<?php }?></title>
<?php echo $_smarty_tpl->getSubTemplate ('CommonStyles.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

<?php echo $_smarty_tpl->getSubTemplate ('CommonJavaScript.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

<link href="<?php echo $_smarty_tpl->tpl_vars['view_styles']->value;?>
/jquery-ui-1.8.19.custom.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['view_styles']->value;?>
/ui.daterangepicker.css" />
<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['view_styles']->value;?>
/add-edit.css" media="screen" />
<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['view_styles']->value;?>
/colorbox.css" media="screen" />
<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['view_styles']->value;?>
/chosen.css" />
<script src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/chosen.pluggin.js" type="text/javascript"></script> 
<?php echo $_smarty_tpl->getSubTemplate ('CommonCustomStyles.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

</head>
<body>
    
<div class="outer_container">
	<?php echo $_smarty_tpl->getSubTemplate ('CommonTop.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>
 
	<!--End:Header Container--> 
	<!--***********************************************************************END HEADER CONTAINER******************************************************-->
	<div class="content_container">
		<div class="content_wrapper">
			<div class="fixing_right">
				<?php echo $_smarty_tpl->getSubTemplate ('ContentLanguageOptions.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>
	
			</div>
			<h2>   <?php if ($_smarty_tpl->tpl_vars['productCategoryID']->value>0){?> <?php echo $_smarty_tpl->tpl_vars['language']->value['lblEditProductCategory'];?>
   <?php }else{ ?> <?php echo $_smarty_tpl->tpl_vars['language']->value['lblAddProductCategory'];?>
<?php }?></h2>
			<div id="common_message" ></div>
			<div class="tab-content-outer clearfix">
				<div class="left_block fixing_left">
					<div class="tab-block-01">
						<h2><?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('priv_href'=>"productcategory/index/",'href'=>"productcategory/index/",'content'=>($_smarty_tpl->tpl_vars['language']->value['lblProductCategory'])),$_smarty_tpl);?>
</h2>
					</div>
					<ul class="left-tab" id="maintab">
						<li class="sub first-item"><?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('rel'=>"product-category",'class'=>"left-tab-a active",'id'=>"basicInfo",'caption'=>"<span>".($_smarty_tpl->tpl_vars['language']->value['lblBasicInfo'])."</span>"),$_smarty_tpl);?>
</li>  
						<li class="sub first-item"><?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('rel'=>"product-category",'class'=>"left-tab-a ",'id'=>"displaySettings",'caption'=>"<span>".($_smarty_tpl->tpl_vars['language']->value['lblDisplaySettings'])."</span>"),$_smarty_tpl);?>
</li>  
						<li class="sub first-item"><?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('rel'=>"product-category",'class'=>"left-tab-a ",'id'=>"widget",'caption'=>"<span>".($_smarty_tpl->tpl_vars['language']->value['lblAssignWidget'])."</span>"),$_smarty_tpl);?>
</li>  
					</ul>
				</div>
				<div class="right_block fixing_right">
					<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->start(array('name'=>"formProductCategorySubmit",'action'=>'','method'=>"post",'rel'=>"product-category"),$_smarty_tpl);?>

						<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"productCategoryID",'value'=>$_smarty_tpl->tpl_vars['productCategoryID']->value),$_smarty_tpl);?>

							<div id="product-category-section" class="save-floating-section">
								<div class="cm-buttons-floating" id="menuSubmit">
									<div class="submit-position"> <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->submit(array('name'=>"submitProductCategory",'id'=>"submit",'class'=>"curve-3 button03",'value'=>($_smarty_tpl->tpl_vars['language']->value['lblSave']),'tabindex'=>"1"),$_smarty_tpl);?>
 
										<?php echo $_smarty_tpl->tpl_vars['language']->value['lblOr'];?>
 <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"productcategory/",'id'=>"cancel",'class'=>"cancel",'name'=>"cancelProductType",'tabindex'=>"7",'caption'=>($_smarty_tpl->tpl_vars['language']->value['lblCancel'])),$_smarty_tpl);?>

									</div>
								</div>
								<div class="cm-buttons"> </div>
							</div>
							
							<div class="tabpane" style="display:block;">
								<div class="tabpane_inner">
									<div class="form_listing">
									<span class="BreadCrump">
										<ul class="clearfix">
											<li> <?php echo $_smarty_tpl->tpl_vars['language']->value['lblProductCategory'];?>
 &raquo; </li>
											<li><?php echo $_smarty_tpl->tpl_vars['language']->value['lblBasicInfo'];?>
</li>
										</ul>
									</span>
										<ul class="levl-00">
											<li>
											  <h3><span><?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->errors(array('name'=>'formProductCategorySubmit'),$_smarty_tpl);?>
<?php echo $_smarty_tpl->tpl_vars['language']->value['lblBasicInfo'];?>
</span></h3>
											</li>
													<li class="clearfix">
														<div class="left1 mandatory "><?php echo $_smarty_tpl->tpl_vars['language']->value['lblMenuBrands'];?>
</div>
														<div class="right1 fixing_right">
														<?php if ((($tmp = @$_smarty_tpl->tpl_vars['brandID']->value)===null||$tmp==='' ? '' : $tmp)>0){?>
														<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('style'=>"width:60%;",'class'=>"select",'name'=>"brandID",'caption'=>"->".($_smarty_tpl->tpl_vars['language']->value['lblSelect']),'options'=>$_smarty_tpl->tpl_vars['listBrand']->value,'disabled'=>"disabled",'value'=>" ".($_smarty_tpl->tpl_vars['brandID']->value)),$_smarty_tpl);?>

														<?php }else{ ?>
														<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('style'=>"width:60%;",'class'=>"select",'name'=>"brandID",'caption'=>"->".($_smarty_tpl->tpl_vars['language']->value['lblSelect']),'options'=>$_smarty_tpl->tpl_vars['listBrand']->value,'validate'=>"required",'error'=>$_smarty_tpl->tpl_vars['language']->value['errFranchisee']),$_smarty_tpl);?>

														<?php }?>
														</div>
														</li>
														
														<li class="clearfix">
														<div class="left1 mandatory "><?php echo $_smarty_tpl->tpl_vars['language']->value['lblProductCategory'];?>
</div>
														<div class="right1 fixing_right"><?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('name'=>"productCategoryName",'class'=>"textbox width-60per",'maxlength'=>"50",'validate'=>"required",'error'=>$_smarty_tpl->tpl_vars['language']->value['errProductCategoryName'],'tabindex'=>"1"),$_smarty_tpl);?>
 </div>
														</li>
														<li class="clearfix">
															<div class="left1 mandatory"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblParentProductCategoryName'];?>
</div>
															<div class="right1 fixing_right"> 
																<?php if ($_smarty_tpl->tpl_vars['productCategoryID']->value!=1){?>
																<div id="ajax-parents">
																	<select id="productCategoryParent" name="productCategoryParent" class="width-60per" onchange="checkExists();" tabindex="2" >
																		<?php  $_smarty_tpl->tpl_vars['productCatParent'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['productCatParent']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['resListParentProductCategory']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['productCatParent']->key => $_smarty_tpl->tpl_vars['productCatParent']->value){
$_smarty_tpl->tpl_vars['productCatParent']->_loop = true;
?>
																			<?php if ((($tmp = @$_smarty_tpl->tpl_vars['productCatParent']->value[0])===null||$tmp==='' ? 0 : $tmp)>0){?>
																				<option 
																						value="<?php echo (($tmp = @$_smarty_tpl->tpl_vars['productCatParent']->value[0])===null||$tmp==='' ? 0 : $tmp);?>
" 
																						<?php if ((($tmp = @$_smarty_tpl->tpl_vars['productCatParent']->value[0])===null||$tmp==='' ? 0 : $tmp)==(($tmp = @$_smarty_tpl->tpl_vars['productParentCategoryId']->value)===null||$tmp==='' ? '' : $tmp)){?>
																							selected="selected"
																						<?php }?> 
																						<?php if ($_smarty_tpl->tpl_vars['productCatParent']->value[2]=='Inactive'){?>
																							class="opt_inactive"
																						<?php }?> 
																						<?php if ($_smarty_tpl->tpl_vars['productCategoryID']->value>0&&in_array($_smarty_tpl->tpl_vars['productCategoryID']->value,$_smarty_tpl->tpl_vars['productCatParent']->value['parents'])){?>
																							disabled="disabled" 
																						<?php }?>
																					>
																					<?php echo $_smarty_tpl->tpl_vars['productCatParent']->value[1];?>

																				</option>
																			<?php }else{ ?>
																				<option value="0" <?php if ((($tmp = @$_smarty_tpl->tpl_vars['productCatParent']->value[0])===null||$tmp==='' ? 0 : $tmp)==(($tmp = @$_smarty_tpl->tpl_vars['productParentCategoryId']->value)===null||$tmp==='' ? '' : $tmp)){?>selected="selected"<?php }?> ><?php echo $_smarty_tpl->tpl_vars['language']->value['lblRootLevel'];?>
</option>
																			<?php }?>
																		<?php } ?>
																	</select>
																	</div>
																<?php }else{ ?>
																	
																	<?php echo $_smarty_tpl->tpl_vars['language']->value['lblBlogRootLevel'];?>

																	<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"productCategoryParent",'value'=>0),$_smarty_tpl);?>

																<?php }?>
																<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"oldCategoryParent",'value'=>(($tmp = @$_smarty_tpl->tpl_vars['productCategoryParent']->value)===null||$tmp==='' ? '' : $tmp)),$_smarty_tpl);?>

															</div>
														</li>
                                                                                                                
                                                                                                               

														<li class="clearfix">
															<div class="left1"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblProductCategoryKey'];?>
</div>
															<div class="right1 fixing_right"><?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('name'=>"productCategoryKey",'onchange'=>"keycheck();",'class'=>"textbox width-60per",'maxlength'=>"50",'validate'=>"isUrlKey",'error'=>$_smarty_tpl->tpl_vars['language']->value['errValidProductCategoryIDKey'],'tabindex'=>"3"),$_smarty_tpl);?>
 
																<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"validateKeyValue",'value'=>"0"),$_smarty_tpl);?>
          
																<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->validate(array('name'=>"validateKey",'validate'=>"validateKeyValue->isequal->1~*required",'error'=>$_smarty_tpl->tpl_vars['language']->value['errKeyAlreayExits']),$_smarty_tpl);?>

																<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"validateKeyexceptions",'value'=>"0"),$_smarty_tpl);?>
          
																<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->validate(array('name'=>"validateEceptions",'validate'=>"validateKeyexceptions->isequal->1~*required",'error'=>$_smarty_tpl->tpl_vars['language']->value['errKeyNotAllowed']),$_smarty_tpl);?>

																<?php if ($_smarty_tpl->tpl_vars['productCategoryID']->value>0){?>
																	<div class="clear"></div>
																	<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"oldCatagoryKey",'value'=>(($tmp = @$_smarty_tpl->tpl_vars['productCategoryKey']->value)===null||$tmp==='' ? '' : $tmp)),$_smarty_tpl);?>

																	<?php ob_start();?><?php if ($_smarty_tpl->tpl_vars['settingsRedirectforurl']->value=='Yes'){?><?php echo "True";?><?php }?><?php $_tmp1=ob_get_clean();?><?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->checkbox(array('name'=>"redirectOption",'value'=>"RP",'checked'=>$_tmp1,'tabindex'=>"1",'disabled'=>"disabled"),$_smarty_tpl);?>

																	<?php echo $_smarty_tpl->tpl_vars['language']->value['lblPermanentRedirect'];?>

																<?php }?>
															</div>
														</li>
									<li class="clearfix">
											 <div class="left1 "><?php echo $_smarty_tpl->tpl_vars['language']->value['lblProductCommission'];?>
</div>
											 <div class="right1 fixing_right">
											 <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('caption'=>"->".($_smarty_tpl->tpl_vars['language']->value['lblSelect']),'tabindex'=>"1",'name'=>"productCommissionType",'options'=>"global->".($_smarty_tpl->tpl_vars['language']->value['lblOverrideGlobal'])."~*parent->".($_smarty_tpl->tpl_vars['language']->value['lblOverrideParentCategory'])."~*new->".($_smarty_tpl->tpl_vars['language']->value['lblNewCommission']),'value'=>"Active",'class'=>"choosen selectbox-width chzn-done"),$_smarty_tpl);?>
     
													</div>
												</li>	
                    <li  class="clearfix">
                      <div class="left1">
                     <?php echo $_smarty_tpl->tpl_vars['language']->value['lblWebsiteCommission'];?>
</div>
                      <div class="right1 fixing_right">
					  <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"productCommisionhidden",'value'=>$_smarty_tpl->tpl_vars['globalCommisionPercentage']->value),$_smarty_tpl);?>
 
                    <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('name'=>"productCommissionRate",'value'=>(($tmp = @$_smarty_tpl->tpl_vars['productCommissionRate']->value)===null||$tmp==='' ? '' : $tmp),'readonly'=>"readonly",'validate'=>"isPercentage",'error'=>$_smarty_tpl->tpl_vars['language']->value['errValidCommission'],'class'=>"textbox width-60per disabled"),$_smarty_tpl);?>

                          
                          </div>

                    </li> 	
					<li  class="clearfix">
                    <div class="left1"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblShippingCharge'];?>
</div>
						<div class="right1 fixing_right">
							<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('class'=>"textbox width-60per",'maxlength'=>"5",'name'=>"shippingCharge",'validate'=>"isPrice",'error'=>$_smarty_tpl->tpl_vars['language']->value['errValidAmount']),$_smarty_tpl);?>

						</div>
                    </li> 	
														<li class="clearfix">
															<div class="left1"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblDescription'];?>
</div>
															<div class="right1 fixing_right"><?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textarea(array('name'=>"productCategoryDescription",'class'=>"textbox ",'cols'=>"4",'rows'=>"3",'onKeyDown'=>"limitText(this,250);",'onKeyUp'=>"limitText(this,250);",'tabindex'=>"3"),$_smarty_tpl);?>
 </div>
														</li>
														<li class="clearfix">
															<div class="left1"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblProductCategoryIcon'];?>
</div>
															<div class="right1 fixing_right">
																<div id="image_upload_enable"> <span  tabindex="3">
																<?php $_smarty_tpl->tpl_vars["productCategoryIcon"] = new Smarty_variable((($tmp = @$_smarty_tpl->tpl_vars['productCategoryIcon']->value)===null||$tmp==='' ? '' : $tmp), null, 0);?>
																<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->upload_image(array('name'=>"productCategoryIcon",'validate'=>"isImage",'width'=>"50",'error'=>$_smarty_tpl->tpl_vars['language']->value['errValidImage'],'path'=>"uploads/product-category/",'file'=>$_smarty_tpl->tpl_vars['productCategoryIcon']->value,'size_caption'=>$_smarty_tpl->tpl_vars['language']->value['lblMaximumFileSize'],'types_caption'=>$_smarty_tpl->tpl_vars['language']->value['lblFileTypes']),$_smarty_tpl);?>
</span> </div>
																<div id="image_upload_disable" class="image_disable_div">&nbsp;</div>
															</div>
														</li>
														<li class="clearfix">
															<div class="left1"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblProductCategoryImage'];?>
</div>
															<div class="right1 fixing_right">
																<div id="image_upload_enable"> <span  tabindex="3">
																<?php $_smarty_tpl->tpl_vars["productCategoryImage"] = new Smarty_variable((($tmp = @$_smarty_tpl->tpl_vars['productCategoryImage']->value)===null||$tmp==='' ? '' : $tmp), null, 0);?>
																<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->upload_image(array('name'=>"productCategoryImage",'validate'=>"isImage",'error'=>$_smarty_tpl->tpl_vars['language']->value['errValidImage'],'path'=>"uploads/product-category/",'file'=>$_smarty_tpl->tpl_vars['productCategoryImage']->value,'size_caption'=>$_smarty_tpl->tpl_vars['language']->value['lblMaximumFileSize'],'types_caption'=>$_smarty_tpl->tpl_vars['language']->value['lblFileTypes']),$_smarty_tpl);?>
</span> </div>
																<div id="image_upload_disable" class="image_disable_div">&nbsp;</div>
															</div>
														</li>
														<li class="clearfix">
															<div class="left1"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblMetaTitle'];?>
</div>
															<div class="right1 fixing_right">
																<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('tabindex'=>"20",'name'=>"productCategoryMetaTitle",'class'=>"textbox",'value'=>''),$_smarty_tpl);?>

															</div>
														</li>
														<li class="clearfix">
															<div class="left1"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblMetakeywords'];?>
</div>
															<div class="right1 fixing_right">
																<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textarea(array('tabindex'=>"22",'name'=>"productCategoryMetaKeywords",'class'=>"text-area-01",'cols'=>"4",'rows'=>"4"),$_smarty_tpl);?>

															</div>
														</li>
														<li class="clearfix">
															<div class="left1"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblMetaDescription'];?>
</div>
															<div class="right1 fixing_right">
																<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textarea(array('tabindex'=>"21",'name'=>"productCategoryMetaDescription",'class'=>"text-area-01",'cols'=>"4",'rows'=>"4"),$_smarty_tpl);?>
               
															</div>
														</li>
                                                                                                                <li class="clearfix">
															<div class="left1"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblCategoryFooterText'];?>
</div>
															<div class="right1 fixing_right">
                                                                                                                                <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->editor(array('tabindex'=>"22",'mode'=>"simple",'skin'=>2,'name'=>"productCategoryFooterText",'id'=>"productCategoryFooterText",'value'=>(($tmp = @$_smarty_tpl->tpl_vars['productCategoryFooterText']->value)===null||$tmp==='' ? '' : $tmp),'class'=>"text-area-01"),$_smarty_tpl);?>

																
															</div>
														</li>
														<?php if ((($tmp = @$_smarty_tpl->tpl_vars['parentStatus']->value)===null||$tmp==='' ? '' : $tmp)!='Inactive'&&$_smarty_tpl->tpl_vars['productCategoryID']->value!=1){?>
															<li class="clearfix">
														<?php }else{ ?>
															<li class="clearfix" style="display:none">
														<?php }?>
															<div class="left1"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblStatus'];?>
</div>
															<div class="right1 ">
																<div id="perioddiv" rel="productCategoryStatus">
																	<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->radio(array('name'=>"productCategoryStatus",'class'=>"customradio",'options'=>"Active->".($_smarty_tpl->tpl_vars['language']->value['lblActive'])."~*Inactive->".($_smarty_tpl->tpl_vars['language']->value['lblInactive']),'value'=>"Active"),$_smarty_tpl);?>
   
																</div>
															</div>
											</li>
										</ul>
									</div>
								</div>
							</div>
							<div class="tabpane">
								<div class="tabpane_inner"> <span class="BreadCrump">
									<ul class="clearfix">
										<li> <?php echo $_smarty_tpl->tpl_vars['language']->value['lblProductCategory'];?>
 &raquo; </li>
										<li><?php echo $_smarty_tpl->tpl_vars['language']->value['lblDisplaySettings'];?>
</li>
									</ul>
								</span>
								<div class="form_listing">
									<ul class="levl-00">
										<li class="clearfix">
											<h3><span><?php echo $_smarty_tpl->tpl_vars['language']->value['lblDisplaySettings'];?>
</span></h3>
										</li> 
													<li class="clearfix">
														<div class="left1"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblUseParentCategorySettings'];?>
</div>
														<div class="right1 fixing_right top-spc">
															<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->checkbox(array('name'=>"parentCategorySettings",'value'=>'Yes'),$_smarty_tpl);?>

														</div>
													</li>
													<li class="clearfix">
														<div class="left1"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblProductThumbWidth'];?>
</div>
														<div class="right1">
														<?php ob_start();?><?php if ($_smarty_tpl->tpl_vars['productCategoryID']->value==0){?><?php echo $_smarty_tpl->tpl_vars['settingsProductThumbWidth']->value;?><?php }?><?php $_tmp2=ob_get_clean();?><?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('name'=>"productThumbWidth",'class'=>"textbox width-100px",'validate'=>"isWholeNumber~*productThumbWidth->isNumberLimit->0,1024",'error'=>($_smarty_tpl->tpl_vars['language']->value['errWidthLessThan1024']),'value'=>$_tmp2),$_smarty_tpl);?>

														</div>
													</li>
													<li class="clearfix">
														<div class="left1"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblProductThumbHeight'];?>
</div>
														<div class="right1 fixing_right">
															<?php ob_start();?><?php if ($_smarty_tpl->tpl_vars['productCategoryID']->value==0){?><?php echo $_smarty_tpl->tpl_vars['settingsProductThumbHeight']->value;?><?php }?><?php $_tmp3=ob_get_clean();?><?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('name'=>"productThumbHeight",'class'=>"textbox width-100px",'validate'=>"isWholeNumber~*productThumbHeight->isNumberLimit->0,1024",'error'=>($_smarty_tpl->tpl_vars['language']->value['errHeightLessThan1024']),'value'=>$_tmp3),$_smarty_tpl);?>

														</div>
													</li>
													<li class="clearfix">
														<div class="left1"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblShowReviewRatingInGridList'];?>
</div>
														<div class="right1 fixing_right top-spc">
															<?php ob_start();?><?php if ((($tmp = @$_smarty_tpl->tpl_vars['showRatingCountInGrid']->value)===null||$tmp==='' ? 'No' : $tmp)=='Yes'){?><?php echo "checked";?><?php }?><?php $_tmp4=ob_get_clean();?><?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->checkbox(array('name'=>"showRatingCountInGrid",'value'=>"Yes",'checked'=>$_tmp4),$_smarty_tpl);?>

														</div>
													</li>
													<li class="clearfix">
														<div class="left1"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblProductGridListLayout'];?>
</div>
														<div class="right1 fixing_right">
															<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"hiddenProductGridListLayoutID",'id'=>"hiddenProductGridListLayoutID"),$_smarty_tpl);?>

															<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('name'=>"productGridListLayoutID",'class'=>"width-27per",'options'=>$_smarty_tpl->tpl_vars['resGridLayout']->value),$_smarty_tpl);?>

														</div>
													</li>
													<li class="clearfix">
														<div class="left1"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblProductDetailslayout'];?>
</div>
														<div class="right1 fixing_right">
															<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"hiddenProductDetailsLayoutID",'id'=>"hiddenProductDetailsLayoutID"),$_smarty_tpl);?>

															<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('name'=>"productDetailsLayoutID",'class'=>"width-27per",'options'=>$_smarty_tpl->tpl_vars['resDetailsLayout']->value),$_smarty_tpl);?>

														</div>
													</li>
													<li class="clearfix">
														<div class="left1"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblLayoutActiveFrom'];?>
</div>
														<div class="right1 fixing_right">
															<span class="form-field01">
																<div class="text-box-div-date">
																	<?php if ((($tmp = @$_smarty_tpl->tpl_vars['layoutActiveFrom']->value)===null||$tmp==='' ? '' : $tmp)!='0000-00-00'){?>
																		<?php $_smarty_tpl->tpl_vars["layoutActiveFrom"] = new Smarty_variable((($tmp = @$_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['customDate'][0][0]->getFormattedDate($_smarty_tpl->tpl_vars['layoutActiveFrom']->value))===null||$tmp==='' ? '' : $tmp), null, 0);?>
																	<?php }else{ ?>
																		<?php $_smarty_tpl->tpl_vars["layoutActiveFrom"] = new Smarty_variable('', null, 0);?>
																	<?php }?>
																	<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('name'=>"layoutActiveFrom",'id'=>"layoutActiveFrom",'class'=>"date-field width-27per",'validate'=>"isDate",'error'=>$_smarty_tpl->tpl_vars['language']->value['errValidDate']),$_smarty_tpl);?>

																</div>
															</span>
														</div>
													</li>
													<li class="clearfix">
														<div class="left1"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblLayoutActiveTo'];?>
</div>
														<div class="right1 fixing_right">
															<span class="form-field01">
																<div class="text-box-div-date">
																	<?php if ((($tmp = @$_smarty_tpl->tpl_vars['layoutActiveTo']->value)===null||$tmp==='' ? '' : $tmp)!='0000-00-00'){?>
																		<?php $_smarty_tpl->tpl_vars["layoutActiveTo"] = new Smarty_variable((($tmp = @$_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['customDate'][0][0]->getFormattedDate($_smarty_tpl->tpl_vars['layoutActiveTo']->value))===null||$tmp==='' ? '' : $tmp), null, 0);?>
																	<?php }else{ ?>
																		<?php $_smarty_tpl->tpl_vars["layoutActiveTo"] = new Smarty_variable('', null, 0);?>
																	<?php }?>
																	<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('name'=>"layoutActiveTo",'id'=>"layoutActiveTo",'class'=>"date-field width-27per",'validate'=>"isDate",'error'=>$_smarty_tpl->tpl_vars['language']->value['errValidDate']),$_smarty_tpl);?>

																	<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"hiddenStartEndDate",'value'=>"2"),$_smarty_tpl);?>

																	<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->validate(array('name'=>"StartEndDatecheck",'validate'=>"hiddenStartEndDate->isequal->0~*required",'error'=>$_smarty_tpl->tpl_vars['language']->value['errStartEndDate']),$_smarty_tpl);?>

																</div>
															</span>
														</div>
													</li>
													<li class="clearfix">
														<div class="left1"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblPageDefaultView'];?>
</div>
														<div class="right1 fixing_right">
															<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"hiddenPageDefaultView",'id'=>"hiddenPageDefaultView"),$_smarty_tpl);?>

															<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('name'=>"pageDefaultView",'id'=>"pageDefaultView",'class'=>"width-27per",'options'=>"products_only->".($_smarty_tpl->tpl_vars['language']->value['lblProductsOnly'])."~*widget_only->".($_smarty_tpl->tpl_vars['language']->value['lblWidgetsOnly'])."~*category_with_products->".($_smarty_tpl->tpl_vars['language']->value['lblCategoriesWithProducts'])."~*widget_and_products->".($_smarty_tpl->tpl_vars['language']->value['lblWidgetsAndProducts'])."~*widget_and_category_with_products->".($_smarty_tpl->tpl_vars['language']->value['lblWidgetsAndCategoriesWithProducts'])),$_smarty_tpl);?>

														</div>
													</li>
													<li class="clearfix" id="pdtCnt" style="display:none;">
														<div class="left1"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblNumberofProductCount'];?>
</div>
														<div class="right1 fixing_right"><?php ob_start();?><?php if ((($tmp = @$_smarty_tpl->tpl_vars['pageDefaultView']->value)===null||$tmp==='' ? '' : $tmp)=='category_with_products'||(($tmp = @$_smarty_tpl->tpl_vars['pageDefaultView']->value)===null||$tmp==='' ? '' : $tmp)=='widget_and_category_with_products'){?><?php echo (($tmp = @$_smarty_tpl->tpl_vars['numberOfProductCount']->value)===null||$tmp==='' ? '' : $tmp);?>
<?php }?><?php $_tmp5=ob_get_clean();?><?php $_smarty_tpl->tpl_vars["numberOfProductCount"] = new Smarty_variable($_tmp5, null, 0);?>
															<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('name'=>"numberOfProductCount",'class'=>"textbox width-100px",'validate'=>"pageDefaultView->isequal->category_with_products~*pageDefaultView->isequal->widget_and_category_with_products~*required~*isWholeNumberWithOutZero",'error'=>($_smarty_tpl->tpl_vars['language']->value['errEnterProductCount'])),$_smarty_tpl);?>

														</div>
													</li>
												</ul>
											
										
								</div>
							</div>
						</div>
						<div class="tabpane">
							<div class="tabpane_inner"> <span class="BreadCrump">
								<ul class="clearfix">
									<li> <?php echo $_smarty_tpl->tpl_vars['language']->value['lblProductCategory'];?>
&raquo; </li>
									<li><?php echo $_smarty_tpl->tpl_vars['language']->value['lblAssignWidget'];?>
</li>
								</ul>
								</span>
                                 <div class="drope-block-03 clearfix" >
                                 <div class="pane01">
                                 <table width="100%" border="0" cellspacing="2" cellpadding="0">
            <tbody><tr>
              <td align="left" valign="middle" class="leftpane"><table width="100%" border="0" cellspacing="0" cellpadding="0" class="rlp-serch">
                  <tbody><tr>
                    <td align="left" valign="middle" width="175" > <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('name'=>"widgetName",'id'=>"widgetName",'placeholder'=>($_smarty_tpl->tpl_vars['language']->value['lblWidgetName']),'class'=>"text-box"),$_smarty_tpl);?>

                    </td>
                    <td align="left" valign="middle" class="left" >
                    <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->button(array('name'=>"search",'value'=>($_smarty_tpl->tpl_vars['language']->value['lblSearch']),'class'=>"button01 margin-r-10 curve-2"),$_smarty_tpl);?>

					<?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('class'=>"action-link",'id'=>"reset",'content'=>($_smarty_tpl->tpl_vars['language']->value['lblReset'])),$_smarty_tpl);?>

                   </td>
                  </tr>               
                </tbody></table></td>
                <?php if ((($tmp = @Count($_smarty_tpl->tpl_vars['selectedWidgetList']->value))===null||$tmp==='' ? 0 : $tmp)==0){?>              
                 <?php $_smarty_tpl->tpl_vars["outerborder"] = new Smarty_variable('outer-border', null, 0);?>
                 <?php $_smarty_tpl->tpl_vars["toplabelhide"] = new Smarty_variable('hide', null, 0);?>               
              <?php }?>              
              <td align="left" valign="middle" class="rightpane"><span class="fixing_right top-label "><?php echo $_smarty_tpl->tpl_vars['language']->value['lblDragHereCreateWidget'];?>
</span><h3><?php echo $_smarty_tpl->tpl_vars['language']->value['lblAssignWidget'];?>
</h3></td>
            </tr>
            <tr>
				<td align="left" valign="top">
					<div class="leftblock03 drop-div" id="divExceptAll" >
						<ul  id="product_drop_left_id" class="connect product_drop_left">
							<?php if ((($tmp = @$_smarty_tpl->tpl_vars['resWidgetList']->value)===null||$tmp==='' ? '' : $tmp)){?>
						
								<?php  $_smarty_tpl->tpl_vars['resWidget'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['resWidget']->_loop = false;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['resWidgetList']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['resWidget']->key => $_smarty_tpl->tpl_vars['resWidget']->value){
$_smarty_tpl->tpl_vars['resWidget']->_loop = true;
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['resWidget']->key;
?>
								
									<li id="<?php echo $_smarty_tpl->tpl_vars['resWidget']->value['widgetID'];?>
" class="sort<?php echo $_smarty_tpl->tpl_vars['resWidget']->value['widgetID'];?>
" ad_id="<?php echo $_smarty_tpl->tpl_vars['resWidget']->value['widgetID'];?>
">
										<?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('class'=>"remove-btn product_drop_delete hide"),$_smarty_tpl);?>

										<div class="title" ><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['resWidget']->value['widgetTitle'],60);?>
 <?php if ((($tmp = @$_smarty_tpl->tpl_vars['resListUpcomingProduct']->value['productTitle'])===null||$tmp==='' ? '' : $tmp)=='Inactive'){?><?php }?></div>
									</li>
								<?php } ?>
							<?php }else{ ?>
								<div class="message_info" id="widgetNotAvailable"><?php echo $_smarty_tpl->tpl_vars['language']->value['msgNoRecords'];?>
</div>
							<?php }?>
						</ul>
					</div>
				</td>
				<td align="left" valign="top">
					<div class="drop-div rightblock03" id="divRightAll" >
						
						<ul id="product_drop_right_id" class='connect product_drop_right <?php echo (($tmp = @$_smarty_tpl->tpl_vars['outerborder']->value)===null||$tmp==='' ? '' : $tmp);?>
'>
							<?php if ((($tmp = @$_smarty_tpl->tpl_vars['resGetCategoryWidgetIDs']->value)===null||$tmp==='' ? '' : $tmp)){?>
							<?php $_smarty_tpl->tpl_vars["selectedWidgetIDs"] = new Smarty_variable('', null, 0);?>
								<?php  $_smarty_tpl->tpl_vars['resSelWidget'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['resSelWidget']->_loop = false;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['resGetCategoryWidgetIDs']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['resSelWidget']->key => $_smarty_tpl->tpl_vars['resSelWidget']->value){
$_smarty_tpl->tpl_vars['resSelWidget']->_loop = true;
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['resSelWidget']->key;
?>
	
								<?php $_smarty_tpl->tpl_vars["widgetID"] = new Smarty_variable(($_smarty_tpl->tpl_vars['resSelWidget']->value['widgetID']), null, 0);?>
								<?php if ($_smarty_tpl->tpl_vars['key']->value>0){?>
								<?php $_smarty_tpl->tpl_vars["selectedWidgetIDs"] = new Smarty_variable((($_smarty_tpl->tpl_vars['selectedWidgetIDs']->value).('~*')).($_smarty_tpl->tpl_vars['widgetID']->value), null, 0);?>
								<?php }else{ ?>
								<?php $_smarty_tpl->tpl_vars["selectedWidgetIDs"] = new Smarty_variable(($_smarty_tpl->tpl_vars['resWidget']->value['widgetID']), null, 0);?>
								<?php }?>

								
									<li id="<?php echo $_smarty_tpl->tpl_vars['resSelWidget']->value['widgetID'];?>
" class="sort<?php echo $_smarty_tpl->tpl_vars['resSelWidget']->value['widgetID'];?>
" ad_id="<?php echo $_smarty_tpl->tpl_vars['resSelWidget']->value['widgetID'];?>
">
										<?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('class'=>"remove-btn product_drop_delete"),$_smarty_tpl);?>

											<div class="title"> <?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['resSelWidget']->value['widgetTitle'],60);?>
</div>
                                    </li>
									<?php $_smarty_tpl->tpl_vars["sorthide"] = new Smarty_variable('hide', null, 0);?>
								<?php } ?>                 
							<?php }?>
							<span class="sort-label <?php echo (($tmp = @$_smarty_tpl->tpl_vars['sorthide']->value)===null||$tmp==='' ? '' : $tmp);?>
"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblDragWidgetTxt'];?>
</span>
						</ul>
						<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"selectedWidgetIDs",'id'=>"selectedWidgetIDs",'value'=>(($tmp = @$_smarty_tpl->tpl_vars['resCategoryWidgetIDs']->value)===null||$tmp==='' ? '' : $tmp)),$_smarty_tpl);?>

					</div>
				</td>
            </tr>
          </tbody></table>
                                 </div>
                                 </div>
								
								</div>
							</div>
						</div>
					<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->close(array(),$_smarty_tpl);?>
	
				</div>
			</div>
		</div>	
	</div>		
<?php echo $_smarty_tpl->getSubTemplate ('CommonBottom.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

</div>
<?php echo $_smarty_tpl->getSubTemplate ('CommonJavaScriptBottom.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/productcategoryadd.page.js"></script>
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/custom-radiobutton.js"></script>
<script type="text/javascript">
var editImageTitle	=	"<?php echo $_smarty_tpl->tpl_vars['language']->value['lbleditImageTitle'];?>
";
var lblAlertOk='<?php echo $_smarty_tpl->tpl_vars['language']->value['lblAlertOk'];?>
';
var lblAlertCancel='<?php echo $_smarty_tpl->tpl_vars['language']->value['lblAlertCancel'];?>
';
var lblAlertYes='<?php echo $_smarty_tpl->tpl_vars['language']->value['lblAlertYes'];?>
';
var lblAlertNo='<?php echo $_smarty_tpl->tpl_vars['language']->value['lblAlertNo'];?>
';
var lblAlert='<?php echo $_smarty_tpl->tpl_vars['language']->value['lblAlert'];?>
';
var	msgConfirmDelete	=	'<?php echo $_smarty_tpl->tpl_vars['language']->value['lblAreYouSureToDelete'];?>
';
var lblMessage	=	'<?php echo $_smarty_tpl->tpl_vars['language']->value['lblDelete'];?>
';
var settingsRedirectUrl = '<?php echo (($tmp = @$_smarty_tpl->tpl_vars['settingsRedirectforurl']->value)===null||$tmp==='' ? '' : $tmp);?>
';
var sysKeys = '<?php echo $_smarty_tpl->tpl_vars['sysKeys']->value;?>
';
$(function(){
	 $('#perioddiv input').customInput('');
	});	
</script>
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['common_js']->value;?>
/validate.plugin.js"></script>
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/urlEncode.js"></script>
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/message.plugin.js"></script>
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['common_js']->value;?>
/uploadImage.plugin.js"></script>
<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->editor_script(array('names'=>"productCategoryFooterText"),$_smarty_tpl);?>

<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->validate_script(array('form'=>"formProductCategorySubmit"),$_smarty_tpl);?>

<?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->messages_script(array('id'=>"common_message"),$_smarty_tpl);?>


<script type="text/javascript">
	$(document).ready(function(){
                $('#layoutActiveFrom').datepicker();
		$('#layoutActiveTo').datepicker();
		if($('#pageDefaultView').val() == 'category_with_products' || $('#pageDefaultView').val() == 'widget_and_category_with_products'){
				$('#pdtCnt').show();
			}
			else{
				$('#pdtCnt').hide();
			}
		$('#pageDefaultView').change(function(){
			if($('#pageDefaultView').val() == 'category_with_products' || $('#pageDefaultView').val() == 'widget_and_category_with_products'){
				$('#pdtCnt').show();
			}
			else{
				$('#pdtCnt').hide();
			}
		});
                
	});
</script>

<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['common_js']->value;?>
/date.js"></script>
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/daterangepicker.jQuery.js"></script>
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/jquery.colorbox.js"></script> 
<!--<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['common_js']->value;?>
/underscore.plugin.js"></script> -->

</body>
</html><?php }} ?>