View file Spiderwap.in File Hosting/sys/smarty/templates_c/9400a1e2d85f0f840310fd79eb8074376a92ba25.file.file.tpl.php

File size: 8.6Kb
<?php /* Smarty version Smarty3-RC3, created on 2011-09-19 04:28:08
         compiled from "/home/spiderwa/public_html/sys/smarty/templates/file.tpl" */ ?>
<?php /*%%SmartyHeaderCode:8313758174e76fd18b469b2-80872375%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '9400a1e2d85f0f840310fd79eb8074376a92ba25' => 
    array (
      0 => '/home/spiderwa/public_html/sys/smarty/templates/file.tpl',
      1 => 1316420885,
    ),
  ),
  'nocache_hash' => '8313758174e76fd18b469b2-80872375',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_block_php')) include '/home/spiderwa/public_html/sys/smarty/plugins/block.php.php';
if (!is_callable('smarty_modifier_escape')) include '/home/spiderwa/public_html/sys/smarty/plugins/modifier.escape.php';
if (!is_callable('smarty_modifier_date_format')) include '/home/spiderwa/public_html/sys/smarty/plugins/modifier.date_format.php';
?><?php ob_start();?><?php echo $_smarty_tpl->getVariable('user')->value['assec'];?>
<?php $_tmp1=ob_get_clean();?><?php if ($_tmp1<2){?>
<?php ob_start();?><?php echo $_smarty_tpl->getVariable('file')->value['pass'];?>
<?php $_tmp2=ob_get_clean();?><?php ob_start();?><?php echo $_smarty_tpl->getVariable('pass')->value;?>
<?php $_tmp3=ob_get_clean();?><?php if (!empty($_tmp2)&&$_tmp3!='yes'){?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('php', array()); $_block_repeat=true; smarty_block_php(array(), null, $_smarty_tpl->smarty, $_block_repeat, $_smarty_tpl);while ($_block_repeat) { ob_start();?>

$this->assign('error','Invalid password');
$this->assign('back','/file-<?php echo $_smarty_tpl->getVariable('file')->value['id'];?>
');
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_php(array(), $_block_content, $_smarty_tpl->smarty, $_block_repeat, $_smarty_tpl); } array_pop($_smarty_tpl->smarty->_tag_stack);?>

<?php $_template = new Smarty_Internal_Template('error.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 $_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);?>
<?php }?>
<?php }?>

<div class="title">Information <?php echo $_smarty_tpl->getVariable('file')->value['name'];?>
 <a href="/abuse.php?id=<?php echo $_smarty_tpl->getVariable('file')->value['id'];?>
">[Complain]</a></div>
<div class="main">
<?php ob_start();?><?php echo $_smarty_tpl->getVariable('file')->value['user_id'];?>
<?php $_tmp4=ob_get_clean();?><?php if ($_tmp4!='00'){?>
uploaded: <a href="/anketa-<?php echo $_smarty_tpl->getVariable('file')->value['user_id'];?>
"><?php echo $_smarty_tpl->getVariable('usup')->value;?>
</a>
</div><div class="main">
<?php }?>
<?php if (is_file("screens/".($_smarty_tpl->getVariable('file')->value['real']).".".($_smarty_tpl->getVariable('file')->value['add']))){?>
<?php include_once ('/home/spiderwa/public_html/sys/file/img.php');?>

<?php $_smarty_tpl->smarty->_tag_stack[] = array('php', array()); $_block_repeat=true; smarty_block_php(array(), null, $_smarty_tpl->smarty, $_block_repeat, $_smarty_tpl);while ($_block_repeat) { ob_start();?>

echo '<img src="screens/'.resize('<?php echo $_smarty_tpl->getVariable('file')->value['real'];?>
.<?php echo $_smarty_tpl->getVariable('file')->value['add'];?>
',150).'" alt="<?php echo $_smarty_tpl->getVariable('file')->value['real'];?>
" />';
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_php(array(), $_block_content, $_smarty_tpl->smarty, $_block_repeat, $_smarty_tpl); } array_pop($_smarty_tpl->smarty->_tag_stack);?>

<br/>
<?php }?>

<?php ob_start();?><?php echo $_smarty_tpl->getVariable('file')->value['ext'];?>
<?php $_tmp5=ob_get_clean();?><?php ob_start();?><?php echo $_smarty_tpl->getVariable('file')->value['ext'];?>
<?php $_tmp6=ob_get_clean();?><?php ob_start();?><?php echo $_smarty_tpl->getVariable('file')->value['ext'];?>
<?php $_tmp7=ob_get_clean();?><?php if (($_tmp5=='3gp'||$_tmp6=='avi'||$_tmp7=='mp4')&&extension_loaded('ffmpeg')){?>
<img src="/video_s.php?id=<?php echo $_smarty_tpl->getVariable('file')->value['id'];?>
&h=100&w=150" alt="preview" /><br/>
<?php }?>

<?php ob_start();?><?php echo $_smarty_tpl->getVariable('file')->value['ext'];?>
<?php $_tmp8=ob_get_clean();?><?php ob_start();?><?php echo $_smarty_tpl->getVariable('file')->value['ext'];?>
<?php $_tmp9=ob_get_clean();?><?php ob_start();?><?php echo $_smarty_tpl->getVariable('file')->value['ext'];?>
<?php $_tmp10=ob_get_clean();?><?php ob_start();?><?php echo $_smarty_tpl->getVariable('file')->value['ext'];?>
<?php $_tmp11=ob_get_clean();?><?php if ($_tmp8=='jpg'||$_tmp9=='png'||$_tmp10=='gif'||$_tmp11=='bmp'){?>
<img src="/img.php?id=<?php echo $_smarty_tpl->getVariable('file')->value['id'];?>
&w=150&h=100&no" alt="prewiew" /><br/>
<?php }?>
Name: <?php echo $_smarty_tpl->getVariable('file')->value['name'];?>
 <br/>

<?php ob_start();?><?php echo $_smarty_tpl->getVariable('file')->value['opis'];?>
<?php $_tmp12=ob_get_clean();?><?php if (!empty($_tmp12)){?>
Description: <?php echo smarty_modifier_escape($_smarty_tpl->getVariable('file')->value['opis'],'html');?>
<br/>
<?php }?>

Category: <a href="/cat-<?php echo $_smarty_tpl->getVariable('file')->value['cat_id'];?>
"><?php echo $_smarty_tpl->getVariable('nc')->value;?>
</a><br/>

Size: <?php if ($_smarty_tpl->getVariable('file')->value['size']/1024>1024){?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('php', array()); $_block_repeat=true; smarty_block_php(array(), null, $_smarty_tpl->smarty, $_block_repeat, $_smarty_tpl);while ($_block_repeat) { ob_start();?>
 echo round(<?php echo $_smarty_tpl->getVariable('file')->value['size'];?>
/1024/1024); <?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_php(array(), $_block_content, $_smarty_tpl->smarty, $_block_repeat, $_smarty_tpl); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
Mb
<?php }else{ ?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('php', array()); $_block_repeat=true; smarty_block_php(array(), null, $_smarty_tpl->smarty, $_block_repeat, $_smarty_tpl);while ($_block_repeat) { ob_start();?>
 echo round(<?php echo $_smarty_tpl->getVariable('file')->value['size'];?>
/1024); <?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_php(array(), $_block_content, $_smarty_tpl->smarty, $_block_repeat, $_smarty_tpl); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
Kb
<?php }?><br/>

Type: <?php echo $_smarty_tpl->getVariable('file')->value['ext'];?>
<br/>
Date Uplaod: <?php echo smarty_modifier_date_format($_smarty_tpl->getVariable('file')->value['time'],"%d.%m.%y %H:%M");?>
<br/>
Downloads: <?php echo $_smarty_tpl->getVariable('file')->value['kol'];?>
<br/>

Rating: <?php echo $_smarty_tpl->getVariable('file')->value['rait'];?>

<?php ob_start();?><?php echo $_smarty_tpl->getVariable('user')->value;?>
<?php $_tmp13=ob_get_clean();?><?php if (isset($_tmp13)){?>
(<a href="/rait.php?who=add&amp;id=<?php echo $_smarty_tpl->getVariable('file')->value['id'];?>
"><span style="color:green">+</span></a>|
<a href="/rait.php?who=min&amp;id=<?php echo $_smarty_tpl->getVariable('file')->value['id'];?>
"><span style="color:red">-</span></a>)
<?php }?>
<?php $_template = new Smarty_Internal_Template('sys/file/ext.php', $_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="title"><img src="/images/load.gif" alt="" /> <a href="/down-<?php echo $_smarty_tpl->getVariable('file')->value['id'];?>
">Download (original)</a><br/>
<img src="/images/blog.gif" alt="" /> <a href="/comm-<?php echo $_smarty_tpl->getVariable('file')->value['id'];?>
">Comments</a></div>

<?php ob_start();?><?php echo $_smarty_tpl->getVariable('user')->value;?>
<?php $_tmp14=ob_get_clean();?><?php ob_start();?><?php echo $_smarty_tpl->getVariable('user')->value['assec'];?>
<?php $_tmp15=ob_get_clean();?><?php if (isset($_tmp14)&&$_tmp15>1){?>
<div class="ads">
<a href="adm/act.php?act=filed&amp;id=<?php echo $_smarty_tpl->getVariable('file')->value['id'];?>
">Remove</a><br/>
<a href="adm/act.php?act=filee&amp;id=<?php echo $_smarty_tpl->getVariable('file')->value['id'];?>
">Edit</a>
</div>
<?php }?>