<vb:if condition="THIS_SCRIPT == 'forumdisplay'">
<tr><td class="blockrow">
<li class="threadbit {vb:raw thread.statusstring}" id="thread_{vb:raw thread.realthreadid}">
<div class="rating{vb:raw thread.rating}">
		<div class="threadinfo" style="width:100%">
			<!--  status icon block -->
			<a class="threadstatus" rel="vB::AJAX" title="
			<vb:if condition="$show['threadcount']">
				{vb:rawphrase have_x_posts_in_thread_last_y, {vb:raw thread.dot_count}, {vb:raw thread.dot_lastpost}}
			</vb:if>
			"></a>
		
			<!-- title / author block -->
			<div class="inner">
				<h3 class="threadtitle">
                                       <vb:if condition="$show['gotonewpost']"><a href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_newpost}, 'threadid', 'threadtitle'}" id="thread_gotonew_{vb:raw thread.realthreadid}"><img class="gotonewpost" src="{vb:stylevar imgdir_button}/firstnew.gif" alt="{vb:rawphrase go_to_first_new_post}" /></a>
					</vb:if>	
						
                                        <vb:if condition="$show['threadicon']">
                                                <img src="{vb:raw thread.threadiconpath}" alt="{vb:raw thread.threadicontitle}" border="0" />
                                        </vb:if>

					<vb:if condition="$thread['sticky']">
					 	<img src="{vb:stylevar imgdir_misc}/sticky.gif" alt="{vb:rawphrase sticky_thread}" />
					</vb:if>
                                        
 					<vb:if condition="$thread['movedprefix'] OR $thread['typeprefix'] OR $thread['moderatedprefix'] OR $thread['prefix_rich']">
						<span class="prefix understate">
							{vb:raw thread.movedprefix}
							{vb:raw thread.typeprefix}
							{vb:raw thread.moderatedprefix}
							{vb:raw thread.prefix_rich}
						</span>
					</vb:if>
                                        <a class="title<vb:if condition="$show['gotonewpost']"> threadtitle_unread</vb:if>" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}">{vb:raw thread.threadtitle}</a>
				</h3>
						

				<div class="threadmeta">				
					<p class="threaddesc">{vb:raw thread.preview}</p>
					<div class="author">
						<vb:if condition="$show['rmanage']">
							<span class="rmanage"><a href="postings.php?{vb:raw session.sessionurl}do=editthread&amp;t={vb:raw thread.redirectthreadid}">{vb:rawphrase manage}</a></span>
						</vb:if>						
						{vb:rawphrase started_by_x_y_z_a, {vb:link member, 
						{vb:raw thread}, null, 'postuserid', 'postusername'}, 
						{vb:raw thread.postusername}, {vb:raw thread.startdate}, 
						{vb:raw thread.starttime}, {vb:stylevar dirmark}}
						<vb:if condition="$show['unsubscribe']">
							 &nbsp; <a href="newreply.php?{vb:raw session.sessionurl}do=newreply&amp;t={vb:raw thread.threadid}" rel="nofollow">{vb:rawphrase reply}</a>
							 | <a href="subscription.php?{vb:raw session.sessionurl}do=removesubscription&amp;return=ucp&amp;t={vb:raw thread.threadid}" rel="nofollow">{vb:rawphrase unsubscribe}</a>
						</vb:if>
						<vb:if condition="$show['unsubscribe']">
							 &nbsp;</vb:if><vb:if condition="$thread['pagenav']"><dl class="pagination" id="pagination_threadbit_{vb:raw thread.realthreadid}">
								<dt class="label">{vb:raw thread.totalpages} {vb:rawphrase pages} <span class="separator">&bull;</span></dt>
								<dd>
									<span class="pagelinks">
										{vb:raw thread.pagenav}
										<vb:if condition="$show['pagenavmore']"> ... <a href="{vb:raw thread.lastpagelink}">{vb:raw thread.totalpages}</a></vb:if>
									</span>
								</dd>
							</dl>
						</vb:if>
					</div>
					
				</div>

			</div>				
			<!-- iconinfo -->
			<div class="threaddetails td">
				<div class="threaddetailicons">
					<vb:if condition="$show['taglist']">
						<img src="{vb:stylevar imgdir_misc}/tag.gif" alt="{vb:raw thread.taglist}" />
					</vb:if>
					<vb:if condition="$show['rexpires']">
						<img src="{vb:stylevar imgdir_misc}/expires.gif" alt="{vb:rawphrase expires_on_x_y, {vb:raw thread.expiredate}, {vb:raw thread.expiretime}}" />
					</vb:if>
					<vb:if condition="$show['moderated']">
						<img src="{vb:stylevar imgdir_misc}/moderated_small.gif" alt="{vb:rawphrase x_moderated_posts, {vb:raw thread.hiddencount}}" />
					</vb:if>
					<vb:if condition="$show['deletedthread']">
						<img src="{vb:stylevar imgdir_misc}/trashcan_small.gif" alt="{vb:rawphrase x_deleted_posts, {vb:raw thread.deletedcount}}" />
					</vb:if>
					<vb:if condition="$show['paperclip']">
						<a href="javascript://" onclick="attachments({vb:raw thread.threadid}); return false"> <img src="{vb:stylevar imgdir_misc}/paperclip.gif" border="0" alt="{vb:rawphrase x_attachments, {vb:raw thread.attach}}" /></a>
					</vb:if>
					<vb:if condition="$show['subscribed']">
						<img src="{vb:stylevar imgdir_misc}/subscribed.gif" alt="{vb:rawphrase you_are_subscribed_to_this_thread}" />
					</vb:if>
				</div>
			</div>
		</div>
</div></li>
</td><td class="blockrow" align="center" nowrap>
		<!-- lastpost -->
		<dl class="">
			<dt class="lastpostby hidden">{vb:rawphrase last_post_by}</dt>

	<dd>{vb:raw memberaction_dropdown}</dd>
			<dd>{vb:raw thread.lastpostdate} <em class="time">{vb:raw thread.lastposttime}</em> <a href="showthread.php?{vb:raw session.sessionurl}p={vb:raw thread.lastpostid}{vb:raw thread.highlight}<vb:if condition="$thread['pagenav']">&amp;page={vb:raw thread.totalpages}</vb:if>#post{vb:raw thread.lastpostid}" class="lastpostdate understate" title="{vb:rawphrase go_to_last_post}"><img src="{vb:stylevar imgdir_button}/lastpost-{vb:stylevar right}.gif" alt="{vb:rawphrase go_to_last_post}" /></a></dd>
		</dl>
</td><td class="blockrow" align="center">		
		<!-- threadstats -->
		<vb:if condition="!$show['notificationtype']">
		<ul class="" title="<vb:if condition="$thread['dot_count'] > 0">{vb:rawphrase have_x_posts_in_thread_last_y, {vb:raw thread.dot_count}, {vb:raw thread.dot_lastpost}}</vb:if>">
			<li><a href="misc.php?do=whoposted&amp;t={vb:raw thread.threadid}" onclick="who({vb:raw thread.threadid}); return false;" class="understate">{vb:raw thread.replycount}</a></li>
			<li class="hidden">{vb:rawphrase rating}{vb:raw thread.rating} / 5</li>
		</ul>
		</vb:if>
</td><td class="blockrow" align="center">
<li>{vb:raw thread.views}</li>
</td><td class="blockrow" align="center">
		<vb:if condition="$show['notificationtype']">
		<!--  notification -->
		<div class="threadnotification td" >
			<label for="thread_imod_checkbox_{vb:raw thread.realthreadid}">{vb:raw thread.notification}</label>
		</div>
		<label class="threadimod td">
			<input type="checkbox" name="deletebox[{vb:raw subscribethread.$threadid}]" id="thread_imod_checkbox_{vb:raw thread.realthreadid}" value="yes" tabindex="1" />
		</label>
		</vb:if>
		
		<vb:if condition="$show['inlinemod']">
		<!-- fourth block -->
		<label class="">
			<input type="checkbox" id="thread_imod_checkbox_{vb:raw thread.realthreadid}" name="imodcheck[{vb:raw thread.realthreadid}]" tabindex="1" />
		</label>
		</vb:if>
</td></tr>
<vb:else />
<li class="threadbit {vb:raw thread.statusstring}" id="thread_{vb:raw thread.realthreadid}">
	<div class="rating{vb:raw thread.rating}<vb:if condition="$thread['sticky']"> sticky<vb:else /> nonsticky</vb:if>">
		<div class="threadinfo">
			<!--  status icon block -->
			<a class="threadstatus" rel="vB::AJAX" title="
			<vb:if condition="$show['threadcount']">
				{vb:rawphrase have_x_posts_in_thread_last_y, {vb:raw thread.dot_count}, {vb:raw thread.dot_lastpost}}
			</vb:if>
			"></a>
		
			<!-- title / author block -->
			<div class="inner">
				<h3 class="threadtitle">
                                       <vb:if condition="$show['gotonewpost']"><a href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_newpost}, 'threadid', 'threadtitle'}" id="thread_gotonew_{vb:raw thread.realthreadid}"><img class="gotonewpost" src="{vb:stylevar imgdir_button}/firstnew.gif" alt="{vb:rawphrase go_to_first_new_post}" /></a>
					</vb:if>	
						
                                        <vb:if condition="$show['threadicon']">
                                                <img src="{vb:raw thread.threadiconpath}" alt="{vb:raw thread.threadicontitle}" border="0" />
                                        </vb:if>

					<vb:if condition="$thread['sticky']">
					 	<img src="{vb:stylevar imgdir_misc}/sticky.gif" alt="{vb:rawphrase sticky_thread}" />
					</vb:if>
                                        
 					<vb:if condition="$thread['movedprefix'] OR $thread['typeprefix'] OR $thread['moderatedprefix'] OR $thread['prefix_rich']">
						<span class="prefix understate">
							{vb:raw thread.movedprefix}
							{vb:raw thread.typeprefix}
							{vb:raw thread.moderatedprefix}
							{vb:raw thread.prefix_rich}
						</span>
					</vb:if>
                                        <a class="title<vb:if condition="$show['gotonewpost']"> threadtitle_unread</vb:if>" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw thread.realthreadid}">{vb:raw thread.threadtitle}</a>
				</h3>
						

				<div class="threadmeta">				
					<p class="threaddesc">{vb:raw thread.preview}</p>
					<div class="author">
						<vb:if condition="$show['rmanage']">
							<span class="rmanage"><a href="postings.php?{vb:raw session.sessionurl}do=editthread&amp;t={vb:raw thread.redirectthreadid}">{vb:rawphrase manage}</a></span>
						</vb:if>						
						{vb:rawphrase started_by_x_y_z_a, {vb:link member, {vb:raw thread}, null, 'postuserid', 'postusername'}, {vb:raw thread.postusername}, {vb:raw thread.startdate}, {vb:raw thread.starttime}}
						<vb:if condition="$show['unsubscribe']">
							 &nbsp; <a href="newreply.php?{vb:raw session.sessionurl}do=newreply&amp;t={vb:raw thread.threadid}" rel="nofollow">{vb:rawphrase reply}</a>
							 | <a href="subscription.php?{vb:raw session.sessionurl}do=removesubscription&amp;return=ucp&amp;t={vb:raw thread.threadid}" rel="nofollow">{vb:rawphrase unsubscribe}</a>
						</vb:if>
						<vb:if condition="$thread['pagenav']">
							<dl class="pagination" id="pagination_threadbit_{vb:raw thread.realthreadid}">
								<dt class="label">{vb:raw thread.totalpages} {vb:rawphrase pages} <span class="separator">&bull;</span></dt>
								<dd>
									<span class="pagelinks">
										{vb:raw thread.pagenav}
										<vb:if condition="$show['pagenavmore']"> ... <a href="{vb:raw thread.lastpagelink}">{vb:raw thread.totalpages}</a></vb:if>
									</span>
								</dd>
							</dl>
						</vb:if>
					</div>
					
				</div>

			</div>				
			<!-- iconinfo -->
			<div class="threaddetails td">
				<div class="threaddetailicons">
					<vb:if condition="$show['taglist']">
						<img src="{vb:stylevar imgdir_misc}/tag.gif" alt="{vb:raw thread.taglist}" />
					</vb:if>
					<vb:if condition="$show['rexpires']">
						<img src="{vb:stylevar imgdir_misc}/expires.gif" alt="{vb:rawphrase expires_on_x_y, {vb:raw thread.expiredate}, {vb:raw thread.expiretime}}" />
					</vb:if>
					<vb:if condition="$show['moderated']">
						<img src="{vb:stylevar imgdir_misc}/moderated_small.gif" alt="{vb:rawphrase x_moderated_posts, {vb:raw thread.hiddencount}}" />
					</vb:if>
					<vb:if condition="$show['deletedthread']">
						<img src="{vb:stylevar imgdir_misc}/trashcan_small.gif" alt="{vb:rawphrase x_deleted_posts, {vb:raw thread.deletedcount}}" />
					</vb:if>
					<vb:if condition="$show['paperclip']">
						<a href="javascript://" onclick="attachments({vb:raw thread.threadid}); return false"> <img src="{vb:stylevar imgdir_misc}/paperclip.gif" border="0" alt="{vb:rawphrase x_attachments, {vb:raw thread.attach}}" /></a>
					</vb:if>
					<vb:if condition="$show['subscribed']">
						<img src="{vb:stylevar imgdir_misc}/subscribed.gif" alt="{vb:rawphrase you_are_subscribed_to_this_thread}" />
					</vb:if>
				</div>
			</div>
		</div>
		
		<!-- threadstats -->
		<vb:if condition="!$show['notificationtype']">
		<ul class="threadstats td alt" title="<vb:if condition="$thread['dot_count'] > 0">{vb:rawphrase have_x_posts_in_thread_last_y, {vb:raw thread.dot_count}, {vb:raw thread.dot_lastpost}}</vb:if>">
			<li>{vb:rawphrase replies}: <a href="misc.php?do=whoposted&amp;t={vb:raw thread.threadid}" onclick="who({vb:raw thread.threadid}); return false;" class="understate">{vb:raw thread.replycount}</a></li>
			<li>{vb:rawphrase views}: {vb:raw thread.views}</li>
			<li class="hidden">{vb:rawphrase rating}{vb:raw thread.rating} / 5</li>
		</ul>
		</vb:if>					
		<!-- lastpost -->
		<dl class="threadlastpost td<vb:if condition="$show['notificationtype']"> alt</vb:if>">
			<dt class="lastpostby hidden">{vb:rawphrase last_post_by}</dt>

	<dd>{vb:raw memberaction_dropdown}</dd>
			<dd>{vb:raw thread.lastpostdate} <em class="time">{vb:raw thread.lastposttime}</em> <a href="showthread.php?{vb:raw session.sessionurl}p={vb:raw thread.lastpostid}{vb:raw thread.highlight}<vb:if condition="$thread['pagenav']">&amp;page={vb:raw thread.totalpages}</vb:if>#post{vb:raw thread.lastpostid}" class="lastpostdate understate" title="{vb:rawphrase go_to_last_post}"><img src="{vb:stylevar imgdir_button}/lastpost-{vb:stylevar right}.gif" alt="{vb:rawphrase go_to_last_post}" /></a></dd>
		</dl>

		<vb:if condition="$show['notificationtype']">
		<!--  notification -->
		<div class="threadnotification td" >
			<label for="thread_imod_checkbox_{vb:raw thread.realthreadid}">{vb:raw thread.notification}</label>
		</div>
		<label class="threadimod td">
			<input type="checkbox" name="deletebox[{vb:raw subscribethread.$threadid}]" id="thread_imod_checkbox_{vb:raw thread.realthreadid}" value="yes" tabindex="1" />
		</label>
		</vb:if>
		
		<vb:if condition="$show['inlinemod']">
		<!-- fourth block -->
		<label class="threadimod td alt">
			<input type="checkbox" id="thread_imod_checkbox_{vb:raw thread.realthreadid}" name="imodcheck[{vb:raw thread.realthreadid}]" tabindex="1" />
		</label>
		</vb:if>
		
	</div>
</li>
</vb:if>