<?php /* Smarty version Smarty-3.1.8, created on 2019-12-24 09:27:54
         compiled from "/home/stg70/public_html/agmc-v2/application/core/views/manage/standard/Settings.tpl" */ ?>
<?php /*%%SmartyHeaderCode:637654395da83c4293f2b5-43858845%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '19e474bdc84a3928e7df1063bd3aee50234ef718' => 
    array (
      0 => '/home/stg70/public_html/agmc-v2/application/core/views/manage/standard/Settings.tpl',
      1 => 1576501830,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '637654395da83c4293f2b5-43858845',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_5da83c42a3b2a9_85566416',
  'variables' => 
  array (
    'language' => 0,
    'settingsGroupLabel' => 0,
    'view_styles' => 0,
    'rsSettingsGroup' => 0,
    'groupID' => 0,
    'settingsgroup' => 0,
    'class' => 0,
    'listBrand' => 0,
    'rsSettings' => 0,
    'settings' => 0,
    'disable' => 0,
    'fieldTypeClass' => 0,
    'checked' => 0,
    'view_images' => 0,
    'admintheme' => 0,
    'active' => 0,
    'validateImage' => 0,
    'validateImageError' => 0,
    'thirdParty' => 0,
    'subscriberBatch' => 0,
    'common_js' => 0,
    'rsSettingsJson' => 0,
    'view_javascript' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5da83c42a3b2a9_85566416')) {function content_5da83c42a3b2a9_85566416($_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['lblSettings'];?>
 : <?php echo $_smarty_tpl->tpl_vars['settingsGroupLabel']->value;?>
</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 rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['view_styles']->value;?>
/right-menu.css" />

<?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-->
  <!--***********************************************************************START CONTAINER SECTION******************************************************-->
  <div class="content_container2 clearfix">
      
     <div class="right-sidebar fixing_right site_settings ">
    <div class="side_wrapper">
      <ul>
        <?php  $_smarty_tpl->tpl_vars["settingsgroup"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["settingsgroup"]->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['rsSettingsGroup']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["settingsgroup"]->key => $_smarty_tpl->tpl_vars["settingsgroup"]->value){
$_smarty_tpl->tpl_vars["settingsgroup"]->_loop = true;
?>
        <?php if ($_smarty_tpl->tpl_vars['groupID']->value==$_smarty_tpl->tpl_vars['settingsgroup']->value['settingsGroupID']){?><?php $_smarty_tpl->tpl_vars["class"] = new Smarty_variable("selected", null, 0);?><?php }else{ ?><?php $_smarty_tpl->tpl_vars["class"] = new Smarty_variable('', null, 0);?><?php }?>
        <li > <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('priv_href'=>"settings/index/id/".($_smarty_tpl->tpl_vars['settingsgroup']->value['settingsGroupID'])."/",'href'=>"settings/index/id/".($_smarty_tpl->tpl_vars['settingsgroup']->value['settingsGroupID'])."/",'class'=>"side_menu_a ".($_smarty_tpl->tpl_vars['class']->value),'content'=>($_smarty_tpl->tpl_vars['settingsgroup']->value['settingsGroupLabel'])."<br /><span>".($_smarty_tpl->tpl_vars['settingsgroup']->value['settingsGroupDescription'])."</span>"),$_smarty_tpl);?>
</li>
        <?php } ?>
      </ul>
      </div>
    </div>
    <!--End: Right Block-->
   <div class="left_wrapper ">
       <div align="right" style="padding-right:10px;"> 
           <p class="label-field01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblMenuBrands'];?>
</p>
            <span class="form-field01">
                    <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('style'=>"width:15%;",'class'=>"select-box franchisee_sel",'name'=>"brandID",'options'=>$_smarty_tpl->tpl_vars['listBrand']->value),$_smarty_tpl);?>
			                 
                    </span>
    </div>
      <div class="content_wrapper">
       <h2><?php echo $_smarty_tpl->tpl_vars['settingsGroupLabel']->value;?>
</h2>
          <div class="form_listing form_listing03">
            <div id="common_message" ></div>
            <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->start(array('name'=>"formSettings",'action'=>'','method'=>"post",'enctype'=>"multipart/form-data"),$_smarty_tpl);?>

            <ul>
              <?php  $_smarty_tpl->tpl_vars["settings"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["settings"]->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['rsSettings']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["settings"]->key => $_smarty_tpl->tpl_vars["settings"]->value){
$_smarty_tpl->tpl_vars["settings"]->_loop = true;
?>
				  <?php if ($_smarty_tpl->tpl_vars['settings']->value['settingsFieldType']=='child'){?>
					<?php $_smarty_tpl->tpl_vars["disable"] = new Smarty_variable("disabled", null, 0);?>
				  <?php }else{ ?>
					<?php $_smarty_tpl->tpl_vars["disable"] = new Smarty_variable('', null, 0);?>
				  <?php }?>
				  <?php if ($_smarty_tpl->tpl_vars['settings']->value['settingsFieldType']=='parent'){?>
					<?php $_smarty_tpl->tpl_vars["fieldTypeClass"] = new Smarty_variable("parent", null, 0);?>
				  <?php }else{ ?>
					<?php $_smarty_tpl->tpl_vars["fieldTypeClass"] = new Smarty_variable('', null, 0);?>
				  <?php }?>
			  
              <li class="<?php if ($_smarty_tpl->tpl_vars['settings']->value['settingsType']=='hidden'){?>hide<?php }?>">
			  <?php if ($_smarty_tpl->tpl_vars['settings']->value['settingsType']!="group"){?>
               <div class="leftside01 <?php if (strpos($_smarty_tpl->tpl_vars['settings']->value['settingsValidate'],"required")!==false){?>mandatory<?php }?>"><?php echo $_smarty_tpl->tpl_vars['settings']->value['settingsLabel'];?>

				
				 
				</div>
				<?php }else{ ?>
				<h3><span><?php echo $_smarty_tpl->tpl_vars['settings']->value['settingsLabel'];?>
</span></h3>
				<?php }?>
                <!--End:Left-->
                <div class="rightside01"> 
					<?php if ($_smarty_tpl->tpl_vars['settings']->value['settingsType']=="textbox"){?> 
                                            <?php if ((($tmp = @$_smarty_tpl->tpl_vars['disable']->value)===null||$tmp==='' ? '' : $tmp)!=''){?>
						<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('class'=>"textbox",'name'=>$_smarty_tpl->tpl_vars['settings']->value['settingsKey'],'value'=>$_smarty_tpl->tpl_vars['settings']->value['settingsValue'],'disabled'=>$_smarty_tpl->tpl_vars['disable']->value),$_smarty_tpl);?>

                                           <?php }else{ ?>
                                               
                                               <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('class'=>"textbox",'name'=>$_smarty_tpl->tpl_vars['settings']->value['settingsKey'],'value'=>$_smarty_tpl->tpl_vars['settings']->value['settingsValue'],'disabled'=>$_smarty_tpl->tpl_vars['disable']->value,'validate'=>$_smarty_tpl->tpl_vars['settings']->value['settingsValidate'],'error'=>$_smarty_tpl->tpl_vars['settings']->value['settingsValidateError']),$_smarty_tpl);?>

                                           <?php }?>
					<?php }elseif($_smarty_tpl->tpl_vars['settings']->value['settingsType']=="password"){?> 
						<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->password(array('class'=>"textbox",'name'=>$_smarty_tpl->tpl_vars['settings']->value['settingsKey'],'value'=>$_smarty_tpl->tpl_vars['settings']->value['settingsValue'],'disabled'=>$_smarty_tpl->tpl_vars['disable']->value,'validate'=>$_smarty_tpl->tpl_vars['settings']->value['settingsValidate'],'error'=>$_smarty_tpl->tpl_vars['settings']->value['settingsValidateError']),$_smarty_tpl);?>

					<?php }elseif($_smarty_tpl->tpl_vars['settings']->value['settingsType']=="textarea"){?>
						<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textarea(array('name'=>$_smarty_tpl->tpl_vars['settings']->value['settingsKey'],'disabled'=>$_smarty_tpl->tpl_vars['disable']->value,'value'=>$_smarty_tpl->tpl_vars['settings']->value['settingsValue'],'validate'=>$_smarty_tpl->tpl_vars['settings']->value['settingsValidate'],'error'=>$_smarty_tpl->tpl_vars['settings']->value['settingsValidateError']),$_smarty_tpl);?>

					<?php }elseif($_smarty_tpl->tpl_vars['settings']->value['settingsType']=="select"){?>
						<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('name'=>$_smarty_tpl->tpl_vars['settings']->value['settingsKey'],'disabled'=>$_smarty_tpl->tpl_vars['disable']->value,'class'=>$_smarty_tpl->tpl_vars['fieldTypeClass']->value,'options'=>$_smarty_tpl->tpl_vars['settings']->value['settingsOptions'],'value'=>$_smarty_tpl->tpl_vars['settings']->value['settingsValue'],'validate'=>$_smarty_tpl->tpl_vars['settings']->value['settingsValidate'],'error'=>$_smarty_tpl->tpl_vars['settings']->value['settingsValidateError']),$_smarty_tpl);?>

					<?php }elseif($_smarty_tpl->tpl_vars['settings']->value['settingsType']=="checkbox"){?>
						<?php if ($_smarty_tpl->tpl_vars['settings']->value['settingsOptions']==$_smarty_tpl->tpl_vars['settings']->value['settingsValue']){?>
							<?php $_smarty_tpl->tpl_vars["checked"] = new Smarty_variable("checked", null, 0);?>
						<?php }else{ ?>
							<?php $_smarty_tpl->tpl_vars["checked"] = new Smarty_variable('', null, 0);?>
						<?php }?>
						<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->checkbox(array('name'=>$_smarty_tpl->tpl_vars['settings']->value['settingsKey'],'class'=>$_smarty_tpl->tpl_vars['fieldTypeClass']->value,'checked'=>$_smarty_tpl->tpl_vars['checked']->value,'disabled'=>$_smarty_tpl->tpl_vars['disable']->value,'value'=>$_smarty_tpl->tpl_vars['settings']->value['settingsOptions'],'validate'=>$_smarty_tpl->tpl_vars['settings']->value['settingsValidate'],'error'=>$_smarty_tpl->tpl_vars['settings']->value['settingsValidateError']),$_smarty_tpl);?>

							<?php if ($_smarty_tpl->tpl_vars['fieldTypeClass']->value){?>&nbsp;&nbsp;<span id="<?php echo $_smarty_tpl->tpl_vars['settings']->value['settingsKey'];?>
_load"><img src="<?php echo $_smarty_tpl->tpl_vars['view_images']->value;?>
/loader.gif" /></span><?php }?>
					<?php }elseif($_smarty_tpl->tpl_vars['settings']->value['settingsType']=="radio"){?>
						<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->radio(array('name'=>$_smarty_tpl->tpl_vars['settings']->value['settingsKey'],'class'=>$_smarty_tpl->tpl_vars['fieldTypeClass']->value,'disabled'=>$_smarty_tpl->tpl_vars['disable']->value,'options'=>$_smarty_tpl->tpl_vars['settings']->value['settingsOptions'],'value'=>$_smarty_tpl->tpl_vars['settings']->value['settingsValue'],'validate'=>$_smarty_tpl->tpl_vars['settings']->value['settingsValidate'],'error'=>$_smarty_tpl->tpl_vars['settings']->value['settingsValidateError']),$_smarty_tpl);?>

							<?php if ($_smarty_tpl->tpl_vars['fieldTypeClass']->value){?>&nbsp;&nbsp;<span id="<?php echo $_smarty_tpl->tpl_vars['settings']->value['settingsKey'];?>
_load"><img src="<?php echo $_smarty_tpl->tpl_vars['view_images']->value;?>
/loader.gif" /></span><?php }?>
					<?php }elseif($_smarty_tpl->tpl_vars['settings']->value['settingsType']=="colortheme"){?>
					  <div class="layout clearfix">
						<ul>
						  <?php  $_smarty_tpl->tpl_vars["admintheme"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["admintheme"]->_loop = false;
 $_from = explode("~*",$_smarty_tpl->tpl_vars['settings']->value['settingsOptions']); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["admintheme"]->key => $_smarty_tpl->tpl_vars["admintheme"]->value){
$_smarty_tpl->tpl_vars["admintheme"]->_loop = true;
?>
						  <?php if ($_smarty_tpl->tpl_vars['admintheme']->value==$_smarty_tpl->tpl_vars['settings']->value['settingsValue']){?>
						  <?php $_smarty_tpl->tpl_vars["checked"] = new Smarty_variable("checked", null, 0);?>
						  <?php $_smarty_tpl->tpl_vars["active"] = new Smarty_variable("active", null, 0);?>
						  <?php }else{ ?>
						  <?php $_smarty_tpl->tpl_vars["checked"] = new Smarty_variable('', null, 0);?>
						  <?php $_smarty_tpl->tpl_vars["active"] = new Smarty_variable('', null, 0);?>
						  <?php }?>
						  <li class="textto_center"> <img class="<?php echo $_smarty_tpl->tpl_vars['active']->value;?>
" src="<?php echo $_smarty_tpl->tpl_vars['view_images']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['admintheme']->value;?>
.gif" width="46" height="23" alt="<?php echo $_smarty_tpl->tpl_vars['admintheme']->value;?>
" /><br />
							<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->radio(array('checked'=>$_smarty_tpl->tpl_vars['checked']->value,'value'=>$_smarty_tpl->tpl_vars['admintheme']->value,'name'=>$_smarty_tpl->tpl_vars['settings']->value['settingsKey'],'validate'=>$_smarty_tpl->tpl_vars['settings']->value['settingsValidate'],'error'=>$_smarty_tpl->tpl_vars['settings']->value['settingsValidateError']),$_smarty_tpl);?>
 </li>
						  <?php } ?>
						</ul>
					  </div>
					<?php }elseif($_smarty_tpl->tpl_vars['settings']->value['settingsType']=="image"){?>
					  <div id="image_upload_enable">
						<?php if ($_smarty_tpl->tpl_vars['settings']->value['settingsValidate']){?>
							<?php $_smarty_tpl->tpl_vars["validateImage"] = new Smarty_variable($_smarty_tpl->tpl_vars['settings']->value['settingsValidate'], null, 0);?>
							<?php $_smarty_tpl->tpl_vars["validateImageError"] = new Smarty_variable($_smarty_tpl->tpl_vars['settings']->value['settingsValidateError'], null, 0);?>
						<?php }else{ ?>	
							<?php $_smarty_tpl->tpl_vars["validateImage"] = new Smarty_variable("isImage", null, 0);?>
							<?php $_smarty_tpl->tpl_vars["validateImageError"] = new Smarty_variable($_smarty_tpl->tpl_vars['language']->value['errValidImage'], null, 0);?>
						<?php }?>
						<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->upload_image(array('name'=>$_smarty_tpl->tpl_vars['settings']->value['settingsKey'],'path'=>"uploads/settings/",'file'=>$_smarty_tpl->tpl_vars['settings']->value['settingsValue'],'validate'=>$_smarty_tpl->tpl_vars['validateImage']->value,'error'=>$_smarty_tpl->tpl_vars['validateImageError']->value,'size_caption'=>$_smarty_tpl->tpl_vars['language']->value['lblMaximumFileSize'],'types_caption'=>$_smarty_tpl->tpl_vars['language']->value['lblFileTypes']),$_smarty_tpl);?>
</div>
					  <div id="image_upload_disable" class="image_disable_div">&nbsp;</div>
						<?php }elseif($_smarty_tpl->tpl_vars['settings']->value['settingsType']=="captcha"){?>
							<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('disabled'=>$_smarty_tpl->tpl_vars['disable']->value,'name'=>$_smarty_tpl->tpl_vars['settings']->value['settingsKey'],'options'=>$_smarty_tpl->tpl_vars['settings']->value['settingsOptions'],'value'=>$_smarty_tpl->tpl_vars['settings']->value['settingsValue'],'validate'=>$_smarty_tpl->tpl_vars['settings']->value['settingsValidate'],'error'=>$_smarty_tpl->tpl_vars['settings']->value['settingsValidateError']),$_smarty_tpl);?>

								<span class="fixing_left captcha"><img src="<?php echo $_smarty_tpl->tpl_vars['view_images']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['settings']->value['settingsValue'];?>
.jpg" hspace="0" vspace="0" align="middle" id="captcha_img" />
								<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"captchaImgHidden",'value'=>($_smarty_tpl->tpl_vars['settings']->value['settingsValue'])),$_smarty_tpl);?>
</span>
					<?php }elseif($_smarty_tpl->tpl_vars['settings']->value['settingsType']=="hidden"){?>
						<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('class'=>"textbox",'name'=>$_smarty_tpl->tpl_vars['settings']->value['settingsKey'],'value'=>$_smarty_tpl->tpl_vars['settings']->value['settingsValue']),$_smarty_tpl);?>

				
				<?php }?> </div>
                <!--End:right-->
                <div class="clear"></div>
              </li>
              <?php } ?>
              <!--Start thirdParty--> 
              <?php if ((($tmp = @$_smarty_tpl->tpl_vars['thirdParty']->value)===null||$tmp==='' ? '' : $tmp)=='Yes'){?>
              	<li >
                <div class="leftside01 mandatory"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblSubscriberBatch'];?>
</div>
                <!--End:Left-->
                <div class="rightside01">
                	<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('name'=>"subscriberBatch",'options'=>$_smarty_tpl->tpl_vars['subscriberBatch']->value,'class'=>"select-box"),$_smarty_tpl);?>

                </div>
                <div class="clear"></div>
                </li>
              <?php }?>
              <!--End thirdParty-->
              </ul>
              <div class="submit-block clearfix settings">
              <span></span>
              
                <div class="rightside01"> <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->submit(array('name'=>"submitSettings",'class'=>"curve-3",'value'=>($_smarty_tpl->tpl_vars['language']->value['lblSave'])),$_smarty_tpl);?>
 <?php echo $_smarty_tpl->tpl_vars['language']->value['lblOr'];?>
  <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->button(array('value'=>($_smarty_tpl->tpl_vars['language']->value['lblListAll']),'href'=>(("/settings/index/id/").($_smarty_tpl->tpl_vars['settings']->value['settingsGroupID'])).("/")),$_smarty_tpl);?>
                 
                  </div>
                <!--End:right-->
              </div>
            <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->close(array(),$_smarty_tpl);?>
 </div>
          <!--End:From Listing-->
        <!--End:Border 3-->
      </div>
      <!--End:Border 2-->
    </div>
    <!--End: left Block-->
  </div>
  <!--***********************************************************************END CONTAINER SECTION******************************************************-->
  <!--End:Content Container-->
  <?php echo $_smarty_tpl->getSubTemplate ('CommonBottom.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>


</div>
<!--End:Outer Container-->
<?php echo $_smarty_tpl->getSubTemplate ('CommonJavaScriptBottom.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);?>

<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">

$(document).ready(function(){
	 setSideMenu();
});

var view_images = '<?php echo $_smarty_tpl->tpl_vars['view_images']->value;?>
';
var rsSettingsJson = <?php echo $_smarty_tpl->tpl_vars['rsSettingsJson']->value;?>
;
var settingsKeyArray = {};
var settingsIDArray = {};
$.each(rsSettingsJson, function(index, settings) {
	settingsKeyArray[settings.settingsKey]=settings.settingsDependants;
	settingsIDArray[settings.settingsID]=settings.settingsKey;
});
</script>
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/settings.page.js"></script>
<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->validate_script(array('form'=>"formSettings"),$_smarty_tpl);?>

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

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