<?php include ROOT_PATH.'/views/admin/header.php';?>
<body>
<style type="text/css">
	html{_overflow-y:scroll}
</style>

<div class="pad-10">
<div class="col-tab">
<ul class="tabBut cu-li">
<li id="tab_setting_1" class="on" ><A HREF="index.php?con=<?php echo $GLOBALS['setting']['adminpath'];?>&act=setting&type=site">站点信息</A></li>
<li id="tab_setting_2"><A HREF="index.php?con=<?php echo $GLOBALS['setting']['adminpath'];?>&act=setting&type=seo">SEO设置</A></li>
<li id="tab_setting_3"><A HREF="index.php?con=<?php echo $GLOBALS['setting']['adminpath'];?>&act=setting&type=group">团购设置</A></li>
<li id="tab_setting_4"><A HREF="index.php?con=<?php echo $GLOBALS['setting']['adminpath'];?>&act=setting&type=attach">采集设置</A></li>
<li id="tab_setting_5"><A HREF="index.php?con=<?php echo $GLOBALS['setting']['adminpath'];?>&act=setting&type=template">模板设置</A></li>

</ul>
<div  class="contentList pad-10">
   <form enctype="multipart/form-data" action="index.php" method="post">
	<INPUT TYPE="hidden" NAME="commit" value="1">
	<INPUT TYPE="hidden" NAME="dotype" value="site">
	<INPUT TYPE="hidden" NAME="con" value="<?php echo $GLOBALS['setting']['adminpath'];?>">
	<INPUT TYPE="hidden" NAME="act" value="settingdata">
  <table width="100%" class="table_form">
 
    <tr>
      <th width="120px">网站名称：</th>
      <td><INPUT TYPE="text" class="input-text" NAME="site_title" id="title"  size="70" value="<?php echo $GLOBALS['setting']['site_title'];?>"> 	
团购导航站名称，将显示在导航条和标题中</td>
    </tr>
	 <tr>
      <th width="120px">网站logo：</th>
      <td>
	  <INPUT TYPE="file" NAME="site_logo"  value="">
	  <?php if($GLOBALS['setting']['site_logo']){?><img src="<?php echo $GLOBALS['setting']['site_logo'];?>" style="height:100px;"/><?php }?></td>
    </tr>
	<tr>
      <th width="120px">设置默认城市：</th>
      <td width="82%"><INPUT TYPE="text" class="input-text" NAME="site_default_city" id="site_default_city"  size="40" value="<?php echo $GLOBALS['setting']['site_default_city'];?>">请使用拼音，如 “北京” 为则此处填beijing,确保您的网站中有些城市,更改后重启浏览器生效,此功能会关闭自动识别城市.</td>
    </tr>
	<tr>
      <th width="120px">开启城市自动识别：</th>
      <td><INPUT TYPE="text" class="input-text" NAME="site_ip_auto" id="site_ip_auto"  size="40" value="<?php echo $GLOBALS['setting']['site_ip_auto'];?>">(1为开启，0为关闭)</td>
    </tr>
	<tr>
      <th width="120px">注册会员显示验证码：</th>
      <td><INPUT TYPE="text" class="input-text" name="reg_checkcode" VALUE="<?php echo $GLOBALS['setting']['reg_checkcode'];?>" >(1为显示，0为不显示)
	 </td>
    </tr>
	<tr>
      <th width="120px">登录显示验证码：</th>
      <td><INPUT TYPE="text" class="input-text" name="login_checkcode" VALUE="<?php echo $GLOBALS['setting']['login_checkcode'];?>" >(1为显示，0为不显示)
	 </td>
    </tr>
	 <tr>
      <th width="120px">网站地址：</th>
      <td><INPUT TYPE="text" class="input-text" NAME="site_url" id="charset"  size="50" value="<?php echo SITE_ROOT;?>">(后面不要加 "/")</td>
    </tr>
	<tr>
      <th width="120px">网站图片地址：</th>
      <td><INPUT TYPE="text" class="input-text" NAME="site_imgurl" id="title"  size="70" value="<?php echo $GLOBALS['setting']['site_imgurl'];?>">用与图片绝对路径</td>
    </tr>
	<tr>
      <th width="120px">网站后台地址：</th>
      <td><INPUT TYPE="text" class="input-text" NAME="adminpath" id="charset"  size="50" value="<?php echo $GLOBALS['setting']['adminpath'];?>">(默认为admin)</td>
    </tr>
    <tr>
      <th width="120px">缓存目录：</th>
      <td><INPUT TYPE="text" class="input-text" name="site_cache_dir" VALUE="<?php echo $GLOBALS['setting']['site_cache_dir'];?>" >
	  <?php if(is_dir(ROOT_PATH.'/'.$GLOBALS['setting']['site_cache_dir']) && is_writable(ROOT_PATH.'/'.$GLOBALS['setting']['site_cache_dir'])){?>可写<?php } else{?>不可写请检查<?php }?>
	 </td>
    </tr>
   <tr>
     <th width="120px">文件上传目录：</th>
      <td><INPUT TYPE="text" class="input-text"  name="site_upload_dir" VALUE="<?php echo $GLOBALS['setting']['site_upload_dir'];?>" >
	  <?php if(is_dir(ROOT_PATH.'/'.$GLOBALS['setting']['site_upload_dir']) && is_writable(ROOT_PATH.'/'.$GLOBALS['setting']['site_upload_dir'])){?>可写<?php } else{?>不可写请检查<?php }?></td>
    </tr>
	<tr>
      <th width="120px">邮箱：</th>
      <td><INPUT TYPE="text" class="input-text" NAME="site_email" id="charset"  size="50" value="<?php echo $GLOBALS['setting']['site_email'];?>"></td>
    </tr>
	<tr>
      <th width="120px">地址：</th>
      <td><INPUT TYPE="text" class="input-text" NAME="site_address" id="charset"  size="50" value="<?php echo $GLOBALS['setting']['site_address'];?>"></td>
    </tr>
	<tr>
      <th width="120px">工作时间：</th>
      <td><INPUT TYPE="text" class="input-text" NAME="site_worktime" id="charset"  size="50" value="<?php echo $GLOBALS['setting']['site_worktime'];?>"></td>
    </tr>
	 <tr>
      <th width="120px">客服QQ：</th>
      <td><INPUT TYPE="text" class="input-text" NAME="site_qq" id="charset"  size="50" value="<?php echo $GLOBALS['setting']['site_qq'];?>"></td>
    </tr>
	 <tr>
      <th width="120px">备案信息：</th>
      <td><INPUT TYPE="text" class="input-text" NAME="site_benai" id="charset"  size="50" value="<?php echo $GLOBALS['setting']['site_benai'];?>"></td>
    </tr>
	<tr>
      <th width="120px"> 客服电话：</th>
      <td><INPUT TYPE="text" class="input-text" NAME="site_tel" id="charset"  size="50" value="<?php echo $GLOBALS['setting']['site_tel'];?>"></td>
    </tr>
	<tr>
      <th width="120px">底部版权信息：</th>
      <td><textarea style="width:300px;height:100px;" NAME="site_copyright"><?php echo $GLOBALS['setting']['site_copyright'];?></textarea></td>
    </tr>
	<tr>
      <th width="120px">第三方统计代码：</th>
      <td><textarea style="width:300px;height:100px;" NAME="site_tongji"><?php echo $GLOBALS['setting']['site_tongji'];?></textarea></td>
    </tr>
	<tr>
      <td></td>
      <td><INPUT TYPE="submit" class="normal_button" value="提交"></td>
    </tr>
  </table>
  </FORM>
</div>



<div class="bk15"></div>
</div>
</div>
</body>

</html>