<style>
.grid{border:1px solid #9cc3d9;}/*表格外边框颜色*/
.td1{text-align:right;margin-bottom:0px;}
.row td{border:1px solid #E4F4FD;border-left:none;border-bottom:none;}
.lefttable{margin:0;} 
</style>
<!--{if ( 
(_TplEditor_.Mode	== EditorModeEnum.NewVote && user.UserBaseStrategy.UserRole_pop_strategy[(int)PopStrategyEnum.AllowNewVote] == "0" && _HtmlAction_ == "1") ||
(_TplEditor_.Mode	== EditorModeEnum.QuickNewReply && user.UserBaseStrategy.UserRole_pop_strategy[(int)PopStrategyEnum.AllowTakePartInVote] == "0" && _HtmlAction_ == "1")  || 
( (_TplEditor_.Mode	== EditorModeEnum.NewTopic || _TplEditor_.Mode == EditorModeEnum.QuickNewTopic) && user.UserBaseStrategy.UserRole_pop_strategy[(int)PopStrategyEnum.AllowNewTopic] == "0" && (_HtmlAction_ == "0" || _HtmlAction_ == "2" || _HtmlAction_ == "3" || _HtmlAction_ == "4" || _HtmlAction_ == "6")) ||
( (_TplEditor_.Mode == EditorModeEnum.NewReply || _TplEditor_.Mode == EditorModeEnum.QuickNewReply) && user.UserBaseStrategy.UserRole_pop_strategy[(int)PopStrategyEnum.AllowNewReply] == "0" && (_HtmlAction_ == "0" || _HtmlAction_ == "2" || _HtmlAction_ == "3" || _HtmlAction_ == "4" || _HtmlAction_ == "6")) 
)}-->
<!--{else if (_TplEditor_.Visible)}-->
<script type="text/javascript" language="javascript" src="templates/scripts/dvajax.js"></script>
<script src="templates/<%=CurrentTemplateName%>/images/editor/js/DhtmlEdit.js" type="text/javascript"></script>
<script src="templates/<%=CurrentTemplateName%>/images/editor/js/post.js" type="text/javascript"></script>
	<body style="margin:0px;">
	<div style="position:absolute;width:550px;height:40px;z-index:1;visibility:hidden; border:1px solid #0088EE; padding:20px 0px 0px 4px;background-color:#E4F4FD;text-align:left;vertical-align:text-top; white-space:nowrap;left:-1000px;top:-1000px;" id="dv_showmsg" name="dv_showmsg">
	<img src="templates/<%=CurrentTemplateName%>/images/editor/ico_loading1.gif" style="float:left;margin-right:8px;vertical-align:text-top; white-space:nowrap" > 
	<div id="msgpanel" name="msgpanel" style="float:left; font-size:16px;color:#FF6600;text-align:left;vertical-align:text-top; white-space:nowrap" ></div>
	<div id='dv_errors' name='dv_errors' style='display:none;overflow:scroll; height:150px;width:550px; background-color:#FFFFFF;border:1px solid #FF5B00;display:none'>
	</div>
	</div>
	
	<div style="clear:both"></div> 
	<div id="emote_div" name="emote_div" style=" display:none;background-color:red;width:560px;position:absolute; z-index:9999" onselectstart="return false;">
		<div style="width:490px;background:#E4F4FD;position:absolute;border:1px solid #ccc; padding:2px"  onmousedown="RegisterDragObjectOnMouseDown(event, this)">
			<div style="margin:5px 5px 10px 2px;padding:5px 5px 10px 2px">
				<div style="float:left" id="emotetip">情感图标加载需要时间，请耐心等待：</div>
				<div style="float:right;cursor:pointer" onClick="hiddenemote();">关闭</div>
			</div>
		<iframe id="emote_container" src="" style="width:480px;height:340px" border="0"></iframe>
		<!--choose_emote.aspx?TB_iframe=true&height=335&width=530-->
		</div>
	</div>
	
	<!--<div id="Emote1" style='display:none;z-index:10002;width:540;height:300;left:620;top:0;background-color:#336699;color:#336699;position:absolute;cursor:default;border:2px solid #336699;' onmousedown='getFocus(this);'>
	<div style='background-color:#336699;width:536;height:20;color:white;' onmousedown='startDrag(this)' onmouseup='stopDrag(this)' onmousemove='drag(this)' ondblclick='min(this.childNodes[1])'>
		<span style='width:512;padding-left:3px;'>查看源文件</span>
		<span style='width:12;border-width:0px;color:white;font-family:webdings;' onclick='min(this)'>0</span>
		<span style='width:12;border-width:0px;color:white;font-family:webdings;' onclick='ShowHide("none")'>r</span>
	</div>
	<div style='width:100%;height:276;background-color:white;line-height:14px;word-break:break-all;padding:3px;'>
		小图像
	</div>
</div>-->
	<!-- {if("0" == _HtmlAction_)} -->
	<!--普通帖-->
		<script type="text/javascript">
				var disabledTools = '<%=(_TplEditor_.AllowFlash ? "" : "flash,")%><%=(_TplEditor_.AllowMedia ? "" : "media,")%><%=(_TplEditor_.AllowQuote ? "" : "quote,")%><%=(_TplEditor_.AllowHide ? "" : "hide,")%><%=(_TplEditor_.AllowCode ? "" : "code,")%>';
				var badWords = '<%=JavaScriptEncode(_TplEditor_.BadWords)%>'; 
				var limitExp = <%=_TplEditor_.LimitExp%>;
				var limitMny = <%=_TplEditor_.LimitMny%>;
				var contentSize = <%=_TplEditor_.ContentSize%>;
				var IframeID;
				var ispostnew = 1; 
				istraspost = false;
		</script>
		<script type="text/javascript" src="templates/<%=CurrentTemplateName%>/scripts/calendar.js"></script>
		<table cellspacing="0" cellpadding="0" class="tablebox border" width="100%" id="Table1" enableViewState="false" style="margin-bottom:0px; border-bottom:0px;"> 
		<tr id="list_title">
			<th width="70%" align="left"><b><%=EditTitle%></b></th>
			<th width="30%" style="text-align:right">
			<img src="templates/<%=CurrentTemplateName%>/images/folder_open.gif"  style="cursor:hand" onClick="javascript:collapse(this, 'formtable')" />&nbsp;
			</th>
		</tr>
		</table>
		<form id="Dvform" name="Dvform" target="Reg_HiddenIFrame" runat="server" method="post" onSubmit="try{Dvbbs_CopyData('Body');return true;return Checkpostdata();}catch(e){alert(e.description);return false;}" action="" <%=(("3" == _HtmlAction_ ||"3-2" == _HtmlAction_)? "enctype=\"multipart/form-data\"" : "")%>  style="margin-top:0px;">
			<input type="hidden" name="DvHtmlEditorSubmit" id="DvHtmlEditorSubmit" value="1" />
			<input type="hidden" name="__is_dv_ajax__" id="__is_dv_ajax__" value="0" />
			<input type="hidden" id="audit_settings_id" runat="server" NAME="audit_settings_id" value="<%=_TplEditor_.audit_settings_id%>"/>
			<input type="hidden" id="topicid" runat="server" NAME="topicid" value="<%=_TplEditor_.TopicId%>"/>
			<input type="hidden" id="boardid" runat="server" NAME="boardid" value="<%=_TplEditor_.BoardId%>"/>
			<input type="hidden" id="username" runat="server" NAME="username" value="<%=_TplEditor_.UserName%>"/>
			<input type="hidden" id="userid" runat="server" NAME="userid" value="<%=_TplEditor_.UserID%>"/>
			<input type="hidden" id="afterminutes" runat="server" NAME="afterminutes" value="<%=_TplEditor_.AfterMinutes%>"/>
			<input type="hidden" id="hiddentitle" runat="server" NAME="hiddentitle" value="<%=Dvbbs.Utils.Text.StripHtml(_TplEditor_.HiddenTitle)%>"/>
			<input type="hidden" id="attachids" runat="server" NAME="attachids" value="<%=_TplEditor_.AttachIds%>"/>
			<input type="hidden" id="token" runat="server" NAME="token" value="<%=_TplEditor_.Token%>"/>
			<input type="hidden" id="usingtag" runat="server" NAME="usingtag" value="<%=_TplEditor_.UsingTag%>"/>
			<!--编辑器--><input type="hidden" name="body" id="Body" value="<%=Server.HtmlEncode(_TplEditor_.Content)%>" />
			<table align="center" cellspacing="0" class="tablebox grid row" id="formtable" style="margin-top:0px;">
	<!-- {if (_TplEditor_.Mode == EditorModeEnum.QuickNewTopic || _TplEditor_.Mode == EditorModeEnum.NewTopic || _TplEditor_.Mode == EditorModeEnum.NewVote || _TplEditor_.Mode == EditorModeEnum.ModifyTopic || _TplEditor_.Mode == EditorModeEnum.NewGroupTopic || _TplEditor_.Mode == EditorModeEnum.ModifyGroupTopic)} -->
				<tr id="row_title">
					<td width="158">
					标题：
					<select onChange="javascript:addTitleHead(this, 'title');" onmousewheel="return false" ID="Select1" NAME="Select1">
					<option selected="selected">[话题]</option>
					<option>[原创]</option>
					<option>[转帖]</option>
					<option>[灌水]</option>
					<option>[讨论]</option>
					<option>[求助]</option>
					<option>[推荐]</option>
					<option>[公告]</option>
					<option>[注意]</option>
					<option>[建议]</option>
					<option>[下载]</option>
					<option>[分享]</option>
					</select>
					</td>
					<td nowrap="nowrap">
					<input type="text" id="title" style="width:350px;" maxlength="<%=_TplEditor_.MaxTilteLength%>" NAME="title" value="<%=Server.HtmlEncode(_TplEditor_.Title)%>" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);"
					onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"/>&nbsp;<%=_TplEditor_.MaxTilteLength%>字符以内
			<!--{if(user.IsSuperMaster || user.IsMaster ||  user.IsBoardMaster)}-->
			<!--#include file="_titleset.html" -->
			<!--{endif}-->
					</td>
				</tr>		
		
	<!-- {endif} -->
	<!-- {if ( _TplEditor_.Mode == EditorModeEnum.NewTopic || _TplEditor_.Mode == EditorModeEnum.NewVote || _TplEditor_.Mode == EditorModeEnum.ModifyTopic)} -->
				<!-- {if (null != _TplEditor_.BoardClass && _TplEditor_.BoardClass.Rows.Count > 0)} -->
				<tr id="row_class" height="29" runat="server">
					<td>主题分类</td>
					<td>
					<span style="font-family:tahoma;font-size:11px">
					<!--<input type="radio" name="class" value="0" class="radio" ID="Radio1" />None-->
			<!-- {foreach (System.Data.DataRow rs in _TplEditor_.BoardClass.Rows)}-->
					<input type="radio" name="class" value="<%=rs["id"]%>" class="radio" ID="Radio2" <%=(int.Parse(rs["id"].ToString()) == _TplEditor_.ClassId) ? " checked=\"checked\" " : ""%> /><%=rs["classname"]%>
			<!-- {endfor} -->	
					</span>
					</td>
				</tr>
				<!-- {else} -->
				   <input type="hidden" name="class" value="0"/>
				<!--{endif}-->
	<!-- {endif} -->
	<!-- {if (_TplEditor_.Mode == EditorModeEnum.NewTopic || _TplEditor_.Mode == EditorModeEnum.NewVote || _TplEditor_.Mode == EditorModeEnum.ModifyTopic)} -->
				<tr id="row_icon" height="29" runat="server">
					<td>主题标示(内容会意)</td>
					<td ><span style="font-family:tahoma;font-size:11px">
					<!--<%
					for(int i8803 = 1 ;i8803<19;i8803 ++){
						if( 10 == i8803) tplHandler.Write("<br />");
						tplHandler.Write("<input type=\"radio\" id=\"icon\" name=\"icon\" value=\"" + i8803.ToString() + "\" class=\"checkbox\" />");
						tplHandler.Write("<img src=\"templates/" + CurrentTemplateName + "/images/editor/topicface/face" + i8803 + ".gif\"/>&nbsp; &nbsp;");
					}
					%>--></span> </td>
				</tr>
	<!-- {endif} -->
	<!-- {if (!user.IsGuest && ("0" == _HtmlAction_ || "3" == _HtmlAction_ )&& _TplEditor_.AllowUploadAttach)} -->
				<tr id="row_upload" runat="server">
					<td>上传附件</td>
					<td  align="left">
					<div style="float:left;width:100%;height:30px;">
					<iframe src="attach_upload.aspx?boardid=<%=_TplEditor_.BoardId%>" width="100%" height="100%" frameborder="0" scrolling="no" style="border:none"></iframe></div>
					</td>
				</tr>
	<!-- {endif} -->
	<!-- {if (_TplEditor_.Mode.ToString() == EditorModeEnum.QuickNewReply.ToString())} -->
	<tr id="row_ubbtool" align="left">
		<td height="16">工具栏</td>
		<td  style="background:#F7FCFF;">
		<!--#include file="_editor_ex_min.html" -->
		</td>
	</tr>
	<!-- {endif} -->
	<tr id="row_main" align=left>
		<td width="158" style="line-height:14pt;" valign="top">正文内容 <br />
		<br />
		表情符号: <span class="t2"><b>√</b></span> <br />
		HTML支持: <span class="t2"><b>√</b></span> <br />
		<a target="_blank" href="help.aspx?style=new_style&content=6">UBB 支持</a>: <span class="t2"><b>√</b></span> 
		<br />内容长度: <script>if(contentSize==0)document.write("不限制");else document.write(contentSize);</script>
		<br />积分限制: <script>if(limitExp==0)document.write("不限制");else document.write(limitExp);</script>
		<br />金钱限制: <script>if(limitMny==0)document.write("不限制");else document.write(limitMny);</script>
		</td>
		<td ><!--#include file="_editor_ex_max.html" --></td>
	</tr>
<!-- {if ( _TplEditor_.Mode == EditorModeEnum.NewTopic || _TplEditor_.Mode == EditorModeEnum.NewVote || _TplEditor_.Mode == EditorModeEnum.ModifyTopic)} -->
	<tr id="row_topicsetting" runat="server">
		<td>设置浏览主题限制</td>
		<td> 浏览该主题需要此积分以上:
		<input type="text" onMouseOver="this.className='TextBoxFocus'"
									onmouseout="this.className='TextBox'" id="browserequire" name="browserequire" style="width:50px" maxlength="4" onKeyUp="this.value=this.value.replace(/[^\d,]+/g,'')" value="0" />
		(小于1表示无积分限制) 需要花费的金钱币:
		<input type="text" onMouseOver="this.className='TextBoxFocus'"
									onmouseout="this.className='TextBox'" id="browsemoney" onKeyUp="this.value=this.value.replace(/[^\d,]+/g,'')" name="browsemoney" style="width:50px" maxlength="4" value="0" />
		(为0表示免费浏览)   
		</td>
	</tr>
<!-- {endif} -->
<!--{if( user.UserBaseStrategy.UserRole_pop_strategy[(int)PopStrategyEnum.AllowHiddenNamePost] == "1")}-->
		 <tr align=center>
		<td colspan="2">
		<input type="checkbox" class="checkbox" value="1" ID="Checkbox1"  <!--{if(1== _TplEditor_.AllowHiddenNamePost)}-->checked<!--{endif}--> name="AllowHiddenNamePost"> 是否使用匿名发帖(使用匿名则发的帖子在显示的时候，不显示发帖人的名称)
			</td>
	</tr>
<!--{endif}-->	
</table>
<br/>	
<table  ID="Table2">
<tr align=center>
		<td colspan="2">
		<input name="Submit1" style="cursor:hand" onMousemove="this.className='button_on';"
						onMouseout="this.className='button_off'" type="button" onClick="checkform(this.form);" id="send" class="button_off" value="提 交"/>　　
		<input name="Submit2" style="cursor:hand" onMousemove="this.className='button_on';"
						onMouseout="this.className='button_off'" type="reset" id="reset" class="button_off" value="重 写" onClick="doReset(this)"/>  (IE 下可以按 Ctrl + Enter 提交)
		</td>
	</tr>
</table>
<br/>
</form>
<!--end 普通帖-->
	<!--{else if("1" == _HtmlAction_)}-->
	<!--投票帖-->
		<script type="text/javascript">
		var disabledTools = '<%=(_TplEditor_.AllowFlash ? "" : "flash,")%><%=(_TplEditor_.AllowMedia ? "" : "media,")%><%=(_TplEditor_.AllowQuote ? "" : "quote,")%><%=(_TplEditor_.AllowHide ? "" : "hide,")%><%=(_TplEditor_.AllowCode ? "" : "code,")%>';
		var badWords = '<%=JavaScriptEncode(_TplEditor_.BadWords)%>'; 
		var limitExp = <%=_TplEditor_.LimitExp%>;
		var limitMny = <%=_TplEditor_.LimitMny%>;
		var contentSize = <%=_TplEditor_.ContentSize%>;
		var IframeID;
		var ispostnew = 1; 
		istraspost = false;
		</script>
		<script type="text/javascript" src="templates/<%=CurrentTemplateName%>/scripts/calendar.js"></script>
		<script src="templates/<%=CurrentTemplateName%>/images/editor/js/setvote.js" type="text/javascript"></script>
		<table cellspacing="0" cellpadding="0" class="tablebox border"  id="Table5" enableViewState="false" style="margin-bottom:0px;"> 
		<tr id="list_title" style="width:100%">
			<th width="70%" align="left"><b><%=EditTitle%></b></th>
			<th width="30%" style="text-align:right"><img src="templates/<%=CurrentTemplateName%>/images/folder_open.gif" align="absmiddle" style="cursor:hand" onClick="javascript:collapse(this, 'formtable')" />&nbsp;</th>
		</tr>
		</table>		
		<form id="Dvform" name="Dvform" target="Reg_HiddenIFrame" runat="server" method="post" onSubmit="try{Dvbbs_CopyData('Body');return true;return Checkpostdata();}catch(e){alert(e.description);return false;}" action="" <%=(("3" == _HtmlAction_ ||"3-2" == _HtmlAction_)? "enctype=\"multipart/form-data\"" : "")%> >
			<input type="hidden" name="DvHtmlEditorSubmit" id="DvHtmlEditorSubmit" value="1" />
			<input type="hidden" name="__is_dv_ajax__" id="__is_dv_ajax__" value="0" />
			<input type="hidden" id="audit_settings_id" runat="server" NAME="audit_settings_id" value="<%=_TplEditor_.audit_settings_id%>"/>
			<input type="hidden" id="topicid" runat="server" NAME="topicid" value="<%=_TplEditor_.TopicId%>"/>
			<input type="hidden" id="boardid" runat="server" NAME="boardid" value="<%=_TplEditor_.BoardId%>"/>
			<input type="hidden" id="username" runat="server" NAME="username" value="<%=_TplEditor_.UserName%>"/>
			<input type="hidden" id="userid" runat="server" NAME="userid" value="<%=_TplEditor_.UserID%>"/>
			<input type="hidden" id="afterminutes" runat="server" NAME="afterminutes" value="<%=_TplEditor_.AfterMinutes%>"/>
			<input type="hidden" id="hiddentitle" runat="server" NAME="hiddentitle" value="<%=Dvbbs.Utils.Text.StripHtml(_TplEditor_.HiddenTitle)%>"/>
			<input type="hidden" id="attachids" runat="server" NAME="attachids" value="<%=_TplEditor_.AttachIds%>"/>
			<input type="hidden" id="token" runat="server" NAME="token" value="<%=_TplEditor_.Token%>"/>
			<!--编辑器--><input type="hidden" name="Body" id="Body" value="<%=Server.HtmlEncode(_TplEditor_.Content)%>" />
			<table align="center" cellspacing="0" class="tablebox grid row" id="formtable" style="margin-top:0px;">
			<!-- {if (_TplEditor_.Mode == EditorModeEnum.QuickNewTopic || _TplEditor_.Mode == EditorModeEnum.NewTopic || _TplEditor_.Mode == EditorModeEnum.NewVote || _TplEditor_.Mode == EditorModeEnum.ModifyTopic || _TplEditor_.Mode == EditorModeEnum.NewGroupTopic || _TplEditor_.Mode == EditorModeEnum.ModifyGroupTopic)} -->
					<tr id="row_title">
					<td width="158">
					标题：
					<select onChange="javascript:addTitleHead(this, 'title');" onmousewheel="return false" ID="Select1" NAME="Select1">
					<option selected="selected">[话题]</option>
					<option>[原创]</option>
					<option>[转帖]</option>
					<option>[灌水]</option>
					<option>[讨论]</option>
					<option>[求助]</option>
					<option>[推荐]</option>
					<option>[公告]</option>
					<option>[注意]</option>
					<option>[建议]</option>
					<option>[下载]</option>
					<option>[分享]</option>
					</select>
					</td>
					<td nowrap="nowrap">
					<input type="text" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" id="title" style="width:350px;" maxlength="<%=_TplEditor_.MaxTilteLength%>" NAME="title" value="<%=Server.HtmlEncode(_TplEditor_.Title)%>"/>&nbsp;<%=_TplEditor_.MaxTilteLength%>字符以内
					<!--{if(user.IsSuperMaster || user.IsMaster ||  user.IsBoardMaster)}-->
					<!--#include file="_titleset.html" -->
					<!--{endif}-->
					</td>
				</tr>
			<!-- {endif} -->				
			
		<!-- {if ( _TplEditor_.Mode == EditorModeEnum.NewTopic || _TplEditor_.Mode == EditorModeEnum.NewVote || _TplEditor_.Mode == EditorModeEnum.ModifyTopic)} -->
				<!-- {if (null != _TplEditor_.BoardClass && _TplEditor_.BoardClass.Rows.Count > 0)} -->
				<tr id="row_class" height="29" runat="server">
					<td>主题分类</td>
					<td>
					<span style="font-family:tahoma;font-size:11px">	
			<!-- {foreach (System.Data.DataRow rs in _TplEditor_.BoardClass.Rows)}-->
					<input type="radio" name="class" value="<%=rs["id"]%>" class="checkbox" ID="Radio2" <%=(int.Parse(rs["id"].ToString()) == _TplEditor_.ClassId) ? " checked=\"checked\" " : ""%> /><%=rs["classname"]%>
			<!-- {endfor} -->	
					</span>
					</td>
				</tr>
				<!-- {else} -->
				   <input type="hidden" name="class" value="0"/>
				<!--{endif}-->
		<!-- {endif} -->
		<!-- {if ("0" == _HtmlAction_  && (_TplEditor_.Mode == EditorModeEnum.NewTopic || _TplEditor_.Mode == EditorModeEnum.NewVote || _TplEditor_.Mode == EditorModeEnum.ModifyTopic) )} -->
				<tr id="row_icon" height="29" runat="server">
					<td>主题标示(内容会意)</td>
					<td>
					<!--<%
					for(int i8803 = 1 ;i8803<19;i8803 ++){
						if( 10 == i8803) tplHandler.Write("<br />");
						tplHandler.Write("<input type=\"radio\" id=\"icon\" name=\"icon\" value=\"" + i8803.ToString() + "\" class=\"checkbox\" />");
						tplHandler.Write("<img src=\"templates/" + CurrentTemplateName + "/images/editor/topicface/face" + i8803 + ".gif\"/>&nbsp; &nbsp;");
					}
					%>--></td>
				</tr>
		<!-- {endif} -->
		<!-- {if ( _TplEditor_.Mode == EditorModeEnum.NewVote)} --> 
		<tr runat="server">
			<td >
				<li>
					<input type="hidden" name="votetype" id="votetype" value="0"/>
					选取投票类型:
					 <select name="votetype_select" id="votetype_select" onChange="checkvotetype(this,<%=Dvbbs.Utils.Config.Settings["VoteTotal"]%>);" >
					<option selected="true" value="0">选择类型</option>
					<option value="0">单选投票</option>
					<option value="1">多选投票</option>
					<option value="2">问卷调查</option>
					</select>
				</li>
				<li>
					投票结果浏览限制:
					<div style="margin-left:16px"><select name="lockvote" ID="Select2">
					<option value="0" selected>允许浏览</option>
					<option value="1">投票截止后</option>
					</select></div>
				</li>
				<li>
					设置截止时间: 
					<select name="votetimeout" size="1" ID="Select3">
					<option value="0">过期时间</option>
					<option value="0">永不过期</option>
					<option value="1">一天</option>
					<option value="3">三天</option>
					<option value="7">一周</option>
					<option value="15">半月</option>
					<option value="30">一月</option>
					<option value="90">三月</option>
					<option value="180">半年</option>
					</select>					
				</li>
				<li>
					每行一个投票项目，最多<b> <%=Dvbbs.Utils.Config.Settings["VoteTotal"]%> </b>个;
				</li>
				<li>
					投票项目内容不能为空。
				</li>
			</td>
			<td >
				<div id="voteset_div" name="vode_set">
				<fieldset>
				<legend><b><font color="red"><span id="voteset_legend">投票设置</span></font>&nbsp;&nbsp;<font color="blue">每一贴只能有一种投票类型，如果投票包含单选、多选、文本２种或２种以上时，请选择问卷调查！</font></b></legend>
				<li>
				<input type="button" class="button_off" style="cursor:hand" onMouseOver="this.className='button_on'" onMouseOut="this.className='button_off'" name="saveas" value="保存" onClick="SaveDBtoText('vote');" ID="Button1"/>
				*保存将覆盖前一次所保存的内容;
				</li>
				<li>
				<input type="button" class="button_off"  style="cursor:hand" onMouseOver="this.className='button_on'" onMouseOut="this.className='button_off'" name="putfrom" value="还原" onClick="PutDBFromText('vote');" ID="Button2"/>
				*还原前请确认选取投票的类型为保存时所选的类型;
				</li>
				<li>
				<input type="button" class="button_off" style="cursor:hand" onMouseOver="this.className='button_on'" onMouseOut="this.className='button_off'" name="resetform" value="重新设置投票类型" onClick="ResetVoteType();" id="resetform"/>
				*重新设置将清空您当前的布局。
				</li>
				<div id="voteset_add"></div>
				<div id="voteset_function">
				<ol id="votetitles"></ol>
				</div>
				</fieldset>
				</div>
				<textarea name="vote" id="vote" style="width:0px;height:0px;border:0px"></textarea>
			</td>
		</tr>
		<tr>
		<td class="tablebody1">参与投票限制 </td>
		<td width="80%">
				需要文章：<input type="text" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" onKeyUp="this.value=this.value.replace(/[^\d,]+/g,'')" maxlength="9" name="uarticle" size="5" value="0" ID="Text1"/>&nbsp;
				金钱：<input type="text" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" onKeyUp="this.value=this.value.replace(/[^\d,]+/g,'')" maxlength="9" name="uwealth" size="5" value="0" ID="Text2"/>&nbsp;
				积分：<input type="text" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" onKeyUp="this.value=this.value.replace(/[^\d,]+/g,'')" maxlength="9" name="uep" size="5" value="0" ID="Text3"/>&nbsp;
				<!--魅力：<input type="text" onkeyup="this.value=this.value.replace(/[^\d,]+/g,'')" name="ucp" size="5" value="0" ID="Text4"/>&nbsp;-->
				<!--如果扩展加入魅力，则取消上面的注释，-->
				<input type="hidden" name="ucp" value="0" id="ucp"/>
				威望：<input type="text" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" onKeyUp="this.value=this.value.replace(/[^\d,]+/g,'')" maxlength="9" name="upower" size="5" value="0" ID="Text5">
			</td>
		</tr>
		<!-- {endif} -->
		<!--以下部分在上面新添加已包含-->
		<!-- {if (_TplEditor_.Mode == EditorModeEnum.NewVote)} -->
				<!--
				<tr id="row_votesetting" runat="server">
					<td>投票限制</td>
					<td >
					
					投票天数期限： 
					<input type="text" id="votedays" maxlength="3" onkeyup="this.value=this.value.replace(/[^\d,]+/g,'')" value="0" style="width:40px" runat="server" />
					
					(小于1天表示永不过期)	&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
					
					至少有多少积分才可投票：
					<input type="text" id="voterequire" maxlength="4" onkeyup="this.value=this.value.replace(/[^\d,]+/g,'')" value="1" style="width:40px" runat="server"/></td>
				</tr>
				-->	
		<!-- {endif} -->
	
		<!-- {if (!user.IsGuest && ("0" == _HtmlAction_ || "3" == _HtmlAction_ )&& _TplEditor_.AllowUploadAttach)} -->
				<tr id="row_upload" runat="server">
					<td>上传附件</td>
					<td  align="left">
					<div style="float:left;width:100%;height:30px;"><iframe src="attach_upload.aspx?boardid=<%=_TplEditor_.BoardId%>" width="100%" height="100%" frameborder="0" scrolling="no" style="border:none"></iframe></div>
					</td>
				</tr>
		<!-- {endif} -->

	<!-- {if (_TplEditor_.Mode.ToString() == EditorModeEnum.QuickNewReply.ToString())} -->
	<tr id="row_ubbtool" runat="server" align="left">
		<td height="16">工具栏</td>
		<td  style="background:#F7FCFF;">
		<!--#include file="_editor_ex_min.html" -->
		</td>
	</tr>
	<!-- {endif} -->
		<tr id="row_main" align=left>
			<td width="158" style="line-height:14pt;" valign="top">正文内容 <br />
			<br />
			表情符号: <span class="t2"><b>√</b></span> <br />
			HTML支持: <span class="t2"><b>√</b></span> <br />
			<a target="_blank" href="help.aspx?style=new_style&content=6">UBB 支持</a>: <span class="t2"><b>√</b></span> 
			<br />内容长度: <script>if(contentSize==0)document.write("不限制");else document.write(contentSize);</script>
			<br />积分限制: <script>if(limitExp==0)document.write("不限制");else document.write(limitExp);</script>
			<br />金钱限制: <script>if(limitMny==0)document.write("不限制");else document.write(limitMny);</script>
			</td>
			<td >
			<!--#include file="_editor_ex_max.html" -->
			</td>
		</tr>
		<!-- {if ( ("0" == _HtmlAction_  || "1" == _HtmlAction_  || "2" == _HtmlAction_  || "3" == _HtmlAction_  || "4" == _HtmlAction_  || "5" == _HtmlAction_ || "6" == _HtmlAction_ ) && (_TplEditor_.Mode == EditorModeEnum.NewTopic || _TplEditor_.Mode == EditorModeEnum.NewVote || _TplEditor_.Mode == EditorModeEnum.ModifyTopic) )} -->
		<tr id="row_topicsetting" runat="server">
			<td>设置浏览主题限制</td>
			<td > 浏览该主题需要此积分以上:
			<input type="text" id="browserequire" name="browserequire" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" style="width:50px" maxlength="4" onKeyUp="this.value=this.value.replace(/[^\d,]+/g,'')" value="0" />
			(小于1表示无积分限制) 需要花费的金钱币:
			<input type="text" id="browsemoney" oonFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" onKeyUp="this.value=this.value.replace(/[^\d,]+/g,'')" name="browsemoney" style="width:50px" maxlength="4" value="0" />
			(为0表示免费浏览)   
			</td>
		</tr>
		<!-- {endif} -->
		<!-- {if (_TplEditor_.DeleteVoteRowVisible)} -->
		<tr id="row_votedelete" runat="server">
			<td>本帖附带的投票</td>
			<td ><input type="checkbox" id="deletevote" class="checkbox" value="1" runat="server"/>
			<label for="editor_deletevote">删除与本主题相关的投票</label></td>
		</tr>
		<!-- {endif} -->
		
			<!--{if(user.UserBaseStrategy.UserRole_pop_strategy[(int)PopStrategyEnum.AllowHiddenNamePost] == "1")}-->
			<tr align=center>
			<td colspan="2">
			<input type="checkbox" class="checkbox" value="1" ID="Checkbox2" <!--{if(1== _TplEditor_.AllowHiddenNamePost)}-->checked<!--{endif}--> name="AllowHiddenNamePost"> 是否使用匿名发帖(使用匿名则发的帖子在显示的时候，不显示发帖人的名称)
			</td></tr>
			<!--{endif}-->
	</table>
	<br/>
		
<table>
	<tr align=center>
			<td colspan="2">	
			<input name="Submit1" style="cursor:hand" type="button" onMouseOver="this.className='button_on'" onMouseOut="this.className='button_off'" onClick="checkform(this.form);" id="send" class="button_off" value="提 交"/>　　
			<input name="Submit2" style="cursor:hand" type="reset"  onmouseover="this.className='button_on'" onMouseOut="this.className='button_off'" id="reset" class="button_off" value="重 写" onClick="doReset(this)"/>  (IE 下可以按 Ctrl + Enter 提交)
			</td>
		</tr>
	</table>
	<br/>
	</form>
	<!--end 投票帖-->
	<!--{else if("2" == _HtmlAction_)}-->
	<!--活动帖-->
	<table cellspacing="0" cellpadding="0" class="tablebox border"  id="Table5" enableViewState="false"> 
	<tr id="list_title" class="list5" style="width:100%">
		<th width="70%" align="left"><b><%=EditTitle%></b></th>
		<th width="30%" style="text-align:right"><img src="templates/<%=CurrentTemplateName%>/images/folder_open.gif" align="absmiddle" style="cursor:hand" onClick="javascript:collapse(this, 'formtable')" /></th>
	</tr>
	</table>
	<br/>
		<script type="text/javascript">
		var disabledTools = '<%=(_TplEditor_.AllowFlash ? "" : "flash,")%><%=(_TplEditor_.AllowMedia ? "" : "media,")%><%=(_TplEditor_.AllowQuote ? "" : "quote,")%><%=(_TplEditor_.AllowHide ? "" : "hide,")%><%=(_TplEditor_.AllowCode ? "" : "code,")%>';
		var badWords = '<%=JavaScriptEncode(_TplEditor_.BadWords)%>'; 
		var limitExp = <%=_TplEditor_.LimitExp%>;
		var limitMny = <%=_TplEditor_.LimitMny%>;
		var contentSize = <%=_TplEditor_.ContentSize%>;
		var IframeID;
		var ispostnew = 1; 
		istraspost = false;
		</script>
		<script type="text/javascript" src="templates/<%=CurrentTemplateName%>/scripts/calendar.js"></script>
		<form id="Dvform" name="Dvform" target="Reg_HiddenIFrame" runat="server" method="post" onSubmit="try{Dvbbs_CopyData('Body');return true;return Checkpostdata();}catch(e){alert(e.description);return false;}" action="" <%=(("3" == _HtmlAction_ ||"3-2" == _HtmlAction_)? "enctype=\"multipart/form-data\"" : "")%> >
			<input type="hidden" name="DvHtmlEditorSubmit" id="DvHtmlEditorSubmit" value="1" />
			<input type="hidden" name="__is_dv_ajax__" id="__is_dv_ajax__" value="0" />
			<input type="hidden" id="audit_settings_id" runat="server" NAME="audit_settings_id" value="<%=_TplEditor_.audit_settings_id%>"/>
			<input type="hidden" id="topicid" runat="server" NAME="topicid" value="<%=_TplEditor_.TopicId%>"/>
			<input type="hidden" id="boardid" runat="server" NAME="boardid" value="<%=_TplEditor_.BoardId%>"/>
			<input type="hidden" id="username" runat="server" NAME="username" value="<%=_TplEditor_.UserName%>"/>
			<input type="hidden" id="userid" runat="server" NAME="userid" value="<%=_TplEditor_.UserID%>"/>
			<input type="hidden" id="afterminutes" runat="server" NAME="afterminutes" value="<%=_TplEditor_.AfterMinutes%>"/>
			<input type="hidden" id="hiddentitle" runat="server" NAME="hiddentitle" value="<%=Dvbbs.Utils.Text.StripHtml(_TplEditor_.HiddenTitle)%>"/>
			<input type="hidden" id="attachids" runat="server" NAME="attachids" value="<%=_TplEditor_.AttachIds%>"/>
			<input type="hidden" id="token" runat="server" NAME="token" value="<%=_TplEditor_.Token%>"/>
			<!--编辑器--><input type="hidden" name="body" id="Body" value="<%=Server.HtmlEncode(_TplEditor_.Content)%>" />
			<table align="center" cellspacing="0" class="tablebox grid row" id="formtable">
			<!-- {if (_TplEditor_.Mode == EditorModeEnum.QuickNewTopic || _TplEditor_.Mode == EditorModeEnum.NewTopic || _TplEditor_.Mode == EditorModeEnum.NewVote || _TplEditor_.Mode == EditorModeEnum.ModifyTopic || _TplEditor_.Mode == EditorModeEnum.NewGroupTopic || _TplEditor_.Mode == EditorModeEnum.ModifyGroupTopic)} -->
				<tr>
					<td width="158">
					活动名称：
					</td>
					<td  nowrap="nowrap">
					<input type="text" id="title" oonFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" style="width:350px;" maxlength="<%=_TplEditor_.MaxTilteLength%>" NAME="title" value="<%=Server.HtmlEncode(_TplEditor_.Title)%>"/>&nbsp;<%=_TplEditor_.MaxTilteLength%>字符以内
					<!--{if(user.IsSuperMaster || user.IsMaster ||  user.IsBoardMaster)}-->
						<!--#include file="_titleset.html" -->
					<!--{endif}-->
					</td>
					</tr>
				<tr id="row_title">
					<td width="158">
					活动类别：
					<select onChange="javascript:addTitleHead(this, 'className');" onmousewheel="return false" ID="Select4" NAME="Select1">
					<option selected="selected">活动名称</option>
					<option <%=(InitActionForm[0]=="朋友聚会"?"selected":"")%>>朋友聚会</option>
					<option <%=(InitActionForm[0]=="出外郊游"?"selected":"")%>>出外郊游</option>
					<option <%=(InitActionForm[0]=="自驾出行"?"selected":"")%>>自驾出行</option>
					<option <%=(InitActionForm[0]=="公益活动"?"selected":"")%>>公益活动</option>
					<option <%=(InitActionForm[0]=="线上活动"?"selected":"")%>>线上活动</option>
					</select>
					</td>
					<td >
					<input type="text" id="className" style="width:120px;" maxlength="50" NAME="className" value="<%=InitActionForm[0]%>" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" />
					</td>
				</tr>
				<tr><td>活动开始时间</td><td>
					<p>
						<label>
						<input class="checkbox" type="radio" value="0" name="activitytime" onclick="PostShowTime(0);" <!-- {if("" == InitActionForm[1] || "" == InitActionForm[2])} -->checked="checked"<!-- {endif} --> tabindex="5" ID="Radio4" />在一个确定的时间开始</label>
						<label><input class="checkbox" type="radio" value="1" name="activitytime" onclick="PostShowTime(1);"  tabindex="5" ID="Radio5" <!-- {if("" != InitActionForm[1] && "" != InitActionForm[2])} -->checked="checked"<!-- {endif} -->  />在一个时间范围内商定</label>
					</p>
					<span id="certainstarttime" style="float:left">
					<input type="text" oonFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" name="start_time_from" id="Text6" size="15" value="<%=InitActionForm[1]%>" tabindex="5"   onclick="javascript:calendar.setHook(this);"/>
					</span>
					<span id="uncertainstarttime" style="display: none;float:left"> 
					<input type="text" oonFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" name="start_time_from_1" id="Text7" size="20" value="<%=InitActionForm[1]%>" tabindex="5"   onclick="javascript:calendar.setHook(this);"/> - <input type="text" name="start_time_to" oonFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" size="20" value="<%=InitActionForm[2]%>" tabindex="5" ID="Text8"  onclick="javascript:calendar.setHook(this);"/></span>
					<em style="float:left">样例:2007-08-17 14:32</em>
					<!-- {if("" != InitActionForm[1] && "" != InitActionForm[2])} --><script >PostShowTime(1);</script><!-- {endif} -->
				</td>
				</tr>
					<tr id="row_emote" runat="server">
						<td>征集截止日期(扩展信息)</td>
						<td ><input type="input" value="<%=InitActionForm[3]%>" id="expiration" name="expiration"  onclick="javascript:calendar.setHook(this);"><EM class=tips>样例:2007-08-17 16:12</EM></td>
					</tr>
				<tr><td>活动地点：</td><td>
					<input type="text" id="place" oonFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" style="width:350px;" maxlength="50" NAME="place" value="<%=InitActionForm[5]%>"/> 
				</td>
				</tr>
				<tr><td>每人花销：</td><td>
					<input type="text" id="payment" oonFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" style="width:50px;" maxlength="9" NAME="payment" onKeyUp="this.value=this.value.replace(/[^\d,]+/g,'')" value="<%=InitActionForm[8]%>"/> 元
				</td>
				</tr>
					<tr id="row_emote" runat="server">
						<td>所在城市(扩展信息)</td>
						<td >
						<input type="input" oonFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" value="<%=InitActionForm[6]%>" id="address" name="address">
						</td>
					</tr>
					<tr id="row_emote" runat="server">
						<td>需要人数(扩展信息)</td>
						<td >
						<input type="input" oonFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" value="<%=InitActionForm[7]%>" maxlength="9" onKeyUp="this.value=this.value.replace(/[^\d,]+/g,'')" id="dimensions" name="dimensions">
						</td>
					</tr>
					<tr id="row_emote" runat="server">
						<td>性别</td>
						<td>
						<LABEL><INPUT tabIndex=203 class="checkbox" type=radio CHECKED value=0 name=sex ID="sex">不限</LABEL> 					<LABEL><INPUT tabIndex=204 class="checkbox" type=radio value=1 name=sex ID="Radio2">男</LABEL> 
						<LABEL><INPUT tabIndex=205 type=radio class="checkbox" value=2 name=sex ID="Radio3">女</LABEL></td>
					</tr>			
			<!-- {endif} -->
			<!-- {if ( _TplEditor_.Mode == EditorModeEnum.NewTopic || _TplEditor_.Mode == EditorModeEnum.NewVote || _TplEditor_.Mode == EditorModeEnum.ModifyTopic)} -->
				<!-- {if (null != _TplEditor_.BoardClass && _TplEditor_.BoardClass.Rows.Count > 0)} -->
				<tr id="row_class" height="29" runat="server">
					<td>主题分类</td>
					<td>
					<span style="font-family:tahoma;font-size:11px">
					<!--<input type="radio" name="class" value="0" class="radio" ID="Radio1" />None-->
		
			<!-- {foreach (System.Data.DataRow rs in _TplEditor_.BoardClass.Rows)}-->
					<input type="radio" name="class" value="<%=rs["id"]%>" class="checkbox" ID="Radio2" <%=(int.Parse(rs["id"].ToString()) == _TplEditor_.ClassId) ? " checked=\"checked\" " : ""%> /><%=rs["classname"]%>
			<!-- {endfor} -->
	
					</span>
					</td>
				</tr>
				<!-- {else} -->
				   <input type="hidden" name="class" value="0"/>
				<!--{endif}-->
			<!-- {endif} -->
			<!-- {if (!user.IsGuest && ("0" == _HtmlAction_ || "3" == _HtmlAction_ )&& _TplEditor_.AllowUploadAttach)} -->
				<tr id="row_upload" runat="server">
					<td>上传附件</td>
					<td align="left">
					<div style="float:left;width:100%;height:30px;"><iframe src="attach_upload.aspx?boardid=<%=_TplEditor_.BoardId%>" width="100%" height="100%" frameborder="0" scrolling="no" style="border:none"></iframe></div>
					</td>
				</tr>
		<!-- {endif} -->
	<!-- {if (_TplEditor_.Mode.ToString() == EditorModeEnum.QuickNewReply.ToString())} -->
	<tr id="row_ubbtool" runat="server" align="left">
		<td height="16">工具栏</td>
		<td style="background:#F7FCFF;">
		<!--#include file="_editor_ex_min.html" -->
		</td>
	</tr>
	<!-- {endif} -->
		<tr id="row_main" align=left>
			<td width="158" style="line-height:14pt;" valign="top">正文内容 <br />
			<br />
			表情符号: <span class="t2"><b>√</b></span> <br />
			HTML支持: <span class="t2"><b>√</b></span> <br />
			<a target="_blank" href="help.aspx?style=new_style&content=6">UBB 支持</a>: <span class="t2"><b>√</b></span> 
			<br />内容长度: <script>if(contentSize==0)document.write("不限制");else document.write(contentSize);</script>
			<br />积分限制: <script>if(limitExp==0)document.write("不限制");else document.write(limitExp);</script>
			<br />金钱限制: <script>if(limitMny==0)document.write("不限制");else document.write(limitMny);</script>
			</td>
			<td >
			<!--#include file="_editor_ex_max.html" -->
	
			</td>
		</tr>
	<!-- {if ( ("0" == _HtmlAction_  || "1" == _HtmlAction_  || "2" == _HtmlAction_  || "3" == _HtmlAction_  || "4" == _HtmlAction_  || "5" == _HtmlAction_ || "6" == _HtmlAction_ ) && (_TplEditor_.Mode == EditorModeEnum.NewTopic || _TplEditor_.Mode == EditorModeEnum.NewVote || _TplEditor_.Mode == EditorModeEnum.ModifyTopic) )} -->
		<tr id="row_topicsetting" runat="server">
			<td>设置浏览主题限制</td>
			<td > 浏览该主题需要此积分以上:
			<input type="text" id="browserequire" oonFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" name="browserequire" style="width:50px" maxlength="4" onKeyUp="this.value=this.value.replace(/[^\d,]+/g,'')" value="0" />
			(小于1表示无积分限制) 需要花费的金钱币:
			<input type="text" id="browsemoney" oonFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" onKeyUp="this.value=this.value.replace(/[^\d,]+/g,'')" name="browsemoney" style="width:50px" maxlength="4" value="0" />
			(为0表示免费浏览)   
			</td>
		</tr>
	<!-- {endif} -->
	<!-- {if (_TplEditor_.DeleteVoteRowVisible)} -->
		<tr id="row_votedelete" runat="server">
			<td>本帖附带的投票</td>
			<td >
			<input type="checkbox" id="deletevote" class="checkbox" value="1" runat="server"/>
			<label for="editor_deletevote">删除与本主题相关的投票</label></td>
		</tr>
	<!-- {endif} -->
	
			<!--{if( "3-2" != _HtmlAction_ && "3-1" != _HtmlAction_ && user.UserBaseStrategy.UserRole_pop_strategy[(int)PopStrategyEnum.AllowHiddenNamePost] == "1")}-->
			<tr align=center>
			<td colspan="2">
			<input type="checkbox" class="checkbox" value="1" ID="Checkbox3"  <!--{if(1== _TplEditor_.AllowHiddenNamePost)}-->checked<!--{endif}--> name="AllowHiddenNamePost"> 是否使用匿名发帖(使用匿名则发的帖子在显示的时候，不显示发帖人的名称)
			</td></tr>
			<!--{endif}-->
			
	</table>
	<br/>
	<table >		
	<tr align=center>
			<td colspan="2">							
			<input name="Submit1" style="cursor:hand" type="<%=("3" == _HtmlAction_ || "3-2" == _HtmlAction_ ? "submit" : "button\" onclick=\"checkform(this.form);")%>" id="send" class="button_off" onMouseOver="this.className='button_on'" onMouseOut="this.className='button_off'" value="提 交"/>　　
			<input name="Submit2" style="cursor:hand" type="reset" id="reset" class="button_off" onMouseOver="this.className='button_on'" onMouseOut="this.className='button_off'" value="重 写" onClick="doReset(this)"/>  (IE 下可以按 Ctrl + Enter 提交)
			</td>
		</tr>
	</table>
	<br/>
	</form>
	<!--end 活动帖-->
	<!--{else if("3" == _HtmlAction_ || "3-2" == _HtmlAction_ || "3-1" == _HtmlAction_ )}-->
	<!--<%
	 bool isquirit = "3-1" == _HtmlAction_ ? true : false;
	 %>-->
	<table cellspacing="0" cellpadding="0" class="tablebox border"  id="Table5" enableViewState="false" > 
		<tr id="list_title" class="list5" style="width:100%">
			<th width="70%" align="left">
			  <b><%=EditTitle%></b>
			</th>
			<th width="30%" style="text-align:right">
			<img src="templates/<%=CurrentTemplateName%>/images/folder_open.gif" align="absmiddle" style="cursor:hand" onClick="javascript:collapse(this, 'formtable')" />
			</th>
		</tr>
		</table>
		<br/>
			<script type="text/javascript">
			var disabledTools = '<%=(_TplEditor_.AllowFlash ? "" : "flash,")%><%=(_TplEditor_.AllowMedia ? "" : "media,")%><%=(_TplEditor_.AllowQuote ? "" : "quote,")%><%=(_TplEditor_.AllowHide ? "" : "hide,")%><%=(_TplEditor_.AllowCode ? "" : "code,")%>';
			var badWords = '<%=JavaScriptEncode(_TplEditor_.BadWords)%>'; 
			var limitExp = <%=_TplEditor_.LimitExp%>;
			var limitMny = <%=_TplEditor_.LimitMny%>;
			var contentSize = <%=_TplEditor_.ContentSize%>;
			var IframeID;
			var ispostnew = 1; 
			istraspost = <%=("3" == _HtmlAction_ || "3-2" == _HtmlAction_ ? "true" : "false")%>;
			</script>
			<script type="text/javascript" src="templates/<%=CurrentTemplateName%>/scripts/calendar.js"></script>
			<form id="Dvform" name="Dvform" target="Reg_HiddenIFrame" runat="server" method="post" onSubmit="try{Dvbbs_CopyData('Body');return true;return Checkpostdata();}catch(e){alert(e.description);return false;}" action="" <%=(("3" == _HtmlAction_ ||"3-2" == _HtmlAction_)? "enctype=\"multipart/form-data\"" : "")%> >
				<input type="hidden" name="DvHtmlEditorSubmit" id="DvHtmlEditorSubmit" value="1" />
				<input type="hidden" name="__is_dv_ajax__" id="__is_dv_ajax__" value="0" />
				<input type="hidden" id="audit_settings_id" runat="server" NAME="audit_settings_id" value="<%=_TplEditor_.audit_settings_id%>"/>
				<input type="hidden" id="topicid" runat="server" NAME="topicid" value="<%=_TplEditor_.TopicId%>"/>
				<input type="hidden" id="boardid" runat="server" NAME="boardid" value="<%=_TplEditor_.BoardId%>"/>
				<input type="hidden" id="username" runat="server" NAME="username" value="<%=_TplEditor_.UserName%>"/>
				<input type="hidden" id="userid" runat="server" NAME="userid" value="<%=_TplEditor_.UserID%>"/>
				<input type="hidden" id="afterminutes" runat="server" NAME="afterminutes" value="<%=_TplEditor_.AfterMinutes%>"/>
				<input type="hidden" id="hiddentitle" runat="server" NAME="hiddentitle" value="<%=Dvbbs.Utils.Text.StripHtml(_TplEditor_.HiddenTitle)%>"/>
				<input type="hidden" id="attachids" runat="server" NAME="attachids" value="<%=_TplEditor_.AttachIds%>"/>
				<input type="hidden" id="token" runat="server" NAME="token" value="<%=_TplEditor_.Token%>"/>
				<!--编辑器--><input type="hidden" name="body" id="Body" value="<%=Server.HtmlEncode(_TplEditor_.Content)%>" />
				<table align="center" cellspacing="0" class="tablebox grid row" id="formtable">
		<!-- {if (_TplEditor_.Mode == EditorModeEnum.QuickNewTopic || _TplEditor_.Mode == EditorModeEnum.NewTopic || _TplEditor_.Mode == EditorModeEnum.NewVote || _TplEditor_.Mode == EditorModeEnum.ModifyTopic || _TplEditor_.Mode == EditorModeEnum.NewGroupTopic || _TplEditor_.Mode == EditorModeEnum.ModifyGroupTopic)} -->
					<!--<% isquirit = true;%>-->
					<!--{if("3-2" != _HtmlAction_)}-->
					<tr id="row_title">
						<td width="158" style="width:150px">
						标题：
						<select onChange="javascript:addTitleHead(this, 'title');" onmousewheel="return false" ID="Select1" NAME="Select1">
						<option selected="selected">[话题]</option>
						<option>[原创]</option>
						<option>[转帖]</option>
						<option>[灌水]</option>
						<option>[讨论]</option>
						<option>[求助]</option>
						<option>[推荐]</option>
						<option>[公告]</option>
						<option>[注意]</option>
						<option>[建议]</option>
						<option>[下载]</option>
						<option>[分享]</option>
						</select>
						</td>
						<td nowrap="nowrap">
						<input type="text" id="title" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" style="width:350px;" maxlength="<%=_TplEditor_.MaxTilteLength%>" NAME="title" value="<%=Server.HtmlEncode(_TplEditor_.Title)%>"/>&nbsp;<%=_TplEditor_.MaxTilteLength%>字符以内
						<!--{if(user.IsSuperMaster || user.IsMaster ||  user.IsBoardMaster)}-->
						<!--#include file="_titleset.html" -->
						<!--{endif}-->
						</td>
					</tr>
					<!-- {endif} -->				
		<!-- {endif} -->
		<!-- {if ( _TplEditor_.Mode == EditorModeEnum.NewTopic || _TplEditor_.Mode == EditorModeEnum.NewVote || _TplEditor_.Mode == EditorModeEnum.ModifyTopic)} -->
					<!-- {if (null != _TplEditor_.BoardClass && _TplEditor_.BoardClass.Rows.Count > 0)} -->
					<tr id="row_class" height="29" runat="server">
						<td>主题分类</td>
						<td>
						<span style="font-family:tahoma;font-size:11px">
						<!--<input type="radio" name="class" value="0" class="radio" ID="Radio1" />None-->
			
				<!-- {foreach (System.Data.DataRow rs in _TplEditor_.BoardClass.Rows)}-->
						<input type="radio" name="class" value="<%=rs["id"]%>" class="checkbox" ID="Radio2" <%=(int.Parse(rs["id"].ToString()) == _TplEditor_.ClassId) ? " checked=\"checked\" " : ""%> /><%=rs["classname"]%>
				<!-- {endfor} -->
		
						</span>
						</td>
					</tr>
					<!-- {else} -->
					   <input type="hidden" name="class" value="0"/>
					<!--{endif}-->
		<!-- {endif} -->
		<!-- {if ("0" == _HtmlAction_  && (_TplEditor_.Mode == EditorModeEnum.NewTopic || _TplEditor_.Mode == EditorModeEnum.NewVote || _TplEditor_.Mode == EditorModeEnum.ModifyTopic) )} -->
					<tr id="row_icon" height="29" runat="server">
						<td>主题标示(内容会意)</td>
						<td><span style="font-family:tahoma;font-size:11px">
						<!--<%
						for(int i8803 = 1 ;i8803<19;i8803 ++){
							if( 10 == i8803) tplHandler.Write("<br />");
							tplHandler.Write("<input type=\"radio\" id=\"icon\" name=\"icon\" value=\"" + i8803.ToString() + "\" class=\"checkbox\" />");
							tplHandler.Write("<img src=\"templates/" + CurrentTemplateName + "/images/editor/topicface/face" + i8803 + ".gif\"/>&nbsp; &nbsp;");
						}
						%>--></span> </td>
					</tr>
		<!-- {endif} -->
				
	<!-- {if("3" == _HtmlAction_ || "3-1" == _HtmlAction_ || "3-2" == _HtmlAction_)} -->					
	<tr>
	<td colspan="2" valign="top" style="margin:0px; padding:0px" align="left">
	<table cellpadding="0" cellspacing="0" border="0" align="left" width="100%">
	
	<!-- {if((("3" == _HtmlAction_)|| "3-1" == _HtmlAction_) && isquirit)}-->	
	<tr>
	<td colspan=<!-- {if("3-1" == _HtmlAction_ && isquirit)}-->5<!--{else}-->4<!--{endif}-->><b>柜台介绍</b></td>	</tr>
	<tr>
	<td width="160" valign="top">柜台描述</td><td ><textarea id="counterdesc" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"  name="counterdesc" style="<!-- {if("3-1" == _HtmlAction_ && isquirit)}-->width:100%; height:80px<!--{else}-->width:200px; height:80px<!--{endif}-->"><%=(null != InitProForm ? Server.HtmlEncode(InitProForm.Rows[0]["counterdesc"].ToString()) : "")%></textarea></td>
	<!-- {if("3-1" != _HtmlAction_)}-->
	<td  width="160">商品介绍</td>
	<td ><textarea id="productdesc" name="productdesc" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"  style="width:200px; height::80px"><%=(null != InitProForm ? Server.HtmlEncode(InitProForm.Rows[0]["productdesc"].ToString()) : "")%></textarea></td></tr>
	<!--{endif}-->
	<!--{endif}-->
	
	<!-- {if((("3" == _HtmlAction_  && isquirit) || "3-2" == _HtmlAction_))} -->
	<tr>
	<td width="150" colspan=4><b>交易信息</b></td>
	</tr>
	<tr>
	<td width=160>有效期</td>
	<td>
	<input type="input" value="<%=(null != InitProForm ? InitProForm.Rows[0]["proenddate"].ToString() : "")%>" id="proenddate" name="proenddate" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"  style="width:100px"  onclick="javascript:calendar.setHook(this);">样例:2007-08-17 16:12
	</td>
	<td width=160>商品原价</td>
	<td>
	<input type="input" maxlength="9" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"  onKeyUp="this.value=this.value.replace(/[^\d,]+/g,'')" value="<%=(null != InitProForm ? InitProForm.Rows[0]["prooldprice"].ToString() : "")%>" id="prooldprice" name="prooldprice" style="width:50px">&nbsp;&nbsp;￥元
	</td>
	</tr>
	<tr>
	<td >商品所在地</td>
	<td>
	<input type="input" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"  value="<%=(null != InitProForm ? InitProForm.Rows[0]["proaddress"].ToString() : "")%>" id="proaddress" name="proaddress" maxlength="255" style="width:150px"></td>
	<td>商品现价</td>
	<td>
	<input type="input"  onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"  value="<%=(null != InitProForm ? InitProForm.Rows[0]["pronowprice"].ToString() : "")%>" id="pronowprice" name="pronowprice" maxlenght="9" style="width:50px" onKeyUp="this.value=this.value.replace(/[^\d,]+/g,'')">&nbsp;&nbsp;￥元</td>
	</tr>
	<tr>
	<td >商品数量</td>
	<td>
	<input type="input" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"  value="<%=(null != InitProForm ? InitProForm.Rows[0]["procount"].ToString() : "")%>" id="procount" name="procount" maxlength="9" onKeyUp="this.value=this.value.replace(/[^\d,]+/g,'')" style="width:50px"></td>
	<td>物流方式<script>
	function portstat(obj){
	if(obj.checked&&obj.value=="0"){document.getElementById('ems_port').style.display='none';}else{document.getElementById('ems_port').style.display='';}
	}
	</script>	</td>
	<td>
	<input tabindex="160" type="radio" class="checkbox" value="0" name="protrasport" id="protrasport" <%=(null != InitProForm ? ("0" == InitProForm.Rows[0]["protrasport"].ToString()  ? "checked=\"checked\"" : ""): "checked=\"checked\"")%>  onclick="portstat(this)"/>
	虚拟物品或无需邮递
	<br />
	<input tabindex="160" type="radio" class="checkbox"  value="1" name="protrasport" id="protrasport"  onclick="portstat(this)"  <%=(null != InitProForm ? ("1" == InitProForm.Rows[0]["protrasport"].ToString()  ? "checked=\"checked\"" : ""): "")%> />
	卖家承担运费
	<br />
	<input tabindex="160" type="radio" class="checkbox"  value="2" name="protrasport" id="protrasport"  onclick="portstat(this)" <%=(null != InitProForm ? ("2" == InitProForm.Rows[0]["protrasport"].ToString()  ? "checked=\"checked\"" : ""): "")%> />
	买家承担运费
	</td>
	</tr>
	<tr id="ems_port" name="ems_port" style="display:<%=(null != InitProForm ? ("0" == InitProForm.Rows[0]["protrasport"].ToString()  ? "none" : "''"): "none")%>">
	<td width=160>&nbsp;</td>
	<td colspan=3>
	&nbsp;平邮费用&nbsp;&nbsp;<input type="input" value="<%=(null != InitProForm ? InitProForm.Rows[0]["propostage_mail"].ToString() : "")%>" id="propostage_mail" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"  name="propostage_mail" style="width:100px">&nbsp;&nbsp;￥元<br/>
	&nbsp;快递费用&nbsp;&nbsp;<input type="input" value="<%=(null != InitProForm ? InitProForm.Rows[0]["propostage_express"].ToString() : "")%>" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"  id="propostage_express" name="propostage_express" style="width:100px">&nbsp;&nbsp;￥元<br/>
	&nbsp;EMS费用&nbsp;&nbsp;<input type="input" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"  value="<%=(null != InitProForm ? InitProForm.Rows[0]["propostage_ems"].ToString() : "")%>" id="propostage_ems" name="propostage_ems" style="width:100px">&nbsp;&nbsp;￥元<br/></td>
	</tr>
	<!--{endif}-->
	<!-- {if(("" != Fetch.Get("pt") && "3" == _HtmlAction_)|| "3-2" == _HtmlAction_)} -->
	<tr>
	<td width="150" colspan=4><b>商品信息</b></td>
	</tr>
	<tr>
	<td width=160>商品名称</td>
	<td><input type="input" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"  value="<%=(null != InitProForm ? InitProForm.Rows[0]["proname"].ToString() : "")%>" id="proname" name="proname" style="width:150px"></td>
	<td width=160>商品类型</td>
	<td><select tabindex="52" onChange="document.getElementById('protype').value=this.value">
	  <option value="">类型</option>
	  <option value="商品">商品</option>
	  <option value="服务">服务</option>
	  <option value="拍卖">拍卖</option>
	  <option value="捐赠">捐赠</option>
	  <option value="邮费">邮费</option>
	  <option value="奖金">奖金</option>
	</select><br />
	<input type="input" value="<%=(null != InitProForm ? InitProForm.Rows[0]["protype"].ToString() : "")%>" id="protype" name="protype" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"  style="width:150px"></td>
	</tr>
	<tr>
	<td >商品图样</td>
	<td colspan=3>
	<input type="file" value="<%=(null != InitProForm ? InitProForm.Rows[0]["proimg"].ToString() : "")%>" id="proimg" name="proimg" style="width:150px">
	</td>
	</tr>
	<!--{endif}-->	
	</table>					
						</td>
						</tr>
	
			<!--{endif}-->	
		
		
		
		<!-- {if (!user.IsGuest && ("0" == _HtmlAction_ || "3" == _HtmlAction_ || "4" == _HtmlAction_ )&& _TplEditor_.AllowUploadAttach)} -->
					<tr id="row_upload" runat="server">
						<td>上传附件</td>
						<td align="left">
						<div style="float:left;width:100%;height:30px;"><iframe src="attach_upload.aspx?boardid=<%=_TplEditor_.BoardId%>" width="100%" height="100%" frameborder="0" scrolling="no" style="border:none"></iframe></div>
						</td>
					</tr>
		<!-- {endif} -->
	
	<!-- {if (_TplEditor_.Mode.ToString() == EditorModeEnum.QuickNewReply.ToString())} -->
	<tr id="row_ubbtool" align="left">
		<td height="16">工具栏</td>
		<td style="background:#F7FCFF;">
		<!--#include file="_editor_ex_min.html" -->
		</td>
	</tr>
	<!-- {endif} -->
		<tr id="row_main" align=left>
			<td width="158" style="line-height:14pt;" valign="top">
			<!-- {if("3-1" == _HtmlAction_ && isquirit)}-->
			<font style="color:red">商品介绍</font> <br />
			<!--{else}-->
			正文内容 <br />
			<!--{endif}-->
			
			<br />
			表情符号: <span class="t2"><b>√</b></span> <br />
			HTML支持: <span class="t2"><b>√</b></span> <br />
			<a target="_blank" href="help.aspx?style=new_style&content=6">UBB 支持</a>: <span class="t2"><b>√</b></span> 
			<br />内容长度: <script>if(contentSize==0)document.write("不限制");else document.write(contentSize);</script>
			<br />积分限制: <script>if(limitExp==0)document.write("不限制");else document.write(limitExp);</script>
			<br />金钱限制: <script>if(limitMny==0)document.write("不限制");else document.write(limitMny);</script>
			</td>
			<td >
			<!--#include file="_editor_ex_max.html" -->
	
			</td>
		</tr>
	<!-- {if ( ("0" == _HtmlAction_  || "1" == _HtmlAction_  || "2" == _HtmlAction_  || "3" == _HtmlAction_  || "4" == _HtmlAction_  || "5" == _HtmlAction_ || "6" == _HtmlAction_ ) && (_TplEditor_.Mode == EditorModeEnum.NewTopic || _TplEditor_.Mode == EditorModeEnum.NewVote || _TplEditor_.Mode == EditorModeEnum.ModifyTopic) )} -->
		<tr id="row_topicsetting" runat="server">
			<td>设置浏览主题限制</td>
			<td> 浏览该主题需要此积分以上:
			<input type="text" id="browserequire" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"  name="browserequire" style="width:50px" maxlength="4" onKeyUp="this.value=this.value.replace(/[^\d,]+/g,'')" value="0" />
			(小于1表示无积分限制) 需要花费的金钱币:
			<input type="text" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"  id="browsemoney" onKeyUp="this.value=this.value.replace(/[^\d,]+/g,'')" name="browsemoney" style="width:50px" maxlength="4" value="0" />
			(为0表示免费浏览)   
			</td>
		</tr>
	<!-- {endif} -->
	<!-- {if (_TplEditor_.DeleteVoteRowVisible)} -->
		<tr id="row_votedelete" runat="server">
			<td>本帖附带的投票</td>
			<td><input type="checkbox" id="deletevote" class="checkbox" value="1" runat="server"/>
			<label for="editor_deletevote">删除与本主题相关的投票</label></td>
		</tr>
	<!-- {endif} -->
	
			<!--{if( "3-2" != _HtmlAction_ && "3-1" != _HtmlAction_ && user.UserBaseStrategy.UserRole_pop_strategy[(int)PopStrategyEnum.AllowHiddenNamePost] == "1")}-->
			<tr align=center>
			<td colspan="2">
			<input type="checkbox" class="checkbox" value="1" ID="Checkbox4"  <!--{if(1== _TplEditor_.AllowHiddenNamePost)}-->checked<!--{endif}--> name="AllowHiddenNamePost"> 是否使用匿名发帖(使用匿名则发的帖子在显示的时候，不显示发帖人的名称)
			</td>
			</tr>
			<!--{endif}-->			
	</table>
	<br/>
	<table>		
	<tr align=center>
			<td colspan="2">							
			<input name="Submit1" onFocus="IEvent('focus',this)"	onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" style="cursor:hand" type="<%=("3" == _HtmlAction_ || "3-2" == _HtmlAction_ ? "submit" : "button\" onclick=\"checkform(this.form);")%>" id="send" class="button_off" value="提 交"/>　　
			<input name="Submit2" style="cursor:hand" onFocus="IEvent('focus',this)"	onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" type="reset" id="reset" class="button_off" value="重 写" onClick="doReset(this)"/>  (IE 下可以按 Ctrl + Enter 提交)
			</td>
		</tr>
	</table>
	<br/>
	</form>
	<!--{else if("4" == _HtmlAction_)}-->
	<table cellspacing="0" cellpadding="0" class="tablebox border"  id="Table5" enableViewState="false" > 
	<tr id="list_title" class="list5" style="width:100%">
		<th width="70%" align="left"><b><%=EditTitle%></b></th>
		<th width="30%" style="text-align:right"><img src="templates/<%=CurrentTemplateName%>/images/folder_open.gif" align="absmiddle" style="cursor:hand" onClick="javascript:collapse(this, 'formtable')" /></th>
	</tr>
	</table>
	<br/>
		<script type="text/javascript">
		var disabledTools = '<%=(_TplEditor_.AllowFlash ? "" : "flash,")%><%=(_TplEditor_.AllowMedia ? "" : "media,")%><%=(_TplEditor_.AllowQuote ? "" : "quote,")%><%=(_TplEditor_.AllowHide ? "" : "hide,")%><%=(_TplEditor_.AllowCode ? "" : "code,")%>';
		var badWords = '<%=JavaScriptEncode(_TplEditor_.BadWords)%>'; 
		var limitExp = <%=_TplEditor_.LimitExp%>;
		var limitMny = <%=_TplEditor_.LimitMny%>;
		var contentSize = <%=_TplEditor_.ContentSize%>;
		var IframeID;
		var ispostnew = 1; 
		istraspost = false;
		</script>
		<script type="text/javascript" src="templates/<%=CurrentTemplateName%>/scripts/calendar.js"></script>
		<form id="Dvform" name="Dvform" target="Reg_HiddenIFrame" runat="server" method="post" onSubmit="try{Dvbbs_CopyData('Body');return true;return Checkpostdata();}catch(e){alert(e.description);return false;}" action="" <%=(("3" == _HtmlAction_ ||"3-2" == _HtmlAction_)? "enctype=\"multipart/form-data\"" : "")%> >
			<input type="hidden" name="DvHtmlEditorSubmit" id="DvHtmlEditorSubmit" value="1" />
			<input type="hidden" name="__is_dv_ajax__" id="__is_dv_ajax__" value="0" />
			<input type="hidden" id="audit_settings_id" runat="server" NAME="audit_settings_id" value="<%=_TplEditor_.audit_settings_id%>"/>
			<input type="hidden" id="topicid" runat="server" NAME="topicid" value="<%=_TplEditor_.TopicId%>"/>
			<input type="hidden" id="boardid" runat="server" NAME="boardid" value="<%=_TplEditor_.BoardId%>"/>
			<input type="hidden" id="username" runat="server" NAME="username" value="<%=_TplEditor_.UserName%>"/>
			<input type="hidden" id="userid" runat="server" NAME="userid" value="<%=_TplEditor_.UserID%>"/>
			<input type="hidden" id="afterminutes" runat="server" NAME="afterminutes" value="<%=_TplEditor_.AfterMinutes%>"/>
			<input type="hidden" id="hiddentitle" runat="server" NAME="hiddentitle" value="<%=Dvbbs.Utils.Text.StripHtml(_TplEditor_.HiddenTitle)%>"/>
			<input type="hidden" id="attachids" runat="server" NAME="attachids" value="<%=_TplEditor_.AttachIds%>"/>
			<input type="hidden" id="token" runat="server" NAME="token" value="<%=_TplEditor_.Token%>"/>
			<!--编辑器--><input type="hidden" name="body" id="Body" value="<%=Server.HtmlEncode(_TplEditor_.Content)%>" />
			<table align="center" cellspacing="0" class="tablebox grid row" id="formtable">
	<!-- {if (_TplEditor_.Mode == EditorModeEnum.QuickNewTopic || _TplEditor_.Mode == EditorModeEnum.NewTopic || _TplEditor_.Mode == EditorModeEnum.NewVote || _TplEditor_.Mode == EditorModeEnum.ModifyTopic || _TplEditor_.Mode == EditorModeEnum.NewGroupTopic || _TplEditor_.Mode == EditorModeEnum.ModifyGroupTopic)} -->
					<tr>
					<td width="158">
					悬赏价格(金钱)
					</td>
					<td>
					<input type="text" onFocus="IEvent('focus',this)"	onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" id="reword_money" style="width:50px;" maxlength="9" NAME="reword_money" value="<%=reword_money%>"/>&nbsp;(最低要求不低于 1 金钱) </EM>
					</td>
					</tr>
				<tr id="row_title">
					<td width="158" style="width:150px">
						标题：
						<select onChange="javascript:addTitleHead(this, 'title');" onmousewheel="return false" ID="Select5" NAME="Select1">
						<option selected="selected">[话题]</option>
						<option>[原创]</option>
						<option>[转帖]</option>
						<option>[灌水]</option>
						<option>[讨论]</option>
						<option>[求助]</option>
						<option>[推荐]</option>
						<option>[公告]</option>
						<option>[注意]</option>
						<option>[建议]</option>
						<option>[下载]</option>
						<option>[分享]</option>
						</select>
						</td>
						<td nowrap="nowrap">
						<input type="text" id="Text4" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" style="width:350px;" maxlength="<%=_TplEditor_.MaxTilteLength%>" NAME="title" value="<%=Server.HtmlEncode(_TplEditor_.Title)%>"/>&nbsp;<%=_TplEditor_.MaxTilteLength%>字符以内
						<!--{if(user.IsSuperMaster || user.IsMaster ||  user.IsBoardMaster)}-->
						<!--#include file="_titleset.html" -->
						<!--{endif}-->
						</td>
				</tr>			
	<!-- {endif} -->
	<!-- {if ( _TplEditor_.Mode == EditorModeEnum.NewTopic || _TplEditor_.Mode == EditorModeEnum.NewVote || _TplEditor_.Mode == EditorModeEnum.ModifyTopic)} -->
				<!-- {if (null != _TplEditor_.BoardClass && _TplEditor_.BoardClass.Rows.Count > 0)} -->
				<tr id="row_class" height="29" runat="server">
					<td>主题分类</td>
					<td>
					<span style="font-family:tahoma;font-size:11px">
					<!--<input type="radio" name="class" value="0" class="radio" ID="Radio1" />None-->
		
			<!-- {foreach (System.Data.DataRow rs in _TplEditor_.BoardClass.Rows)}-->
					<input type="radio" name="class" value="<%=rs["id"]%>" class="checkbox" ID="Radio2" <%=(int.Parse(rs["id"].ToString()) == _TplEditor_.ClassId) ? " checked=\"checked\" " : ""%> /><%=rs["classname"]%>
			<!-- {endfor} -->
	
					</span>
					</td>
				</tr>
				<!-- {else} -->
				   <input type="hidden" name="class" value="0"/>
				<!--{endif}-->
	<!-- {endif} -->

	<!-- {if (!user.IsGuest && ("0" == _HtmlAction_ || "3" == _HtmlAction_ || "4" == _HtmlAction_ )&& _TplEditor_.AllowUploadAttach)} -->
				<tr id="row_upload" runat="server">
					<td>上传附件</td>
					<td align="left">
					<div style="float:left;width:100%;height:30px;"><iframe src="attach_upload.aspx?boardid=<%=_TplEditor_.BoardId%>" width="100%" height="100%" frameborder="0" scrolling="no" style="border:none"></iframe></div>
					</td>
				</tr>
	<!-- {endif} -->

	<!-- {if (_TplEditor_.Mode.ToString() == EditorModeEnum.QuickNewReply.ToString())} -->
	<tr id="row_ubbtool" runat="server" align="left">
		<td height="16">工具栏</td>
		<td  style="background:#F7FCFF;">
		<!--#include file="_editor_ex_min.html" -->
		</td>
	</tr>
	<!-- {endif} -->
	<tr id="row_main" align=left>
		<td width="158" style="line-height:14pt;" valign="top">正文内容 <br />
		<br />
		表情符号: <span class="t2"><b>√</b></span> <br />
		HTML支持: <span class="t2"><b>√</b></span> <br />
		<a target="_blank" href="help.aspx?style=new_style&content=6">UBB 支持</a>: <span class="t2"><b>√</b></span> 
		<br />内容长度: <script>if(contentSize==0)document.write("不限制");else document.write(contentSize);</script>
		<br />积分限制: <script>if(limitExp==0)document.write("不限制");else document.write(limitExp);</script>
		<br />金钱限制: <script>if(limitMny==0)document.write("不限制");else document.write(limitMny);</script>
		</td>
		<td >
		<!--#include file="_editor_ex_max.html" -->

		</td>
	</tr>
<!-- {if ( ("0" == _HtmlAction_  || "1" == _HtmlAction_  || "2" == _HtmlAction_  || "3" == _HtmlAction_  || "4" == _HtmlAction_  || "5" == _HtmlAction_ || "6" == _HtmlAction_ ) && (_TplEditor_.Mode == EditorModeEnum.NewTopic || _TplEditor_.Mode == EditorModeEnum.NewVote || _TplEditor_.Mode == EditorModeEnum.ModifyTopic) )} -->
	<tr id="row_topicsetting" runat="server">
		<td>设置浏览主题限制</td>
		<td > 浏览该主题需要此积分以上:
		<input type="text" onFocus="IEvent('focus',this)"	onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" id="browserequire" name="browserequire" style="width:50px" maxlength="4" onKeyUp="this.value=this.value.replace(/[^\d,]+/g,'')" value="0" />
		(小于1表示无积分限制) 需要花费的金钱币:
		<input type="text" onFocus="IEvent('focus',this)"	onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" id="browsemoney" onKeyUp="this.value=this.value.replace(/[^\d,]+/g,'')" name="browsemoney" style="width:50px" maxlength="4" value="0" />
		(为0表示免费浏览)   
		</td>
	</tr>
<!-- {endif} -->
<!-- {if (_TplEditor_.DeleteVoteRowVisible)} -->
	<tr id="row_votedelete" runat="server">
		<td>本帖附带的投票</td>
		<td ><input type="checkbox" id="deletevote" class="checkbox" value="1" runat="server"/>
		<label for="editor_deletevote">删除与本主题相关的投票</label></td>
	</tr>
<!-- {endif} -->
<!--{if(user.UserBaseStrategy.UserRole_pop_strategy[(int)PopStrategyEnum.AllowHiddenNamePost] == "1")}-->
<tr align=center>
 <td colspan="2">
   <input type="checkbox" class="chkbox" value="1" ID="Checkbox5" <!--{if(1== _TplEditor_.AllowHiddenNamePost)}-->checked<!--{endif}--> name="AllowHiddenNamePost"> 是否使用匿名发帖(使用匿名则发的帖子在显示的时候，不显示发帖人的名称)
</td></tr>
<!--{endif}-->	
</table>
<br/>
<table >
<tr align=center>
		<td colspan="2">						
		<input name="Submit1" style="cursor:hand" onFocus="IEvent('focus',this)"	onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" type="button" onClick="checkform(this.form);" id="send" class="button_off" value="提 交"/>　　
		<input name="Submit2" style="cursor:hand" onFocus="IEvent('focus',this)"	onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" type="reset" id="reset" class="button_off" value="重 写" onClick="doReset(this)"/>  (IE 下可以按 Ctrl + Enter 提交)
		</td>
	</tr>
</table>
<br/>
</form>
	<!--{else if("5" == _HtmlAction_)}-->
	<!--{else if("6" == _HtmlAction_)}-->
	<table cellspacing="0" cellpadding="0" class="tablebox border"  id="Table5" enableViewState="false" > 
		<tr id="list_title" class="list5" style="width:100%">
			<th width="70%" align="left"><b><%=EditTitle%></b></th>
			<th width="30%" style="text-align:right"><img src="templates/<%=CurrentTemplateName%>/images/folder_open.gif" align="absmiddle" style="cursor:hand" onClick="javascript:collapse(this, 'formtable')" /></th>
		</tr>
		</table>
		<br/>
			<script type="text/javascript">
			var disabledTools = '<%=(_TplEditor_.AllowFlash ? "" : "flash,")%><%=(_TplEditor_.AllowMedia ? "" : "media,")%><%=(_TplEditor_.AllowQuote ? "" : "quote,")%><%=(_TplEditor_.AllowHide ? "" : "hide,")%><%=(_TplEditor_.AllowCode ? "" : "code,")%>';
			var badWords = '<%=JavaScriptEncode(_TplEditor_.BadWords)%>'; 
			var limitExp = <%=_TplEditor_.LimitExp%>;
			var limitMny = <%=_TplEditor_.LimitMny%>;
			var contentSize = <%=_TplEditor_.ContentSize%>;
			var IframeID;
			var ispostnew = 1; 
			istraspost = <%=("3" == _HtmlAction_ || "3-2" == _HtmlAction_ ? "true" : "false")%>;
			</script>
			<script type="text/javascript" src="templates/<%=CurrentTemplateName%>/scripts/calendar.js"></script>
			<script src="templates/<%=CurrentTemplateName%>/images/editor/js/setvote.js" type="text/javascript"></script>
			<form id="Dvform" name="Dvform" target="Reg_HiddenIFrame" runat="server" method="post" onSubmit="try{Dvbbs_CopyData('Body');return true;return Checkpostdata();}catch(e){alert(e.description);return false;}" action="" <%=(("3" == _HtmlAction_ ||"3-2" == _HtmlAction_)? "enctype=\"multipart/form-data\"" : "")%> >
				<input type="hidden" name="DvHtmlEditorSubmit" id="DvHtmlEditorSubmit" value="1" />
				<input type="hidden" name="__is_dv_ajax__" id="__is_dv_ajax__" value="0" />
				<input type="hidden" id="audit_settings_id" runat="server" NAME="audit_settings_id" value="<%=_TplEditor_.audit_settings_id%>"/>
				<input type="hidden" id="topicid" runat="server" NAME="topicid" value="<%=_TplEditor_.TopicId%>"/>
				<input type="hidden" id="boardid" runat="server" NAME="boardid" value="<%=_TplEditor_.BoardId%>"/>
				<input type="hidden" id="username" runat="server" NAME="username" value="<%=_TplEditor_.UserName%>"/>
				<input type="hidden" id="userid" runat="server" NAME="userid" value="<%=_TplEditor_.UserID%>"/>
				<input type="hidden" id="afterminutes" runat="server" NAME="afterminutes" value="<%=_TplEditor_.AfterMinutes%>"/>
				<input type="hidden" id="hiddentitle" runat="server" NAME="hiddentitle" value="<%=Dvbbs.Utils.Text.StripHtml(_TplEditor_.HiddenTitle)%>"/>
				<input type="hidden" id="attachids" runat="server" NAME="attachids" value="<%=_TplEditor_.AttachIds%>"/>
				<input type="hidden" id="token" runat="server" NAME="token" value="<%=_TplEditor_.Token%>"/>
				<!--编辑器--><input type="hidden" name="body" id="Body" value="<%=Server.HtmlEncode(_TplEditor_.Content)%>" />
				<table align="center" cellspacing="0" class="tablebox grid row" id="formtable">
		<!-- {if (_TplEditor_.Mode == EditorModeEnum.QuickNewTopic || _TplEditor_.Mode == EditorModeEnum.NewTopic || _TplEditor_.Mode == EditorModeEnum.NewVote || _TplEditor_.Mode == EditorModeEnum.ModifyTopic || _TplEditor_.Mode == EditorModeEnum.NewGroupTopic || _TplEditor_.Mode == EditorModeEnum.ModifyGroupTopic)} -->
					<tr id="row_title">
						<td width="158">
						标题：
						<select onChange="javascript:addTitleHead(this, 'title');" onmousewheel="return false" ID="Select1" NAME="Select1">
						<option selected="selected">[话题]</option>
						<option>[原创]</option>
						<option>[转帖]</option>
						<option>[灌水]</option>
						<option>[讨论]</option>
						<option>[求助]</option>
						<option>[推荐]</option>
						<option>[公告]</option>
						<option>[注意]</option>
						<option>[建议]</option>
						<option>[下载]</option>
						<option>[分享]</option>
						</select>
						</td>
						<td  nowrap="nowrap">
						<input type="text" onFocus="IEvent('focus',this)"	onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" id="title" style="width:350px;" maxlength="<%=_TplEditor_.MaxTilteLength%>" NAME="title" value="<%=Server.HtmlEncode(_TplEditor_.Title)%>"/>&nbsp;<%=_TplEditor_.MaxTilteLength%>字符以内
				<!--{if(user.IsSuperMaster || user.IsMaster ||  user.IsBoardMaster)}-->
				<!--#include file="_titleset.html" -->
				<!--{endif}-->
						</td>
					</tr>			
					<td width="158">
						正方观点：
						</td>
						<td ><input type="input" onFocus="IEvent('focus',this)"	onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" value="<%=InitActionForm[0]%>" id="zhltitle" name="zhltitle" style="width:350px;">
						
						</td>
						</tr>
						<td width="158">
						反方观点：
						</td>
						<td ><input type="input" onFocus="IEvent('focus',this)"	onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" value="<%=InitActionForm[1]%>" id="fantitle" name="fantitle" style="width:350px;">
	
						</td>
						</tr>
						<td width="158">
						中立方观点：
						</td>
						<td ><input type="input" onFocus="IEvent('focus',this)"	onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" value="<%=InitActionForm[2]%>" id="zhetitle" name="zhetitle" style="width:350px;">
	
						</td>
						</tr>
						
						<tr>
						<td width="158">
						PK方式选择：
						</td>
						<td >
							<input type="checkbox" id="isUserPk" name="isUserPk" <%=("0" != PkSettings[1] ? "checked=\"checked\"" : "")%>  style="border:none" value="usepk" onClick="if(this.checked){document.getElementById('pkuk').style.display='';}else{document.getElementById('pkuk').style.display='none';}">是否允许下注
								<table id="pkuk" name="pkuk" style="display:<%=("0" != PkSettings[1] ? "''" : "none")%> ; float:left;margin-left:4px"width="200" border="0" cellpadding="0" cellspacing="0" ID="Table5" style="margin-top:4px" class="grid" align="left">
								<tr>
									<td colspan="2">系统抽取的每笔下注手续费 &nbsp;<%=ForumCaching.GetBoardSettingByBoardId((uint)_TplEditor_.BoardId)[53]%>%</td>
								</tr>
								<tr>
									<td colspan="2">发起人所得每笔下注手续费 &nbsp;<%=ForumCaching.GetBoardSettingByBoardId((uint)_TplEditor_.BoardId)[54]%>%</td>
								</tr>							
								<tr>
									<td width="130">最小下注额度（金币）</td>
									<td><input type="input" maxlength="9" onFocus="IEvent('focus',this)"	onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" onKeyUp="this.value=this.value.replace(/[^\d,]+/g,'')" value="<%=PkSettings[1]%>" id="minmoney" name="minmoney" style="width:50px"></td>
								</tr>
								<tr>
									<td>最大下注额度（金币）</td>
									<td><input type="input" maxlength="9" onFocus="IEvent('focus',this)"	onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" onKeyUp="this.value=this.value.replace(/[^\d,]+/g,'')" value="<%=PkSettings[2]%>" id="maxmoney" name="maxmoney" style="width:50px"></td>
								</tr>
								</table>
						</td>
						</tr>
						<tr>
						<td width="158">
						截止时间：
						</td>
						<td ><input type="input" onFocus="IEvent('focus',this)"	onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" value="<%=PkSettings[6]%>" id="endtime" name="endtime" style="width:100px"  onclick="javascript:calendar.setHook(this);">样例:2007-08-17 16:12（<b>0</b> 表示没有特定的截止时间）</td>
						</tr>
		<!-- {endif} -->
		<!-- {if ( _TplEditor_.Mode == EditorModeEnum.NewTopic || _TplEditor_.Mode == EditorModeEnum.NewVote || _TplEditor_.Mode == EditorModeEnum.ModifyTopic)} -->
					<!-- {if (null != _TplEditor_.BoardClass && _TplEditor_.BoardClass.Rows.Count > 0)} -->
					<tr id="row_class" height="29" runat="server">
						<td>主题分类</td>
						<td>
						<span style="font-family:tahoma;font-size:11px">
						<!--<input type="radio" name="class" value="0" class="radio" ID="Radio1" />None-->
			
				<!-- {foreach (System.Data.DataRow rs in _TplEditor_.BoardClass.Rows)}-->
						<input type="radio" name="class" value="<%=rs["id"]%>" class="checkbox" ID="Radio2" <%=(int.Parse(rs["id"].ToString()) == _TplEditor_.ClassId) ? " checked=\"checked\" " : ""%> /><%=rs["classname"]%>
				<!-- {endfor} -->
		
						</span>
						</td>
					</tr>
					<!-- {else} -->
					   <input type="hidden" name="class" value="0"/>
					<!--{endif}-->
		<!-- {endif} -->
		<!-- {if ("0" == _HtmlAction_  && (_TplEditor_.Mode == EditorModeEnum.NewTopic || _TplEditor_.Mode == EditorModeEnum.NewVote || _TplEditor_.Mode == EditorModeEnum.ModifyTopic) )} -->
					<tr id="row_icon" height="29" runat="server">
						<td>主题标示(内容会意)</td>
						<td ><span style="font-family:tahoma;font-size:11px">
						<!--<%
						for(int i8803 = 1 ;i8803<19;i8803 ++){
							if( 10 == i8803) tplHandler.Write("<br />");
							tplHandler.Write("<input type=\"radio\" id=\"icon\" name=\"icon\" value=\"" + i8803.ToString() + "\" class=\"checkbox\" />");
							tplHandler.Write("<img src=\"templates/" + CurrentTemplateName + "/images/editor/topicface/face" + i8803 + ".gif\"/>&nbsp; &nbsp;");
						}
						%>--></span> </td>
					</tr>
		<!-- {endif} -->
	
		
		<!-- {if (!user.IsGuest && ("0" == _HtmlAction_ || "3" == _HtmlAction_ )&& _TplEditor_.AllowUploadAttach)} -->
					<tr id="row_upload" runat="server">
						<td>上传附件</td>
						<td  align="left">
						<div style="float:left;width:100%;height:30px;"><iframe src="attach_upload.aspx?boardid=<%=_TplEditor_.BoardId%>" width="100%" height="100%" frameborder="0" scrolling="no" style="border:none"></iframe></div>
						</td>
					</tr>
		<!-- {endif} -->
		<!--{if(_TplEditor_.Mode.ToString() != EditorModeEnum.NewTopic.ToString())}-->
		<tr id="row_ubbtool" align=left>
		<td>选取类型</td>
		<td>
		<INPUT class="checkbox" type=radio checked value=3 name=PkType ID="PkType"> 中立
		<INPUT class="checkbox" type=radio value=1 name=PkType ID="PkType"> 正方
		<INPUT class="checkbox" type=radio value=2 name=PkType ID="PkType"> 反对</td>
		</tr>
		<!--{endif}-->
	<!-- {if (_TplEditor_.Mode.ToString() == EditorModeEnum.QuickNewReply.ToString())} -->
	<tr id="row_ubbtool" runat="server" align="left">
		<td height="16">工具栏</td>
		<td  style="background:#F7FCFF;">
		<!--#include file="_editor_ex_min.html" -->
		</td>
	</tr>
	<!-- {endif} -->
		<tr id="row_main" align=left>
			<td width="158" style="line-height:14pt;" valign="top">正文内容 <br />
			<br />
			表情符号: <span class="t2"><b>√</b></span> <br />
			HTML支持: <span class="t2"><b>√</b></span> <br />
			<a target="_blank" href="help.aspx?style=new_style&content=6">UBB 支持</a>: <span class="t2"><b>√</b></span> 
			<br />内容长度: <script>if(contentSize==0)document.write("不限制");else document.write(contentSize);</script>
			<br />积分限制: <script>if(limitExp==0)document.write("不限制");else document.write(limitExp);</script>
			<br />金钱限制: <script>if(limitMny==0)document.write("不限制");else document.write(limitMny);</script>
			</td>
			<td >
			<!--#include file="_editor_ex_max.html" -->
	
			</td>
		</tr>
	<!-- {if ( ("0" == _HtmlAction_  || "1" == _HtmlAction_  || "2" == _HtmlAction_  || "3" == _HtmlAction_  || "4" == _HtmlAction_  || "5" == _HtmlAction_ || "6" == _HtmlAction_ ) && (_TplEditor_.Mode == EditorModeEnum.NewTopic || _TplEditor_.Mode == EditorModeEnum.NewVote || _TplEditor_.Mode == EditorModeEnum.ModifyTopic) )} -->
		<tr id="row_topicsetting" runat="server">
			<td>设置浏览主题限制</td>
			<td > 浏览该主题需要此积分以上:
			<input type="text" id="browserequire" onFocus="IEvent('focus',this)"	onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" name="browserequire" style="width:50px" maxlength="4" onKeyUp="this.value=this.value.replace(/[^\d,]+/g,'')" value="0" />
			(小于1表示无积分限制) 需要花费的金钱币:
			<input type="text" id="browsemoney" onFocus="IEvent('focus',this)"	onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" onKeyUp="this.value=this.value.replace(/[^\d,]+/g,'')" name="browsemoney" style="width:50px" maxlength="4" value="0" />
			(为0表示免费浏览)   
			</td>
		</tr>
	<!-- {endif} -->
	<!-- {if (_TplEditor_.DeleteVoteRowVisible)} -->
		<tr id="row_votedelete" runat="server">
			<td>本帖附带的投票</td>
			<td ><input type="checkbox" id="deletevote" class="checkbox" value="1" runat="server"/>
			<label for="editor_deletevote">删除与本主题相关的投票</label></td>
		</tr>
	<!-- {endif} -->
	<!--{if( "3-2" != _HtmlAction_ && "3-1" != _HtmlAction_ && user.UserBaseStrategy.UserRole_pop_strategy[(int)PopStrategyEnum.AllowHiddenNamePost] == "1")}-->
	<tr align=center>
			<td colspan="2">
			<input type="checkbox" class="chkbox" value="1" ID="Checkbox6" <!--{if(1== _TplEditor_.AllowHiddenNamePost)}-->checked<!--{endif}--> name="AllowHiddenNamePost"> 是否使用匿名发帖(使用匿名则发的帖子在显示的时候，不显示发帖人的名称)
			</td></tr>
<!--{endif}-->			
	</table>
	<br/>
	<table >		
	<tr align=center>
			<td colspan="2">							
			<input name="Submit1" onFocus="IEvent('focus',this)"	onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" style="cursor:hand" type="<%=("3" == _HtmlAction_ || "3-2" == _HtmlAction_ ? "submit" : "button\" onclick=\"checkform(this.form);")%>" id="send" class="button_off" value="提 交"/>　　
			<input name="Submit2" onFocus="IEvent('focus',this)"	onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" style="cursor:hand" type="reset" id="reset" class="button_off" value="重 写" onClick="doReset(this)"/>  (IE 下可以按 Ctrl + Enter 提交)
			</td>
		</tr>
	</table>
	<br/>
	</form>
	<!--{endif}-->
	<!-- Start 通用编辑器模板页 -->

<script>initEmotion();</script>
	<!-- End 通用编辑器模板页 -->
<script src="templates/<%=CurrentTemplateName%>/images/editor/js/DhtmlEdit1.js" type="text/javascript"></script>
<iframe name="Reg_HiddenIFrame" id="Reg_HiddenIFrame" src="" width="0%" height="0px" style="border:0px solid red;"></iframe>
<!-- {endif} -->