<?php if (!defined('IN_PHPBB')) exit; ?><!--version $Id: announcements_compact.html 521 2009-08-26 20:59:19Z christian_n $ //-->
<?php $_announcements_row_count = (isset($this->_tpldata['announcements_row'])) ? sizeof($this->_tpldata['announcements_row']) : 0;if ($_announcements_row_count) {for ($_announcements_row_i = 0; $_announcements_row_i < $_announcements_row_count; ++$_announcements_row_i){$_announcements_row_val = &$this->_tpldata['announcements_row'][$_announcements_row_i]; if ($_announcements_row_val['S_NO_TOPICS']) {  ?>

<?php echo (isset($this->_tpldata['DEFINE']['.']['C_BLOCK_H_L'])) ? $this->_tpldata['DEFINE']['.']['C_BLOCK_H_L'] : ''; ?><dt><?php echo ((isset($this->_rootref['L_LATEST_ANNOUNCEMENTS'])) ? $this->_rootref['L_LATEST_ANNOUNCEMENTS'] : ((isset($user->lang['LATEST_ANNOUNCEMENTS'])) ? $user->lang['LATEST_ANNOUNCEMENTS'] : '{ LATEST_ANNOUNCEMENTS }')); ?></dt><?php echo (isset($this->_tpldata['DEFINE']['.']['C_BLOCK_H_R'])) ? $this->_tpldata['DEFINE']['.']['C_BLOCK_H_R'] : ''; ?>

	<div class="post bg2" style="margin-bottom: 0px">
		<div class="inner"><span class="portal-corners-top-inner"></span>
			<span style="text-align: center;"><strong><?php echo ((isset($this->_rootref['L_NO_ANNOUNCEMENTS'])) ? $this->_rootref['L_NO_ANNOUNCEMENTS'] : ((isset($user->lang['NO_ANNOUNCEMENTS'])) ? $user->lang['NO_ANNOUNCEMENTS'] : '{ NO_ANNOUNCEMENTS }')); ?></strong></span>
		<span class="portal-corners-bottom-inner"></span></div>
	</div>
<?php echo (isset($this->_tpldata['DEFINE']['.']['C_BLOCK_F_L'])) ? $this->_tpldata['DEFINE']['.']['C_BLOCK_F_L'] : ''; echo (isset($this->_tpldata['DEFINE']['.']['C_BLOCK_F_R'])) ? $this->_tpldata['DEFINE']['.']['C_BLOCK_F_R'] : ''; ?>

<?php } else { if ($_announcements_row_val['S_FIRST_ROW']) {  ?>

<a name="a"></a>
<?php echo (isset($this->_tpldata['DEFINE']['.']['C_BLOCK_H_L'])) ? $this->_tpldata['DEFINE']['.']['C_BLOCK_H_L'] : ''; ?>

	<dt <?php if ($this->_rootref['S_DISPLAY_ANNOUNCEMENTS_RVS']) {  ?>style="width: 44%"<?php } else { ?>style="width: 60%"<?php } ?>><?php echo ((isset($this->_rootref['L_LATEST_ANNOUNCEMENTS'])) ? $this->_rootref['L_LATEST_ANNOUNCEMENTS'] : ((isset($user->lang['LATEST_ANNOUNCEMENTS'])) ? $user->lang['LATEST_ANNOUNCEMENTS'] : '{ LATEST_ANNOUNCEMENTS }')); ?></dt>
	<?php if ($this->_rootref['S_DISPLAY_ANNOUNCEMENTS_RVS']) {  ?>

		<dd class="posts" style="width: 11%"><?php echo ((isset($this->_rootref['L_REPLIES'])) ? $this->_rootref['L_REPLIES'] : ((isset($user->lang['REPLIES'])) ? $user->lang['REPLIES'] : '{ REPLIES }')); ?></dd>
		<dd class="views" style="width: 11%"><?php echo ((isset($this->_rootref['L_VIEWS'])) ? $this->_rootref['L_VIEWS'] : ((isset($user->lang['VIEWS'])) ? $user->lang['VIEWS'] : '{ VIEWS }')); ?></dd>
	<?php } ?>

	<dd class="lastpost" style="width: 25%"><span><?php echo ((isset($this->_rootref['L_LAST_POST'])) ? $this->_rootref['L_LAST_POST'] : ((isset($user->lang['LAST_POST'])) ? $user->lang['LAST_POST'] : '{ LAST_POST }')); ?></span></dd>
<?php echo (isset($this->_tpldata['DEFINE']['.']['C_BLOCK_H_R'])) ? $this->_tpldata['DEFINE']['.']['C_BLOCK_H_R'] : ''; ?>

<ul class="topiclist topics">
<?php } ?>

	<li class="row<?php if (!($_announcements_row_val['S_ROW_COUNT'] & 1)  ) {  ?> bg1<?php } else { ?> bg2<?php } ?>">
		<dl class="icon" style="background-image: url(<?php echo $_announcements_row_val['TOPIC_FOLDER_IMG_SRC']; ?>); background-repeat: no-repeat;">
			<dt style="<?php if ($this->_rootref['S_DISPLAY_ANNOUNCEMENTS_RVS']) {  ?>width: 44%;<?php } else { ?>width: 60%;<?php } if ($_announcements_row_val['TOPIC_ICON_IMG']) {  ?>background-image: url(<?php echo (isset($this->_rootref['T_ICONS_PATH'])) ? $this->_rootref['T_ICONS_PATH'] : ''; echo $_announcements_row_val['TOPIC_ICON_IMG']; ?>); background-repeat: no-repeat;<?php } ?>" title="<?php echo $_announcements_row_val['TOPIC_FOLDER_IMG_ALT']; ?>"><?php if ($_announcements_row_val['S_UNREAD_TOPIC']) {  ?><a href="<?php echo $_announcements_row_val['U_NEWEST_POST']; ?>"><?php echo (isset($this->_rootref['NEWEST_POST_IMG'])) ? $this->_rootref['NEWEST_POST_IMG'] : ''; ?></a> <?php } if ($_announcements_row_val['ATTACH_ICON_IMG']) {  echo $_announcements_row_val['ATTACH_ICON_IMG']; ?> <?php } ?><a href="<?php echo $_announcements_row_val['U_VIEW_COMMENTS']; ?>" title="<?php echo $_announcements_row_val['TITLE']; ?>" class="topictitle"><?php echo $_announcements_row_val['TITLE']; ?></a><?php if ($this->_rootref['U_VIEW_UNREAD_POST'] && ! $this->_rootref['S_IS_BOT']) {  ?> &bull; <a href="<?php echo (isset($this->_rootref['U_VIEW_UNREAD_POST'])) ? $this->_rootref['U_VIEW_UNREAD_POST'] : ''; ?>"><?php echo ((isset($this->_rootref['L_VIEW_UNREAD_POST'])) ? $this->_rootref['L_VIEW_UNREAD_POST'] : ((isset($user->lang['VIEW_UNREAD_POST'])) ? $user->lang['VIEW_UNREAD_POST'] : '{ VIEW_UNREAD_POST }')); ?></a> &bull; <?php } if ($_announcements_row_val['PAGINATION']) {  ?><strong class="pagination"><span><?php echo $_announcements_row_val['PAGINATION']; ?></span></strong><?php } ?>

					<br /><?php echo ((isset($this->_rootref['L_POSTED'])) ? $this->_rootref['L_POSTED'] : ((isset($user->lang['POSTED'])) ? $user->lang['POSTED'] : '{ POSTED }')); ?> <?php echo ((isset($this->_rootref['L_POST_BY_AUTHOR'])) ? $this->_rootref['L_POST_BY_AUTHOR'] : ((isset($user->lang['POST_BY_AUTHOR'])) ? $user->lang['POST_BY_AUTHOR'] : '{ POST_BY_AUTHOR }')); ?> <?php echo $_announcements_row_val['POSTER_FULL']; ?> &raquo; <?php echo $_announcements_row_val['TIME']; ?>

				<?php if ($_announcements_row_val['FORUM_NAME']) {  ?>

					<br /><?php echo ((isset($this->_rootref['L_FORUM'])) ? $this->_rootref['L_FORUM'] : ((isset($user->lang['FORUM'])) ? $user->lang['FORUM'] : '{ FORUM }')); ?>: <a href="<?php echo $_announcements_row_val['U_VIEWFORUM']; ?>" style="font-weight: bold;"><?php echo $_announcements_row_val['FORUM_NAME']; ?></a>
				<?php } else { ?>

					<br /><?php echo ((isset($this->_rootref['L_GLOBAL_ANNOUNCEMENT'])) ? $this->_rootref['L_GLOBAL_ANNOUNCEMENT'] : ((isset($user->lang['GLOBAL_ANNOUNCEMENT'])) ? $user->lang['GLOBAL_ANNOUNCEMENT'] : '{ GLOBAL_ANNOUNCEMENT }')); ?>

				<?php } if (! $this->_rootref['S_DISPLAY_ANNOUNCEMENTS_RVS']) {  if ($_announcements_row_val['FORUM_NAME']) {  ?>&bull; <?php } echo ((isset($this->_rootref['L_REPLIES'])) ? $this->_rootref['L_REPLIES'] : ((isset($user->lang['REPLIES'])) ? $user->lang['REPLIES'] : '{ REPLIES }')); ?>: <strong><?php echo $_announcements_row_val['REPLIES']; ?></strong>  &bull; <?php echo ((isset($this->_rootref['L_VIEWS'])) ? $this->_rootref['L_VIEWS'] : ((isset($user->lang['VIEWS'])) ? $user->lang['VIEWS'] : '{ VIEWS }')); ?>: <strong><?php echo $_announcements_row_val['TOPIC_VIEWS']; ?></strong><?php } ?>

			</dt>
			<?php if ($this->_rootref['S_DISPLAY_ANNOUNCEMENTS_RVS']) {  ?>

				<dd class="posts" style="width: 11%"><?php echo $_announcements_row_val['REPLIES']; ?> <dfn><?php echo ((isset($this->_rootref['L_REPLIES'])) ? $this->_rootref['L_REPLIES'] : ((isset($user->lang['REPLIES'])) ? $user->lang['REPLIES'] : '{ REPLIES }')); ?></dfn></dd>
				<dd class="views" style="width: 11%"><?php echo $_announcements_row_val['TOPIC_VIEWS']; ?> <dfn><?php echo ((isset($this->_rootref['L_VIEWS'])) ? $this->_rootref['L_VIEWS'] : ((isset($user->lang['VIEWS'])) ? $user->lang['VIEWS'] : '{ VIEWS }')); ?></dfn></dd>
			<?php } ?>

			<dd class="lastpost" style="width: 25%"><span><dfn><?php echo ((isset($this->_rootref['L_LAST_POST'])) ? $this->_rootref['L_LAST_POST'] : ((isset($user->lang['LAST_POST'])) ? $user->lang['LAST_POST'] : '{ LAST_POST }')); ?></dfn><?php echo ((isset($this->_rootref['L_POST_BY_AUTHOR'])) ? $this->_rootref['L_POST_BY_AUTHOR'] : ((isset($user->lang['POST_BY_AUTHOR'])) ? $user->lang['POST_BY_AUTHOR'] : '{ POST_BY_AUTHOR }')); ?> <?php echo $_announcements_row_val['USERNAME_FULL_LAST']; ?> <?php if ($_announcements_row_val['S_UNREAD_INFO']) {  ?><a href="<?php echo $_announcements_row_val['U_VIEW_UNREAD']; ?>"><?php echo (isset($this->_rootref['NEWEST_POST_IMG'])) ? $this->_rootref['NEWEST_POST_IMG'] : ''; ?></a><?php } else { ?><a href="<?php echo $_announcements_row_val['U_LAST_COMMENTS']; ?>"><?php echo (isset($this->_rootref['READ_POST_IMG'])) ? $this->_rootref['READ_POST_IMG'] : ''; ?></a><?php } ?><br />
				<?php echo $_announcements_row_val['LAST_POST_TIME']; ?></span>
			</dd>
		</dl>
	</li>
<?php if ($_announcements_row_val['S_LAST_ROW']) {  if ($this->_rootref['AP_PAGINATION'] || $this->_rootref['TOTAL_ANNOUNCEMENTS']) {  ?>

	<li class="row<?php if (!($_announcements_row_val['S_ROW_COUNT'] & 1)  ) {  ?> bg2<?php } else { ?> bg1<?php } ?>">
		<div class="topic-actions">
			<div class="pagination">
				<?php echo (isset($this->_rootref['TOTAL_ANNOUNCEMENTS'])) ? $this->_rootref['TOTAL_ANNOUNCEMENTS'] : ''; ?>

				<?php if ($this->_rootref['AP_PAGE_NUMBER']) {  if ($this->_rootref['AP_PAGINATION']) {  ?> &bull; <?php echo (isset($this->_rootref['AP_PAGE_NUMBER'])) ? $this->_rootref['AP_PAGE_NUMBER'] : ''; ?> &bull; <span><?php echo (isset($this->_rootref['AP_PAGINATION'])) ? $this->_rootref['AP_PAGINATION'] : ''; ?></span><?php } else { ?> &bull; <?php echo (isset($this->_rootref['AP_PAGE_NUMBER'])) ? $this->_rootref['AP_PAGE_NUMBER'] : ''; } } ?> &nbsp;
			</div>
		</div>
	</li>
	<?php } ?>

	</ul>
<?php echo (isset($this->_tpldata['DEFINE']['.']['C_BLOCK_F_L'])) ? $this->_tpldata['DEFINE']['.']['C_BLOCK_F_L'] : ''; echo (isset($this->_tpldata['DEFINE']['.']['C_BLOCK_F_R'])) ? $this->_tpldata['DEFINE']['.']['C_BLOCK_F_R'] : ''; ?>

<?php } } }} ?>