File size: 1.45Kb
<?php /* Smarty version Smarty3-RC3, created on 2011-09-19 05:02:27
compiled from "/home/spiderwa/public_html/sys/smarty/templates/ank.ava.tpl" */ ?>
<?php /*%%SmartyHeaderCode:10576867434e770523916228-38586023%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'ec172b1176b546ab0641f591897959be2b219ecc' =>
array (
0 => '/home/spiderwa/public_html/sys/smarty/templates/ank.ava.tpl',
1 => 1316411110,
),
),
'nocache_hash' => '10576867434e770523916228-38586023',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div class="title">Avatar</div>
<div class="main">
<?php ob_start();?><?php echo $_smarty_tpl->getVariable('user')->value['ava'];?>
<?php $_tmp1=ob_get_clean();?><?php if (!empty($_tmp1)){?>
Current avatar:<br/>
<img src="../ava/<?php echo $_smarty_tpl->getVariable('user')->value['ava'];?>
" alt="ava" /><br/>
<a href="ava.php?del">Remove</a><br/>
*Removal without the possibility<br/>
Edit:<br/>
</div>
<?php }else{ ?>
Avatar is not set.<br/>
Set:<br/>
</div>
<?php }?>
<form action="ava.php?add" method="post" enctype="multipart/form-data">
<div class="main">
Select the file:
(max: 150x150, 200Kb)
<input type="file" name="file" />
<br/>
<input type="submit" name="go" value="Upload" />
</div>
</form>
<div class="ads"><a href="index.php">Personal Menu</a></div>