Location: PHPKode > projects > PBBoard > PBBoard_v2.1.4/Upload/look/styles/forum/main/templates/sections_list.tpl
<div align="center" dir="{$_CONF['info_row']['content_dir']}">
{if {$SHOW_SUB_SECTIONS}}
<!-- START_TABLE_SUB_SECTIONS -->
<table width="98%" border="0" class="border" cellpadding="0" cellspacing="1">
<tr align="right">
			<td class="tcat" align="center" colspan="3">
{$lang['forum_sub']} : {$Section_Title}
			</td>
		</tr>
{/if}
{Des::foreach}{forums_list}{forum}
	{if {$forum['parent']} == 0}
		{if {$forum['sort']} != 1}
		</table>
<!-- END_TABLE_SUB_SECTIONS -->
		<br />
		{/if}
<!-- START_TABLE_SECTIONS -->
			   <table border="0" cellspacing="0" width="98%" align="center" class="border_radius">
						<tr align="center">
					<td class="tcat">
					         <span class='l-left'><a href="javascript:switchMenuNone('id_{$forum['id']}')"><img border="0" alt=""  src="{$image_path}/collapse_b.gif" /></a> </span>
			{if {$_CONF['info_row']['rewriterule']} == '1'}
					<a href="f{$forum['id']}.html">{$forum['title']}</a>
					{else}
						<a href="index.php?page=forum&amp;show=1&amp;
id={$forum['id']}">{$forum['title']}</a>
					{/if}
							</td>
					</tr>
		</table>
		<table border="0" width="98%" cellpadding="0" id="id_{$forum['id']}" class="border_forums" cellspacing="1">
	{/if}
	{if {$forum['parent']} != 0}
		{if {$forum['linksection']} != '1'}
<tr align="right">
				<td class="row5" width="5%" align="center">
				{if {$forum['use_section_picture']} == '1' and{$forum['sectionpicture_type']} == '1'}
						<img src="{$forum['section_picture']}"
						 alt="{$lang['section_picture']}" />
					   {elseif {$_CONF['group_info']['write_subject']} == 0}
						<img src="{$image_path}/icon-67_lock.gif"
						 alt="{$lang['no_write_subject']}" />
						{elseif {$forum['last_post_date']} > {$_CONF['member_row']['lastvisit']}}
						<img src="{$image_path}/icon-67_new.gif"
						 alt="{$lang['new_posts']}" />
						{else}
						<img src="{$image_path}/icon-67_old.gif"
						 alt="{$lang['no_new_posts']}" />
				{/if}
			</td>
			<td class="row2" width="50%">
<font class="title_font">
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="f{$forum['id']}.html">
<span class="title_n">{$forum['title']}</span>
{if {$_CONF['info_row']['no_describe']}}
{if {$forum['section_describe']} != ''}
<span class="title_h">
{$forum['section_describe']}
</span>
{/if}
{/if}
</a>
{else}
<a href="index.php?page=forum&show=1&id={$forum['id']}">
<span class="title_n">{$forum['title']}</span>
{if {$_CONF['info_row']['no_describe']}}
{if {$forum['section_describe']} != ''}
<span class="title_h">
{$forum['section_describe']}
</span>
{/if}
{/if}
</a>
{/if}
</font>
					{if {$forum['forum_online']}}
					<font class="describe">
					 ({$lang['Watched']}
					  {$forum['forum_online']}
					 {$lang['Guest']})
					 </font>
			        {/if}
			        {if {$forum['section_password']} != ''}
			        {else}
{if {$forum['hide_subject']} =='0'}
{if {$forum['sec_section']} =='0'}
<span class="l-left">
					<a href="index.php?page=rss&amp;section=1&amp;id={$forum['id']}"><img border="0" src="{$image_path}/section_rss.gif" width="16" height="16"
					 alt="{$lang['rss_section_m']}
 {$forum['simple_title']}" /></a>
					</span>
					{/if}
					{/if}
					{/if}
					<br />
					{if {$forum['use_section_picture']} == 1}
						{if {$forum['sectionpicture_type']} == 2}
							<img src="{$forum['section_picture']}" alt="" />
							<br />
						{/if}
					{/if}
					<font class="smallfont">
             {if {$forum['is_sub']}}
				{if {$_CONF['info_row']['no_sub']}}
							{$forum['sub']}
						{/if}
						{/if}
				{if {$forum['moderators_list']}}
				{if {$_CONF['info_row']['no_moderators']}}
						{$lang['moderators_list']}
							{$forum['moderators_list']}
							<br />
						{/if}
				{/if}
</font>
<span class="smallfont" style="color: rgb(150, 150, 150);">
{$lang['subject_num']} :
</span>
			<font class="smallfont">	{$forum['subject_num']} </font>
<span class="smallfont" style="color: rgb(150, 150, 150);">
&nbsp; {$lang['reply_num']}:
</span>
			<font class="smallfont">	{$forum['reply_num']} </font>

			</td>
					<td class="row1 rows_space" width="43%">
				<div dir="{$_CONF['info_row']['content_dir']}" class="radiusContent">
                    {if {$forum['hide_subject']} AND !{$_CONF['rows']['group_info']['admincp_allow']}}
                 <div align="center">{$lang['speciality']}</div>
                    {else}
			        {if {$forum['section_password']} != '' AND !{$_CONF['rows']['group_info']['admincp_allow']}}
			        <div align="center">{$lang['speciality']}</div>
			        {else}
	               {if {$_CONF['group_info']['view_section']} == 0}
	               <div align="center">{$lang['speciality']}</div>
	               {else}
					{if {$forum['last_subject']} != ''}
					{if {$forum['icon']} != ''}
                   <img src="{$forum['icon']}" alt="" />
                   {/if}
                   {if {$_CONF['info_row']['rewriterule']} == '1'}
					<a href="t{$forum['last_subjectid']}.html">
					{$forum['last_subject']}</a><br />
					{else}
					<a href="index.php?page=topic&amp;show=1&amp;id={$forum['last_subjectid']}">
					{$forum['last_subject']}</a><br />
					{/if}
                             {$forum['last_writer']}
											<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(150, 150, 150); display: inline" dir="{$_CONF['info_row']['content_dir']}">
											{$forum['last_date']}</span>
											{if {$forum['last_berpage_nm']} != ''}
												<a title="{$lang['Go_to_last_post']}"
												 href="index.php?page=topic&amp;show=1&amp;id={$forum['last_subjectid']}&amp;count={$forum['last_berpage_nm']}#{$forum['last_reply']}">
												 <img border="0" alt="{$lang['Go_to_last_post']}"
												 src="{$image_path}/lastpost.gif" /></a>
											{/if}
						<br />
					{else}
					{$lang['no_post']}
					{/if}
					{/if}
					{/if}
					{/if}
					</div>
					</td>
				</tr>
		{else}
		<tr>
			<td width="5%" align="center" class="row5">
				{if {$forum['use_section_picture']} == 1}
					{if {$forum['sectionpicture_type']} == 1}
						<img src="{$forum['section_picture']}" alt="" />
					{else}
						<img src="{$image_path}/forum_link.gif" alt="" />
					{/if}
				{else}
					<img src="{$image_path}/icon-67_link.gif" alt="" />
				{/if}
			</td>
<td width="50%" align="right" class="row2">

				<a href="index.php?page=forum&amp;show=1&amp;
id={$forum['id']}">{$forum['title']}</a>
				<br />
				{if {$forum['use_section_picture']} == 1}
					{if {$forum['sectionpicture_type']} == 2}
						<img src="{$forum['section_picture']}" alt="" />
						<br />
					{/if}
				{/if}
				{if {$_CONF['info_row']['no_describe']}}
{$forum['describe']}
<br />
{/if}
			</td>
<td width="43%" align="center" class="row2">
				{$lang['linkvisitor']} {$forum['linkvisitor']}
			</td>
		</tr>
		{/if}
		{/if}
	{/Des::foreach}
	</table>
<!-- END_TABLE_SECTIONS -->
 </div>
<br />
Return current item: PBBoard