Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Template cond for forum ids
1master1 Offline
Member
***
Posts: 232
Joined: Oct 2010
Post: #12
RE: Template cond for forum ids

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<tr>	
        <td align="center" class="{$bgcolor}{$thread_type_class}" width="2%"><img src="{$theme['imgdir']}/{$folder}.png" alt="{$folder_label}" title="{$folder_label}" /></td>
	<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%"><if in_array($thread['fid'], array(142,157,158)) then>
{$GLOBALS['threadfields']['timg']['value']}
<else>
<a href="{$forumurl_q}filterxt_icon={$thread['icon']}">{$icon}</a><a href="{$forumurl_q}filterxt_prefix={$thread['prefix']}">{$thread['threadprefix']}</a></if></td>
	<td class="{$bgcolor}{$thread_type_class}">
		{$attachment_count}
		<div>                        
			<span>{$prefix}<a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a>
<if $GLOBALS['mybb']->user['usergroup'] != 1 then>{$thread['multipage']}</if></span>
                        <span class="smalltext"><br />{$threadfields['desc']}</span>
                        <if !in_array($GLOBALS['mybb']->user['usergroup'], array(1,5,7)) then><span class="author smalltext"><br />By: {$thread['profilelink']}</span></if>                                              
		</div>
	</td>
	<td align="center" class="{$bgcolor}{$thread_type_class}"><a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a>{$unapproved_posts}</td>
	<td align="center" class="{$bgcolor}{$thread_type_class}">{$thread['views']}</td>
	{$rating}
	<td class="{$bgcolor}{$thread_type_class}" style="white-space: nowrap; text-align: right;">
		<span class="lastpost smalltext">{$lastpostdate} {$lastposttime}
                <if !in_array($GLOBALS['mybb']->user['usergroup'], array(1,5,7)) then><br />
		<a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}</span>
                </if>
	</td>
{$modbit}
</tr>

12-03-2010 01:34 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Template cond for forum ids - 1master1 - 11-30-2010, 07:51 AM
RE: Template cond for forum ids - TriTop - 12-01-2010, 03:12 AM
RE: Template cond for forum ids - 1master1 - 12-01-2010, 02:11 PM
RE: Template cond for forum ids - 1master1 - 12-02-2010, 08:16 AM
RE: Template cond for forum ids - RateU - 12-02-2010, 08:28 AM
RE: Template cond for forum ids - 1master1 - 12-02-2010, 09:00 AM
RE: Template cond for forum ids - RateU - 12-02-2010, 09:07 AM
RE: Template cond for forum ids - 1master1 - 12-02-2010, 09:14 AM
RE: Template cond for forum ids - 1master1 - 12-03-2010 01:34 AM
RE: Template cond for forum ids - 1master1 - 12-03-2010, 09:00 AM
RE: Template cond for forum ids - 1master1 - 12-03-2010, 09:31 AM
RE: Template cond for forum ids - Gypaete - 05-16-2011, 12:46 AM

 Standard Tools
Forum Jump: