<!--HIDE NAME="TOPICFOUND"-->
  <!--if post will be an answer to an existing topic [+] -->
<div class='subhl'>{TOPIC_TITLE}</div><br />
  <!--if post will be an answer to an existing topic [-] -->
<!--/HIDE NAME="TOPICFOUND"-->

<!--HIDE NAME="EDITTOPICTITLE"-->
  <!--show title of editing topic [+] -->
<div class='subhl'>{TOPIC_TITLE}</div><br />
  <!--ishow title of editing topic [-] -->
<!--/HIDE NAME="EDITTOPICTITLE"-->

<!--HIDE NAME="TOPICNOTLOCKED"-->

<form method='post' action='{CONF_MAINSCRIPT}' enctype='multipart/form-data'>
    
  <table border='0' cellpadding='3' cellspacing='1' class='bgcol1 topicform'>
    <tr class='forumhead'><td colspan='2' class='c'>{HEADLINE_FORM}</td></tr>

    <!--HIDE NAME="GUEST_NAME"-->
    <tr class='foruminner'><td class='vat descr'><b>{DESCR_NICKNAME}</b> <span class='small'>{DESCR_OPTIONAL}</span></td>
      <td class='field'><input type='text' name='guest_name' value='{FORM_VAL_GUEST_NAME}' class='f100' /></td></tr>
    <!--/HIDE NAME="GUEST_NAME"-->

    <tr class='foruminner'><td class='b vat descr'>{DESCR_TITLE}</td>
      <td class='field'>
        <input type='hidden' name='tid' value='{TOPIC_ID}' />
        <input type='hidden' name='pid' value='{POST_ID}' />
        <input type='hidden' name='fid' value='{FORUM_ID}' />
        <input type='hidden' name='action' value='{FORM_VAL_ACTION}' />
        <input type='hidden' name='fts' value='{FORM_VAL_FTS}' />
        <input type='text' name='topic' value='{FORM_VAL_TOPIC}' class='f100' />
      </td></tr>
    <tr class='foruminner'><td class='b vat'>{DESCR_MESSAGE}</td>
      <td>
    
    <div>
      <div class='fl'>
        <button type='button' onclick="insertText('[b]','[/b]')" title='[b][/b]'><b>b</b></button>
        <button type='button' onclick="insertText('[i]','[/i]')" title='[i][/i]'><i>i</i></button>
        <button type='button' onclick="insertText('[u]','[/u]')" title='[u][/u]'><span class='u'>u</span></button>
        <button type='button' onclick="insertText('[quote]','[/quote]')" title='[quote][/quote]'>quote</button>
        <button type='button' onclick="insertText('[code]','[/code]')" title='[code][/code]'>code</button>
        <button type='button' onclick="insertText('[list][*]','[/list]')" title='[list][/list]'>list</button>
        <button type='button' onclick="insertText('[*]','')" title='[*] {BB_LISTENTRY_TITLE}'>[*]</button>
        <button type='button' onclick="insertText('[img]','[/img]')" title='[img]URL[/img]'>img</button>
        <button type='button' onclick="insertText('[url]','[/url]')" title='[url=URL]Description[/url] or [url]URL[/url]'>url</button>
        <button type='button' onclick="insertText('[video]','[/video]')" title='[video]URL to Youtube or Vimeo Video[/video]'>video</button>
      </div>
      <div class='fr internalsmilies'>
        <img src='{CONF_RELPATH}/images/icons/smiley_biggrin.gif' onclick="insertText(': )=):','')" title=': )=):' alt='' />
        <img src='{CONF_RELPATH}/images/icons/smiley_cool.gif' onclick="insertText(': 8):','')" title=': 8):' alt='' />
        <img src='{CONF_RELPATH}/images/icons/smiley_lol.gif' onclick="insertText(': )):','')" title=': )):' alt='' />
        <img src='{CONF_RELPATH}/images/icons/smiley_sad.gif' onclick="insertText(': (:','')" title=': (:' alt='' />
        <img src='{CONF_RELPATH}/images/icons/smiley_wah.gif' onclick="insertText(': ((:','')" title=': ((:' alt='' />
        <!--HIDE NAME="EXTERNAL_SMILIES"-->
          <!-- if GIF files in external smilies directory [+] -->
            [<a href="#" onclick="ShowHide('externalsmilies');return false;">{DESCR_MORE_SMILIES}</a>]
            <br /><div id="externalsmilies">
            <div class='smilieshead'><a href="#" onclick="ShowHide('externalsmilies');return false;"><img src='{CONF_TEMPLATE_PATH}/images/icons/cancel.png' title='close' alt='[close]' class='fr' /></a>{HEADLINE_SMILIES}</div>
            <!-- through the smilies [+] -->
              <LOOP NAME="SMILIES">         
                <img src='{CONF_RELPATH}/images/smilies/{SMILEY}' onclick="insertText('{SMILEY_CODE}','')" title='{SMILEY_CODE}' alt='{SMILEY_CODE}' />
              </LOOP NAME="SMILIES">
              <!-- through the smilies [-] -->
            </div>
          <!-- if GIF files in external smilies directory [-] -->
        <!--/HIDE NAME="EXTERNAL_SMILIES"-->
      </div>
    </div><p class='clear'></p>
      
      
      

        


      <textarea name='message' cols='75' rows='15' id='message' class='ta100_180'>{FORM_VAL_MESSAGE}</textarea></td></tr>
      
    <!--HIDE NAME="DEFINE_TOPIC_TYPE"-->
      <!-- ability to define topic type (sticky or normal) -->
    <tr class='foruminner'><td class='b vat'>{DESCR_TOPICTYPE}</td>
      <td><input type='radio' name='sticky' value='0' id='normal' {FORM_CHECKED_STICKYOFF} /> <label for='normal'>{DESCR_STICKYOFF}</label><br />
        <input type='radio' name='sticky' value='1' id='sticky' {FORM_CHECKED_STICKYON} /> <label for='sticky'>{DESCR_STICKYON}</label></td></tr>
    <!--/HIDE NAME="DEFINE_TOPIC_TYPE"-->
    
    
    <!--HIDE NAME="ATTACHMENT_PART"-->
    <tr class='forumhead'><td colspan='2' class='c'>{HEADLINE_ATTACHMENT}</td></tr>
    
      <!--HIDE NAME="ATTACHMENT_SUBHL"-->
        <tr class='foruminner'><td colspan='2' class='c small'>{DESCR_ATTACHMENT_INFO}</td></tr>
      <!--/HIDE NAME="ATTACHMENT_SUBHL"-->
      
      <!--HIDE NAME="ATTACHMENT_FIELDS"-->
        <tr class='foruminner'><td class='b vat'>{DESCR_ATT_FILE}</td>
          <td><input type='file' name='attachment' value='' /></td></tr>
        <tr class='foruminner'><td class='vat'><b>{DESCR_ATT_DESCR}</b><br /><span class='small'>{DESCR_OPTIONAL}</span></td>
          <td><input type='text' name='att_descr' value='{FORM_VAL_ATT_DESCR}' class='f100' /></td></tr>
      <!--/HIDE NAME="ATTACHMENT_FIELDS"-->
      
      <!--HIDE NAME="ATTACHMENT_MOD"-->
        <!-- through the attachments [+] -->
        <LOOP NAME="ATTACHMENTS">         
          <tr class='foruminner'><td colspan='2'><a href='{ATT_LINK}'>{ATT_DESCR}</a> <span class='small'>[<a href='{CONF_MAINSCRIPT}?action=delattachment&amp;id={ATT_ID}&amp;tid={TOPIC_ID}&amp;pid={POST_ID}' onclick="return confirm('{CONFIRM_DELATTACHMENT}');">{DESCR_DELETE}</a></span>]</td></tr>
        </LOOP NAME="ATTACHMENTS">
        <!-- through the attachments [-] -->
      <!--/HIDE NAME="ATTACHMENT_MOD"-->
    
    <!--/HIDE NAME="ATTACHMENT_PART"-->
    
    
    <!--HIDE NAME="VOTING_PART"-->
    <tr class='forumhead'><td colspan='2' class='c'>{HEADLINE_VOTING}</td></tr>
    <tr class='foruminner'><td colspan='2' class='c small'>{DESCR_CREATE_POLL_INFO}</td></tr>
    <tr class='foruminner'><td class='b vat'>{DESCR_VOTEQ}</td>
      <td><input type='text' name='poll_title' value='{FORM_VAL_VOTEQ}' class='f100' /></td></tr>
    <tr class='foruminner'><td class='vat'><b>{DESCR_VOTEA}</b><br /><span class='small'>{DESCR_VOTEA_INFO}{DESCR_VOTEA_SUBINFO}</span></td>
      <td><textarea name='poll_options' class='ta100_75' cols='75' rows='5'>{FORM_VAL_VOTEA}</textarea></td></tr>
    <tr class='foruminner'><td class='b vat'>{DESCR_VOTEMULTIA}</td>
      <td><input type='checkbox' name='poll_multiple' value='1' id='enmulti' {FORM_CHECKED_ENMULTI} /> <label for='enmulti' class='cp'>{DESCR_ENMULTI}</label></td></tr>
    <tr class='foruminner'><td class='b vat'>{DESCR_DURATION}</td>
      <td><input type='text' name='poll_duration' value='{FORM_VAL_DURATION}' class='poll_duration' /> {DESCR_DURATION_INFO}</td></tr>
    <!--/HIDE NAME="VOTING_PART"-->
    
    <tr class='forumfoot'><td colspan='2' class='c'><input type='submit' value='{DESCR_SUBMIT}' /></td></tr>
  
</table></form>



<!--HIDE NAME="TOPICFOUND"-->
<!-- posts overview of exisiting posts within current topic [+] -->
<table border='0' cellpadding='3' cellspacing='1' class='bgcol1 previoustopics'>
    <tr class='forumhead'><td class='c'>{HEADLINE_TOPICSOVERVIEW}</td></tr>
    <tr><td class='topics'>
    
    <div>

      <table border='0' cellpadding='3' cellspacing='1' class='topicholder bgcol1'>
        <tr class='forumhead'><td class='c descr'>{DESCR_AUTHOR}</td>
          <td class='c field'>{DESCR_MESSAGE}</td></tr>
  
        <!-- through the posts [+] -->
        <LOOP NAME="POSTS">         
          
          <tr class='foruminner'><td class='vat b {POSTER_CLASS}'>{POSTER}</td>
            <td class='vat'>
              <div class='postinginfos'>{DESCR_COMPOSED} {POST_DATE}&nbsp;&nbsp;&nbsp;&nbsp;{DESCR_POST_TITLE} {POST_TITLE}</div>
              <div class='post'>{POST_MESSAGE}</div></td></tr>
              
        </LOOP NAME="POSTS">
        <!-- through the posts [-] -->
  
      </table>
  </div></td></tr>
</table>
<!--/HIDE NAME="TOPICFOUND"-->


<!--/HIDE NAME="TOPICNOTLOCKED"-->


<!--HIDE NAME="TOPICLOCKED"-->
<table border='0' cellpadding='3' cellspacing='1' class='topicform bgcol1'>
  <tr class='forumhead'><td class='c'>Information</td></tr>
  <tr class='foruminner'><td class='c'>{TOPIC_LOCKED}</td></tr>
</table>
<!--/HIDE NAME="TOPICLOCKED"-->