View file Spiderwap.in File Hosting/sys/smarty/templates_c/a4cb1432e14d6c189892ffadbec6e2fd52d61eea.file.index.tpl.php

File size: 2.85Kb
<?php /* Smarty version Smarty3-RC3, created on 2010-10-10 20:38:49
         compiled from "X:/home/biling.ru/www/sys/smarty/templates/index.tpl" */ ?>
<?php /*%%SmartyHeaderCode:109994cb1fa29272930-32363763%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'a4cb1432e14d6c189892ffadbec6e2fd52d61eea' => 
    array (
      0 => 'X:/home/biling.ru/www/sys/smarty/templates/index.tpl',
      1 => 1286732326,
    ),
  ),
  'nocache_hash' => '109994cb1fa29272930-32363763',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_escape')) include 'X:\home\biling.ru\www\sys\smarty\plugins\modifier.escape.php';
if (!is_callable('smarty_modifier_truncate')) include 'X:\home\biling.ru\www\sys\smarty\plugins\modifier.truncate.php';
if (!is_callable('smarty_modifier_date_format')) include 'X:\home\biling.ru\www\sys\smarty\plugins\modifier.date_format.php';
?><div class="title"> Бесплатные файлы </div>
<div class="main">
<?php ob_start();?><?php echo $_smarty_tpl->getVariable('user')->value['id'];?>
<?php $_tmp1=ob_get_clean();?><?php if (empty($_tmp1)){?>

<img src="/images/blog.gif" alt="reg" /> <a href="/reg.php">Регистрация</a><br/>
<img src="/images/forum.gif" alt="in" /> <a href="/enter.php">Вход </a><br/>
<?php }else{ ?>
<img src="/images/album.gif" alt="kab" /> <a href="/panel/index.php">Личный кабинет</a><br/>
<img src="/images/chat.gif" alt="exit" /> <a href="/exit.php">Выход</a><br/>

<?php }?>
</div>


<div class="main">
<img src="/images/stata.gif" alt="files" /> <a href="/category.php">Список файлов</a>
<?php ob_start();?><?php echo $_smarty_tpl->getVariable('new')->value;?>
<?php $_tmp2=ob_get_clean();?><?php if (!empty($_tmp2)){?>
(<span style="color:red">+<?php echo $_smarty_tpl->getVariable('new')->value;?>
</span>)
<?php }?>
<br/>
<img src="/images/load.gif" alt="upload" /> <a href="/upload.php">Загрузить файл</a><br/>
<img src="/images/guest.gif" alt="users" /> <a href="/users.php">Список пользователей</a>
</div>

<?php ob_start();?><?php echo $_smarty_tpl->getVariable('last')->value;?>
<?php $_tmp3=ob_get_clean();?><?php if (isset($_tmp3)){?>
<div class="title">Последний файл: <a href="file-<?php echo $_smarty_tpl->getVariable('last')->value['id'];?>
"><?php echo smarty_modifier_escape($_smarty_tpl->getVariable('last')->value['name'],'html');?>
</a></div>
<div class="main">
Описание: <?php echo smarty_modifier_truncate(smarty_modifier_escape($_smarty_tpl->getVariable('last')->value['opis'],'html'),'50');?>
<br/>
Добавлен: <?php echo smarty_modifier_date_format($_smarty_tpl->getVariable('last')->value['time'],'%d.%m.%y %H:%M');?>

</div>
<?php }?>