{?set $jieqi_pagetitle = "发表帖子-{$jieqi_sitename}"?}
{?set $jieqi_contenttitle = "发表帖子"?}


<form class="form cf" name="frmpost" id="frmpost" action="{?$jieqi_modules['forum']['url']?}/newpost.php?do=submit" method="post">
    <fieldset>
    <div class="frow">
      <p>标题：</p>
      <input type="text" class="text" name="topictitle" id="topictitle" value="" style="width:95%;" />
    </div>

    <div class="frow">
      <p>内容：</p>
			<textarea class="textarea" name="posttext" style="width:100%;height:5em;"></textarea>
    </div>

    {?if $postcheckcode > 0?}
		<div class="frow">验证码：<input type="text" class="text" style="width:6em;" name="checkcode" id="checkcode" onfocus="if(this.form.imgccode.style.display == 'none'){this.form.imgccode.src = '{?$jieqi_url?}/checkcode.php?rand={?$jieqi_time?}';this.form.imgccode.style.display = '';}" title="点击显示验证码"><img name="imgccode" src="" style="cursor:pointer;vertical-align:middle;margin-left:3px;display:none;" onclick="this.src='{?$jieqi_url?}/checkcode.php?rand='+Math.random();" title="点击刷新验证码"></div>
		{?/if?}

    <div class="frow">
      <button type="submit" class="button" name="submit">发 表</button>
      <input type="hidden" name="tid" id="tid" value="{?$topicid?}" />
      <input type="hidden" name="fid" id="fid" value="{?$forumid?}" />
      <input type="hidden" name="act" id="act" value="newpost" />
      {?$jieqi_token_input?}
    </div>
    </fieldset>
</form>
