File size: 1.35Kb
{include file="head.tpl"}
{if $ERROR}
<table class="menu">
<tr>
<td class="line">
</td>
<td class="line2">
{$ERROR}
<br/>
<a href="#" onclick="history.back(); return false;">Назад</a>
</td>
</tr></table>
{else}
{if $act==addava}
<form class="login" action="avatar.php?act=saveava" method="post" enctype="multipart/form-data">
Выберите аватара для загрузки:<br/>
<input class="logput" name="ava" type="file"/><br/>
<input class="logput" type="submit" value="Добавить"/>
</form>
{/if}
{if $act==saveava}
<table class="menu">
<tr>
<td class="line">
</td>
<td class="line2">
Аватар успешно загружено!
</td>
</tr></table>
{/if}
{if $act==delava}
<table class="menu">
<tr>
<td class="line">
</td>
<td class="line2">
Аватар удалён!
</td>
</tr></table>
{/if}
{if $act==see}
<table class="menu">
<tr>
<td class="line">
</td>
<td class="line2">
<img src="{$BASE}avatar/{$id}"/><br/>
</td>
</tr></table>
{/if}
<div class="raz"> Меню раздела</div>
<div class="menu1">
<table class="menu">
<tr>
<td class="line">
</td>
<td class="line2">
{if $act==saveava || $act==delava}
<a href="umenu.php">Моё меню</a><br/>
{/if}
<a href="../index.php">На главную</a>
</td>
</tr>
</table>
</div>
{/if}
{include file="foot.tpl"}