<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title></title>
<style type="text/css">
<!--
.STYLE1 {
	font-size: 18px;
	font-weight: bold;
	color: #112482;
}
.STYLE2 {
	font-size: 14;
	color: #112482;
}
.STYLE4 {
	font-size: 14;
	color: #FF5400;
}
.STYLE6 {font-size: 14}
-->
</style>
<!--#include file="../prohead.asp"-->
<!--#include file="../checkrole.asp"-->
<%
call checkuser("gjj")
if issession=0 then
	gsid=Replace_Text(request.Cookies("Yxmemberid"))
else
	gsid=session("id")
end if
%>
</head>
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border:1px solid #3399CC;">
<tr>
<td height="40" align="center"><span class="STYLE1">关键字竞价排位管理</span></td>
</tr>
</table>
&nbsp;
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="border:1px solid #3399CC; border-bottom:none;">
<tr>
<td height="40" colspan="4" align="center" bgcolor="#DCEDFC" style="border-bottom:1px solid #3399CC;"><span class="L C">供求信息竞价排位商品</span></td>
</tr>
<%
'-----------------联合查询出已经设为竞价搜索的供求商品-----------------------
set rs=server.CreateObject("adodb.recordset")
sql="select yixiang_info.info_id,yixiang_info.showname,yixiang_history_price.* from yixiang_info,yixiang_history_price where yixiang_info.priceid=yixiang_history_price.id and yixiang_info.gsid="&gsid&""
rs.open sql,conn,1,1
if rs.eof then
	response.Write"<tr><td align=center height=40 valign=middle style='border-bottom:1px solid #3399CC;'><font color=red>暂无排位商品</font></td></tr>"
else
%>
  <tr>
    <td height="30" align="center" style="border-right:1px solid #3399CC; border-bottom:1px solid #3399CC;">商品名称</td>
    <td height="30" align="center" style="border-right:1px solid #3399CC; border-bottom:1px solid #3399CC;">竞价关键字</td>
    <td height="30" align="center" style="border-right:1px solid #3399CC; border-bottom:1px solid #3399CC;">竞价价格</td>
    <td height="30" align="center" style="border-bottom:1px solid #3399CC;">撤销竞价排位</td>
  </tr>
<% do while not rs.eof %>
  <tr>
    <td height="25" align="center" style="border-right:1px solid #3399CC; border-bottom:1px solid #3399CC;"><%=rs("showname") %></td>
    <td height="25" align="center" style="border-right:1px solid #3399CC; border-bottom:1px solid #3399CC;"><%=rs("keywords")  %></td>
    <td height="25" align="center" style="border-right:1px solid #3399CC; border-bottom:1px solid #3399CC;"><%=rs("price") %></td>
    <td height="25" align="center" style="border-bottom:1px solid #3399CC;"><a href="delprice.asp?action=1&id=<%=rs("info_id")%>">撤销</a></td>
  </tr>
<%
rs.movenext
loop
rs.close
set rs=nothing
end if
%>
</table>
&nbsp;
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="border:1px solid #3399CC; border-bottom:none;">
<tr>
<td height="40" colspan="4" align="center" bgcolor="#DCEDFC" style="border-bottom:1px solid #3399CC;"><span class="L C">产品信息竞价排位产品</span></td>
</tr>
<%
'-----------------联合查询出已经设为竞价搜索的产品-----------------------
set rscp=server.CreateObject("adodb.recordset")
sqlcp="select yixiang_productshow.id as ypid,yixiang_productshow.cpmc,yixiang_history_price.* from yixiang_productshow,yixiang_history_price where yixiang_productshow.priceid=yixiang_history_price.id and yixiang_productshow.gsid="&gsid&""
rscp.open sqlcp,conn,1,1
if rscp.eof then
	response.Write"<tr><td align=center height=40 valign=middle style='border-bottom:1px solid #3399CC;'><font color=red>暂无排位产品</font></td></tr>"
else
%>
  <tr>
    <td height="30" align="center" style="border-right:1px solid #3399CC; border-bottom:1px solid #3399CC;">产品名称</td>
    <td height="30" align="center" style="border-right:1px solid #3399CC; border-bottom:1px solid #3399CC;">竞价关键字</td>
    <td height="30" align="center" style="border-right:1px solid #3399CC; border-bottom:1px solid #3399CC;">竞价价格</td>
    <td height="30" align="center" style="border-bottom:1px solid #3399CC;">撤销竞价排位</td>
  </tr>
<% do while not rscp.eof %>
  <tr>
    <td height="25" align="center" style="border-right:1px solid #3399CC; border-bottom:1px solid #3399CC;"><%=rscp("cpmc") %></td>
    <td height="25" align="center" style="border-right:1px solid #3399CC; border-bottom:1px solid #3399CC;"><%=rscp("keywords")  %></td>
    <td height="25" align="center" style="border-right:1px solid #3399CC; border-bottom:1px solid #3399CC;"><%=rscp("price") %></td>
    <td height="25" align="center" style="border-bottom:1px solid #3399CC;"><a href="delprice.asp?action=2&id=<%=rscp("ypid")%>">撤销</a></td>
  </tr>
<%
rscp.movenext
loop
rscp.close
set rscp=nothing
end if
%>
</table>
&nbsp;
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border:1px solid #FFCB99;">
<tr>
<td height="30" align="left" bgcolor="#FFF8EE" style="padding:10px 0 10px 15px;"><span class="C STYLE2"><span class="C  STYLE4"><span class="C  STYLE6"><strong>小&nbsp;&nbsp; 贴&nbsp; 士</strong></span></span></span></td>
</tr>
<tr>
  <td height="50" align="left" valign="top" bgcolor="#FFF8EE" style="padding:10px 0 10px 15px;">①什么叫关键字竞价排位?<br />
    &nbsp; 答：关键字竞价排位是指：如果你竞价成功一个关键字，那么你可以指定一条供求信息或产品作为竞价排位商品。该商品在搜索的时候，将会排列在搜索列表的前端，这样就能保证你的商品的浏览量。<br />
    ②为什么一个关键字只能指定一条竞价排位商品？<br />
    &nbsp; 答：一个关键字可能会有多个用户参与竞价，为了保证多个竞价者的商品都能在前端显示，因此每个用户只能指定一条信息作为竞价排位。<br />
    ③为什么我指定了一条信息作为竞价排位商品，但是搜索的时候不能显示？<br />
    &nbsp; 答：请将你指定的商品属性里的关键字修改成你竞价的关键字。<br />
    ④多个竞价者的信息在搜索列表如何排列？<br />
    &nbsp; 答：同一关键字，出价越高者，排列越靠前。</td>
</tr>
</table>
</body>
</html>
