post.htm 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <!--{template common/header}-->
  2. <!--{if $_G['forum']['type'] == 'forum'}-->
  3. <a href="forum.php" title="$_G['setting']['navs'][2]['navname']">$_G['setting']['navs'][2]['navname']</a>
  4. <a href="forum.php?mod=forumdisplay&fid={$_G['forum']['fid']}">{$_G['forum']['name']}</a>
  5. <!--{else}-->
  6. <a href="forum.php" title="$_G['setting']['navs'][2]['navname']">$_G['setting']['navs'][2]['navname']</a>
  7. <a href="forum.php?mod=forumdisplay&fid={$forum_up['fid']}">$forum_up['name']</a>
  8. <a href="forum.php?mod=forumdisplay&fid={$_G['forum']['fid']}">{$_G['forum']['name']}</a>
  9. <!--{/if}-->
  10. <!--{if $_GET[action] == 'newthread' || $_GET[action] == 'reply'}-->
  11. <p>
  12. <!--{if $isfirstpost && !empty($_G['forum'][threadtypes][types])}-->
  13. {lang threadtype}
  14. <!--{if $_G['forum'][threadtypes][required] == 1}-->
  15. {lang required}
  16. <!--{/if}-->
  17. <select name="typeid" id="typeid" width="80" >
  18. <option value="0">{lang select_thread_catgory}</option>
  19. <!--{loop $_G['forum'][threadtypes][types] $typeid $name}-->
  20. <!--{if empty($_G['forum']['threadtypes']['moderators'][$typeid]) || $_G['forum']['ismoderator']}-->
  21. <option value="$typeid"{if $thread['typeid'] == $typeid || $_GET['typeid'] == $typeid} selected="selected"{/if}><!--{echo strip_tags($name);}--></option>
  22. <!--{/if}-->
  23. <!--{/loop}-->
  24. </select>
  25. <!--{/if}-->
  26. <!--{if $_GET[action] == 'newthread'}-->
  27. {lang thread_subject}:<input type="text" name="subject" value="" maxlength="80" format="M*m" /><br />
  28. <!--{/if}-->
  29. {lang thread_content}:<input type="text" name="message" value="" format="M*m" /><br />
  30. <!--{if $secqaacheck || $seccodecheck}-->
  31. <!--{subtemplate common/seccheck}-->
  32. <!--{/if}-->
  33. <anchor title="{lang submit}">{lang submit}
  34. <go method="post" {if $_GET[action] == 'newthread'}href="forum.php?mod=post&action={if $special != 2}newthread{else}newtrade{/if}&fid=$_G[fid]&extra=$extra&topicsubmit=yes&mobile=3"
  35. {elseif $_GET[action] == 'reply'}href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&extra=$extra&replysubmit=yes&mobile=3"
  36. {elseif $_GET[action] == 'edit'}href="forum.php?mod=post&action=edit&extra=$extra&editsubmit=yes&mobile=3"
  37. {/if}>
  38. <!--{if $_GET[action] == 'newthread'}-->
  39. <postfield name="subject" value="$(subject)" />
  40. <!--{/if}-->
  41. <postfield name="message" value="$(message)" />
  42. <postfield name="formhash" value="{FORMHASH}" />
  43. <!--{if $isfirstpost && !empty($_G['forum'][threadtypes][types])}-->
  44. <postfield name="typeid" value="$(typeid)" />
  45. <!--{/if}-->
  46. <!--{if $secqaacheck || $seccodecheck}-->
  47. <postfield name="sechash" value="$(sechash)" />
  48. <postfield name="secanswer" value="$(secanswer)" />
  49. <postfield name="seccodeverify" value="$(seccodeverify)" />
  50. <!--{/if}-->
  51. </go></anchor><br /><br />
  52. </p>
  53. <!--{/if}-->
  54. <!--{template common/footer}-->