<br /><br />
<br /><br />
<div style="clear:both">&nbsp;</div>

{Des::while}{AttachList}
<?php

if ($PowerBB->_CONF['template']['while']['AttachList'][$this->x_loop]['extension'] == ('jpeg')
or $PowerBB->_CONF['template']['while']['AttachList'][$this->x_loop]['extension'] == ('jpg')
or $PowerBB->_CONF['template']['while']['AttachList'][$this->x_loop]['extension'] == ('gif')
or $PowerBB->_CONF['template']['while']['AttachList'][$this->x_loop]['extension'] == ('png')
or $PowerBB->_CONF['template']['while']['AttachList'][$this->x_loop]['extension'] == ('bmp'))
{
?>
<fieldset style="float:right; width:110px;height:110pxpx;text-align:center;border-radius: 5px;-webkit-border-radius: 5px;-moz-border-radius: 5px;-khtml-border-radius: 5px;">
<legend>{$lang['image_attached']}</legend>

<a href="{$AttachList['filepath']}" rel="facebox"><img src="{$AttachList['filepath']}" border="0" alt="" class="UserPhoto" width="90px" height="80px" onload="ResizeAv(this)" /></a>
</fieldset>

<?php } ?>

{/Des::while}

<div style="clear:both">&nbsp;</div>

<table border="0" cellspacing="1" class="border" width="90%" align="center">
{Des::while}{AttachList}
<?php

if ($PowerBB->_CONF['template']['while']['AttachList'][$this->x_loop]['extension'] == ('jpeg')
or $PowerBB->_CONF['template']['while']['AttachList'][$this->x_loop]['extension'] == ('jpg')
or $PowerBB->_CONF['template']['while']['AttachList'][$this->x_loop]['extension'] == ('gif')
or $PowerBB->_CONF['template']['while']['AttachList'][$this->x_loop]['extension'] == ('png')
or $PowerBB->_CONF['template']['while']['AttachList'][$this->x_loop]['extension'] == ('bmp'))
{
// -------- nothing;
}
else
	{
?>

<tr align="right">
<td width="50%" class="row1">
{$lang['download_attachments']}
(<a href="index.php?page=download&amp;attach=1&amp;id={$AttachList['id']}">{$AttachList['filename']}</a>)
</td>
<td width="25%" class="row1">
{$lang['downloads']}
({$AttachList['visitor']})
</td>
<td width="25%" class="row1">
{$lang['size']}
(<?php echo $PowerBB->_CONF['template']['while']['AttachList'][$this->x_loop]['filesize'] / 1000; ?>)
KB
</td>
</tr>
<?php
	}
 ?>
{/Des::while}
</table>

<br />