<?xml version="1.0" encoding="gb2312"?>
<posttemplate>
 <label name="post">
		<![CDATA[
		
		<iframe src="about:blank" name="hidIframe" id="hidIframe" width="0" height="0" style="display:none"></iframe>		
			 
<table width="98%" align="center" border="0" cellspacing="0" cellpadding="0">
					<form action="../club/Save_Post.asp" method="post" name="myform" id="myform" target="hidIframe" >
					   <input type="hidden" name="from3g" value="1"/>
					   <input type="hidden" name="posttype" value="{$PostType}"/>
                          <tr> 
						    <td height="30" nowrap>
							标题：{$PostSubject}
							</td>
                           
                          </tr>
						   <input type="hidden" name="boardid" id="boardid" value="{$BoardID}"/>
						   <input type="hidden" value="" name="pic" id="pic" />
						   <input type="hidden" value="" name="AnnexExt" id="AnnexExt" />
                          <tr> 
						    <td class="lefttd">
							  {$ShowModelField}
							  内容：
							<textarea class="textbox" style="width:240px;height:100px" id="Content" name="Content">{$Content}</textarea>
						   </td>
					      </tr>
						   
						  {IF:mid(KS.Setting(161),3,1)="1"}
                          <tr>
                            <td height="30">
							<span style="color:red">问题：{$Question}</span><br/>
							答案：<input type="text" class="textbox" name="Answer{$RndID}" id="Answer{$RndID}"> <span style="color:#999999">防发帖机，只有回答正确才可以发帖</span>							</td>
						  </tr>
						  {/IF}
                          <tr>
                            <td colspan="2" height="45" style="padding-top:15px;padding-left:10px">
							 
							<input type="submit" style="height:26px;" class="btn" value=" OK,立 即 发 表 " name="Submit" onClick="return(checkform())"><Br/>{$SynchronizedOption}
							&nbsp;
							<span {$CodeTF}>附 加 码 ：<script>writeVerifyCode('{$GetInstallDir}',1);</script></span></td>
                          </tr>
						   </form>
                        </table> 
		
	]]>
	</label>


   <label name="postvote">
    <![CDATA[
	
	<div >
	<script type="text/JavaScript">
	
	var currvotenum = {$CurrVoteNum};
	function addrow() {
		currvotenum++;
		if (currvotenum>{$MaxAllowVoteNum}){
		 $.dialog.alert('最多只能添加{$MaxAllowVoteNum}个选项!',function(){});
		 return;
		}
		jQuery("#vote"+currvotenum).show();
		
	}
	</script>



<table width="98%" align="center">
<tr>
<td>
    <table cellspacing="1" id="votetable" width="100%" cellpadding="1" border="0">
	<tr><td>
	类型:
 <select name="VoteType" id="VoteType">
  {$VoteTypeOption}
</select>
 <label><input type='checkbox' name='nmtp' value='1'{$Nmtp}>允许匿名投票</label>
 <br/>
 时间限制: {$TimeLimit}
 <br/>
 <div id='time'{$ShowLimitTime}>
	有效天数<input type='text' class="textbox" name='ValidDays' size='4' style='text-align:center' value='{$ValidDays}'>天
</div>
	
	
	</td>
	</tr>
	<tr style='font-weight:bold;' class="title"><td colspan="2">选项:最多可填写 {$MaxAllowVoteNum} 个选项</td></tr>
	<tr><td>{$VoteItem}</td></tr>
	<tr><td><div><img src="images/edit.gif" align="absmiddle"/> <a href="#" onclick="addrow()" class="addtr">增加一项</a></div></td>
	</tr>
	</table>
</td>

 </tr>
</table>

	</div>
	
	]]>
   </label>
   
   
   
   
</posttemplate>