Viewing file: ef7cc41169e34c45dc64de5a3d52e49fb970292e.file.index.tpl.php (5.28 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /* Smarty version Smarty3-RC3, created on 2012-02-09 01:48:12 compiled from "admin/templates/index.tpl" */ ?> <?php /*%%SmartyHeaderCode:17024236094f3309bcbd31b2-91727581%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( 'ef7cc41169e34c45dc64de5a3d52e49fb970292e' => array ( 0 => 'admin/templates/index.tpl', 1 => 1328738770, ), ), 'nocache_hash' => '17024236094f3309bcbd31b2-91727581', 'function' => array ( ), 'has_nocache_code' => false, )); /*/%%SmartyHeaderCode%%*/?> <!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" /> <link rel="stylesheet" type="text/css" href="/admin/admin.css" /> <link rel="stylesheet" type="text/css" href="/admin/admin2.css" /> <link rel="stylesheet" type="text/css" href="/admin/ui-lightness/jquery-ui-1.8.4.custom.css" /> <link rel="stylesheet" type="text/css" href="/admin/ui.checkbox.css" /> <link rel="stylesheet" type="text/css" href="/modules-alien/uploadify/uploadify.css" /> <link rel="stylesheet" type="text/css" href="/admin/jqgrid/ui.jqgrid.css" /> <script type="text/javascript" src="/js/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="/js/jquery-ui-1.8.4.custom.min.js"></script> <script type="text/javascript" src="/js/ui.checkbox.js"></script> <script type="text/javascript" src="/js/jquery.form.js"></script> <script type="text/javascript" src="/js/jquery.tablednd.js"></script> <script type="text/javascript" src="/js/globalite.js"></script> <script type="text/javascript" src="/modules-alien/ckeditor/ckeditor.js"></script> <script type="text/javascript" src="/js/admin.js"></script> <script type="text/javascript" src="/modules-alien/uploadify/swfobject.js"></script> <script type="text/javascript" src="/modules-alien/uploadify/jquery.uploadify.v2.1.0.min.js"></script> <script type="text/javascript" src="/js/i18n/grid.locale-ru.js"></script> <script type="text/javascript" src="/js/jquery.jqGrid.min.js"></script> <script type="text/javascript"> Globalite.setLang('<?php echo GetParam("DefaultLanguage");?> '); $(document).ready(function() { $(".ukr, .rus, .eng").css('display', 'none'); $(".<?php echo GetParam("DefaultLanguage");?> ").css('display', 'block'); }); </script> <title><?php echo $_smarty_tpl->getVariable('PageTitle')->value;?> </title> </head> <body> <div id="container"> <div id="header"><?php echo $_smarty_tpl->getVariable('HeaderTitle')->value;?> </div> <div id="menu"> <table align="center" cellspacing="0"> <tr> <?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_from = $_smarty_tpl->getVariable('menu')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} $_smarty_tpl->tpl_vars['item']->total=($_from instanceof Traversable)?iterator_count($_from):count($_from); $_smarty_tpl->tpl_vars['smarty']->value['foreach']['loop']['total'] = $_smarty_tpl->tpl_vars['item']->total; $_smarty_tpl->tpl_vars['smarty']->value['foreach']['loop']['iteration']=0; if (count($_from) > 0){ foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){ $_smarty_tpl->tpl_vars['smarty']->value['foreach']['loop']['iteration']++; ?> <td <?php echo $_smarty_tpl->tpl_vars['item']->value['class'];?> > <a href="<?php echo $_smarty_tpl->tpl_vars['item']->value['link'];?> "> <img src="<?php echo $_smarty_tpl->tpl_vars['item']->value['icon'];?> " /><br /> <?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
</a> </td> <?php ob_start();?><?php echo floor($_smarty_tpl->getVariable('smarty')->value['foreach']['loop']['total']/2+1);?> <?php $_tmp1=ob_get_clean();?><?php if (!(($_smarty_tpl->getVariable('smarty')->value['foreach']['loop']['iteration']) % $_tmp1)){?> </tr><tr> <?php }?> <?php }} ?> <td> <a href="?mod=Admins&logout"> <img src="/admin/images/exit.gif" /><br /> <?php echo $_smarty_tpl->getVariable('ALANG')->value['CoreExit'];?>
</a> </td> </tr> </table> </div> <div id="submenu"> <?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_from = $_smarty_tpl->getVariable('submenu')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} if (count($_from) > 0){ foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){ ?> <a href="<?php echo $_smarty_tpl->tpl_vars['item']->value['link'];?> "><?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?> </a> <?php }} ?> </div> <div id="pagetitle"><?php echo $_smarty_tpl->getVariable('Title')->value;?> </div> <div id="content"> <div class="editor-page"><?php echo $_smarty_tpl->getVariable('Content')->value;?> </div> </div> <?php $_template = new Smarty_Internal_Template("footer.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?> </div> </body> </html>
|