<!--#include file="0.asp"-->
<!--#include file="../../conn/zkconn.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../../css/css.css" rel="stylesheet" type="text/css">
</head>
<body>
<script language="javascript">
	<!--//
	function checksignup() {
		if ( document.form.name.value == '' ) {
			window.alert('请输入商店名称!!');
			document.form.name.focus();
			return false;
		}
		if ( document.form.name2.value == '' ) {
			window.alert('请输入负责人姓名!!');
			document.form.name2.focus();
			return false;
		}
		if ( document.form.dz.value == '' ) {
			window.alert('请输入公司地址!!');
			document.form.dz.focus();
			return false;
		}
		if ( document.form.pc.value == '' ) {
			window.alert('请输入邮编!!');
			document.form.pc.focus();
			return false;
		}
		if ( document.form.tel.value == '' ) {
			window.alert('请输入联系电话!!');
			document.form.tel.focus();
			return false;
		}
		if ( document.form.email.value == '' ) {
			window.alert('请输入email地址前缀!!');
			document.form.email.focus();
			return false;
		}
		if ( document.form.email2.value == '' ) {
			window.alert('请输入email地址后缀!!');
			document.form.email2.focus();
			return false;
		}
			return true;
			}
	//-->
</script><%name=session("www.loogoo.com")
if request("x")<>"" then
conn.execute("Update user_name set logo='"&request("logo")&"',banner='"&request("banner")&"',css="&request("css")&" where name='"&name&"'")
Response.Write("<script>alert(""设置成功"");location.href=""css.asp"";</script>")
end if
 set rs = conn.execute("select * from user_name where name='"&name&"'") %>
<form name="myform" method="post" action=?x=yes>
  <div align="center">
    <p><font color="#FF3333" class="b2"><strong><br>
      </strong></font> </p>
    </div>
  <p>&nbsp;</p>
  <table width="550" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
    <tr bgcolor="#FFFFFF"> 
      <td height="25" colspan="2" valign="middle" bgcolor="#f1f1f1">&nbsp; <font color="#FF3333" size="2">&gt;&gt;为了能充分体现贵公司，您可以自定义网店样式</font></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width="150" height="25" align="right" valign="middle">商店名称&nbsp;</td>
      <td width="350" height="25" valign="middle"><input name="name" type="text" class="wenbenkuang" id="name" value="<%=rs("name")%>" size="30" maxlength="40"  disabled></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width="150" height="25" align="right" valign="middle">公司网店logo地址&nbsp;</td>
      <td width="350" height="25" valign="middle"><input name="logo" type="text" class="wenbenkuang" id="logo" value="<%=rs("logo")%>" size="50" maxlength="100"></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width="150" height="25" align="right" valign="middle">logo图片上传&nbsp;</td>
      <td height="25" valign="middle"><iframe name="ad" frameborder=0 width=100% height=20 scrolling=no src=../shangchuan/logo.asp></iframe></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width="150" height="25" align="right" valign="middle">公司网店banner地址&nbsp;</td>
      <td width="350" height="25" valign="middle"><input name="banner" type="text" class="wenbenkuang" id="banner" value="<%=rs("banner")%>" size="50" maxlength="100"></td>
    </tr>
    <tr bgcolor="#FFFFFF">
      <td width="150" height="25" align="right" valign="middle">banner图片上传&nbsp;</td>
      <td height="25" valign="middle"><iframe name="ad" frameborder=0 width=100% height=20 scrolling=no src=../shangchuan/banner.asp></iframe></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width="150" height="25" align="right" valign="middle">网页个性化样式&nbsp;</td>
      <td width="350" height="25" valign="middle"><input <%If rs("css") = 1 Then Response.Write("CHECKED") : Response.Write("")%> name="css" type="radio" value="1"> 样式一 
        <input <%If rs("css") =2 Then Response.Write("CHECKED") : Response.Write("")%> name="css" type="radio" value="2"> 
        样式二</td>
    </tr>
  </table>
  <div align="center"><br>
    <input name="Submit" type="submit" class="go-wenbenkuang" value="提 交" onClick="javascript:return checksignup()">
    &nbsp; 
    <input name="Submit3" type="reset" class="go-wenbenkuang" value="重 置">
    <br>
    <br>
    注意：logo和banner图片只支持后缀名为gif或jpg的网络标准图片格式</div>
</form>
</body>
</html>