<!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>账号设置 - <?php echo WEBSITE;?></title>
<meta content="<?php echo KEYWORDS;?>" name="keywords">
<meta content="<?php echo DESCRIPTION;?>" name="description">
<link rel="shortcut icon" type="image/x-icon" href="/resource/image/favicon.ico" media="screen" />
<?php include("header.php"); ?>
<style>textarea.bg{height:150px;margin-bottom:10px;}.bg{width:490px;}.bg.small{width:400px;}.fill li .input_left{height:auto;width:900px;}.fill li label{width:135px;text-align: right;}</style>
</head>
<body>
<?php include("top.php"); ?>
<div class="area baockP">
<?php $htmenu=1;include("httop.php"); ?>
<div class="right">
<div class="center_box_z">
<form action="/index.php?patch=/admin/updateinfo" method="post">
<div class="fill" name="regform" >
<ul>
<?php if(APPID==100129){?>
<li style="text-align: center; background: #eee; margin-right: 20px; line-height: 36px;">
你当前的APPID是推哈网的测试APPID,同步的商品将会是过期的商品数据,请更新APPID和APPSECRET。<a style="color:#ff6c01" href="http://www.tuiha.com/admin/huodonglist/" target="_blank">点我获取APPID</a>
</li>
<?php }?>
<li><div class="input_left">
<label for="npassword">APPID :</label>
<input id="APPID" name="APPID" type="text" class="bg small" value="<?php echo APPID?>">
<a class="btn2 btn-primary" onclick="tongbu()" style="line-height: 28px;padding: 0px 8px;margin-top:0px;font-size: 12px;">同步推哈网商品数据</a>
</div>
</li>
<li><div class="input_left">
<label for="npassword">APPSECRET :</label>
<input id="APPSECRET" name="APPSECRET" type="text" class="bg" value="<?php echo APPSECRET?>">
</div>
</li>
<!--
<li>
<div class="input_left">
<label for="password">数据库:</label>
<input name="DBNAME" type="text" class="bg" value="<?php echo str_replace(".","",DBNAME)?>">
</div>
</li>
-->
<li><div class="input_left">
<label for="npassword">网站名:</label>
<input name="WEBSITE" type="text" class="bg" value="<?php echo WEBSITE?>">
</div>
</li>
<li><div class="input_left">
<label for="npassword">SEO关键字:</label>
<input name="KEYWORDS" type="text" class="bg" value="<?php echo KEYWORDS?>">
</div>
</li>
<li><div class="input_left">
<label for="npassword">网站描述:</label>
<input name="DESCRIPTION" check="mustmobile" type="text" class="bg" value="<?php echo DESCRIPTION?>">
</div>
</li>
<li><div class="input_left">
<label for="npassword">首页栏目商品数:</label>
<input name="SHOUYEPAGESIZE" type="text" class="bg" value="<?php echo SHOUYEPAGESIZE ?>" /> (用|隔开,如:8|12|12)
</div>
</li>
<li><div class="input_left">
<label for="npassword">列表每页商品数:</label>
<input name="LISTPAGESIZE" type="text" class="bg" value="<?php echo LISTPAGESIZE ?>" />
</div>
</li>
<li><div class="input_left">
<label for="npassword">背景图:</label>
<input name="BACKGROUND" type="text" class="bg" value="<?php echo BACKGROUND?>"> (平铺)
</div>
</li>
<li><div class="input_left">
<label for="npassword">顶部大图:</label>
<input name="TOPBIGLOGO" type="text" class="bg" value="<?php echo TOPBIGLOGO?>" /> (顶部平铺)
</div>
</li>
<li><div class="input_left">
<label for="npassword">顶部logo:</label>
<input name="TOPLOGO" check="mustqq" type="text" class="bg" value="<?php echo TOPLOGO?>"> (图片大小:250x54)
</div>
</li>
<li><div class="input_left">
<label for="npassword">底部logo:</label>
<input name="BOTTOMLOGO" type="text" class="bg" value="<?php echo BOTTOMLOGO?>"> (图片大小:225x38)
</div>
</li>
<li><div class="input_left">
<label for="npassword">新浪微博URL:</label>
<input name="SINAURL" type="text" class="bg" value="<?php echo SINAURL?>">
</div>
</li>
<li><div class="input_left">
<label for="npassword">QQ微博URL:</label>
<input name="QQURL" type="text" class="bg" value="<?php echo QQURL?>">
</div>
</li>
<li><div class="input_left">
<label for="npassword">QQ空间URL:</label>
<input name="QZONEURL" type="text" class="bg" value="<?php echo QZONEURL?>">
</div>
</li>
<li><div class="input_left">
<label for="npassword">底部二维码 :</label>
<input name="BOTTOMBIT" type="text" class="bg" value="<?php echo BOTTOMBIT?>">
</div>
</li>
<?php if(strpos($_SERVER['SERVER_NAME'],"tuiha.cn")){?>
<li style="display:none;"><div class="input_left">
<label for="npassword">淘点金代码 :</label>
<input name="TDJ" type="text" class="bg" value="mm_32850184_4314274_14580139">
</div>
</li>
<?php }else{ ?>
<li><div class="input_left">
<label for="npassword">淘点金代码 :</label>
<input name="TDJ" type="text" class="bg" value="<?php echo TDJ?>">
</div>
</li>
<?php } ?>
<li><div class="input_left">
<label for="npassword">顶部幻灯片图片1 :</label>
<input name="PIC1" type="text" class="bg" value="<?php echo PIC1?>"> (图片大小:1200*90)
</div>
</li>
<li><div class="input_left">
<label for="npassword">顶部幻灯片链接1 :</label>
<input name="URL1" type="text" class="bg" value="<?php echo URL1?>">
</div>
</li>
<li><div class="input_left">
<label for="npassword">顶部幻灯片图片2 :</label>
<input name="PIC2" type="text" class