View file www/style/web/index.tpl

File size: 1.5Kb
{include file="$style/head.tpl"}
{literal}
<script>
function Play(){
      document.getElementById('loader').style.visibility = 'visible';
      document.getElementById('form').style.visibility = 'hidden';
      return true;
}
function set()
{
	document.UploadForm.name.value = document.UploadForm.file.value;
}
</script>

{/literal}
<img src="{$server}/{$style}/loader.gif" id="loader"  style="visibility: hidden;" /><br/>
<form action="upload.php" id="form" method="post"  enctype="multipart/form-data" target="target"  name="UploadForm" onsubmit="Play();">
Выгрузка файла:<br/>
<br/>
<input type="file" name="file" size="100" onChange="set(); return true;"/><br/>
Название:<br/>
<input type="text" name="name" size="100"  /><br/>
<a href="javascript:show_hide('#dop');">Дополнительно</a><br />
<div id="dop" style="display:none">
Ключ(пароль)<sup>не обязательно</sup>:<br/>
<input type="text" name="password" size="100" /><br/>
Описание<sup>не обязательно</sup>:<br/>
<textarea name="description"></textarea><br/>
</div>
<input type="hidden" name="hash" value="{$smarty.session.hash}" /><br />
<input type="submit" name="submit" value="Выгрузить"/><br />
<iframe id="target" name="target" src="#" style="width:0;height:0;border:0px solid #fff;"></iframe>
           
</form>
В нашем хранилище уже {$count_all}+<font color="#FF0101">{$count_day}</font> файлов
{include file="$style/foot.tpl"}