core/skin/detsad20.ru/mod/img.tpl

26 lines
1.2 KiB
Smarty
Raw Normal View History

2023-02-08 16:59:59 +05:00
<script src="http://yurecnt.ru/func/frameworks/lazyload/jquery.lazyload.min1.9.1.js" type="text/javascript"></script>
<script src="/templates/js/{$mod_inc_short}.js"></script-->
<form action="" method=post enctype='multipart/form-data'>
<input type=file name=foto class="form-control" style="width: 40%;float:left;margin: 5px;border:none;">
<input type=text name=opis placeholder="Описание файла" class="form-control" style="width: 40%;float:left;margin:5px;">
<input type=submit name=ok value="Загрузить" style="border:none;margin:5px;" class="btn btn-success">
</form>
<table width="100%">
{$list|default:'Пока ни одной картинки не загружено'}
</table>
{$error|default:''}
<form action="" method=post enctype='multipart/form-data'>
<input type=file name=foto class="form-control" style="width: 40%;float:left;margin: 5px;border:none;">
<input type=text name=opis placeholder="Описание файла" class="form-control" style="width: 40%;float:left;margin:5px;">
<input type=submit name=ok value="Загрузить" style="border:none;margin:5px;" class="btn btn-success">
</form>
{if $dostup=='a'}
{include file=$mini_admin}
{/if}