<?php
/*
	[Phpup.Net!] (C)2009-2011 Phpup.net.
	This is NOT a freeware, use is subject to license terms

	$Id: admin.class.php 2010-08-24 10:42 $
*/

if(!defined('IN_PHPUP')) {
	exit('Access Denied');
}
?>
<?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"><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" class="on" ><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="group">
	<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">仅采集城市：</td>
      <td> <textarea NAME="site_limit_citys"><?php echo $GLOBALS['setting']['site_limit_citys'];?></textarea>如果网站设置了限制采集城市则以采集城市为准</td>
    </tr>
    <tr>
      <th width="120px">热门关键字设置：</td>
      <td> <textarea NAME="site_hot_keywords"><?php echo $GLOBALS['setting']['site_hot_keywords'];?></textarea>多个关键字用逗号隔开</td>
    </tr>
	<tr>
      <th width="120px">每页显示数量：</td>
      <td> <input type="text" value="<?php echo $GLOBALS['setting']['site_group_count'];?>" NAME="site_group_count"></td>
    </tr>
	<tr>
      <th width="120px">首页显示全国数据：</td>
      <td> <input type="text" value="<?php echo $GLOBALS['setting']['site_group_quanguo'];?>" NAME="site_group_quanguo">0为只显示当前城市，1为显示全国数据</td>
    </tr>
	<tr>
      <th width="120px">首页只显示当前城市：</td>
      <td> <input type="text" value="<?php echo $GLOBALS['setting']['site_group_show'];?>" NAME="site_group_show">0为显示全部信息，1为只显示当前城市</td>
    </tr>
	<tr>
      <th width="120px">首页显示方式：</td>
      <td> 
	  <SELECT NAME="site_index_show">
		<OPTION VALUE="0" <?php echo $GLOBALS['setting']['site_index_show']?'':'selected';?>>全部显示
		<OPTION VALUE="1" <?php echo $GLOBALS['setting']['site_index_show']?'selected':'';?>>分类显示
      </SELECT></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>