EIOS/inc/smarty/templates_c/363f76c1ddaeb7a496e111d17b2...

113 lines
4.5 KiB
PHP
Raw Normal View History

2023-12-28 15:39:22 +03:00
<?php /* Smarty version Smarty-3.1.13, created on 2022-04-12 09:15:24
compiled from "tpl/tpl_setting_files.html" */ ?>
<?php /*%%SmartyHeaderCode:1055906176625518fce33e64-19295986%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'363f76c1ddaeb7a496e111d17b24acfb74c4c6b6' =>
array (
0 => 'tpl/tpl_setting_files.html',
1 => 1646307450,
2 => 'file',
),
),
'nocache_hash' => '1055906176625518fce33e64-19295986',
'function' =>
array (
),
'variables' =>
array (
'files' => 0,
'file' => 0,
'file2' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.13',
'unifunc' => 'content_625518fce64d88_96674877',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_625518fce64d88_96674877')) {function content_625518fce64d88_96674877($_smarty_tpl) {?><!-- BEGIN PAGE HEADER-->
<div class="row-fluid">
<div class="span12">
<h3 class="page-title">Загруженные файлы в системе</h3>
<ul class="breadcrumb">
<li><a href="/">Главная</a><span class="divider">/</span></li>
</ul>
</div>
</div>
<div class="row-fluid">
<div class="span12">
<?php $_smarty_tpl->tpl_vars['file'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['file']->_loop = false;
$_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['files']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['file']->key => $_smarty_tpl->tpl_vars['file']->value){
$_smarty_tpl->tpl_vars['file']->_loop = true;
$_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['file']->key;
?>
<?php if (($_smarty_tpl->tpl_vars['file']->value['is']=="dir")){?>
<div class="row-fluid">
<div class="span12">
<div class="row-fluid">
<div class="widget blue">
<div class="widget-title">
<h4><i class="icon-reorder"></i> <?php echo $_smarty_tpl->tpl_vars['file']->value['name'];?>
<span class="badge badge-<?php echo $_smarty_tpl->tpl_vars['file']->value['dircolor'];?>
"><?php echo $_smarty_tpl->tpl_vars['file']->value['dirsize'];?>
</span></h4>
<span class="tools"><a href="javascript:;" class="icon-chevron-up"></a></span>
</div>
<div class="widget-body" style="display: none;">
<?php $_smarty_tpl->tpl_vars['file2'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['file2']->_loop = false;
$_smarty_tpl->tpl_vars['k2'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['file']->value['dir']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['file2']->key => $_smarty_tpl->tpl_vars['file2']->value){
$_smarty_tpl->tpl_vars['file2']->_loop = true;
$_smarty_tpl->tpl_vars['k2']->value = $_smarty_tpl->tpl_vars['file2']->key;
?>
<?php if (($_smarty_tpl->tpl_vars['file2']->value['is']=="dir")){?>
<div class="row-fluid">
<div class="span12">
<div class="row-fluid">
<div class="widget purple">
<div class="widget-title">
<h4><i class="icon-reorder"></i> <?php echo $_smarty_tpl->tpl_vars['file2']->value['name'];?>
<span class="badge badge-<?php echo $_smarty_tpl->tpl_vars['file2']->value['dircolor'];?>
"><?php echo $_smarty_tpl->tpl_vars['file2']->value['dirsize'];?>
</span></h4>
<span class="tools"><a href="javascript:;" class="icon-chevron-up"></a></span>
</div>
<div class="widget-body" style="display: none;">
</div>
</div>
</div>
</div>
</div>
<?php }else{ ?>
<p><?php echo $_smarty_tpl->tpl_vars['file2']->value['name'];?>
<span class="badge badge-<?php echo $_smarty_tpl->tpl_vars['file2']->value['filecolor'];?>
"><?php echo $_smarty_tpl->tpl_vars['file2']->value['filesize'];?>
</span> <span class="badge badge-info"><?php echo $_smarty_tpl->tpl_vars['file2']->value['filemtime'];?>
</span></p>
<?php }?>
<?php } ?>
</div>
</div>
</div>
</div>
</div>
<?php }else{ ?>
<p><?php echo $_smarty_tpl->tpl_vars['file']->value['name'];?>
<span class="badge badge-<?php echo $_smarty_tpl->tpl_vars['file']->value['filecolor'];?>
"><?php echo $_smarty_tpl->tpl_vars['file']->value['filesize'];?>
</span> <span class="badge badge-info"><?php echo $_smarty_tpl->tpl_vars['file']->value['filemtime'];?>
</span></p>
<?php }?>
<?php } ?>
</div>
</div>
<?php }} ?>