<%file _header.htm%>
    <script src="inc/kindeditor/kindeditor-min.js" type="text/javascript"></script>
    <script src="scripts/public.js" type="text/javascript"></script>
    <script src="/inc/artDialog/artDialog.min.js" type="text/javascript"></script>
    <script src="scripts/askpost.js" type="text/javascript"></script>
  <div class="ask clearfix">
   <div class="post">
   <form action="" method="post" name="postform" id="postform" target="postdata">
<div class="tr clearfix">
        <div class="l">&nbsp;</div>
        <div class="m"><p class="tops"></p></div>
    </div>
    <div class="tr clearfix">
        <div class="l">提问标题：</div>
        <div class="r">
            <p><input name="title" type="text" id="title" style="width:538px" value="" class="inputs" oninput="chkPut(this.value)" onpropertychange="chkPut(this.value)"/></p>
            <p class="tips"><span id="title_tip"></span></p>
            <p class="zs">已经输入<span id="titlenum">0</span>字</p>
        </div>
    </div>
    <div class="tr clearfix">
        <div class="l">提问内容：</div>
        <div class="r">
            <p><a href="javascript:showUpload('content',0,1)">选择图片插入编辑器</a></p>
            <p><textarea name="content" rows="12" id="content" style="width:538px"></textarea></p>
            <p class="tips"><span id="content_tip"></span></p>
            <p class="zs">已经输入<span id="contentnum">0</span>字</p>
        </div>
    </div>
    <div class="tr clearfix">
        <div class="l">问题分类：</div>
        <div class="r">
            <p class="cnav"><input name="classid" type="text" style="display:none" id="classid" value=""/><span>分类导航：<a href="javascript:getSubject(0);">一级分类</a></span><span id="classnav"></span></p>
            <p class="tips"><span id="classid_tip"></span></p>
            <div class="clearfix">
                <div id="cate" class="cate"></div>
                <div class="classtip">
                    <ul>
                    <li>无限极选择分类</li>
                    <li>点导航返回所有子类</li>
                    <li>可以选择在大类和小类发布</li>
                    <li>在小类发布更容易检索</li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <div class="tr clearfix">
        <div class="l">悬赏分：</div>
        <div class="r">
        <input name="xsf" type="text" style="width:38px" id="xsf" value="5" class="inputs" onkeyup="this.value=this.value.replace(/\D/g,'')" onpaste="return false" style="ime-mode:disabled"/> 您当前的可用分<span id="score">{userscore}</span>分
        <p class="tips"><span id="xsf_tip"></span></p>
        </div>
    </div>
    <div class="tr clearfix">
        <div class="l">匿名提问：</div>
        <div class="r"><input name="isnm" id="isnm" type="checkbox" value="1" /> 匿名提问将扣除{postnm}分</div>
    </div>
    <%if {userid}==0%>
    <div class="tr clearfix">
        <div class="l">&nbsp;</div>
        <div class="m"><center><b>请先<a href="login.html">登录</a>，再提交问题</b></center></div>
    </div>
    <%else%>
    <div class="tr clearfix">
        <div class="l">&nbsp;</div>
        <div class="m"><p class="submitbox"><input class="postsub" id="postsubmit" type="submit" value="提交问题" /> [Ctrl+Enter 快速发布]</p></div>
    </div>
    <%/if%>
</form><iframe name="postdata" style="display:none;"></iframe>
   </div>
   <div class="rele">
        <div class="relecont">
        <p><em></em>输入标题，答案立即呈现在眼前~</p>
        </div>
   </div>
  </div>
<%file _footer.htm%>