View file Spiderwap.in File Hosting/sys/smarty/templates_c/7e890deeecd5db3ed9b109edfbba8566d69a2e53.file.upload.tpl.php

File size: 2.07Kb
<?php /* Smarty version Smarty3-RC3, created on 2010-10-10 20:12:23
         compiled from "X:/home/biling.ru/www/sys/smarty/templates/upload.tpl" */ ?>
<?php /*%%SmartyHeaderCode:224004cb1f3f76c6639-87070602%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '7e890deeecd5db3ed9b109edfbba8566d69a2e53' => 
    array (
      0 => 'X:/home/biling.ru/www/sys/smarty/templates/upload.tpl',
      1 => 1286730741,
    ),
  ),
  'nocache_hash' => '224004cb1f3f76c6639-87070602',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div class="title">Загрузка файла</div>
<form action="upload.php" method="post" enctype="multipart/form-data">
<div class="main">
	Hазвание:<br/>
	<input type="text" name="name" /><br/>
	Описание:<br/>
	<textarea name="opis" cols="13" rows="5"></textarea><br/>
	Выберите файл:<br/>
	<input type="file" name="file" /><br/>
	Скриншот(необязательно)<br/>
	<input type="file" name="scrin" /><br/>
	Пароль(необязательно):<br/>
	<input type="password" name="pass" /><br/>
	Категория:<br/>
	<select name="cat">
	<?php  $_smarty_tpl->tpl_vars['cats'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('file')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['cats']->key => $_smarty_tpl->tpl_vars['cats']->value){
?>
	<option value="<?php echo $_smarty_tpl->tpl_vars['cats']->value['id'];?>
"><?php echo $_smarty_tpl->tpl_vars['cats']->value['name'];?>
</option>
	<?php }} ?>
	</select><br/>
	<?php ob_start();?><?php echo $_smarty_tpl->getVariable('user')->value['id'];?>
<?php $_tmp1=ob_get_clean();?><?php if (empty($_tmp1)){?>
	<img src="captcha.php" alt="wait" /><br/>
	Код с картинки:<br/>
	<input type="text" name="kod" /><br/>
	<?php }?>
	<input type="submit" name="add" value="Загрузить" />
	</div>
	</form>