<?php /* Smarty version Smarty-3.1.8, created on 2024-07-17 08:49:12
         compiled from "/home/agmc/beta/application/core/views/manage/standard/BannerAdd.tpl" */ ?>
<?php /*%%SmartyHeaderCode:20811993335e706560d43f13-59997029%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '3389edc41d5f0ea01e89d46883c536c9091ae2e3' => 
    array (
      0 => '/home/agmc/beta/application/core/views/manage/standard/BannerAdd.tpl',
      1 => 1605520856,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '20811993335e706560d43f13-59997029',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_5e706560de4c40_08068563',
  'variables' => 
  array (
    'language' => 0,
    'view_styles' => 0,
    'bannerID' => 0,
    'listBrand' => 0,
    'bannerTextBlend' => 0,
    'bannerStartTime' => 0,
    'bannerEndTime' => 0,
    'bannerLoc' => 0,
    'bannerDisplayType' => 0,
    'bannerImage' => 0,
    'bannerSwf' => 0,
    'bannerStatus' => 0,
    'history' => 0,
    'common_js' => 0,
    'view_javascript' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5e706560de4c40_08068563')) {function content_5e706560de4c40_08068563($_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" />
<title><?php echo $_smarty_tpl->tpl_vars['language']->value['lblAdmin'];?>
: <?php echo $_smarty_tpl->tpl_vars['language']->value['lblMenuSiteDesign'];?>
:<?php echo $_smarty_tpl->tpl_vars['language']->value['lblBanner'];?>
</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;?>
/jqueryui.plugin.css" rel="stylesheet" type="text/css" />
<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" />
<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['view_styles']->value;?>
/colorbox.css" media="screen" />
<link rel="stylesheet" href="<?php echo $_smarty_tpl->tpl_vars['view_styles']->value;?>
/chosen.css" type="text/css" />
<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['view_styles']->value;?>
/add-edit.css" />
<?php echo $_smarty_tpl->getSubTemplate ('CommonCustomStyles.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>


<style type="text/css">
textarea#bannerContent{
	display:none!important;
	}
.fileuploader_edit_section {display:none !important;}
</style>

</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 add-new-formlisting">
    <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 ((($tmp = @$_smarty_tpl->tpl_vars['bannerID']->value)===null||$tmp==='' ? '' : $tmp)){?><?php echo $_smarty_tpl->tpl_vars['language']->value['lblEditBanner'];?>
<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['language']->value['lblAddNewBanner'];?>
<?php }?></h2>
	<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->start(array('name'=>"formBanner",'method'=>"post",'action'=>'','enctype'=>"multipart/form-data"),$_smarty_tpl);?>

     <div class="section_wrap clearfix ">	
            <!--start: left pane -->
            <div class="left-pane clearfix">
                <div class="form_listing">
                    <ul>
                        <li class="clearfix">
                                <div class="leftside01 mandatory">
                                        <?php echo $_smarty_tpl->tpl_vars['language']->value['lblMenuBrands'];?>

                                </div>
                                <!--End:Left-->
                                <div class="rightside01"> 
                                        <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('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);?>

                                </div>
                                <!--End:right-->
                          </li>
                        <li class="clearfix">
                            <div class="leftside01 mandatory"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblTitle'];?>
 </div>
                            <div class="rightside01">
                  			<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('name'=>"bannerTitle",'maxlength'=>"100",'class'=>"textbox",'validate'=>"required",'error'=>$_smarty_tpl->tpl_vars['language']->value['errTitle'],'tabindex'=>"1"),$_smarty_tpl);?>

                            </div>
                        </li>
                         <li class="clearfix">
                            <div class="leftside01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblLink'];?>
</div>
                            <div class="rightside01">
                              <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('name'=>"bannerLink",'tabindex'=>"2",'class'=>"textbox",'validate'=>"required",'error'=>$_smarty_tpl->tpl_vars['language']->value['errValidUrl']),$_smarty_tpl);?>

							  <br/><br/>
							  <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"ajax/generatecataloglink/?id=bannerLink",'id'=>"generateCatalogLink",'caption'=>($_smarty_tpl->tpl_vars['language']->value['lblImportCatUrl']),'title'=>($_smarty_tpl->tpl_vars['language']->value['lblGenerateCatalogLinks']),'class'=>"linkbtnt01"),$_smarty_tpl);?>

                            </div>
                        </li>
                        <li class="selection clearfix">
                            <div class="leftside01 "><?php echo $_smarty_tpl->tpl_vars['language']->value['lblTarget'];?>
 </div>
                            <div class="rightside01">
                                <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('name'=>"bannerTarget",'tabindex'=>"3",'class'=>"select-box",'options'=>"newWindow->newWindow~*sameWindow->sameWindow"),$_smarty_tpl);?>

                            </div>
                        </li>
                        <li class="selection clearfix">
                            <div class="leftside01 mandatory"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblTextBlend'];?>
</div>
                            <div class="rightside01">
								<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"imageBannerTextBlend",'value'=>(($tmp = @$_smarty_tpl->tpl_vars['bannerTextBlend']->value)===null||$tmp==='' ? '' : $tmp)),$_smarty_tpl);?>

                                <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('class'=>"select-box",'tabindex'=>"4",'name'=>"bannerTextBlend",'options'=>"yes->".($_smarty_tpl->tpl_vars['language']->value['lblYes'])."~*no->".($_smarty_tpl->tpl_vars['language']->value['lblNo'])),$_smarty_tpl);?>

                            </div>
                        </li>
						
                        <li class="selection clearfix">
                            <div class="leftside01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblStartDate'];?>
</div>
                            <div class="rightside01">
 				<?php if ((($tmp = @$_smarty_tpl->tpl_vars['bannerStartTime']->value)===null||$tmp==='' ? '' : $tmp)!=''&&$_smarty_tpl->tpl_vars['bannerStartTime']->value!="0000-00-00 00:00"){?> 
                    <?php $_smarty_tpl->tpl_vars["bannerStartTime"] = new Smarty_variable($_smarty_tpl->tpl_vars['bannerStartTime']->value, null, 0);?>
                    <?php }else{ ?>
                    <?php $_smarty_tpl->tpl_vars["bannerStartTime"] = new Smarty_variable('', null, 0);?>
                    <?php }?> 
                     <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('name'=>"bannerStartTime",'tabindex'=>"5",'error'=>$_smarty_tpl->tpl_vars['language']->value['errPassedTime'],'class'=>"date_picker_field"),$_smarty_tpl);?>
    </div>
                        </li>
                        <li class="selection clearfix">
                            <div class="leftside01 "><?php echo $_smarty_tpl->tpl_vars['language']->value['lblEndDate'];?>
</div>
                            <div class="rightside01">
 				<?php if ((($tmp = @$_smarty_tpl->tpl_vars['bannerEndTime']->value)===null||$tmp==='' ? '' : $tmp)!=''&&$_smarty_tpl->tpl_vars['bannerEndTime']->value!="0000-00-00 00:00"){?> 
                    <?php $_smarty_tpl->tpl_vars["bannerEndTime"] = new Smarty_variable($_smarty_tpl->tpl_vars['bannerEndTime']->value, null, 0);?>
                    <?php }else{ ?>
                    <?php $_smarty_tpl->tpl_vars["bannerEndTime"] = new Smarty_variable('', null, 0);?>
                    <?php }?>
                    <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('tabindex'=>"6",'name'=>"bannerEndTime",'class'=>"date_picker_field"),$_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>
                        </li>
                        <li class="selection clearfix">
                        <div class="leftside01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblBannerCssStyle'];?>
  </div>
                        <div class="rightside01 editor" tabindex="12">
                         <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('name'=>"bannerCssStyle",'class'=>"textbox"),$_smarty_tpl);?>

                        </div>
                    </li>
					<li class="selection clearfix">
						<div class="leftside01 mandatory"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblBannerLocation'];?>
</div>
						<div class="rightside01">
                                                 <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"hiddenBannerLoc",'value'=>(($tmp = @$_smarty_tpl->tpl_vars['bannerLoc']->value)===null||$tmp==='' ? '' : $tmp)),$_smarty_tpl);?>
    
						<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('class'=>"select-box",'tabindex'=>"5",'name'=>"bannerLoc",'options'=>"1->".($_smarty_tpl->tpl_vars['language']->value['lblMenuItem'])."~*2->".($_smarty_tpl->tpl_vars['language']->value['lblHomePage'])."~*3->".($_smarty_tpl->tpl_vars['language']->value['lblProductCategories'])),$_smarty_tpl);?>

						</div> 			
					</li>
                    <li class="selection clearfix">
                            <div class="leftside01 mandatory"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblBannerPlatform'];?>
 </div>
                            <div class="rightside01">
                                <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('name'=>"bannerPlatform",'tabindex'=>"3",'class'=>"select-box",'options'=>"desktop->".($_smarty_tpl->tpl_vars['language']->value['lblDesktop'])."~*mobile->".($_smarty_tpl->tpl_vars['language']->value['lblMobile'])."~*mobileApp->".($_smarty_tpl->tpl_vars['language']->value['lblMobileapp'])),$_smarty_tpl);?>

                            </div>
                    </li>					
					<li class="selection clearfix">
						<div id="categories"> 
							<?php if ((($tmp = @$_smarty_tpl->tpl_vars['bannerID']->value)===null||$tmp==='' ? '' : $tmp)>0&&$_smarty_tpl->tpl_vars['bannerLoc']->value==3){?> 
								<?php echo $_smarty_tpl->getSubTemplate ('AjaxProductCategories.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>
 
							<?php }elseif((($tmp = @$_smarty_tpl->tpl_vars['bannerID']->value)===null||$tmp==='' ? '' : $tmp)>0&&$_smarty_tpl->tpl_vars['bannerLoc']->value==4){?> 
								
							<?php }?>
						</div>
						<div class=" rightside01">
                                                <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->validate(array('name'=>"categorySelected",'validate'=>"bannerLoc->isequal->3~*required",'error'=>$_smarty_tpl->tpl_vars['language']->value['errSelectAnyCategory']),$_smarty_tpl);?>

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

						 </div>
                                                 
                         <div class="form-group selection menuitem_display">
                            <div class="leftside01 mandatory"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblMenuItems'];?>
</div>
                            <!--End:Left-->
                            <div class="rightside01" > 
                                            <span id="menuitems" ></span>
                                            <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->validate(array('name'=>"menuitemSelected",'validate'=>"bannerLoc->isequal->1~*required",'error'=>$_smarty_tpl->tpl_vars['language']->value['errSelectAnyMenuitem']),$_smarty_tpl);?>

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

                            </div>
                            <!--End:right-->
                         </div>
				    </li>
                                                
                    </ul>
                </div>
            </div>
            <!--end: left pane -->
            <!--start: right pane -->
            <div  class="right-pane clearfix">
                <div class="form_listing">
                    <ul>
                    	<li class="selection clearfix">
                            <div class="leftside01 "><?php echo $_smarty_tpl->tpl_vars['language']->value['lblType'];?>
</div>
                            <div class="rightside01">
                                <?php ob_start();?><?php if ((($tmp = @$_smarty_tpl->tpl_vars['bannerDisplayType']->value)===null||$tmp==='' ? '' : $tmp)){?><?php echo $_smarty_tpl->tpl_vars['bannerDisplayType']->value;?><?php }else{ ?><?php echo "Image";?><?php }?><?php $_tmp1=ob_get_clean();?><?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->radio(array('class'=>"bannerDisplayType",'tabindex'=>"7",'name'=>"bannerDisplayType",'options'=>"Image->".($_smarty_tpl->tpl_vars['language']->value['lblImage'])."~*Swf->".($_smarty_tpl->tpl_vars['language']->value['lblSwf']),'value'=>$_tmp1),$_smarty_tpl);?>

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

                            </div>
                        </li>
                        <li class="selection clearfix" id="bannerSize">
                            <div class="leftside01 "><?php echo $_smarty_tpl->tpl_vars['language']->value['lblBannerSize'];?>
</div>
                            <div class="rightside01">
                                <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->radio(array('class'=>"bannerSize",'tabindex'=>"7",'name'=>"bannerSize",'options'=>"Small->".($_smarty_tpl->tpl_vars['language']->value['lblSmall'])."~*Large->".($_smarty_tpl->tpl_vars['language']->value['lblLarge']),'value'=>''),$_smarty_tpl);?>

                            </div>
                        </li>
                        <li class="selection clearfix">
                        <div id="div_bannerImage">
                            <div class="leftside01  mandatory"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblBannerImage'];?>
</div>
                            <div class="rightside01 label-btm-fix" tabindex="13">  
                            <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->upload_image(array('name'=>"bannerImage",'validate'=>"bannerDisplayType->isequal->Image~*required~*isImage",'error'=>(($tmp = @($_smarty_tpl->tpl_vars['language']->value['errbannerImage']).($_smarty_tpl->tpl_vars['language']->value['errbannerValidImage']))===null||$tmp==='' ? '' : $tmp),'path'=>"uploads/banner/",'file'=>(($tmp = @$_smarty_tpl->tpl_vars['bannerImage']->value)===null||$tmp==='' ? '' : $tmp),'size_caption'=>$_smarty_tpl->tpl_vars['language']->value['lblMaximumFileSize'],'types_caption'=>$_smarty_tpl->tpl_vars['language']->value['lblFileTypes']),$_smarty_tpl);?>

                              </div>
                        </div>
                        <div id="div_bannerSwf">
                            <div class="leftside01 mandatory"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblSwf'];?>
</div>
                            <div class="rightside01">
                            <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->upload(array('name'=>"bannerSwf",'id'=>"bannerSwf",'tabindex'=>"6"),$_smarty_tpl);?>
<span style="font-weight:bold; color:#C00;"><?php echo (($tmp = @$_smarty_tpl->tpl_vars['bannerSwf']->value)===null||$tmp==='' ? '' : $tmp);?>
</span> 
                            <?php ob_start();?><?php echo (($tmp = @$_smarty_tpl->tpl_vars['bannerSwf']->value)===null||$tmp==='' ? '' : $tmp);?>
<?php $_tmp2=ob_get_clean();?><?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"previousSwf",'value'=>$_tmp2),$_smarty_tpl);?>

                            <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->validate(array('name'=>"validBannerSwf",'validate'=>"bannerDisplayType->isequal->Swf~*previousSwf->required~*previousSwf->isFileType->swf",'error'=>$_smarty_tpl->tpl_vars['language']->value['errSwfFile']),$_smarty_tpl);?>

                            </div>																
                    </div>													
                    </li>
																							
                    </ul>
                </div>
            </div>																	
            <!--end: right pane -->
            <div class="clearfix"></div>
             <div class="form_listing">
        	 <div class="forlisting_fullwidth">
                <ul>														
                    <li class="selection clearfix" id="content">
                        <div class="leftside01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblContent'];?>
  </div>
                        <div class="rightside01 editor" tabindex="12">
						<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->editor(array('mode'=>"simple",'skin'=>2,'name'=>"bannerContent",'class'=>"text-area-01",'enable_css'=>"Yes",'uploads'=>"editor-images/"),$_smarty_tpl);?>

                        </div>
                    </li>
																					
                    <li class="selection clearfix">
                        <div class="leftside01 mandatory status"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblStatus'];?>
</div>
                        <div class="rightside01">
                            <div id="perioddiv">
                            <?php ob_start();?><?php if ($_smarty_tpl->tpl_vars['bannerStatus']->value){?><?php echo $_smarty_tpl->tpl_vars['bannerStatus']->value;?><?php }else{ ?><?php echo "Active";?><?php }?><?php $_tmp3=ob_get_clean();?><?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->radio(array('name'=>"bannerStatus",'class'=>"customradio",'options'=>"Active->".($_smarty_tpl->tpl_vars['language']->value['lblActive'])."~*Inactive->".($_smarty_tpl->tpl_vars['language']->value['lblInactive']),'value'=>$_tmp3,'tabindex'=>"7"),$_smarty_tpl);?>
   
                            </div>
                        </div>
                    </li>
                </ul>
            </div>													
            </div>																	
        </div><!--section wrap :: Ends-->
        <div class="submit-block clearfix textto_center"> 
        <span>&nbsp; </span>
        <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->submit(array('name'=>"submitBanner",'tabindex'=>"8",'id'=>"submitBanner",'class'=>"curve-3",'value'=>($_smarty_tpl->tpl_vars['language']->value['lblSave'])),$_smarty_tpl);?>
 <?php echo $_smarty_tpl->tpl_vars['language']->value['lblOr'];?>

         <?php if (!$_smarty_tpl->tpl_vars['history']->value){?><?php $_smarty_tpl->tpl_vars["history"] = new Smarty_variable("/banner/", null, 0);?><?php }else{ ?> <?php if ($_smarty_tpl->tpl_vars['bannerID']->value<1){?><?php $_smarty_tpl->tpl_vars["history"] = new Smarty_variable("/banner/", null, 0);?><?php }?><?php }?>
         <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>$_smarty_tpl->tpl_vars['history']->value,'name'=>"cancelCharity",'tabindex'=>"9",'caption'=>($_smarty_tpl->tpl_vars['language']->value['lblCancel'])),$_smarty_tpl);?>

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

  <!--End:Content Container-->
  <?php echo $_smarty_tpl->getSubTemplate ('CommonBottom.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

</div>
<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->editor_script(array('names'=>"bannerContent"),$_smarty_tpl);?>


<?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);?>

<!--End:Outer Container-->
<?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['common_js']->value;?>
/jquery.ui.plugin.js"></script> 
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/jquery-ui-timepicker-addon.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['common_js']->value;?>
/uploadImage.plugin.js"></script>
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/banner.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" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/jquery.colorbox.js"></script> 
<script src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/chosen.pluggin.js"></script>
<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->validate_script(array('form'=>"formBanner"),$_smarty_tpl);?>

<script type="text/javascript">
var lblSelect	=	"<?php echo $_smarty_tpl->tpl_vars['language']->value['lblSelectProductType'];?>
";

 $(function(){
	 $("#perioddiv input").customInput('');
});
$(document).ready(function(){
	$("#generateCatalogLink").colorbox({iframe:true, width:"80%", height:"80%"});
});	


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