FIND IN showthread.php:
Code:
$post['musername'] = fetch_musername($post);
$post['islastshown'] = ($post['postid'] == $lastpostid);
REPLACE WITH:
Code:
$post['musername'] = fetch_musername($post);
$post['islastshown'] = ($post['postid'] == $lastpostid);
// ================================================= \\
// == [ MODIFIED - GTP BEGIN ]
$post['isfirstshown'] = ($post['postid'] == $FIRSTPOSTID);
// == [ 00-00-2004 - GTP END ]
// ================================================= \\
NOW IN postbit TEMPLATE:
FIND
(at the bottom):
Code:
<if condition="$show['spacer']">
</div>
$spacer_close
</if>
<!-- / post #$post[postid] -->
REPLACE WITH:
Code:
<if condition="$post['isfirstshown'] OR $post['islastshown']">
<table class="tborder" id="post$post[postid]" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead">Sponsors</td>
<td class="alt1">
<if condition="$post['isfirstshown']">this is the first post of every page
<else />
this is the last post of every page</if>
</td>
</tr>
</table>
</if>
<if condition="$show['spacer']">
</div>
$spacer_close
</if>
<!-- / post #$post[postid] -->