
<!-- #include file="../conn.asp" -->
<!-- #include file="admin.asp" -->
<%call ling()
Call Head()
Call saycardd("图片设置")

lid=request.querystring("lid")
set rs=server.createobject("adodb.recordset")
sql="select formatpic,PICsize,picsy from twapp"
rs.open sql,conn,1,1
if rs.bof and rs.eof then
    	response.write "出错了！<br/>"
else

if request.QueryString("mr")=1 then 
set rs=server.createobject("adodb.recordset")
	sql="select formatpic,PICsize,picsy from twapp"
	rs.open sql,conn,1,2
        rs("formatpic")="gif,jpg,jepg"
        rs("picsize")=500000
        rs("picsy")=0
        rs.update
	rs.close
	set rs=nothing
	conn.close
	set conn=nothing

%>
默认成功<br/><%=xlurl("picsq.asp?sid="&sid&"&amp;saytk="&saytk&"","点击这里返回")%>
<%end if%>



图片上传格式(多个用,隔开)<br/>
<%if saytk>1 then
Response.write "<form name=""form"" method=""post"" action=""picsqcl.asp?sid="&sid&"&amp;lid="&lid&"&amp;saytk="&saytk&""">"%>
<input name="format" value="<%=rs("formatpic")%>"/><br/>
图片上传大小(单位KB)<br/>
<input name="size" value="<%=rs("picsize")%>"/><br/>
                        水印设置:
			<select name="picsy" value="<%=rs("picsy")%>">
			<option value="0">关闭</option>
			<option value="1">开放</option>
			</select><br/>
<input type="submit" name="Submit" value="确认修改"></form><br/>
<%else%>
<input name="format<%=minute(now)%><%=second(now)%>" value="<%=rs("formatpic")%>"/><br/>
图片上传大小(单位KB)<br/>
<input name="size<%=minute(now)%><%=second(now)%>" value="<%=rs("picsize")%>"/><br/>
                        水印设置:
			<select name="picsy<%=minute(now)%><%=second(now)%>" value="<%=rs("picsy")%>">
			<option value="0">关闭</option>
			<option value="1">开放</option>
			</select><br/>
<anchor>确认修改
    <go href="picsqcl.asp?sid=<%=sid%>&amp;lid=<%=lid%>&amp;saytk=<%=saytk%>" method="post" accept-charset="utf-8">
        <postfield name="format" value="$(format<%=minute(now)%><%=second(now)%>)"/>
         <postfield name="size" value="$(size<%=minute(now)%><%=second(now)%>)"/>
         <postfield name="picsy" value="$(picsy<%=minute(now)%><%=second(now)%>)"/>
    </go>
</anchor>
<%end if%><br/>----------<br/>
<%end if%><a href="picsq.asp?mr=1&amp;sid=<%=sid%>&amp;saytk=<%=saytk%>">[恢复默认]</a><br/>
<a href="index.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>">[图片管理]</a><br/>
<a href="../index.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>">[后台管理]</a>
<%call head3()%>