<?php /* Smarty version Smarty-3.1.8, created on 2020-01-09 16:21:10
         compiled from "/home/agmc/public_html/beta/application/core/views/manage/standard/CustomOptionAdd.tpl" */ ?>
<?php /*%%SmartyHeaderCode:16978224695e171ab620c463-35269596%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'f99208f2dc912bce633b2ebdfdfe6916a128a8b8' => 
    array (
      0 => '/home/agmc/public_html/beta/application/core/views/manage/standard/CustomOptionAdd.tpl',
      1 => 1577772526,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '16978224695e171ab620c463-35269596',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'customOptionID' => 0,
    'language' => 0,
    'view_styles' => 0,
    'enableCustomOption' => 0,
    'resAttributeEdit' => 0,
    'resAtrributeInputTypes' => 0,
    'validateChecked' => 0,
    'validateRuleArray' => 0,
    'Rule' => 0,
    'validateRuleArraysize' => 0,
    'validateRuleArrayextens' => 0,
    'resAtrributeValidationRules' => 0,
    'validateRuleVar' => 0,
    'allowedExtensions' => 0,
    'maxFileSize' => 0,
    'attributeStatusVar' => 0,
    'productRequestID' => 0,
    'productID' => 0,
    'currentAction' => 0,
    'postCallback' => 0,
    'common_js' => 0,
    'view_javascript' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_5e171ab62cb715_62064768',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5e171ab62cb715_62064768')) {function content_5e171ab62cb715_62064768($_smarty_tpl) {?><!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["customOptionID"] = new Smarty_variable((($tmp = @$_smarty_tpl->tpl_vars['customOptionID']->value)===null||$tmp==='' ? '' : $tmp), null, 0);?>
<title><?php echo $_smarty_tpl->tpl_vars['language']->value['lblAdmin'];?>
: <?php if ($_smarty_tpl->tpl_vars['customOptionID']->value){?> Edit Option<?php }else{ ?>Add Option<?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 rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['view_styles']->value;?>
/inner-formlisting.css" />
<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" />
<?php echo $_smarty_tpl->getSubTemplate ('CommonCustomStyles.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

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

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


<style>
.forSelectType,.forFileType {display:none;}
.no-border-right{border-right-color:transparent !important;}
.language-block-inner{float:right;}

<?php if ($_smarty_tpl->tpl_vars['enableCustomOption']->value=='1'){?>

body{background:none;}

<?php }?>

</style>

</head>
<body>
<div class="outer_container"> 
<?php if ($_smarty_tpl->tpl_vars['enableCustomOption']->value=='0'){?>
<?php echo $_smarty_tpl->getSubTemplate ('CommonTop.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

<?php }?>
<?php if ($_smarty_tpl->tpl_vars['enableCustomOption']->value=='0'){?>
  <div class="content_container">
  <?php }else{ ?>
  <div>
  <?php }?>
    <div class="content_wrapper add-new-formlisting">
     <?php if ($_smarty_tpl->tpl_vars['enableCustomOption']->value=='1'){?><div class="clearfix btm-spc" ><?php echo $_smarty_tpl->getSubTemplate ('ContentLanguageOptions.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>
</div><?php }?>
<?php if ($_smarty_tpl->tpl_vars['enableCustomOption']->value=='0'){?> <?php echo $_smarty_tpl->getSubTemplate ('ContentLanguageOptions.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>
  <h2> <?php if ($_smarty_tpl->tpl_vars['customOptionID']->value){?><?php echo $_smarty_tpl->tpl_vars['language']->value['lblEditGlobalOption'];?>
 : <?php echo (($tmp = @$_smarty_tpl->tpl_vars['resAttributeEdit']->value['customOptionName'])===null||$tmp==='' ? '' : $tmp);?>
<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['language']->value['lblAddGlobalOption'];?>
<?php }?></h2><?php }?>
	  <div id="common_message"></div>
        
      <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->start(array('name'=>"formAttributeAdd",'action'=>'','method'=>"post",'enctype'=>"multipart/form-data"),$_smarty_tpl);?>

      <div class="inner_content_wrapper">
        <div class="form_listing">                  
          <div class="search_container add-option">
           <div class="inner custom-option-add">
             <ul class="clearfix">
               <li class="column">
                 <p class="label-field01 mandatory"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblName'];?>
</p>
                 <span class="form-field01"><?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('name'=>"customOptionName",'maxlength'=>"255",'class'=>"textbox",'validate'=>"required",'error'=>$_smarty_tpl->tpl_vars['language']->value['errOptionLabel'],'value'=>(($tmp = @$_smarty_tpl->tpl_vars['resAttributeEdit']->value['customOptionName'])===null||$tmp==='' ? '' : $tmp)),$_smarty_tpl);?>
</span>
               </li>
               <li class="column">
                 <p class="label-field01 mandatory"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblInputType'];?>
</p>
                 <span class="form-field01">
                  <?php if ($_smarty_tpl->tpl_vars['customOptionID']->value){?> 
					<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('name'=>"inputTypeEdit",'options'=>$_smarty_tpl->tpl_vars['resAtrributeInputTypes']->value,'value'=>(($tmp = @$_smarty_tpl->tpl_vars['resAttributeEdit']->value['inputType'])===null||$tmp==='' ? '' : $tmp),'disabled'=>'disabled','optionGroup'=>"Yes",'class'=>"slect-option"),$_smarty_tpl);?>

					<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"inputType",'value'=>(($tmp = @$_smarty_tpl->tpl_vars['resAttributeEdit']->value['inputType'])===null||$tmp==='' ? '' : $tmp)),$_smarty_tpl);?>
					
					<?php }else{ ?>
					<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('class'=>"slect-option",'name'=>"inputType",'caption'=>"->".($_smarty_tpl->tpl_vars['language']->value['lblSelect']),'options'=>$_smarty_tpl->tpl_vars['resAtrributeInputTypes']->value,'validate'=>"required",'error'=>$_smarty_tpl->tpl_vars['language']->value['errInputType'],'value'=>(($tmp = @$_smarty_tpl->tpl_vars['resAttributeEdit']->value['inputType'])===null||$tmp==='' ? '' : $tmp),'optionGroup'=>"Yes"),$_smarty_tpl);?>

					<?php }?>
                 </span>
               </li>
               <li class="column">
                 <p class="label-field01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblAttributeSubText'];?>
</p>
                 <span class="form-field01"><?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('name'=>"helpText",'maxlength'=>"255",'class'=>"textbox",'value'=>(($tmp = @$_smarty_tpl->tpl_vars['resAttributeEdit']->value['helpText'])===null||$tmp==='' ? '' : $tmp)),$_smarty_tpl);?>
</span>
               </li>
               <li class="column" style="width:10%;">
                <p class="label-field01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblRequired'];?>
</p>                
                  <?php if ((($tmp = @strstr($_smarty_tpl->tpl_vars['resAttributeEdit']->value['validateRule'],"required"))===null||$tmp==='' ? '' : $tmp)){?>
                    <?php $_smarty_tpl->tpl_vars["validateChecked"] = new Smarty_variable("checked", null, 0);?> 
                    <?php }else{ ?>
                    <?php $_smarty_tpl->tpl_vars["validateChecked"] = new Smarty_variable('', null, 0);?> 
                  <?php }?>
                 <span class="form-field01"> 
                   <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->checkbox(array('name'=>"validateRuleRequired",'class'=>"check-box",'value'=>"Yes",'checked'=>$_smarty_tpl->tpl_vars['validateChecked']->value),$_smarty_tpl);?>
 
                 </span>
               </li>               
               <li class="column">
                 <p class="label-field01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblAttrValidationRule'];?>
</p>                
                  <?php if ((($tmp = @$_smarty_tpl->tpl_vars['resAttributeEdit']->value['validateRule'])===null||$tmp==='' ? '' : $tmp)){?> 
                    	<?php $_smarty_tpl->tpl_vars["validateRuleArray"] = new Smarty_variable((($tmp = @explode("~*",$_smarty_tpl->tpl_vars['resAttributeEdit']->value['validateRule']))===null||$tmp==='' ? '' : $tmp), null, 0);?>
			<?php  $_smarty_tpl->tpl_vars["Rule"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["Rule"]->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['validateRuleArray']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["Rule"]->key => $_smarty_tpl->tpl_vars["Rule"]->value){
$_smarty_tpl->tpl_vars["Rule"]->_loop = true;
?>			
			 <?php if (strstr($_smarty_tpl->tpl_vars['Rule']->value,"checkFileSize")){?>
			 <?php $_smarty_tpl->tpl_vars["validateRuleArraysize"] = new Smarty_variable(explode("checkFileSize->",$_smarty_tpl->tpl_vars['Rule']->value), null, 0);?>
			 <?php $_smarty_tpl->tpl_vars["maxFileSize"] = new Smarty_variable($_smarty_tpl->tpl_vars['validateRuleArraysize']->value[1], null, 0);?>
			 <?php }elseif(strstr($_smarty_tpl->tpl_vars['Rule']->value,"isValidFileExtension")){?>			
			 <?php $_smarty_tpl->tpl_vars["validateRuleArrayextens"] = new Smarty_variable(explode("isValidFileExtension->",$_smarty_tpl->tpl_vars['Rule']->value), null, 0);?>
			  <?php $_smarty_tpl->tpl_vars["allowedExtensions"] = new Smarty_variable((($tmp = @$_smarty_tpl->tpl_vars['validateRuleArrayextens']->value[1])===null||$tmp==='' ? '' : $tmp), null, 0);?>
			 <?php }?>
			 <?php } ?>			
			<?php if ($_smarty_tpl->tpl_vars['validateRuleArray']->value[0]!='required'){?>
                    	<?php $_smarty_tpl->tpl_vars["validateRuleVar"] = new Smarty_variable($_smarty_tpl->tpl_vars['validateRuleArray']->value[0], null, 0);?>
                    	<?php }elseif((($tmp = @$_smarty_tpl->tpl_vars['validateRuleArray']->value[1])===null||$tmp==='' ? '' : $tmp)!=''){?> 
                        <?php $_smarty_tpl->tpl_vars["validateRuleVar"] = new Smarty_variable($_smarty_tpl->tpl_vars['validateRuleArray']->value[1], null, 0);?>
                        <?php }?>
                    <?php }else{ ?>
                    <?php $_smarty_tpl->tpl_vars["validateRuleVar"] = new Smarty_variable('', null, 0);?> 
                    <?php }?>
                 <span class="form-field01"> 
                     <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('name'=>"validateRule",'class'=>"select-box",'caption'=>"->".($_smarty_tpl->tpl_vars['language']->value['lblSelect']),'options'=>$_smarty_tpl->tpl_vars['resAtrributeValidationRules']->value,'value'=>(($tmp = @$_smarty_tpl->tpl_vars['validateRuleVar']->value)===null||$tmp==='' ? '' : $tmp)),$_smarty_tpl);?>

                 </span>
               </li>               
               <li class="column">
                <p class="label-field01" id="msgReq"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblAttrValidationMessage'];?>
</p>
                 <span class="form-field01">
                    <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('name'=>"validationMessage",'maxlength'=>"100",'class'=>"textbox",'validate'=>"checkValidationMessage->isequal->0~*required",'error'=>$_smarty_tpl->tpl_vars['language']->value['errAttrValidationMessage'],'value'=>(($tmp = @$_smarty_tpl->tpl_vars['resAttributeEdit']->value['validationMessage'])===null||$tmp==='' ? '' : $tmp)),$_smarty_tpl);?>

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

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

                 </span>
               </li>
	         
               <li class="column forCommonType">
                  <p class="label-field01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblPrice'];?>
</p>
                  <span class="form-field01 price-field1">                  
                    <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('name'=>"priceDiff",'class'=>"textbox  forCommonTypeSection  priceVariation",'validate_inline'=>"yes",'validate'=>"isPrice",'value'=>(($tmp = @htmlspecialchars($_smarty_tpl->tpl_vars['resAttributeEdit']->value['priceDiff'], ENT_QUOTES, 'UTF-8', true))===null||$tmp==='' ? '' : $tmp),'error'=>$_smarty_tpl->tpl_vars['language']->value['errValidPrice']),$_smarty_tpl);?>
 
                  </span>
                   <div class="priceDiffType">
                     <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('name'=>"priceDiffType",'class'=>"forCommonTypeSection priceVariation",'value'=>(($tmp = @htmlspecialchars($_smarty_tpl->tpl_vars['resAttributeEdit']->value['priceDiffType'], ENT_QUOTES, 'UTF-8', true))===null||$tmp==='' ? '' : $tmp),'validate_inline'=>"yes",'options'=>"I->".($_smarty_tpl->tpl_vars['language']->value['lblIncrease'])."~*D->".($_smarty_tpl->tpl_vars['language']->value['lblDecrease'])."~*N->".($_smarty_tpl->tpl_vars['language']->value['lblNone'])),$_smarty_tpl);?>

                   </div>   
                  </li>
              
             </ul>
           </div>          
          </div> 
          <div class="form-option product-add forFileType">
             <ul class="clearfix">
                <li class="column">
                 <p class="label-field01 txt-normal"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblAllowedExtensions'];?>
</p>
                 <span class="form-field01"><?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textarea(array('name'=>"allowedExtensions",'class'=>"textbox forFileTypeSection",'maxlength'=>"255",'value'=>(($tmp = @$_smarty_tpl->tpl_vars['allowedExtensions']->value)===null||$tmp==='' ? '' : $tmp)),$_smarty_tpl);?>
</span>
               </li>
               <li class="subtext-outer">
                  <span class="sub-text"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblFileExtensionNote'];?>
</span>
               </li>
               </ul>
               <ul class="clearfix">
                <li class="column">
                 <p class="label-field01 txt-normal"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblMaxUploadFileSize'];?>
</p>
                 <span class="form-field01">
                   <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('name'=>"maxFileSize",'class'=>"textbox forFileTypeSection",'maxlength'=>"100",'validate'=>"inputType->isequal->file~*isFloatWithoutZero",'error'=>$_smarty_tpl->tpl_vars['language']->value['errValidFileSize'],'value'=>(($tmp = @$_smarty_tpl->tpl_vars['maxFileSize']->value)===null||$tmp==='' ? '' : $tmp)),$_smarty_tpl);?>
					
                 </span>
               </li>
               <li class="subtext-outer">
                <span class="sub-text"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblFileSizeNote'];?>
</span>
               </li>
             </ul>
          </div>
          <div class="section_wrap form-option clearfix attributeOptionsSections">          
            <h4><?php echo $_smarty_tpl->tpl_vars['language']->value['lblVariants'];?>
</h4><div id="variant_message"></div>
              <?php echo $_smarty_tpl->getSubTemplate ('CustomOptionAddvariant.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

          </div>
          <span class="line"></span>
          <ul class="fullwidth ">
	    <?php if ($_smarty_tpl->tpl_vars['customOptionID']->value){?>
	      <?php if ((($tmp = @$_smarty_tpl->tpl_vars['resAttributeEdit']->value['status'])===null||$tmp==='' ? '' : $tmp)=='A'){?>
                <?php $_smarty_tpl->tpl_vars["attributeStatusVar"] = new Smarty_variable("A", null, 0);?> 
                <?php }else{ ?>
                <?php $_smarty_tpl->tpl_vars["attributeStatusVar"] = new Smarty_variable("I", null, 0);?> 
                <?php }?>

		<?php }else{ ?>
		<?php $_smarty_tpl->tpl_vars["attributeStatusVar"] = new Smarty_variable("A", null, 0);?> 
		<?php }?>
		  
		<li class="clearfix" >
		  <div class="leftside01 mandatory"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblStatus'];?>
</div>
		  <div class="rightside01">              
			<div id="perioddiv"> <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->radio(array('name'=>"status",'class'=>"customradio",'options'=>"A->".($_smarty_tpl->tpl_vars['language']->value['lblActive'])."~*I->".($_smarty_tpl->tpl_vars['language']->value['lblInactive']),'value'=>$_smarty_tpl->tpl_vars['attributeStatusVar']->value),$_smarty_tpl);?>
 </div>
		  </div>
		</li>
	    <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"productRequestID",'value'=>(($tmp = @$_smarty_tpl->tpl_vars['productRequestID']->value)===null||$tmp==='' ? '' : $tmp)),$_smarty_tpl);?>

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

            <li class="clearfix" >
              <div class="leftside01 mandatory">&nbsp;</div>
              <div class="rightside01 submit-block "> <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->submit(array('name'=>"submitAttributeAdd",'id'=>"submitAttributeAdd",'class'=>"curve-3",'value'=>($_smarty_tpl->tpl_vars['language']->value['lblSave'])),$_smarty_tpl);?>

				<?php if ((($tmp = @$_smarty_tpl->tpl_vars['currentAction']->value)===null||$tmp==='' ? '' : $tmp)=="new"){?>
					<?php echo $_smarty_tpl->tpl_vars['language']->value['lblOr'];?>
 
					<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->submit(array('name'=>"submitAttributeAddNew",'id'=>"submitAttributeAddNew",'class'=>"curve-3",'value'=>($_smarty_tpl->tpl_vars['language']->value['lblSaveNCreateNew'])),$_smarty_tpl);?>
	
				<?php }?>	
			  <?php echo $_smarty_tpl->tpl_vars['language']->value['lblOr'];?>
 
              <?php if ($_smarty_tpl->tpl_vars['enableCustomOption']->value=='0'){?>
			  <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"section",'value'=>'global'),$_smarty_tpl);?>

              <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"productoption/index/",'caption'=>($_smarty_tpl->tpl_vars['language']->value['lblCancel'])),$_smarty_tpl);?>
 
              <?php }else{ ?>
              <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('caption'=>($_smarty_tpl->tpl_vars['language']->value['lblCancel']),'onclick'=>"parent."."$".".colorbox.close();"),$_smarty_tpl);?>
 
              <?php }?>
              </div>
            </li>
          </ul>
        </div>
      </div>
      <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->close(array(),$_smarty_tpl);?>
 </div>
  </div>
  <?php if ($_smarty_tpl->tpl_vars['enableCustomOption']->value=='0'){?>
  <?php echo $_smarty_tpl->getSubTemplate ('CommonBottom.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>
 
  <?php }?>
  </div>
<?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->messages_script(array('id'=>"common_message"),$_smarty_tpl);?>

<?php echo $_smarty_tpl->getSubTemplate ('CommonJavaScriptBottom.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>
 
<script  type="text/javascript"> 
var lblSelect	=	"<?php echo $_smarty_tpl->tpl_vars['language']->value['lblSelectProductType'];?>
";
var enableCustomOption	=	"<?php echo $_smarty_tpl->tpl_vars['enableCustomOption']->value;?>
";
var msgSelectDifferentNamesoption="<?php echo $_smarty_tpl->tpl_vars['language']->value['msgSelectDifferentNamesoption'];?>
";
var msgSelectAtleastOne="<?php echo $_smarty_tpl->tpl_vars['language']->value['msgSelectAtleastOne'];?>
";
var lblAttributeFileDeleted ="<?php echo $_smarty_tpl->tpl_vars['language']->value['lblAttributeFileDeleted'];?>
";
var okText	=	"<?php echo $_smarty_tpl->tpl_vars['language']->value['lblOK'];?>
";
var cancelText = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblCancel'];?>
";
var optionType= "<?php echo $_smarty_tpl->tpl_vars['enableCustomOption']->value;?>
";
var msgimageDelConfirm= "<?php echo $_smarty_tpl->tpl_vars['language']->value['msgimageDelConfirm'];?>
";
var msgdeleteComboVariant= "<?php echo $_smarty_tpl->tpl_vars['language']->value['msgdeleteComboVariant'];?>
";
 $(function(){
	 $("#perioddiv input").customInput('');
	});	
var postCallback = "<?php echo (($tmp = @$_smarty_tpl->tpl_vars['postCallback']->value)===null||$tmp==='' ? '' : $tmp);?>
";	
</script>
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['common_js']->value;?>
/uploadImage.plugin.js"></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;?>
/optionAdd.page.js"></script> 
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/jquery.tablednd.js"></script> 
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/custom-radiobutton.js"></script>

<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->validate_script(array('form'=>"formAttributeAdd"),$_smarty_tpl);?>
  
</body>
</html>
<?php }} ?>