58 lines
1.6 KiB
Smarty
58 lines
1.6 KiB
Smarty
|
|
||
|
<script src="/templates/js/{$smarty.get.mod}.js"></script>
|
||
|
|
||
|
<ul class=galery_list>{$li_cats|default:''}</ul><br>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr align=center><td>
|
||
|
|
||
|
{$tuda_suda}
|
||
|
</td></tr>
|
||
|
<tr><td align=center>
|
||
|
{foreach from=$small_images item=foo}
|
||
|
<div class="div_galery" id="div_{$foo}">
|
||
|
|
||
|
<a href="/mod/galery/big/{$foo}" rel="lightgallery[flowers]" title="">
|
||
|
<img src="/mod/galery/small/{$foo}" width="100%" im={$foo}>
|
||
|
</a>
|
||
|
|
||
|
|
||
|
{if $dostup=='a'}
|
||
|
<a href="/?mod=galery&id={$id}&id_img={$foo}" ><img src=http://yurecnt.ru/skin/templatemo_251_clean_blog/img/del.gif class=img_del_img im_del={$foo}></a>
|
||
|
{/if}
|
||
|
|
||
|
</div>
|
||
|
{/foreach}
|
||
|
|
||
|
</td></tr>
|
||
|
<tr align=center><td>
|
||
|
|
||
|
{$tuda_suda}
|
||
|
</td></tr>
|
||
|
</table>
|
||
|
{if $dostup=='a'}
|
||
|
<form ENCTYPE='multipart/form-data' method="POST" action="/?mod=galery&id={$id}">
|
||
|
<input type="file" name="image">
|
||
|
|
||
|
<select name=cat>
|
||
|
<option value="">Без категории</option>
|
||
|
{$list_cats}
|
||
|
</select>
|
||
|
|
||
|
<input type="text" name=opis value="" placeholder="Описание">
|
||
|
<input type="submit" value="Загрузить новую картинку" name="ok">
|
||
|
</form>
|
||
|
<div id="del_img" style="display:none;"></div>
|
||
|
<span id="span_ready_load"></span>
|
||
|
<!-- чтобы правильно задать вопрос, нужно знать половину ответа -->
|
||
|
|
||
|
{include file=$mini_admin}
|
||
|
{/if}
|
||
|
|
||
|
<center>
|
||
|
<br><br><script type="text/javascript" src="//yandex.st/share/share.js" charset="utf-8"></script>
|
||
|
<div class="yashare-auto-init" data-yashareL10n="ru" data-yashareQuickServices="yaru,vkontakte,facebook,twitter,odnoklassniki,moimir,gplus" data-yashareTheme="counter"></div>
|
||
|
</center>
|