<!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=utf-8" />
<title>在线商城后台管理</title>
<link rel="stylesheet" type="text/css" href="view/admin/style/basic.css" />
<link rel="stylesheet" type="text/css" href="view/admin/style/setting.css" />
<script type="text/javascript" src="view/admin/js/jquery.js"></script>
{literal}
<script type="text/javascript">
$(function(){
	$("#list .table_form td").hover(
		function(){
			$(this).children("span").css("color","black");
		},function(){
			$(this).children("span").css("color","#666");
		})
})
</script>
{/literal}
</head>
<body>
<h2>网站API设置</h2>
<div style="padding:10px; overflow:hidden;">
	<div class="main_top" style="clear:both;">
		<h4>温馨提示:</h4>
		<p class="green">请填写正确的appkey,appsecret,否则数据无法调取</p>	
	</div>
</div>
<div id="list">
<form action="?a=api&m=update" method="post">
  <table width="100%" class="table_form"> 
     <tr>
      <th width="120px">59秒App Key：</th>
      <td><input type="text" class="input-text" name="our_appkey" id="our_appkey"  size="50" value="{$Setting[0]->our_appkey}" /><span>必填项目：<a target="_blank" href="http://bbs.59miao.com/thread-26-1-1.html" >查看如何获取59秒 App Key及App Secret</a></span></td>
    </tr>
     <tr>
      <th width="120px">59秒App Secret：</th>
      <td><input type="text" class="input-text" name="our_appsecret" id="our_appsecret"  size="50" value="{$Setting[0]->our_appsecret}" /><span>必填项目：<a target="_blank" href="http://bbs.59miao.com/thread-26-1-1.html">查看如何获取59秒 App Key及App Secret</a></span></td>
    </tr>
    <tr>
      <th width="120px">59秒api缓存时间：</th>
      <td><input type="text" class="input-text" name="our_cachetime" id="our_cachetime"  size="50" value="{$Setting[0]->our_cachetime}" /><span>说明：单位为小时</span></td>
    </tr>
    <tr>
      <th width="120px">59秒api缓存目录：</th>
      <td><input type="text" class="input-text" name="our_cachepath" id="our_cachepath"  size="50" value="{$Setting[0]->our_cachepath}" /><span>说明：api缓存目录不能为空，默认目录为（cache/api59miao_cache）<font style="color:red;">警告:一般情况下不要修改，不然将无法清理缓存</font></span></td>
    </tr>
    <tr>
    	<td colspan="2" style="border-bottom:none;"></td>
    </tr>
    <tr>
      <th width="120px">淘宝用户昵称：</th>
      <td><input type="text" class="input-text" name="tao_pid" id="tao_pid"  size="50" value="{$Setting[0]->tao_pid}" /><span>说明：不能为空    注：指的是淘宝的会员登录名.如果昵称错误,那么客户就收不到佣金.每个淘宝昵称都对应于一个pid，在这里输入要结算佣金的淘宝昵称，当推广的商品成功后，佣金会打入此输入的淘宝昵称的账户。具体的信息可以登入阿里妈妈的网站查看 </span></td>
    </tr>
    <tr>
      <th width="120px">淘宝App Key：</th>
      <td><input type="text" class="input-text" name="tao_appkey" id="tao_appkey"  size="50" value="{$Setting[0]->tao_appkey}" /><span>提示：请填写正确的appkey</span></td>
    </tr>
     <tr>
      <th width="120px">淘宝App Secret：</th>
      <td><input type="text" class="input-text" name="tao_secret" id="tao_secret"  size="50" value="{$Setting[0]->tao_secret}" /><span>提示：请填写正确的appsecret</span></td>
    </tr>  
    <tr>
      <th width="120px">淘宝api缓存时间：</th>
      <td><input type="text" class="input-text" name="tao_cachetime" id="tao_cachetime"  size="50" value="{$Setting[0]->tao_cachetime}" /><span>提示：单位为小时</span></td>
    </tr>
    <tr>
      <th width="120px">淘宝api缓存目录：</th>
      <td><input type="text" class="input-text" name="tao_cachepath" id="tao_cachepath"  size="50" value="{$Setting[0]->tao_cachepath}" /><span>提示：api缓存目录不能为空，一般情况下不要修改，默认目录为（cache/tao_cache）<font style="color:red;">警告:一般情况下不要修改，不然将无法清理缓存</font></span></td>
    </tr>    
    <tr>
      <td></td>
      <td><input type="submit" class="button" name="send" value="提交" /></td>
    </tr>
  </table>
 </form>
</div>
</body>
</html>