<!-- #include file="include/admin_onlogin.asp" -->
<!-- #include file="include/db_mclass.asp" -->
<!-- #include file="include/db_isform.asp" -->
<%
Server.ScriptTimeout =600
del_user_true=true
del_upload_true=true
index_url="jsjl"
dim mm_topic
mm_topic="topic"
dim RsTemp_name
RsTemp_name=Split("power,emoney,istop,hidden,username,tim,counter,c_id,s_id,cod",",")
%>
<!-- #include file="include/db_con_gather.asp" -->
<%
function other_set()
%>
<TR>
<td>分类：</td>
<TD><%call chk_csid(nsort,cid,sid)%></TD>
</TR>
<TR>
<td>发布人：</td>
<TD><input type=text name=username value='<%response.write login_username%>' size=20 maxlength=20>&nbsp;&nbsp;推荐：<input type=checkbox name=istop value='yes'>&nbsp;&nbsp;隐藏/审核：<input type=checkbox name=hidden value='yes'></TD>
</TR>
<TR>
<td>发布时间：</td>
<TD><input type=text name=tim value='<%response.write joekoe_cms.now_time%>' size=20></TD>
</TR>
<TR>
	<TD><%call chk_emoney(0)%></TD>
	<TD>支持模式：<input  type=radio name=cod value='1'>&nbsp;支持UBB&nbsp;<input  type=radio name=cod value='2' checked>&nbsp;支持HTML</TD>
</TR>
<%call chk_power("浏览","",1)%></TR><%
end function
sub RsTemp_mm()

    RsTemp_v(0)=code_admin("power",1,50)
    RsTemp_v(0)=replace(RsTemp_v(0)," ","")
    RsTemp_v(0)=replace(RsTemp_v(0),",",".")
    
    RsTemp_v(1)=trim(request.form("emoney"))
    if not isnumeric(RsTemp_v(1)) then RsTemp_v(1)=0
    RsTemp_v(1)=int(RsTemp_v(1))
    
    RsTemp_v(2)=0
    if trim(request.form("istop"))="yes" then RsTemp_v(2)=1
    
    RsTemp_v(3)=true
    if trim(request.form("hidden"))="yes" then RsTemp_v(3)=false
    
    RsTemp_v(4)=code_admin("username",1,20)
    if symbol_name(RsTemp_v(4))=false then RsTemp_v(4)=login_username
    
    RsTemp_v(5)=code_admin("tim",1,20)
    if RsTemp_v(5)="" then RsTemp_v(5)=joekoe_cms.now_time
    RsTemp_v(5)=joekoe_cms.time_type(RsTemp_v(5),1)
    
    RsTemp_v(6)=trim(request.form("counter"))
    if not isnumeric(RsTemp_v(6)) then RsTemp_v(6)=0
    RsTemp_v(6)=int(RsTemp_v(6))
    
    call chk_cid_sid()
	RsTemp_v(7)=cid
	RsTemp_v(8)=sid
	
	RsTemp_v(9)=trim(request.form("cod"))
    if not isnumeric(RsTemp_v(9)) then	RsTemp_v(9)=1
    RsTemp_v(9)=int(RsTemp_v(9))
end sub
%>