<%
'商易仿淘宝4.0(多用户)
'ACCESS版演示网站：http://www.ftaobao.com(商易仿淘宝商城)
'SQL版演示网站：http://sql.ftaobao.com
'电话：0571-56907100
'QQ：1147100
%>
<%If shopnet("abc")="cpgl" then%><body onLoad="show(C21),show(C22)"><%ElseIf shopnet("abc")="cpfl" then%><body onLoad="show(d11),show(d12)"><%ElseIf shopnet("abc")="zlxg" then%><body onLoad="show(d21),show(d22)"><%ElseIf shopnet("abc")="wdmb" then%><body onLoad="show(d31),show(d32)"><%ElseIf shopnet("abc")="logo" then%><body onLoad="show(d41),show(d42)"><%ElseIf shopnet("abc")="gywm" then%><body onLoad="show(d81),show(d82)"><%ElseIf shopnet("abc")="shfw" then%><body onLoad="show(d91),show(d92)"><%else%><body onLoad="show(c41),show(c42)"><%End if%>
<!--#include file="top.asp"-->

<%hy "login.asp"
left_open="shop"
xinyong = conn.execute("select xinyong from huiyuan where huiyuan='"&myhuiyuan&"'")(0)

        If xinyong<cint(xing1) Then
		xing="noxing.gif"
		End If     
		If xinyong>cint(xing1) Then
		xing="xing1.gif"
		alt=""&cint(xing1)&"-"&cint(xing11)&"为一星级"
		End if
		If xinyong>cint(xing2) Then
		xing="xing2.gif"
		alt=""&cint(xing2)&"-"&cint(xing21)&"为二星级"
		End If
		If xinyong>cint(xing3) Then
		xing="xing3.gif"
		alt=""&cint(xing3)&"-"&cint(xing31)&"为三星级"
		End if
		If xinyong>cint(xing4) Then
		xing="xing4.gif"
		alt=""&cint(xing4)&"-"&cint(xing41)&"为四星级"
		End If
		
		If xinyong>cint(xing5) Then
		xing="xing5.gif"
		alt=""&cint(xing5)&"-"&cint(xing51)&"为五星级"
		End If
		
		If xinyong>cint(xing6) Then
		xing="xing6.gif"
		alt=""&cint(xing6)&"-"&cint(xing61)&"为六星级"
		End If
		
		If xinyong>cint(xing7) Then
		xing="xing7.gif"
		alt=""&cint(xing7)&"-"&cint(xing71)&"为七星级"
		End If
        If  xinyong>cint(xing8) Then
		xing="xing8.gif"
		alt=""&cint(xing8)&"以上为八星级"
		End If
'//是否已开店铺
set yz = conn.execute("select id,zt,name from shop where huiyuan='"&myhuiyuan&"'")
if yz.eof then
Response.redirect "../note.asp?errid=1"
Response.end
else
'myuserid=yz(0)
username=yz(2)
Select case yz(1)
case "4"
Response.redirect "../note.asp?errid=2"
Response.end
case "3"
Response.redirect "../note.asp?errid=3"
Response.end
End Select
end if
yz.close:set yz=nothing%>
<table width="762" border="0" align="center" cellpadding="2" cellspacing="0" style='BORDER-COLLAPSE: collapse;MARGIN: 3px'>
  <tr> 
    <td height="22" colspan="2">您的位置： <A href="../index.asp">首页</A> &gt;&gt; <a href="index.asp">会员中心</a>&nbsp;&gt;&gt; 商品管理</td>
  </tr>
  <tr> 
    <td width="180" valign="top">
<!--#include file="left.asp"-->
    </td>
<td width="582" height="280" valign="top">
<%Select case request("abc")
case "pm"
set rs = conn.execute("select top 1 jg,huiyuan from paimai where pid="&shopnet("id")&" and ok=1 order by id desc")
if not rs.eof then
set hy = conn.execute("select huiyuan,name,tel,mail,dz,yb,dizhi1 from huiyuan where huiyuan='"&rs("huiyuan")&"'")%>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td><table border="0" align="left" cellpadding="0" cellspacing="0">
      <tr>
        <td width="1"><IMG SRC="../images/mytaobaobj1_3.gif" WIDTH=3 HEIGHT=25 ALT=""></td>
        <td width="120" align="center" background="../images/mytaobaobj1_4.gif">竟拍会员<font color="#FFFFFF" span class="C">&nbsp;</font></td>
        <td width="1"><IMG SRC="../images/mytaobaobj1_6.gif" WIDTH=7 HEIGHT=25 ALT=""></td>
      </tr>
    </table>
        
      </td>
  </tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="4" bgcolor="1E88C1"></td>
  </tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="5"></td>
  </tr>
</table>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#efefef">
  <tr> 
    <td height="21" colspan="2" valign="middle" background="../image/bk.gif" bgcolor="#f1f1f1"> <font color="#FF6600">&gt;&gt; 竞标得主会员信息</font>&nbsp;&nbsp;&nbsp;&nbsp;
      <input name="Submit" type="button" class="go-wenbenkuang" value="返回上一页" onClick="javascript:window.history.go(-1)"></td>
  </tr>
  <tr bgcolor="#FFFFFF">
    <td width="120" align="center">竞标金额</td>
    <td>&nbsp;<%=rs("jg")%></td>
  </tr>
  <tr bgcolor="#FFFFFF"> 
    <td width="120" align="center">会员账号</td>
    <td width="393">&nbsp;<%=hy("huiyuan")%></td>
  </tr>
  <tr bgcolor="#FFFFFF"> 
    <td width="120" align="center">真实姓名</td>
    <td>&nbsp;<%=hy("name")%></td>
  </tr>
  <tr bgcolor="#FFFFFF"> 
    <td width="120" align="center">联系电话</td>
    <td>&nbsp;<%=hy("tel")%></td>
  </tr>
  <tr bgcolor="#FFFFFF"> 
    <td width="120" align="center">联系信箱</td>
    <td>&nbsp;<%=hy("mail")%></td>
  </tr>
  <tr bgcolor="#FFFFFF"> 
    <td width="120" align="center">联系地址</td>
    <td>&nbsp;<%=hy("dz")%><%=hy("dizhi1")%></td>
  </tr>
  <tr bgcolor="#FFFFFF">
    <td height="21" colspan="2" align="center" valign="middle" background="../image/bk1.gif">&nbsp;</td>
    </tr>
</table>
<%huiyuan.close
set huiyuan=nothing
End If
rs.close
set rs=nothing%>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td><table border="0" align="left" cellpadding="0" cellspacing="0">
      <tr>
        <td width="1"><IMG SRC="../images/mytaobaobj1_3.gif" WIDTH=3 HEIGHT=25 ALT=""></td>
        <td width="120" align="center" background="../images/mytaobaobj1_4.gif">竟拍管理<font color="#FFFFFF" span class="C">&nbsp;</font></td>
        <td width="1"><IMG SRC="../images/mytaobaobj1_6.gif" WIDTH=7 HEIGHT=25 ALT=""></td>
      </tr>
    </table>
        
      </td>
  </tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="4" bgcolor="1E88C1"></td>
  </tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="5"></td>
  </tr>
</table>

<br>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#efefef">
  <tr align="center" bgcolor="#f7f7f7"> 
    <td width="50" height="21" background="../image/bk.gif">编号</td>
    <td width="200" height="21" background="../image/bk.gif">竞标会员</td>
    <td height="21" background="../image/bk.gif">投标金额</td>
    <td width="150" height="21" background="../image/bk.gif">投标时间</td>
  </tr>
  <%set paimai = conn.execute("select jg,huiyuan,sj from paimai where pid="&shopnet("id")&" and ok=0 order by id desc")
if paimai.eof then
response.write"<tr><td colspan=4 align=center bgcolor=white height=21 valgin=middle>没有竟拍信息！</td></tr>"
else

i=1
do while not paimai.eof%>
  <tr align="center" bgcolor="#FFFFFF"> 
    <td width="50" height="22"><%=i%></td>
    <td width="200" height="22"><%=paimai("huiyuan")%></td>
    <td height="22"><%=paimai("jg")%>元</td>
    <td width="150" height="22"><%=paimai("sj")%></td>
  </tr>

<%i=i+1
paimai.movenext
loop
paimai.close:set paimai=nothing

%>  <tr align="center" bgcolor="#FFFFFF">
    <td height="21" colspan="4" valign="middle" background="../image/bk1.gif">&nbsp;</td>
    </tr><%end if%>
</table>
<%case "cpgl"
Select case Request("y")
   case "b"
        cang=shopnet("cang")
		if cang=1 then
		cang=0
		else
		cang=1
		end if
		conn.execute("Update chanpin set cang ='"&cang&"' where userid="&myuserid&" and id="&shopnet("id")&"")
   case "c"
        user_tui=shopnet("user_tui")
		if user_tui=1 then
		user_tui=0
		else
		user_tui=1
		end if
		conn.execute("Update chanpin set user_tui ="&user_tui&" where userid="&myuserid&" and id="&shopnet("id")&"")
End Select
		

Select case shopnet("xs")
case "1"
xs="and cang=1"
case "2"
xs="and user_tui=1"
case "3"
xs="and fs=0"
case "4"
xs="and fs=1"
case "5"
xs="and fs=2"
case else
xs=""
End Select

keywords=shopnet("keywords")
Set rs=Server.CreateObject("ADODB.Recordset")
if xs<>""then
sql="select * from chanpin where userid="&myuserid&" "&xs&"  and sj2>now() order by sj desc"
elseif keywords<>"" then
sql="select * from chanpin where userid="&myuserid&" and (mc like '%"&keywords&"%' or jp like '%"&keywords&"%'  or js like '%"&keywords&"%') and sj2>now() order by sj desc "
else
sql="select * from chanpin where userid="&myuserid&" and sj2>now() order by sj desc"

end if
rs.open sql,conn,3,1%>
<!--#include file="../include/page.asp"-->
<%page1("10")%>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td><table border="0" align="left" cellpadding="0" cellspacing="0">
      <tr>
        <td width="1"><IMG SRC="../images/mytaobaobj1_3.gif" WIDTH=3 HEIGHT=25 ALT=""></td>
        <td width="120" align="center" background="../images/mytaobaobj1_4.gif">商品管理<font color="#FFFFFF" span class="C">&nbsp;</font></td>
        <td width="1"><IMG SRC="../images/mytaobaobj1_6.gif" WIDTH=7 HEIGHT=25 ALT=""></td>
      </tr>
    </table>
        <table border="0" align="left" cellpadding="0" cellspacing="0">
          <tr>
            <td width="1"><IMG SRC="../images/mytaobaobj1_8.gif" WIDTH=3 HEIGHT=25 ALT=""></td>
            <td width="120" align="center" background="../images/mytaobaobj1_9.gif"><font color="#FF0000"><span class="C"><a href="auc_fend.asp">过期商品</a></span></font></td>
            <td width="1"><IMG SRC="../images/mytaobaobj1_11.gif" WIDTH=7 HEIGHT=25 ALT=""></td>
          </tr>
        </table>
      <table border="0" align="left" cellpadding="0" cellspacing="0">
          <tr>
            <td width="1"><IMG SRC="../images/mytaobaobj1_8.gif" WIDTH=3 HEIGHT=25 ALT=""></td>
            <td width="120" align="center" background="../images/mytaobaobj1_9.gif"><font color="#FF0000"><span class="C"><a href="buysell.asp?id=2">已卖商品</a></span></font></td>
            <td width="1"><IMG SRC="../images/mytaobaobj1_11.gif" WIDTH=7 HEIGHT=25 ALT=""></td>
          </tr>
      </table></td>
  </tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="4" bgcolor="1E88C1"></td>
  </tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="5"></td>
  </tr>
</table>
<br>
<table width="570" align="center" cellpadding="2" cellspacing="2">
        <tr> 
    <form name="form1" method="post" action="?abc=cpgl">
            <td width="183" height="25" align="center">关键字： 
              <input name="keywords" type="text" class="wenbenkuang" id="keywords" size="10"> 
        <input name="Submit" type="submit" class="go-wenbenkuang" value="搜索">
            </td>
    </form><form name="form3" method="post" action="?abc=cpgl">
            <td width="371" align="center"><input name="xs" type="radio" value="1">
              隐藏
<input name="xs" type="radio" value="2">
              推荐
<input type="radio" name="xs" value="3">
              一口价
<input type="radio" name="xs" value="4">
              拍卖
<input type="radio" name="xs" value="5">
              议价 
            <input name="Submit2" type="submit" class="go-wenbenkuang" value="显示"></td></form>
  </tr>
</table>
      <br>
      <table width="570" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#efefef">
        <tr align="center" valign="middle"> 
          <td width="260" height="21" background="../image/bk.gif" bgcolor="efefef">产品名称</td>
          <td width="20" height="21" background="../image/bk.gif" bgcolor="efefef">审</td>
          <td width="20" height="21" background="../image/bk.gif" bgcolor="efefef">修</td>
          <td width="20" height="21" background="../image/bk.gif" bgcolor="efefef">藏</td>
          <td width="20" height="21" background="../image/bk.gif" bgcolor="efefef">推</td>
          <td width="50" height="21" align="center" nowrap background="../image/bk.gif" bgcolor="efefef">方式</td>
          <td width="70" height="21" nowrap background="../image/bk.gif" bgcolor="efefef">结束时间</td>
        </tr>
        <%
  if rs.eof then
  response.write "<tr><td colspan=7 align=center bgcolor=white height=21 valgin=middle>还没有出售商品，快去吧！</td></tr>"
  else
		
		
		i=1
do while not rs.eof and i<=rs.pagesize%>
        <tr valign="middle"> 
          <td width="260" bgcolor="#ffffff"> <%response.write "<a href=../merchandise.asp?id="&encode(rs("id"))&" target=_blank>·"&rs("mc")&"</a>"%></td>
          <td width="20" align="center" bgcolor="#ffffff"> <%if rs("tui")<>0 then response.write "<font color=#ff6600>未</font>" else response.write "已" end if %></td>
          <td width="20" align="center" bgcolor="#ffffff"> <%response.write "<a href=xiugai.asp?id="&rs("id")&"&keywords="&request("keywords")&"&page="&page&">修</a>"%></td>
          <td width="20" align="center" bgcolor="#ffffff"><a href=?abc=cpgl&y=b&keywords=<%=request("keywords")%>&xs=<%=request("xs")%>&cang=<%if rs("cang")=0 then Response.Write 0 else Response.Write 1%>&id=<%=rs("id")%>&page=<%=page%>> 
            <%if rs("cang")<>0 then response.write "<font color=#ff6600>是</font>" else response.write "否"%>
          </a></td>
          <td width="20" align="center" bgcolor="#ffffff"><a href=?abc=cpgl&y=c&keywords=<%=request("keywords")%>&xs=<%=request("xs")%>&user_tui=<%if rs("user_tui")=0 then Response.Write 0 else Response.Write 1%>&id=<%=rs("id")%>&page=<%=page%>> 
            <%if rs("user_tui")<>0 then response.write "<font color=#ff6600>是</font>" else response.write "否"%>
          </a></td>
          <td width="50" align="center" nowrap bgcolor="#ffffff">
<%Select case rs("fs")
case 0
response.write "一口价"
case 1
response.write "<a href=?abc=pm&id="&rs("id")&">[拍卖]</a>"
case 2
response.write "议价"
End Select%></td>
          <td width="70" align="center" nowrap bgcolor="#ffffff"><%if rs("sj2")>now() then Response.Write formatdatetime(rs("sj2"),2) else Response.Write("<font color=red>时间已到</font>")%></td>
        </tr>
<%i=i+1
rs.MoveNext                                              
loop%>
        <tr align="center" valign="middle"> 
          <td height="21" colspan="7" background="../image/bk1.gif" bgcolor="#efefef"><%page2("abc=cpgl&keywords="&request("keywords")&"&xs="&request("xs")&"&")
rs.close:
end if 
%></td>
        </tr>
      </table>
      <table width="570" border="0" align="center" cellpadding="3" cellspacing="0">
        <tr>
    <td><br>备注：为了保证<%=my_name%>产品信息的相对真实性，所有商户添加的产品只有经过客服中心审核后才能显示，审核时间一般不超过24小时。但不会影响产品显示在您自己的店铺上。如有错误或价格调整，请点击修改，每次修改后产品自动恢复到未审核状态，需要重新审核后才能再显示。产品推荐(将出现在商家网店首页新品推荐处)。</td>
  </tr>
</table>
<%case "cpfl"
if request("x")="add" and shopnet("userlb")<>"" then
conn.execute("Insert into user_lb(userlb,userid,lbid)values('"&shopnet("userlb")&"',"&shopnet("userid")&","&shopnet("lbid")&")")
Response.Write("<script>alert(""添加类别成功"");location.href=""?abc=cpfl"";</script>")
end if 
if request("x")="x" then
conn.execute("Update user_lb set userlb = '"&shopnet("userlb")&"',lbid ="&shopnet("lbid")&" where userid="&myuserid&" and id="&shopnet("id")&"")
Response.redirect "?abc=cpfl"
end if 


if request("x")="del" then
userid2 = conn.execute("select userid from user_lb where id="&shopnet("id")&"")(0)
'if myuserid=userid2 then
conn.execute("Delete * from user_lb where id="&shopnet("id")&"")
Response.Write("<script>alert(""删除类别成功"");location.href=""?abc=cpfl"";</script>")
'else
Response.redirect "?abc=cpfl"
'end if
end if%>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td><table border="0" align="left" cellpadding="0" cellspacing="0">
      <tr>
        <td width="1"><IMG SRC="../images/mytaobaobj1_3.gif" WIDTH=3 HEIGHT=25 ALT=""></td>
        <td width="120" align="center" background="../images/mytaobaobj1_4.gif"><font color="#FFFFFF">添加产品分类</font></td>
        <td width="1"><IMG SRC="../images/mytaobaobj1_6.gif" WIDTH=7 HEIGHT=25 ALT=""></td>
      </tr>
    </table>
        </td>
  </tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="4" bgcolor="1E88C1"></td>
  </tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="5"></td>
  </tr>
</table><br><%msg="如果您的店铺产品数量少可不进行分类。 "
wmsg()
%><br>
<form action="?abc=cpfl&x=add" method="post" name="form" id="form">
  <div align="center">
<%set rs = conn.execute("select id,userlb from user_lb where userid="&myuserid&" and lbid=0 order by id")
Response.Write "<select name=lbid class=wenbenkuang><option value=0>添加为一级分类</option>"
do while not rs.eof
Response.Write "<option value="&rs("id")&">┣ "&rs("userlb")&"</option>"
rs.movenext
loop
Response.Write "</select>"
rs.close
set rs=nothing%>
    <input name="userlb" type="text" class="wenbenkuang" id="userlb" size="18" maxlength="15">
    <input name="Submit" type="submit" class="go-wenbenkuang" value="增加">
    <input type=hidden name=userid value=<%=myuserid%>>
  </div>
</form>
<br><table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#efefef">
  <tr align="center" valign="middle" bgcolor="#f1f1f1"> 
    <td width="320" height="21" background="../image/bk.gif">店铺产品类别名称</td>
    <td width="40" height="21" background="../image/bk.gif">修改</td>
    <td width="40" height="21" background="../image/bk.gif">删除</td>
  </tr>
<%set rs = conn.execute("select * from user_lb where userid="&myuserid&" and lbid=0 order by px desc,id")
  if rs.eof then
  response.write "<tr><td colspan=4 align=center bgcolor=white height=21 valgin=bottom >您当前没有商品分类！</td></tr>"
	else

do while not rs.eof%><form name="form1" method="post" action=?abc=cpfl&x=x>
  <tr align="center" valign="middle" bgcolor="#FFFFFF"> 
    <td width="320" height="22" align="left">┣ <input name="userlb" type="text" class="wenbenkuang" id="userlb" value="<%=rs("userlb")%>" size="18" maxlength="15">
      <input name="id" type="hidden" id="id" value="<%=rs("id")%>">
      <input name="lbid" type="hidden" id="lbid" value="0"></td>
    <td width="40" height="22" align="center">
      <input name="Submit" type="submit" class="go-wenbenkuang" value="修改">      </td>
    <td width="40" height="22" align="center"><a href="?abc=cpfl&x=del&id=<%=rs("id")%>">删除</a></td>
  </tr></form>

<%set xlb = conn.execute("select * from user_lb where userid="&myuserid&" and lbid="&rs("id")&" order by px desc,id")
do while not xlb.eof%><form name="form" method="post" action=?abc=cpfl&x=x>
  <tr align="center" valign="middle" bgcolor="#FFFFFF"> 
    <td width="320" height="22" align="left">&nbsp;&nbsp;&nbsp;┗ 
      <input name="userlb" type="text" class="wenbenkuang" id="userlb" value="<%=xlb("userlb")%>" size="18" maxlength="15">
      <input name="id" type="hidden" id="id" value="<%=xlb("id")%>"><%set lb = conn.execute("select id,userlb from user_lb where userid="&myuserid&" and lbid=0 order by px desc,id")
Response.Write "<select name=lbid class=wenbenkuang>"
do while not lb.eof
if lb("id")=xlb("lbid") then myselected="selected" else myselected=""
Response.Write "<option value="&lb("id")&" "&myselected&">"&lb("userlb")&"</option>"
lb.movenext
loop
Response.Write "</select>"
lb.close
set lb=nothing%></td>
    <td width="40" height="22" align="center">
      <input name="Submit" type="submit" class="go-wenbenkuang" value="修改">      </td>
    <td width="40" height="22" align="center"><a href="?abc=cpfl&x=del&id=<%=xlb("id")%>">删除</a></td>
  </tr>

</form>

<%xlb.movenext
loop
xlb.close:set xlb=nothing
rs.movenext
loop
rs.close:set rs=nothing
 
%>
  <tr align="center" valign="middle" bgcolor="#FFFFFF">
    <td height="21" colspan="3" align="left" background="../image/bk1.gif">&nbsp;</td>
    </tr>
<%end if%></table>



<%case "wdmb"
if request("x")<>"" then
conn.execute("Update shop set dpmb="&shopnet("dpmb")&" where huiyuan='"&myhuiyuan&"'")
Response.Write("<script>alert(""设置成功"");location.href=""?abc=wdmb"";</script>")
end if
set rs = conn.execute("select * from shop where huiyuan='"&myhuiyuan&"'") %>
<form name="myform" method="post" action=?abc=wdmb&x=yes>
  <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td><table border="0" align="left" cellpadding="0" cellspacing="0">
          <tr>
            <td width="1"><IMG SRC="../images/mytaobaobj1_3.gif" WIDTH=3 HEIGHT=25 ALT=""></td>
            <td width="120" align="center" background="../images/mytaobaobj1_4.gif"><font color="#FFFFFF">店铺模板<font span class="C"></font></font></td>
            <td width="1"><IMG SRC="../images/mytaobaobj1_6.gif" WIDTH=7 HEIGHT=25 ALT=""></td>
          </tr>
        </table>
          </td>
    </tr>
  </table>
  <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td height="4" bgcolor="1E88C1"></td>
    </tr>
  </table>
  <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td height="5"></td>
    </tr>
  </table>
  <p><%
  msg="为了能充分体现您的店铺特色，您可以选择以下店铺模板样式."
  wmsg()
  %></p>
  <table width="550" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#efefef">
    
    <tr align="center" bgcolor="#FFFFFF">
      <td height="21" colspan="2" valign="middle" background="../image/bk.gif">店 铺 模 版</td>
      </tr>
    <tr align="center" bgcolor="#FFFFFF">
      <td height="150" valign="middle"><img src="../image/shop1.gif" width="200" height="125"></td>
      <td height="150" valign="middle"><img src="../image/shop2.gif" width="200" height="125"></td>
    </tr>
    <tr align="center" bgcolor="#FFFFFF">
      <td height="21" valign="middle" background="../image/bk1.gif"><a href="../shop/1/myshop.asp?shopid=<%=rs("id")%>" target="_blank">预览店铺</a>
        <input <%If rs("dpmb") =2 Then Response.Write("CHECKED") : Response.Write("")%> name="dpmb" type="radio" value="1"></td>
      <td height="21" valign="middle" background="../image/bk1.gif"><a href="../shop/2/myshop2.asp?shopid=<%=rs("id")%>" target="_blank">预览店铺</a>
        <input <%If rs("dpmb") =2 Then Response.Write("CHECKED") : Response.Write("")%> name="dpmb" type="radio" value="2"></td>
    </tr>
    <tr align="center" bgcolor="#FFFFFF">
      <td height="150" valign="middle"><img src="../image/shop3.gif" width="200" height="125"></td>
      <td height="150" valign="middle"><img src="../image/shop4.gif" width="200" height="125"></td>
    </tr>
    <tr align="center" bgcolor="#FFFFFF">
      <td height="21" valign="middle" background="../image/bk1.gif"><a href="../shop/3/myshop3.asp?shopid=<%=rs("id")%>" target="_blank">预览店铺</a>
        <input <%If rs("dpmb") =2 Then Response.Write("CHECKED") : Response.Write("")%> name="dpmb" type="radio" value="3"></td>
      <td height="21" valign="middle" background="../image/bk1.gif"><a href="../shop/4/myshop4.asp?shopid=<%=rs("id")%>" target="_blank">预览店铺</a>
        <input <%If rs("dpmb") =2 Then Response.Write("CHECKED") : Response.Write("")%> name="dpmb" type="radio" value="4"></td>
    </tr>
    <tr align="center" bgcolor="#FFFFFF">
      <td height="150" valign="middle"><img src="../image/shop5.gif" width="200" height="125"></td>
      <td height="150" valign="middle"><img src="../image/shop6.gif" width="200" height="125"></td>
    </tr>
    <tr align="center" bgcolor="#FFFFFF">
      <td height="21" valign="middle" background="../image/bk1.gif"><a href="../shop/5/myshop5.asp?shopid=<%=rs("id")%>" target="_blank">预览店铺</a>
        <input <%If rs("dpmb") =2 Then Response.Write("CHECKED") : Response.Write("")%> name="dpmb" type="radio" value="5"></td>
      <td valign="middle" background="../image/bk1.gif"><a href="../shop/6/myshop6.asp?shopid=<%=rs("id")%>" target="_blank">预览店铺</a>
        <input <%If rs("dpmb") =2 Then Response.Write("CHECKED") : Response.Write("")%> name="dpmb" type="radio" value="6"></td>
    </tr>
    
    
  </table>
  <div align="center"><br>
    <input name="Submit" type="submit" class="go-wenbenkuang" value="提 交">
    &nbsp; 
    <input name="Submit3" type="reset" class="go-wenbenkuang" value="重 置">
    <br>
    <br></div>
</form>
<%rs.close:set rs=nothing

case "zlxg"
if request("x")<>"" then
conn.execute("Update shop set name2='"&shopnet("name2")&"',dz='"&shopnet("dz")&"',pc='"&shopnet("pc")&"',tel='"&shopnet("tel")&"',fax='"&shopnet("fax")&"',mail='"&shopnet("mail")&"',fw='"&shopnet("fw")&"',dz1='"&shopnet("dz1")&"',oicq='"&shopnet("oicq")&"' where huiyuan='"&myhuiyuan&"'")
Response.Write("<script>alert(""设置成功"");location.href=""?abc=zlxg"";</script>")
end if
set rs = conn.execute("select name,name2,dz,pc,tel,fax,fw,mail,dz1,oicq from shop where huiyuan='"&myhuiyuan&"'")%>
      <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;}

return true;}
      </script>
	  <form name="form" method="post" action=?abc=zlxg&x=yes>
       <table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td><table border="0" align="left" cellpadding="0" cellspacing="0">
            <tr>
              <td width="1"><IMG SRC="../images/mytaobaobj1_3.gif" WIDTH=3 HEIGHT=25 ALT=""></td>
              <td width="120" align="center" background="../images/mytaobaobj1_4.gif"><font color="#FFFFFF">商家资料修改</font></td>
              <td width="1"><IMG SRC="../images/mytaobaobj1_6.gif" WIDTH=7 HEIGHT=25 ALT=""></td>
            </tr>
        </table></td>
      </tr>
    </table>
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="4" bgcolor="1E88C1"></td>
      </tr>
    </table>
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="5"></td>
      </tr>
    </table><br>
      <%
msg="为了能及时与您联系，请确定您所填写的内容真实有效。"
wmsg()
%>
      <br>
    </p>
  </div>
        <table width="550" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#efefef">
          
          <tr bgcolor="#FFFFFF">
            <td height="21" colspan="2" align="right" valign="middle" background="../image/bk.gif">&nbsp;</td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td width="107" height="25" align="right" valign="middle">商店名称&nbsp;</td>
            <td width="440" height="25" valign="middle">&nbsp; <input name="name" type="text" class="wenbenkuang" id="name" value="<%=rs("name")%>" size="30" maxlength="40"  disabled></td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td width="107" height="25" align="right" valign="middle">掌柜姓名&nbsp;</td>
            <td width="440" height="25" valign="middle">&nbsp; <%=rs("name2")%>&nbsp;&nbsp;&nbsp;(不可修改)</td>
          </tr>
		            <tr bgcolor="#FFFFFF"> 
            <td width="107" height="25" align="right" valign="middle">公司所在地&nbsp;</td>
            <td width="440" height="25" valign="middle">&nbsp; <input name="dz" type="text" class="wenbenkuang" id="dz" value="<%=rs("dz")%>" size="50" maxlength="100"></td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td width="107" height="25" align="right" valign="middle">公司地址&nbsp;</td>
            <td width="440" height="25" valign="middle">&nbsp; <input name="dz1" type="text" class="wenbenkuang" id="dz1" value="<%=rs("dz1")%>" size="50" maxlength="100"></td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td width="107" height="25" align="right" valign="middle">邮编&nbsp;</td>
            <td width="440" height="25" valign="middle">&nbsp; <input name="pc" type="text" class="wenbenkuang" id="name4" value="<%=rs("pc")%>" size="15" maxlength="6"></td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td width="107" height="25" align="right" valign="middle">电话&nbsp;</td>
            <td width="440" height="25" valign="middle">&nbsp; <input name="tel" type="text" class="wenbenkuang" id="name5" value="<%=rs("tel")%>" size="30" maxlength="40">
            区号-电话号码-分机号码</td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td width="107" height="25" align="right" valign="middle">传真&nbsp;</td>
            <td width="440" height="25" valign="middle">&nbsp; <input name="fax" type="text" class="wenbenkuang" id="name7" value="<%=rs("fax")%>" size="30" maxlength="40">
            可选</td>
          </tr>
		     <tr bgcolor="#FFFFFF"> 
            <td width="107" height="25" align="right" valign="middle">OICQ&nbsp;</td>
            <td width="440" height="25" valign="middle">&nbsp; <input name="oicq" type="text" class="wenbenkuang" id="name7" value="<%=rs("OICQ")%>" size="15" maxlength="20">
            可选</td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td width="107" height="25" align="right" valign="middle">E-mail信箱&nbsp;</td>
            <td width="440" height="25" valign="middle">&nbsp;<%=rs("mail")%> <input name="mail" type="hidden" class="wenbenkuang" id="name8" value="<%=rs("mail")%>" size="10" maxlength="40">            </td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td height="25" align="right" valign="middle"><div align="center">店铺介绍</div></td>
            <td height="25" valign="middle"><textarea name="fw" cols="60" rows="12" class="wenbenkuang" id="fw"><%=rs("fw")%></textarea></td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td height="21" colspan="2" align="center" valign="middle">
			    <input name="Submit" type="submit" class="go-wenbenkuang" value="提 交" onClick="javascript:return checksignup()">
    &nbsp; 
    <input name="Submit3" type="reset" class="go-wenbenkuang" value="重 置">
			</td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td height="21" colspan="2" align="right" valign="middle" background="../image/bk1.gif">&nbsp;</td>
          </tr>
        </table>
  <div align="center"><br>

  </div>
</form>
<%rs.close:set rs=nothing
case "gywm"
if request("x")<>"" then
conn.execute("Update shop set js='"&shopnet("js")&"' where huiyuan='"&myhuiyuan&"'")
Response.Write("<script>alert(""设置成功"");location.href=""?abc=gywm"";</script>")
end if
set rs = conn.execute("select js from shop where huiyuan='"&myhuiyuan&"'")%>
<script language="javascript">
function checksignup() {
if ( document.form.js.value == '' ) {
window.alert('请输入关于我们内容!!');
document.form.js.focus();
return false;}
return true;}
</script>
<form name="form" method="post" action=?abc=gywm&x=yes>
        <div align="center"> 
          <table width="500" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#efefef">
            <tr> 
              <td height="21" valign="middle" background="../image/bk.gif"><font color="#FF3333" size="3"><strong>&nbsp; &gt;&gt;商户企业简介:&nbsp; 
                </strong></font>
                请注意企业简介的段落格式，此企业简介将显示在关于我们页面。</td>
            </tr>
            <tr> 
              <td align="center" valign="top" bgcolor="#FFFFFF"> <textarea name="js" cols="80" rows="15" class="wenbenkuang" id="js"><%=rs("js")%></textarea></td>
            </tr>
            <tr> 
              <td align="center" bgcolor="#FFFFFF"><input name="Submit2" type="submit" class="go-wenbenkuang" value="提 交"> 
              <input name="Submit2" type="reset" class="go-wenbenkuang" value="重 置"></td>
            </tr>
            <tr>
              <td height="21" align="center" valign="middle" background="../image/bk1.gif">&nbsp;</td>
            </tr>
          </table>
          <p>&nbsp;</p>
  </div>
      </form>
<%rs.close:set rs=nothing
case "shfw"
if request("x")<>"" then
conn.execute("Update shop set fuwu='"&shopnet("fuwu")&"' where huiyuan='"&myhuiyuan&"'")
Response.Write("<script>alert(""设置成功"");location.href=""?abc=shfw"";</script>")
end if
set rs = conn.execute("select fuwu from shop where huiyuan='"&myhuiyuan&"'")%>
<script language="javascript">
function checksignup() {
if ( document.form.fuwu.value == '' ) {
window.alert('请输入售后服务条款内容!!');
document.form.fuwu.focus();
return false;}
return true;}
</script>
<form name="form" method="post" action=?abc=shfw&x=yes>
        <div align="center"> 
          <table width="500" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#efefef">
            <tr> 
              <td height="21" valign="middle" background="../image/bk.gif"><font color="#FF3333" size="3"><strong>&nbsp; &gt;&gt;售后服务条款:&nbsp; </strong></font>
        请注意售后服务条款的段落格式。</td>
            </tr>
            <tr> 
              <td align="center" valign="top" bgcolor="#FFFFFF"> <textarea name="fuwu" cols="80" rows="15" class="wenbenkuang" id="fuwu"><%=rs("fuwu")%></textarea></td>
            </tr>
            <tr> 
              <td align="center" bgcolor="#FFFFFF"><input name="Submit2" type="submit" class="go-wenbenkuang" value="提 交"> 
              <input name="Submit2" type="reset" class="go-wenbenkuang" value="重 置"></td>
            </tr>
            <tr>
              <td height="21" align="center" valign="middle" background="../image/bk1.gif">&nbsp;</td>
            </tr>
          </table>
          <p>&nbsp;</p>
  </div>
      </form>
<%rs.close:set rs=nothing
case else
set rs = conn.execute("select name,rz,xing,sl,rq,sj,sj2,zt from shop where huiyuan='"&myhuiyuan&"'")
url=my_url&"/shop/1/myshop.asp?shopid="&Request.Cookies(Rikee)("myuserid")%>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td><table border="0" align="left" cellpadding="0" cellspacing="0">
      <tr>
        <td width="1"><IMG SRC="../images/mytaobaobj1_3.gif" WIDTH=3 HEIGHT=25 ALT=""></td>
        <td width="120" align="center" background="../images/mytaobaobj1_4.gif"><font color="#FFFFFF">店铺状态</font></td>
        <td width="1"><IMG SRC="../images/mytaobaobj1_6.gif" WIDTH=7 HEIGHT=25 ALT=""></td>
      </tr>
    </table>
        <table border="0" align="left" cellpadding="0" cellspacing="0">
          <tr>
            <td width="1"><IMG SRC="../images/mytaobaobj1_8.gif" WIDTH=3 HEIGHT=25 ALT=""></td>
            <td width="120" align="center" background="../images/mytaobaobj1_9.gif"><a href="/user/dingdan.asp?abc=huiyuan">店铺会员</a></td>
            <td width="1"><IMG SRC="../images/mytaobaobj1_11.gif" WIDTH=7 HEIGHT=25 ALT=""></td>
          </tr>
      </table></td>
  </tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="4" bgcolor="1E88C1"></td>
  </tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="5"></td>
  </tr>
</table>
      <br>
      <table width="550" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#efefef">
        
        <tr bgcolor="#FFFFFF">
          <td height="21" colspan="2" align="center" valign="middle" background="../image/bk.gif">&nbsp;</td>
        </tr>
        <tr bgcolor="#FFFFFF"> 
          <td width="150" height="25" align="right" valign="middle">店铺名称&nbsp;</td>
          <td width="350" height="25" valign="middle">&nbsp; <%=rs("name")%></td>
        </tr>
        <tr bgcolor="#FFFFFF">
          <td width="150" height="25" align="right" valign="middle">商店网址&nbsp; </td>
          <td height="25" valign="middle">&nbsp; <a href="http://<%=url%>" target="_blank">http://<%=url%></a></td>
        </tr>
        <tr bgcolor="#FFFFFF"> 
          <td width="150" height="25" align="right" valign="middle">实名认证&nbsp;</td>
          <td height="25" valign="bottom">&nbsp; <%rz = conn.execute("select rzjb from rz where username='"&myhuiyuan&"'")(0)
		  renzheng()%></td>
        </tr>
        <tr bgcolor="#FFFFFF"> 
          <td width="150" height="25" align="right" valign="middle">星级&nbsp;</td>
          <td height="25" valign="bottom">&nbsp; <img src=../image/<%=xing%> alt="<%=alt%>"></td>
        </tr>
        <tr bgcolor="#FFFFFF"> 
          <td width="150" height="25" align="right" valign="middle">允许销售商品数量&nbsp;</td>
          <td height="25" valign="middle">&nbsp; <%=rs("sl")%> 个</td>
        </tr>
        <tr bgcolor="#FFFFFF"> 
          <td width="150" height="25" align="right" valign="middle">使用期限&nbsp;</td>
          <td height="25" valign="middle">&nbsp; <%=rs("sj")%>至<%=rs("sj")+rs("rq")%>止</td>
        </tr>
        <tr bgcolor="#FFFFFF"> 
          <td width="150" height="25" align="right" valign="middle">申请注册日期&nbsp;</td>
          <td height="25" valign="middle">&nbsp; <%=rs("sj")%></td>
        </tr>
        <tr bgcolor="#FFFFFF"> 
          <td width="150" height="25" align="right" valign="middle">审核开通日期&nbsp;</td>
          <td height="25" valign="middle">&nbsp; <%Select case rs("zt")
   case "0"
Response.Write("<font color=red>[尚未开通]</font>")
   case "1"
Response.Write(""&rs("sj2")&"&nbsp;<font color=red>[试营业]</font>")
   case "2"
Response.Write(""&rs("sj2")&"&nbsp;[营业中]")
   case "3"
Response.Write(""&rs("sj2")&"&nbsp;<font color=red>[已过期]</font>")
   case "4"
Response.Write("<font color=red>[已作废]</font>")
End Select%></td>
        </tr>
        <tr bgcolor="#FFFFFF">
          <td height="21" colspan="2" align="right" valign="middle" background="../image/bk1.gif">&nbsp;</td>
        </tr>
      </table>
<%rs. close:set rs=nothing
End Select%>
    </td>
  </tr>
</table>
<br>
<!--#include file="../bottom.asp"-->
