Files
ventas_php/templates_c/10e0737838b4a574ef135d0c601e7b602cfaf37a.file.header.tpl.php

86 lines
5.7 KiB
PHP
Executable File

<?php /* Smarty version Smarty3-b7, created on 2014-09-03 15:14:58
compiled from ".\templates\header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:20718540776c2e5ec01-70174475%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'10e0737838b4a574ef135d0c601e7b602cfaf37a' =>
array (
0 => '.\\templates\\header.tpl',
1 => 1408525934,
),
),
'nocache_hash' => '20718540776c2e5ec01-70174475',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div id="fview" style="display:none;">
<div id="fviewload" style="display:block"><img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/load.gif" border="0" /></div>
<div id="fviewcontent" style="display:none"></div>
</div>
<div id="fviewVta" style="display:none;">
<div id="fviewload" style="display:block"><img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/load.gif" border="0" /></div>
<div id="fviewcontent" style="display:none"></div>
</div>
<div class="grid_8" id="logo" style="height:69px; padding:0px 0px 0px 10px; width:500px">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/logo.png" width="286" height="63" align="left" />
<div style="float:left; padding-top:0px; padding-left:5px">Sistema de Adm&oacute;n.</div>
</div>
<!-- USER TOOLS START -->
<div class="grid_8" style="width:320px; float:right">
<div id="user_tools">
<span>
Bienvenido <a href="#"><?php echo $_smarty_tpl->getVariable('Usr')->value['nombre'];?>
</a>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="gerente"||$_smarty_tpl->getVariable('Usr')->value['type']=="cajero"){?>
| <a href="#"><?php echo $_smarty_tpl->getVariable('Usr')->value['sucursal'];?>
</a>
<?php }?>
| <a id="logoutDiv" style="cursor:pointer">Salir</a>
</span>
</div>
</div>
<!-- USER TOOLS END -->
<div class="grid_16" id="header">
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/menus/main.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>
<div class="grid_16">
<!-- TABS START -->
<?php if ($_smarty_tpl->getVariable('page')->value=="datos-generales"||$_smarty_tpl->getVariable('page')->value=="atributos"||$_smarty_tpl->getVariable('page')->value=="usuarios"||$_smarty_tpl->getVariable('page')->value=="usuarios-agregar"||$_smarty_tpl->getVariable('page')->value=="usuarios-editar"||$_smarty_tpl->getVariable('page')->value=="usuarios-detalles"||$_smarty_tpl->getVariable('page')->value=="metodos-pago"||$_smarty_tpl->getVariable('page')->value=="clientes"||$_smarty_tpl->getVariable('page')->value=="proveedores"||$_smarty_tpl->getVariable('page')->value=="temporadas"||$_smarty_tpl->getVariable('page')->value=="tallas"||$_smarty_tpl->getVariable('page')->value=="colores"||$_smarty_tpl->getVariable('page')->value=="materiales"||$_smarty_tpl->getVariable('page')->value=="motivos"||$_smarty_tpl->getVariable('page')->value=="productos"||$_smarty_tpl->getVariable('page')->value=="productos-agregar"||$_smarty_tpl->getVariable('page')->value=="productos-editar"||$_smarty_tpl->getVariable('page')->value=="productos-detalles"||$_smarty_tpl->getVariable('page')->value=="productos-categorias"||$_smarty_tpl->getVariable('page')->value=="productos-subcategorias"||$_smarty_tpl->getVariable('page')->value=="productos-duplicados"||$_smarty_tpl->getVariable('page')->value=="conjunto-tallas"||$_smarty_tpl->getVariable('page')->value=="promociones"||$_smarty_tpl->getVariable('page')->value=="monederos"||$_smarty_tpl->getVariable('page')->value=="cuentas-bancarias"||$_smarty_tpl->getVariable('page')->value=="bonificacion-devolucion"||$_smarty_tpl->getVariable('page')->value=="comisiones"){?>
<div id="tabs" <?php if ($_smarty_tpl->getVariable('Usr')->value['type']!="compras"&&$_smarty_tpl->getVariable('Usr')->value['type']!="gerente"){?>style="height:63px"<?php }?>>
<div class="container">
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/menus/submenu.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);?>
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']!="compras"&&$_smarty_tpl->getVariable('Usr')->value['type']!="gerente"){?>
<div style="height:30px"></div>
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/menus/submenu2.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);?>
<?php }?>
</div>
</div>
<?php }else{ ?>
<div id="tabs">
<div class="container">
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/menus/submenu.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>
</div>
<?php }?>
<!-- TABS END -->
</div>