
<!-- If topic found successfully, show headline and reply-link [+] -->

<div class='subhl'>{TOPIC_TITLE}</div><br />

<a href='{LINK_ADD_TOPIC}'><img src='{CONF.TEMPLATE_PATH}/images/{CONF.LANG}/forum_new_topic.png' alt="{IMG_NEWTOPIC_TITLE}" title="{IMG_NEWTOPIC_TITLE}" /></a>
<a href='{LINK_REPLY}'><img src='{CONF.TEMPLATE_PATH}/images/{CONF.LANG}/forum_reply{IMG_REPY_SUFFIX}.png' alt="{IMG_REPLY_TITLE}" title="{IMG_REPLY_TITLE}" /></a>

  <!-- IF FLAGS.SOCIALROW -->
    <div class='socialrow'>
      {SOCIAL_FACEBOOK}
      {SOCIAL_TWITTER}
      {SOCIAL_GOOGLE}
    </div>
    <p class='clear'></p> 
  <!-- ENDIF FLAGS.SOCIALROW --> 

<br />

<!-- If topic found successfully, show headline and reply-link [+] -->

<table border='0' cellpadding='3' cellspacing='1' class='bgcol1 topicholder'>

<!-- If topic found successfully, show the tablehead and the topic [+] -->


<!-- IF FLAGS.POLL -->
  <!-- on the top of every page [+] -->
    <tr class='forumhead'><td colspan='2' class='poll c'>
      
      <!-- IF FLAGS.POLLFORM -->
    
      <form method='post' action='{CONF.MAINSCRIPT}' id='pollform'>
        <div>
        <input type='hidden' name='tid' value='{TOPIC_ID}' />
        <input type='hidden' name='action' value='vote' />
      <table><tr><td class='c'>{POLL_HEADLINE}
      <!-- IF POLL_SUBHEADLINE -->
        <br /><span class='small n'>{POLL_SUBHEADLINE}</span>      
      <!-- ENDIF POLL_SUBHEADLINE -->
      </td></tr>
        <tr class='n'><td>
        <!-- BEGIN POLL_OPTIONS --> 
          <input type='{top.POLL_RADCHK}' name='poll_id[]' value='{POLL_OPTION_ID}' id='poll_option{POLL_OPTION_ID}' /> <label for='poll_option{POLL_OPTION_ID}'>{POLL_OPTION}</label><br />
        <!-- END POLL_OPTIONS --> 
        </td></tr>
      </table>
      <input type='submit' value='{DESCR_SUBMIT_VOTE}' /><br />
      <span class='small b'>[<a href='{LINK_RESULTS}'>{DESCR_VIEW_RESULTS}</a>]</span>
      </div>
      </form>      
      <!-- ENDIF FLAGS.POLLFORM -->
      
      <!-- IF FLAGS.POLLRESULTS -->    
      <table><tr><td class='c' colspan='5'>{POLL_HEADLINE}
      <!-- IF POLL_SUBHEADLINE -->
        <br /><span class='small n'>{POLL_SUBHEADLINE}</span>      
      <!-- ENDIF POLL_SUBHEADLINE -->
      </td></tr>
        <!-- BEGIN POLL_OPTIONS2 --> 
          <tr class='n'><td>{POLL_OPTION}</td>
            <td><div class='bar' style='width:{BARWIDTH}px;'>&nbsp;</div></td>
            <td><b>{PERCENT}%</b></td>
            <td class='c'>[ {COUNT} ]</td>
            <td><span class='b' title='{DESCR_VOTED_FOR}'>{VOTED_FOR}</span></td></tr>
        <!-- END POLL_OPTIONS2 --> 
      </table><span class='small b'>&nbsp;<br />[{DESCR_TOTAL_VOTES}: {TOTAL_VOTES}]<br />&nbsp;</span>
      <!-- ENDIF FLAGS.POLLRESULTS -->
      
    </td></tr>
  <!-- on the top of every page [-] -->
<!-- ENDIF FLAGS.POLL -->


<!-- IF FLAGS.MAINTOPIC -->
<tr class='forumhead'><td class='c author'>{DESCR_AUTHOR}</td>
  <td class='c message'>{DESCR_MESSAGE}</td></tr>
<tr class='foruminner'><td class='vat {TOPIC_STARTER_CLASS}'><b>{TOPIC_STARTER}</b><br />
  <img src='{IMG_STARTER_AVATAR}' alt='' class='m4' />
  <!-- IF FLAGS.TOPICSTARTER -->
    <!-- IF FLAGS.USERRANK -->
    <img src='{STARTER_RANK_IMG_SRC}' alt='{STARTER_RANK}' title='{STARTER_RANK}'  class='m4' /><br />
    <!-- ENDIF FLAGS.USERRANK -->
    <div class='p5 small'>
      <b>{DESCR_JOINED}:</b> {TOPIC_STARTER_MEMBER_SINCE}<br />
      <b>{DESCR_POSTS}:</b> {TOPIC_STARTER_POSTS}<br />
      <!-- IF FLAGS.TOPICSTARTERAGE -->
        <b>{DESCR_AGE}:</b> {TOPIC_STARTER_AGE}<br />
      <!-- ENDIF FLAGS.TOPICSTARTERAGE -->
      <!-- IF FLAGS.TOPICSTARTERBDAY -->
        <b>{DESCR_BDAY}:</b> {TOPIC_STARTER_BDAY}<br />
      <!-- ENDIF FLAGS.TOPICSTARTERBDAY -->
      <!-- IF TOPIC_STARTER_LOCATION -->
        <b>{DESCR_LOCATION}:</b> {TOPIC_STARTER_LOCATION}<br />
      <!-- ENDIF TOPIC_STARTER_LOCATION -->
    </div>
  <!-- ENDIF FLAGS.TOPICSTARTER -->
  </td>
      <td class='vat'><div class='postinginfos'>{DESCR_COMPOSED} {TOPIC_DATE}&nbsp;&nbsp;&nbsp;&nbsp;{DESCR_TITLE} {TOPIC_TITLE}</div>
        <div class='post'>{TOPIC_MESSAGE}
          {STARTER_SIGNATURE}</div>
        <!-- IF FLAGS.ATTACHMENTS -->
          <div class='attachments'>
          <b>{DESCR_ATTACHMENTS}</b><br />
          <!-- BEGIN ATTACHMENTS -->
            <a href='{ATT_LINK}'>{ATT_DESCR}</a> <span class='small'>{ATT_INFO}</span><br />
          <!-- END ATTACHMENTS -->
          </div>
        <!-- ENDIF FLAGS.ATTACHMENTS -->
        
        <div class='fr p3'>

        <!-- IF FLAGS.ENLIKE -->
          <!-- If allowed to like [+] -->
                <a href="{CONF.MAINSCRIPT}?action=likepost&amp;tid={TOPIC_ID}"><img src='{CONF.TEMPLATE_PATH}/images/icons/thumb_up.png' alt="{IMG_ILIKETHISPOST}" title="{IMG_ILIKETHISPOST}" class='vab m2' /></a>
          <!-- If allowed to like [-] -->
        <!-- ENDIF FLAGS.ENLIKE -->

        <!-- IF FLAGS.ENDISLIKE -->
          <!-- If allowed to dislike [+] -->
                <a href="{CONF.MAINSCRIPT}?action=dislikepost&amp;tid={TOPIC_ID}"><img src='{CONF.TEMPLATE_PATH}/images/icons/thumb_down.png' alt="{IMG_IDONTLIKETHISPOST}" title="{IMG_IDONTLIKETHISPOST}" class='vab m2' /></a>
          <!-- If allowed to dislike [-] -->
        <!-- ENDIF FLAGS.ENDISLIKE -->

        <!-- IF RATEDFOR -->
          <i>{RATEDFOR}</i>
        <!-- ENDIF RATEDFOR -->

        <a href="{LINK_REPLY_QUOTE_T}{TOPIC_ID}"><img src='{CONF.TEMPLATE_PATH}/images/icons/quote_small.png' class='vab m2' alt="{IMG_QUOTE}" title="{IMG_QUOTE}" /></a>
        <!-- IF FLAGS.ENEDIT -->
          <!-- If allowed to edit [+] -->
                <a href="{CONF.MAINSCRIPT}?todo=edit_post&amp;tid={TOPIC_ID}"><img src='{CONF.TEMPLATE_PATH}/images/icons/pencil_small.png' alt="{IMG_EDIT_SINGLE_POST}" title="{IMG_EDIT_SINGLE_POST}" class='vab m2' /></a>
          <!-- If allowed to edit [-] -->
        <!-- ENDIF FLAGS.ENEDIT -->
        </div><p class='clear'></p>
        
        
    
    <!-- IF FLAGS.TOPICSTARTER -->
      <!-- If the Topic-Starter is still registered [+] --> 
        <div class='profilemaillinks'>
             
          <!-- IF FLAGS.ANYLIKES -->
              <div class='fl tal'>
              <!-- IF LIKES -->
                <div>
                <strong>LIKES: </strong>
                <!-- BEGIN LIKES -->
                  <!-- IF USERLINK -->
                    <a href='{USERLINK}'>{USERNAME}</a> 
                  <!-- ELSE -->
                    {USERNAME} 
                  <!-- ENDIF USERLINK -->
                <!-- END LIKES -->
                </div>
              <!-- ENDIF LIKES -->
              <!-- IF DISLIKES -->
                <div>
                <strong>DISLIKES: </strong>
                <!-- BEGIN DISLIKES -->
                  <!-- IF USERLINK -->
                    <a href='{USERLINK}'>{USERNAME}</a> 
                  <!-- ELSE -->
                    {USERNAME} 
                  <!-- ENDIF USERLINK -->
                <!-- END DISLIKES -->
                </div>
              <!-- ENDIF DISLIKES -->
              </div>
          <!-- ENDIF FLAGS.ANYLIKES -->

          <a href='{LINK_STARTER}'><img src='{CONF.TEMPLATE_PATH}/images/{CONF.LANG}/forum_profile.png' alt="{IMG_PROFILE_TITLE}" title="{IMG_PROFILE_TITLE}" /></a>
          &nbsp;&nbsp;<a href='{LINK_PMSTART}'><img src='{CONF.TEMPLATE_PATH}/images/{CONF.LANG}/forum_pm.png' alt="{IMG_PM_TITLE}" title="{IMG_PM_TITLE}" /></a>
        <!-- IF FLAGS.TOPICSTARTEREMAIL -->
          <!-- ... and the usermail notification is enabled [+] -->
          &nbsp;&nbsp;<a href='{LINK_SENDSTART}'><img src='{CONF.TEMPLATE_PATH}/images/forum_email.png' alt="{IMG_SENDMAIL_TITLE}" title="{IMG_SENDMAIL_TITLE}" /></a>
          <!-- ... and the usermail notification is enabled [-] -->
        <!-- ENDIF FLAGS.TOPICSTARTEREMAIL -->
        </div>
      <!-- If the Topic-Starter is still registered [-] -->
    <!-- ELSE -->

      <!-- IF FLAGS.ANYLIKES -->
        <div class='profilemaillinks'>
          <div class='fl tal'>
          <!-- IF LIKES -->
            <div>
            <strong>LIKES: </strong>
            <!-- BEGIN LIKES -->
              <!-- IF USERLINK -->
                <a href='{USERLINK}'>{USERNAME}</a> 
              <!-- ELSE -->
                {USERNAME} 
              <!-- ENDIF USERLINK -->
            <!-- END LIKES -->
            </div>
          <!-- ENDIF LIKES -->
          <!-- IF DISLIKES -->
            <div>
            <strong>DISLIKES: </strong>
            <!-- BEGIN DISLIKES -->
              <!-- IF USERLINK -->
                <a href='{USERLINK}'>{USERNAME}</a> 
              <!-- ELSE -->
                {USERNAME} 
              <!-- ENDIF USERLINK -->
            <!-- END DISLIKES -->
            </div>
          <!-- ENDIF DISLIKES -->
          </div>
        </div>
      <!-- ENDIF FLAGS.ANYLIKES -->

    <!-- ENDIF FLAGS.TOPICSTARTER -->



  </td></tr>
<!-- If topic found successfully, show the tablehead and the topic [-] -->
<!-- ENDIF FLAGS.MAINTOPIC-->

<!-- Replies part [+] -->

<!-- IF REPLIES -->
  <!-- the seperator row [+] -->
<tr class='forumhead'><td colspan='2' class='tabsep'>&nbsp;</td></tr>
  <!-- the seperator row [-] -->  
<!-- ENDIF REPLIES -->


<!-- BEGIN REPLIES -->

  <!-- And now go through the replies -->
  <tr class='foruminner'>
    <td class='vat {REPLY_POSTER_CLASS}'><b>{REPLY_POSTER}</b><br />
      <img src='{IMG_POSTER_AVATAR}' alt='' class='m4' />
      <!-- IF REPLY_UID -->
        <!-- IF REPLY_RANK_IMG_SRC -->
        <img src='{REPLY_RANK_IMG_SRC}' alt='{REPLY_RANK}' title='{REPLY_RANK}' class='m4' /><br />
        <!-- ENDIF REPLY_RANK_IMG_SRC -->
        <div class='p5 small'>
          <b>{top.DESCR_JOINED}:</b> {REPLY_POSTER_MEMBER_SINCE}<br />
          <b>{top.DESCR_POSTS}:</b> {REPLY_POSTER_POSTS}<br />
          <!-- IF REPLY_POSTER_AGE -->
            <b>{top.DESCR_AGE}:</b> {REPLY_POSTER_AGE}<br />
          <!-- ELSE -->
            <!-- IF REPLY_POSTER_BDAY -->
            <b>{top.DESCR_BDAY}:</b> {REPLY_POSTER_BDAY}<br />
            <!-- ENDIF REPLY_POSTER_BDAY -->
          <!-- ENDIF REPLY_POSTER_AGE -->
          <!-- IF REPLY_POSTER_LOCATION -->
            <b>{top.DESCR_LOCATION}:</b> {REPLY_POSTER_LOCATION}<br />
          <!-- ENDIF REPLY_POSTER_LOCATION -->
        </div>
      <!-- ENDIF REPLY_UID -->
      </td>
          <td class='vat' ><div class='postinginfos'>{top.DESCR_COMPOSED} {REPLY_DATE}&nbsp;&nbsp;&nbsp;&nbsp;{DESCR_REPLY_TITLE} {REPLY_TITLE} <a name='t{REPLY_ID}'>&nbsp;</a></div>
            <div class='post'>{REPLY_MESSAGE}
              {SIGNATURE}</div>           
            
            
            <!-- IF RATTACHMENTS -->
              <div class='attachments'>
              <b>{top.DESCR_ATTACHMENTS}</b><br />
              <!-- BEGIN RATTACHMENTS -->
                <a href='{ATT_LINK}'>{ATT_DESCR}</a> <span class='small'>{ATT_INFO}</span><br />
              <!-- END RATTACHMENTS -->
              </div>
            <!-- ENDIF RATTACHMENTS -->
            
  <div class='fr p3'>

        <!-- IF ENLIKE -->
          <!-- If allowed to like [+] -->
            <a href="{top.CONF.MAINSCRIPT}?action=likepost&amp;tid={top.TOPIC_ID}&amp;pid={REPLY_ID}&amp;p={top.CURRENT_PAGE}#t{REPLY_ID}"><img src='{top.CONF.TEMPLATE_PATH}/images/icons/thumb_up.png' alt="{top.IMG_ILIKETHISPOST}" title="{top.IMG_ILIKETHISPOST}" class='vab m2' /></a>
          <!-- If allowed to like [-] -->
        <!-- ENDIF ENLIKE -->

        <!-- IF ENDISLIKE -->
          <!-- If allowed to dislike [+] -->
            <a href="{top.CONF.MAINSCRIPT}?action=dislikepost&amp;tid={top.TOPIC_ID}&amp;pid={REPLY_ID}&amp;p={top.CURRENT_PAGE}#t{REPLY_ID}"><img src='{top.CONF.TEMPLATE_PATH}/images/icons/thumb_down.png' alt="{top.IMG_IDONTLIKETHISPOST}" title="{top.IMG_IDONTLIKETHISPOST}" class='vab m2' /></a>
          <!-- If allowed to dislike [-] -->
        <!-- ENDIF ENDISLIKE -->

        <!-- IF RATEDFOR -->
          <i>{RATEDFOR}</i>
        <!-- ENDIF RATEDFOR -->

  <a href="{top.LINK_REPLY_QUOTE_R}{REPLY_ID}"><img src='{top.CONF.TEMPLATE_PATH}/images/icons/quote_small.png' alt="{top.IMG_QUOTE}" title="{top.IMG_QUOTE}" class='m2 vab' /></a>
  <!-- IF top.FLAGS.ISMOD -->
    <!-- If Moderator [+] -->
          <a href="{top.CONF.MAINSCRIPT}?action=delpost&amp;tid={top.TOPIC_ID}&amp;pid={REPLY_ID}" onclick="return confirm('{top.CONFIRM_DELPOST}');"><img src='{top.CONF.TEMPLATE_PATH}/images/icons/delete_small.png' alt="{top.IMG_DELETE_SINGLE_TITLE}" title="{top.IMG_DELETE_SINGLE_TITLE}" class='m2 vab' /></a>
    <!-- If Moderator [-] -->
  <!-- ENDIF top.FLAGS.ISMOD -->
  
  <!-- IF RENEDIT -->
    <!-- If allowed to edit [+] -->
      <a href="{top.CONF.MAINSCRIPT}?todo=edit_post&amp;tid={top.TOPIC_ID}&amp;pid={REPLY_ID}"><img src='{top.CONF.TEMPLATE_PATH}/images/icons/pencil_small.png' alt="{top.IMG_EDIT_SINGLE_POST}" title="{top.IMG_EDIT_SINGLE_POST}" class='m2 vab' /></a>
    <!-- If allowed to edit [+] -->
  <!-- ENDIF RENEDIT --> 
  </div><p class='clear'></p>
  
  <!-- IF REPLY_UID -->
    <!-- Is reply user still registered [+] -->
      <div class='profilemaillinks'>


      <!-- IF ANYLIKES -->
          <div class='fl tal'>
          <!-- IF LIKES -->
            <div>
            <strong>LIKES: </strong>
            <!-- BEGIN LIKES -->
              <!-- IF USERLINK -->
                <a href='{USERLINK}'>{USERNAME}</a> 
              <!-- ELSE -->
                {USERNAME} 
              <!-- ENDIF USERLINK -->
            <!-- END LIKES -->
            </div>
          <!-- ENDIF LIKES -->
          <!-- IF DISLIKES -->
            <div>
            <strong>DISLIKES: </strong>
            <!-- BEGIN DISLIKES -->
              <!-- IF USERLINK -->
                <a href='{USERLINK}'>{USERNAME}</a> 
              <!-- ELSE -->
                {USERNAME} 
              <!-- ENDIF USERLINK -->
            <!-- END DISLIKES -->
            </div>
          <!-- ENDIF DISLIKES -->
          </div>
      <!-- ENDIF ANYLIKES -->


        <a href='{LINK_REPLYER}'><img src='{top.CONF.TEMPLATE_PATH}/images/{top.CONF.LANG}/forum_profile.png' alt="{top.IMG_PROFILE_TITLE}" title="{top.IMG_PROFILE_TITLE}" /></a>
        &nbsp;&nbsp;<a href='{LINK_PMREPL}'><img src='{top.CONF.TEMPLATE_PATH}/images/{top.CONF.LANG}/forum_pm.png' alt="{top.IMG_PM_TITLE}" title="{top.IMG_PM_TITLE}" /></a>
    <!-- IF REPLY_ENMAIL -->
        <!-- ... and the usermail notification is enabled [+] -->
          &nbsp;&nbsp;<a href='{LINK_SENDREPL}'><img src='{top.CONF.TEMPLATE_PATH}/images/forum_email.png' alt="{top.IMG_SENDMAIL_TITLE}" title="{top.IMG_SENDMAIL_TITLE}" /></a>
        <!-- ... and the usermail notification is enabled [-] -->
    <!-- ENDIF REPLY_ENMAIL --> 
    </div>
    <!-- Is reply user still registered [-] -->

    <!-- ELSE -->

      <!-- IF ANYLIKES -->
        <div class='profilemaillinks'>
          <div class='fl tal'>
          <!-- IF LIKES -->
            <div>
            <strong>LIKES: </strong>
            <!-- BEGIN LIKES -->
              <!-- IF USERLINK -->
                <a href='{USERLINK}'>{USERNAME}</a> 
              <!-- ELSE -->
                {USERNAME} 
              <!-- ENDIF USERLINK -->
            <!-- END LIKES -->
            </div>
          <!-- ENDIF LIKES -->
          <!-- IF DISLIKES -->
            <div>
            <strong>DISLIKES: </strong>
            <!-- BEGIN DISLIKES -->
              <!-- IF USERLINK -->
                <a href='{USERLINK}'>{USERNAME}</a> 
              <!-- ELSE -->
                {USERNAME} 
              <!-- ENDIF USERLINK -->
            <!-- END DISLIKES -->
            </div>
          <!-- ENDIF DISLIKES -->
          </div>
        </div>
      <!-- ENDIF ANYLIKES -->

  <!-- ENDIF REPLY_UID -->
</td></tr>
<!-- Replies part [-] -->

<!-- END REPLIES -->

<tr class='forumfoot'><td colspan='6' class='tar'>
      <a href='{LINK_REPLY}'><img src='{CONF.TEMPLATE_PATH}/images/{CONF.LANG}/forum_reply{IMG_REPY_SUFFIX}.png' alt="{IMG_REPLY_TITLE}" title="{IMG_REPLY_TITLE}" /></a>
    
  <!-- add one more new topic link -->
    <a href='{LINK_ADD_TOPIC}'><img src='{CONF.TEMPLATE_PATH}/images/{CONF.LANG}/forum_new_topic.png' alt="{IMG_NEWTOPIC_TITLE}" title="{IMG_NEWTOPIC_TITLE}" /></a>
    </td></tr>

</table>

  <!-- BEGIN NAV_PAGES -->
    <!-- IF P -->
      <div class='page<!-- IF ACTIVE -->sel<!-- ENDIF ACTIVE -->'><a href='{top.LINK_PAGE_PREFIX}{P}{PAGER_SUFFIX}'>{P}</a></div>
    <!-- ENDIF P -->
    <!-- IF SEP -->
      <div class='pagesep'>...</div>
    <!-- ENDIF SEP -->
  <!-- END NAV_PAGES -->
  <p class='clear'></p>


  <div class='fr'>
      <img src='{CONF.TEMPLATE_PATH}/images/icons/printer.png' alt='' class='mr6 vat' /><a href="{LINK_PRINT_TXT}">{DESCR_PRINT}</a><br />    
    <!-- IF FLAGS.LOGGEDIN --> 
            <img src='{CONF.TEMPLATE_PATH}/images/icons/{IMG_WATCH_PREFIX}watch.png' alt='' class='mr6 vat' /><a href="{CONF.MAINSCRIPT}?action={IMG_WATCH_PREFIX}watchtopic&amp;tid={TOPIC_ID}">{DESCR_WATCHTOPIC}</a><br />
      <!-- IF FLAGS.ISMOD -->
        <!-- If Moderator [+] -->
            <img src='{CONF.TEMPLATE_PATH}/images/icons/delete.png' alt='' class='mr6 vat' /><a href="{CONF.MAINSCRIPT}?action=deltopic&amp;tid={TOPIC_ID}&amp;fid={FORUM_ID}" onclick="return confirm('{CONFIRM_DELTOPIC}');">{DESCR_DELTOPIC}</a><br />
            <img src='{CONF.TEMPLATE_PATH}/images/icons/{IMG_LOCK_PREFIX}lock.png' alt='' class='mr6 vat' /><a href="{CONF.MAINSCRIPT}?action=chglock&amp;tid={TOPIC_ID}&amp;currlock={TOPIC_LOCK}">{DESCR_LOCKTOPIC}</a><br />
            <img src='{CONF.TEMPLATE_PATH}/images/icons/move_topic.png' alt='' class='mr6 vat' /><a href="{CONF.MAINSCRIPT}?todo=movetopic&amp;tid={TOPIC_ID}">{DESCR_MOVETOPIC}</a>
        <!-- If Moderator [-] -->
      <!-- ENDIF FLAGS.ISMOD -->
    <!-- ENDIF FLAGS.LOGGEDIN --> 
  </div><p class='clear'></p>
     






