View Single Post
  #7  
Old 10-11-2006, 05:42 PM
attroll's Avatar
attroll attroll is offline
Senior Member
 
Join Date: Oct 2005
Posts: 155
Geek Article and Review System License Holder Geek Advertising Banner License Holder 
Default

Here is my GARS_pb template.
PHP Code:
<!-- Article #$post[postid] -->
<if condition="$show['garsspacer']">
        
$spacer_open
        
<div id="edit$post[postid]" style="padding:0px 0px $stylevar[cellpadding]px 0px">
</if>
<if 
condition="$post['GARS_modposition1']">
        <
table class="tborder" id="post$post[postid]" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
            <
tr>
                <
td class="alt1" valign="middle" align="center" <if condition="$post['GARS_modposition2']">colspan="2"</if>>
                    
$post[GARS_modposition1]
                </
td>
            </
tr>
        </
table>
</if>

<!-- 
Header -->
<
table class="tborder" cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<
tr>
        <
td class="alt2" valign="top" width="100%" <if condition="!$post['GARS_modposition2']">colspan="2"</if> style="padding:10px;" $post[scrolltothis]>
        <if 
condition="$post['GARS_header_image']">
            <
div style="float:$stylevar[left];">
                
$post[GARS_pre_header_image]<img src="$post[GARS_header_image]" border="0" alt="$post[title]" />$post[GARS_post_header_image]
                </
div>
        </if>
                <if 
condition="$show['inlinemod']">
                <
div class="bigusername" style="float:$stylevar[right];"><input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" onclick="inlineMod.toggle(this)" /></div>
        </if>
        <
strong>$post[title]</strong>
        <
div class="smallfont">
                <if 
condition="$post['byline']">$post[byline]<br /></if>
            
$vbphrase[GARS_published_by] <a href="member.php?u=$post[userid]">$post[musername]</a><br />
            
$vbphrase[posted$post[postdate]
       </
div>
    </
td>
    <if 
condition="$post['GARS_modposition2']">
                <
td width="200px" class="alt2" align="center" style="padding:10px;" valign="top">
                <
div style="float: $stylevar[right];padding-$stylevar[right]: 15px;">
                        
$post[GARS_modposition2]
                <
img src="clear.gif" width="200px" height="1px" border="0" />
            </
div>
        </
td>
    </if>
</
tr>
<if 
condition="$post['GARS_modposition3']">
<
tr>
        <
td <if condition="$post['GARS_modposition2']">colspan="2"</if> class="alt1" valign="middle">
        
$post[GARS_modposition3]
    </
td>
</
tr>
</if>
<
tr>
        <
td class="alt2" valign="top" <if condition="$post['GARS_modposition2']">colspan="2"</if> style="padding: 0px 10px 0px 10px;">
        <
table id="post$post[postid]" cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
                <
tr>
                <if 
condition="$post['GARS_modposition4']">
                    <
td width="200px" style="padding:10px;" class="alt1" valign="top">
                        <
table cellpadding="0" cellspacing="0" border="0" width="200px">
                            <
tr>
                                <
td class="alt1" valign="top">
                                    
$post[GARS_modposition4]
                                </
td>
                            </
tr>
                            <
tr>
                                <
td class="alt1" valign="bottom">
                                  <
img src="clear.gif" width="200px" height="1px" border="0" />
                                </
td>
                            </
tr>
                        </
table>
                    </
td>
                </if>
                    <
td class="alt1" valign="top" width="100%" style="padding:10px;" <if condition="(!$post['GARS_modposition4'] && $post['GARS_modposition5']) || ($post['GARS_modposition4'] && !$post['GARS_modposition5'])">colspan="2"<else /><if condition="!$post['GARS_modposition4'] && !$post['GARS_modposition5']">colspan="3"</if></if>>
                   <if 
condition="$post['gars_pagename']">
                        <
div class="smallfont">
                                <if 
condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
                                <
strong>$post[gars_pagename]</strong>
                        </
div>
                        <
hr size="1" style="color:$stylevar[tborder_bgcolor]" />
                                        </if>
                        <
div id="post_message_$post[postid]" align="justify">$post[message]</div>
                        <if 
condition="$post['signature']">
                            <!-- 
sig -->
                            <
div>
                                
__________________<br />
                                
$post[signature]
                            </
div>
                            <!-- / 
sig -->
                        </if>
                    </
td>
                <if 
condition="$post['GARS_modposition5']">
                    <
td width="200px" style="padding:10px;" class="alt1" valign="top">
                        <
table cellpadding="0" cellspacing="0" border="0" width="200px">
                            <
tr>
                                <
td class="alt1" valign="top">
                                    
$post[GARS_modposition5]
                                </
td>
                            </
tr>
                            <
tr>
                                <
td class="alt1" valign="bottom">
                                  <
img src="clear.gif" width="200px" height="1px" border="0" />
                                </
td>
                            </
tr>
                        </
table>
                    </
td>
                </if>
                </
tr>
        </
table>
        </
td>
</
tr>
<if 
condition="$post['GARS_modposition6']">
<
tr>
        <
td class="alt2" <if condition="$post['GARS_modposition2']">colspan="2"</if>>
        
$post[GARS_modposition6]
    </
td>
</
tr>
</if>
<
tr>
        <
td class="alt2" valign="top" style="padding:10px;" <if condition="$post['GARS_modposition2']">colspan="2"</if>>
        <
div style="font:bold;" align="center">
        
$post[GARS_navigation]
        </
div>
        <
div align="$stylevar[right]" style="float:bottom-right;">
            <!-- 
controls -->
            <if 
condition="$post['editlink']">
                <!--<
a href="$post[editlink]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>-->
                                <
a href="$post[editlink]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
            </if>
            <if 
condition="$post['replylink']">
                <
a href="$post[replylink]&amp;noquote=1"><img src="$stylevar[imgdir_button]/reply_small.gif" alt="" border="0" /></a>
            </if>
            <if 
condition="$show['quickreply'] AND !$show['threadedmode']">
                <
a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
            </if>
            <!-- / 
controls -->
        </
div>
        </
td>
</
tr>
</
table>
<if 
condition="$show['garsspacer']">
</
div>
$spacer_close
</if>
<!-- / 
Article #$post[postid] --> 
Reply With Quote