<?php
/* Smarty version 4.5.2, created on 2024-08-14 12:20:25
  from '/home/life/public_html/teg.lifestyle.uz/admin/templates/module/uploads-file-list.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.5.2',
  'unifunc' => 'content_66bca1099dc135_63847497',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'b5c38edb9e2fac305cc2446052fd518e7622eaee' => 
    array (
      0 => '/home/life/public_html/teg.lifestyle.uz/admin/templates/module/uploads-file-list.tpl',
      1 => 1683015354,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_66bca1099dc135_63847497 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_assignInScope('wrapper', '' ,false ,32);
if ((isset($_smarty_tpl->tpl_vars['list']->value))) {
if ((isset($_smarty_tpl->tpl_vars['list']->value['dirs']))) {
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['list']->value['dirs'], 'dir');
$_smarty_tpl->tpl_vars['dir']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['dir']->value) {
$_smarty_tpl->tpl_vars['dir']->do_else = false;
?><div class="file-manager-list" data-name="<?php echo htmlspecialchars((string)htmlspecialchars((string)$_smarty_tpl->tpl_vars['dir']->value['name'], ENT_QUOTES, 'UTF-8', true), ENT_QUOTES, 'UTF-8', true);?>
"><div class="card border shadow-sm"><a href="javascript:void('')" data-path="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['path']->value, ENT_QUOTES, 'UTF-8', true);
echo htmlspecialchars((string)htmlspecialchars((string)$_smarty_tpl->tpl_vars['dir']->value['name'], ENT_QUOTES, 'UTF-8', true), ENT_QUOTES, 'UTF-8', true);?>
" data-action="read_more" class="card-body bg-light rounded-top read-more p-0"><div class="card-img-actions mx-1"><i class="ph-folder-notch card-img img-fluid text-primary" style="font-size: 83px;"></i></div><div class="card-file-upload-body text-left"><div class="img-apply"><div class="fw-semibold text-primary"><?php echo htmlspecialchars((string)htmlspecialchars((string)$_smarty_tpl->tpl_vars['dir']->value['name'], ENT_QUOTES, 'UTF-8', true), ENT_QUOTES, 'UTF-8', true);?>
</div><div class="fs-sm text-muted mb-2">Size: <?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['dir']->value['size'], ENT_QUOTES, 'UTF-8', true);?>
</div></div></div></a><div class="card-footer d-flex justify-content-center align-items-center p-1"><ul class="list-inline mb-0"><li class="list-inline-item"><button type="button" data-path="<?php echo htmlspecialchars((string)htmlspecialchars((string)$_smarty_tpl->tpl_vars['path']->value, ENT_QUOTES, 'UTF-8', true), ENT_QUOTES, 'UTF-8', true);?>
" data-folder="<?php echo htmlspecialchars((string)htmlspecialchars((string)$_smarty_tpl->tpl_vars['dir']->value['name'], ENT_QUOTES, 'UTF-8', true), ENT_QUOTES, 'UTF-8', true);?>
" data-action="delete_folder" data-confirm="Вы уверены, что хотите удалить «<?php echo htmlspecialchars((string)htmlspecialchars((string)$_smarty_tpl->tpl_vars['dir']->value['name'], ENT_QUOTES, 'UTF-8', true), ENT_QUOTES, 'UTF-8', true);?>
»?" class="list-icons-item remove_folder btn btn-link"><i class="ph-trash"></i></button></li></ul></div></div></div><?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);
}
if ((isset($_smarty_tpl->tpl_vars['list']->value['files']))) {
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['list']->value['files'], 'file');
$_smarty_tpl->tpl_vars['file']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['file']->value) {
$_smarty_tpl->tpl_vars['file']->do_else = false;
?><figure class="file-manager-list" data-id="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['file']->value['fileId'], ENT_QUOTES, 'UTF-8', true);?>
"><div class="card border shadow-sm"><a href="javascript:void('')" class="card-body card_file_item bg-light rounded-top p-1" data-action="read_file" data-id="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['file']->value['fileId'], ENT_QUOTES, 'UTF-8', true);?>
" data-path="<?php echo htmlspecialchars((string)htmlspecialchars((string)$_smarty_tpl->tpl_vars['path']->value, ENT_QUOTES, 'UTF-8', true), ENT_QUOTES, 'UTF-8', true);?>
"><div class="card-img-actions"><div class="card-img card-file-upload class_ext_<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['file']->value['class_ext'], ENT_QUOTES, 'UTF-8', true);?>
" style="<?php if ($_smarty_tpl->tpl_vars['file']->value['class_ext'] != 2) {?> background-size: contain; background-image: url('<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['file']->value['icon'], ENT_QUOTES, 'UTF-8', true);?>
') <?php } else { ?>background-image: url('<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['file']->value['original'], ENT_QUOTES, 'UTF-8', true);?>
')<?php }?>"></div></div><div class="card-file-upload-body text-left"><div class="img-apply"><div class="fw-semibold text-nowrap text-primary" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;"> <?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['file']->value['fileName'], ENT_QUOTES, 'UTF-8', true);?>
</div><div class="fs-sm text-muted mb-2">Size: <?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['file']->value['size'], ENT_QUOTES, 'UTF-8', true);?>
</div></div></div></a><div class="card-footer d-flex justify-content-center align-items-center p-1"><ul class="list-inline mb-0"><li class="list-inline-item"><a href="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['file']->value['original'], ENT_QUOTES, 'UTF-8', true);?>
" download class="list-icons-item btn btn-link"><i class="ph-download-simple top-0"></i></a></li><li class="list-inline-item"><button type="button" data-id="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['file']->value['fileId'], ENT_QUOTES, 'UTF-8', true);?>
" data-path="<?php echo htmlspecialchars((string)htmlspecialchars((string)$_smarty_tpl->tpl_vars['path']->value, ENT_QUOTES, 'UTF-8', true), ENT_QUOTES, 'UTF-8', true);?>
" data-action="remove" data-confirm="Вы уверены, что хотите удалить «<?php echo htmlspecialchars((string)htmlspecialchars((string)$_smarty_tpl->tpl_vars['file']->value['fileName'], ENT_QUOTES, 'UTF-8', true), ENT_QUOTES, 'UTF-8', true);?>
»?" class="list-icons-item remove-files btn btn-link"><i class="ph-trash"></i></button></li></ul></div></div></figure><?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);
}
}
}
}
