<!--#include file="conn.asp"-->
<%
dim id
mi2=request("url")
if mi2<>"" then mylogo="/shop/logo/logo.gif"
mi=request("mi")
cz=request("cz")
%>
<%


call head()
Call saycarda("修改店铺LOGO")
%>
<!--#INCLUDE file="../bbs/sy1.asp"-->


<%if cz="1" then

set rs=Server.CreateObject("ADODB.Recordset")
  rs.open"select * from Users where id="&myid,conn,1,2
if rs.eof then
  Call Error("会员不存在！")
  end if
rs("logo")=mi
rs.update
rs.close
set rs=nothing
  %>
修改成功<br/>
<img src='<%=mi%>' alt='加载图片中...'/><br/>
图片地址:<%=mi%><br/>
<%end if%>
<a href='sclogo.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>'>上传LOGO</a><br/>

<%If saytk<>1 Then
%><form name="form" method="post" action="logo.asp?cz=1&amp;saytk=<%=saytk%>&amp;sid=<%=sid%>">
直接输入LOGO地址:<br/><input name="mi" title="LOGO地址" type="text" format="*M" emptyok="true" maxlength="500" value="<%=mylogo%>"/><br/>
<%
response.write "<input type=""submit"" name=""Submit"" value=""确定提交""></form><br/>"

else%>
直接输入LOGO地址:<br/><input name="mi<%=minute(now)%><%=second(now)%>" title="LOGO地址" type="text" format="*M" emptyok="true" maxlength="500" value="<%=mylogo%>"/><br/>
<anchor>确定修改
<go href="logo.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>&amp;cz=1" method="post" accept-charset="utf-8">
<postfield name="mi" value="$(mi<%=minute(now)%><%=second(now)%>)"/>
</go>
</anchor><br/>
<%End if%>
<!--#include file="fanhui.asp"-->

<%
call headsay()
%>
