<%@ page language="C#" autoeventwireup="true" inherits="admin_editapi, cndian_tao_qun" %>

<!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>
    <title></title>
<link href="images/skin.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #EEF2FB;
	font-size:12px;
}
    .style1
    {
        color: #FF0000;
    }
-->
</style>

</head>
<body>
    <form id="form1" runat="server">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="17" valign="top" background="images/mail_leftbg.gif"><img src="images/left-top-right.gif" width="17" height="29" /></td>
    <td valign="top" background="images/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
        <td height="31"><div class="titlebt">获取数据</div></td>
      </tr>
    </table></td>
    <td width="16" valign="top" background="images/mail_rightbg.gif"><img src="images/nav-right-bg.gif" width="16" height="29" /></td>
  </tr>
  <tr>
    <td valign="middle" background="images/mail_leftbg.gif">&nbsp;</td>
    <td valign="top" bgcolor="#F7F8F9">
    <div class="divtext">
<table cellspacing="0" cellpadding="0" width="100%"  class="tablexian" border="0">
    <tr>
        <td align="right" style="width: 100px">
            &nbsp;</td>
        <td align="left" class="style1">
            首页有缓存时间为一分钟，所以获取后不能马上显示。</td>
    </tr>
    <tr>
        <td align="right" style="width: 100px">
            显示数量：</td>
        <td align="left">
            <input id="apicount" type="text" maxlength="5" size="5" runat="server" style="text-align: center" />
            单页显示多少商品 不大于40 不然无法调用。单个页面淘宝支持最大40个。</td>
    </tr>
    <tr>
        <td align="right" style="width: 100px">
            关键字：</td>
        <td align="left"><input id="apikeywords" type="text" maxlength="15" size="20" runat="server" /></td>
    </tr>
<tr><td   align="right" style="width: 100px">
    佣金比率：</td><td align="left"><input id="apisyongjin" type="text" maxlength="5" size="5" runat="server" />
        -
        <input id="apieyongjin" type="text" maxlength="5" size="5" runat="server" />
        100-5000 可选 不然无法调用 100=1%</td></tr>
        <tr>
            <td align="right"  style="width: 100px">
                30天推广量：</td>
            <td align="left"><input id="apistuiguang" type="text" maxlength="5" size="5" runat="server" />
                -
                <input id="apietuiguang" type="text" maxlength="5" size="5" runat="server" />
                1以上数字</td>
        </tr>
    <tr>
        <td align="right" style="width: 100px">
            卖家信用：</td>
        <td align="left">
            <select id="apisxinyu" runat="server">
                <option selected="selected" value="1heart">一心</option>
                 <option value="2heart">二心</option>
                 <option value="3heart">三心</option>
                 <option value="4heart">四心</option>
                 <option value="5heart">五心</option>
                 <option value="1diamond">一钻</option>
                 <option value="2diamond">二钻</option>
                 <option value="3diamond">三钻</option>
                 <option value="4diamond">四钻</option>
                 <option value="5diamond">五钻</option>
                 <option value="1crown">一冠</option>
                 <option value="2crown">二冠</option>
                 <option value="3crown">三冠</option>
                 <option value="4crown">四冠</option>
                 <option value="5crown">五冠</option>
                 <option value="1goldencrown">一黄冠</option>
                 <option value="2goldencrown">二黄冠</option>
                 <option value="3goldencrown">三黄冠</option>
                 <option value="4goldencrown">四黄冠</option>
                 <option value="5goldencrown">五黄冠</option>

            </select>
            -
            <select id="apiexinyu" runat="server">
                <option selected="selected" value="1heart">一心</option>
                 <option value="2heart">二心</option>
                 <option value="3heart">三心</option>
                 <option value="4heart">四心</option>
                 <option value="5heart">五心</option>
                 <option value="1diamond">一钻</option>
                 <option value="2diamond">二钻</option>
                 <option value="3diamond">三钻</option>
                 <option value="4diamond">四钻</option>
                 <option value="5diamond">五钻</option>
                 <option value="1crown">一冠</option>
                 <option value="2crown">二冠</option>
                 <option value="3crown">三冠</option>
                 <option value="4crown">四冠</option>
                 <option value="5crown">五冠</option>
                 <option value="1goldencrown">一黄冠</option>
                 <option value="2goldencrown">二黄冠</option>
                 <option value="3goldencrown">三黄冠</option>
                 <option value="4goldencrown">四黄冠</option>
                 <option value="5goldencrown">五黄冠</option>

            </select>
        </td>
    </tr>
    <tr>
        <td align="right" style="width: 100px">
            商品排序：</td>
        <td align="left">
            <select id="apipai" runat="server">
                <option selected="selected" value='price_desc'>价格从高到低</option>
                <option value="price_asc">价格从低到高</option>
                 <option value="credit_desc">信用等级从高到低</option>
                 <option value="commissionRate_desc">佣金比率从高到低</option>
                 <option value="commissionRate_asc">佣金比率从低到高</option>
                 <option value="commissionNum_desc">成交量从高到低</option>
                 <option value="commissionNum_asc">成交量从低到高</option>
                  <option value="commissionNum_asc">成交量从低到高</option>
                  <option value="commissionVolume_desc">总支出佣金从高到低</option>
                  <option value="commissionVolume_asc">总支出佣金从低到高</option>
                  <option value="delistTime_desc">商品下架时间从高到低</option>
                  <option value="delistTime_asc">商品下架时间从低到高</option>

                 </select>
                 </td>
    </tr>
    <tr>
        <td align="right" style="width: 100px">
            是否商城：</td>
        <td align="left">
            <select id="apimallor" runat="server">
                <option selected="selected" value="true" style="color:Red">是</option>
                 <option  value="false">否</option>
            </select>
            否“C店，B店”，是“B店”</td>
    </tr>
<tr>
<td align="right"  style="width: 100px">
</td>
<td align="left">
<input id="Submit1" runat="server" class="t1" type="submit" value="生产api调用数据" onclick="return addtype()" onserverclick="Submit1_ServerClick" /></td>
</tr>
</table>
    </div>
    
    </td>
    <td background="images/mail_rightbg.gif">&nbsp;</td>
  </tr>
  <tr>
    <td valign="bottom" background="images/mail_leftbg.gif"><img src="images/buttom_left2.gif" width="17" height="17" /></td>
    <td background="images/buttom_bgs.gif"><img src="images/buttom_bgs.gif" width="17" height="17"></td>
    <td valign="bottom" background="images/mail_rightbg.gif"><img src="images/buttom_right2.gif" width="16" height="17" /></td>
  </tr>
</table>
    </form>
</body>
</html>
