0byt3m1n1 - D7net
0byt3m1n1 - D7net
Path:
/
home
/
s13cf5ef
/
www
/
pshoptuscamisetaspersonalizadas
/
cache
/
smarty
/
compile
/
14
/
9f
/
fb
/
[
Home
]
Name File: 149ffbefdd413cfc28b53aa181083f0cab3dedde.file.optimizationTips.tpl.php
< back
<?php /* Smarty version Smarty-3.1.13, created on 2013-07-23 13:17:56 compiled from "/home/s13cf5ef/public_html/pshoptuscamisetaspersonalizadas/admin/themes/default/template/controllers/home/optimizationTips.tpl" */ ?> <?php /*%%SmartyHeaderCode:136791901151ee66645012c7-91779598%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_valid = $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( '149ffbefdd413cfc28b53aa181083f0cab3dedde' => array ( 0 => '/home/s13cf5ef/public_html/pshoptuscamisetaspersonalizadas/admin/themes/default/template/controllers/home/optimizationTips.tpl', 1 => 1369704473, 2 => 'file', ), ), 'nocache_hash' => '136791901151ee66645012c7-91779598', 'function' => array ( ), 'variables' => array ( 'hide_tips' => 0, 'opti_list' => 0, 'i' => 0, 'token' => 0, ), 'has_nocache_code' => false, 'version' => 'Smarty-3.1.13', 'unifunc' => 'content_51ee66645555d0_16547299', ),false); /*/%%SmartyHeaderCode%%*/?> <?php if ($_valid && !is_callable('content_51ee66645555d0_16547299')) {function content_51ee66645555d0_16547299($_smarty_tpl) {?> <div class="admin-box1"> <h5><?php echo smartyTranslate(array('s'=>'Configuration checklist'),$_smarty_tpl);?> <span style="float:right"> <a id="optimizationTipsFold" href="#"> <img alt="v" src="../img/admin/<?php if ($_smarty_tpl->tpl_vars['hide_tips']->value){?>arrow-down.png<?php }else{ ?>arrow-up.png<?php }?>" /> </a> </span> </h5> <ul id="list-optimization-tips" class="admin-home-box-list" <?php if ($_smarty_tpl->tpl_vars['hide_tips']->value){?>style="display:none"<?php }?> > <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['i']->_loop = false; $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable; $_from = $_smarty_tpl->tpl_vars['opti_list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['i']->key => $_smarty_tpl->tpl_vars['i']->value){ $_smarty_tpl->tpl_vars['i']->_loop = true; $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['i']->key; ?> <li> <img src="../img/admin/<?php echo $_smarty_tpl->tpl_vars['i']->value['image'];?> " class="pico" /> <a style="color:<?php echo $_smarty_tpl->tpl_vars['i']->value['color'];?> " href="<?php echo $_smarty_tpl->tpl_vars['i']->value['href'];?> "><?php echo $_smarty_tpl->tpl_vars['i']->value['title'];?> </a> </li> <?php } ?> </ul> </div> <script type="text/javascript"> $(document).ready(function(){ <?php if (!$_smarty_tpl->tpl_vars['hide_tips']->value){?> $("#optimizationTipsFold").click(function(e){ e.preventDefault(); $.ajax({ url: "ajax-tab.php", type: "POST", data:{ token: "<?php echo $_smarty_tpl->tpl_vars['token']->value;?> ", ajax: "1", controller : "AdminHome", action: "hideOptimizationTips" }, dataType: "json", success: function(json){ if(json.result == "ok") showSuccessMessage(json.msg); else showErrorMessage(json.msg); } , error: function(XMLHttpRequest, textStatus, errorThrown) { } }); }); <?php }?> $("#optimizationTipsFold").click(function(e){ e.preventDefault(); $("#list-optimization-tips").toggle(function(){ if($("#optimizationTipsFold").children("img").attr("src") == "../img/admin/arrow-up.png") $("#optimizationTipsFold").children("img").attr("src","../img/admin/arrow-down.png"); else $("#optimizationTipsFold").children("img").attr("src","../img/admin/arrow-up.png"); }); }) }); </script> <?php }} ?>
©
2018. | Recode by D7net