<?php if (!defined('IN_PHPBB')) exit; ?><!--version $Id: attachments.html 544 2009-09-10 12:35:25Z christian_n $ //-->
<?php echo (isset($this->_tpldata['DEFINE']['.']['LR_BLOCK_H_L'])) ? $this->_tpldata['DEFINE']['.']['LR_BLOCK_H_L'] : ''; if ($this->_tpldata['DEFINE']['.']['S_BLOCK_ICON']) {  ?><img src="<?php echo (isset($this->_rootref['T_THEME_PATH'])) ? $this->_rootref['T_THEME_PATH'] : ''; ?>/images/portal/portal_attach.png" width="16" height="16" alt="" />&nbsp;<?php } echo ((isset($this->_rootref['L_ATTACHMENTS'])) ? $this->_rootref['L_ATTACHMENTS'] : ((isset($user->lang['ATTACHMENTS'])) ? $user->lang['ATTACHMENTS'] : '{ ATTACHMENTS }')); echo (isset($this->_tpldata['DEFINE']['.']['LR_BLOCK_H_R'])) ? $this->_tpldata['DEFINE']['.']['LR_BLOCK_H_R'] : ''; ?>

	<?php if (sizeof($this->_tpldata['attach'])) {  ?>

		<span style="float:left;"><strong><?php echo ((isset($this->_rootref['L_FILENAME'])) ? $this->_rootref['L_FILENAME'] : ((isset($user->lang['FILENAME'])) ? $user->lang['FILENAME'] : '{ FILENAME }')); ?></strong></span><br />
		<?php $_attach_count = (isset($this->_tpldata['attach'])) ? sizeof($this->_tpldata['attach']) : 0;if ($_attach_count) {for ($_attach_i = 0; $_attach_i < $_attach_count; ++$_attach_i){$_attach_val = &$this->_tpldata['attach'][$_attach_i]; ?>

			<span style="float:left;" class="portal-gensmall"><img src="<?php echo (isset($this->_rootref['T_THEME_PATH'])) ? $this->_rootref['T_THEME_PATH'] : ''; ?>/images/portal/icon_topic_attach.gif" alt="" />&nbsp;<a href="<?php echo $_attach_val['U_TOPIC']; ?>" title="<?php echo $_attach_val['REAL_FILENAME']; ?>"><strong><?php echo $_attach_val['FILENAME']; ?></strong></a></span><br style="clear:both" />
			<span style="float:left;padding-right:10px;"><?php echo ((isset($this->_rootref['L_FILESIZE'])) ? $this->_rootref['L_FILESIZE'] : ((isset($user->lang['FILESIZE'])) ? $user->lang['FILESIZE'] : '{ FILESIZE }')); ?>:</span><span style="float:right;padding-right:10px;" class="portal-gensmall"><strong><?php echo $_attach_val['FILESIZE']; ?></strong></span><br style="clear:both" />
			<span style="float:left;padding-right:10px;"><?php echo ((isset($this->_rootref['L_DOWNLOADS'])) ? $this->_rootref['L_DOWNLOADS'] : ((isset($user->lang['DOWNLOADS'])) ? $user->lang['DOWNLOADS'] : '{ DOWNLOADS }')); ?>:</span><span style="float:right;padding-right:10px;" class="portal-gensmall"><strong><?php echo $_attach_val['DOWNLOAD_COUNT']; ?></strong></span><br style="clear:both" />
			<?php if (! $_attach_val['S_LAST_ROW']) {  ?><hr class="dashed" /><?php } }} } else { ?>

		<span style="float:left;" class="portal-gensmall"><strong><?php echo ((isset($this->_rootref['L_NO_ATTACHMENTS'])) ? $this->_rootref['L_NO_ATTACHMENTS'] : ((isset($user->lang['NO_ATTACHMENTS'])) ? $user->lang['NO_ATTACHMENTS'] : '{ NO_ATTACHMENTS }')); ?></strong></span><br />
	<?php } ?>

<?php echo (isset($this->_tpldata['DEFINE']['.']['LR_BLOCK_F_L'])) ? $this->_tpldata['DEFINE']['.']['LR_BLOCK_F_L'] : ''; echo (isset($this->_tpldata['DEFINE']['.']['LR_BLOCK_F_R'])) ? $this->_tpldata['DEFINE']['.']['LR_BLOCK_F_R'] : ''; ?>