<?php require_once("admin_public.php");?>
<div class="admin_bread">当前位置：网站设置</div>
<div class="admin_right">
  <div class="admin_main">
   <form action="result.php" method="post" name="admin_info" class="admin_info_form">
    <div class="admin_info" id="info_a">
      <h4 class="h1">站点配置</h4>
      <div class="admin_table">
        <table width="100%">
          <tr>
            <td class="td1">站点名称</td>
            <td class="td2"><input type="text" name="sitename" value="<?php echo stripslashes($config['sitename']);?>" /><span>填写站点名称</span></td>
          </tr>
          <tr>
            <td class="td1">站点关键字</td>
            <td class="td2"><input type="text" name="keywords" value="<?php echo stripslashes($config['keywords']);?>" /><span>填写站点关键字</span></td>
          </tr>
          <tr>
            <td class="td1">站点描述</td>
            <td class="td2"><input type="text" name="description" value="<?php echo stripslashes($config['description']);?>" /><span>填写站点描述</span></td>
          </tr>
          <tr>
            <td class="td1">站点备案号</td>
            <td class="td2"><input type="text" name="beian" value="<?php echo stripslashes($config['beian']);?>" /><span>填写站点备案号</span></td>
          </tr>
          <tr>
            <td class="td1">站点根网址</td>
            <td class="td2"><input type="text" name="url" value="<?php echo stripslashes($config['url']);?>" /><span>填写站点根网址</span></td>
          </tr>
          <tr>
            <td class="td1">站长联系QQ</td>
            <td class="td2"><input type="text" name="qq" value="<?php echo stripslashes($config['qq']);?>" /><span>填写站长联系QQ</span></td>
          </tr>
          <tr>
            <td class="td1">站长Email</td>
            <td class="td2"><input type="text" name="email" value="<?php echo stripslashes($config['email']);?>" /><span>填写站长Email</span></td>
          </tr>
          <tr>
            <td class="td1">站长联系电话</td>
            <td class="td2"><input type="text" name="phone" value="<?php echo stripslashes($config['phone']);?>" /><span>站长联系电话</span></td>
          </tr>
          <tr>
            <td class="td1">是否加入FFS搜索</td>
            <td class="td2"><input type="text" name="forsearch" value="<?php echo $config['forsearch'];?>" /><span>0开关闭，1为开启。<a href="http://so.fps88.com" target="_blank">FFS搜索</a></span><img src="http://so.fps88.com/forsearch.php?url=<?php echo stripslashes($config['url']).'/'.stripslashes($config['forsearchfile']);?>.txt&forsearch=<?php echo $config['forsearch']; ?>"  style="display:none;" /></td>
          </tr>
           <tr>
            <td class="td1">搜索文件名称</td>
            <td class="td2"><input type="text" name="forsearchfile" value="<?php echo stripslashes($config['forsearchfile']);?>" /><span>.txt，请修改为稍微复杂的名称</span></td>
          </tr>
          
          <tr>
            <td class="td1">全站统计代码</td>
            <td class="td2"><textarea name="tongji"><?php echo stripslashes($config['tongji']);?></textarea><span>全站统计代码</span></td>
          </tr>
          <tr>
            <td class="td1">&nbsp;</td>
            <td class="td2"><input type="submit" value="更新" class="submit" name="site_update" /></td>
          </tr>
        </table>
      </div>
          </div>
    <div class="admin_info" id="info_c">
      <h4 class="h1">运行参数——上传参数设置</h4>
      <div class="admin_table">
        <table width="100%">
          <tr>
            <td class="td1">单次上传个数设定</td>
            <td class="td2"><input type="text" name="upmax" value="<?php echo stripslashes($config['upmax']);?>" /><span>(个)</span></td>
          </tr>
          <tr>
            <td class="td1">每个文件大小限制</td>
            <td class="td2"><input type="text" name="upsize" value="<?php echo stripslashes($config['upsize']);?>" /><span>(mb)</span></td>
          </tr>
          <tr>
            <td class="td1">上传文件类型限制</td>
            <td class="td2"><input type="text" name="uptype" value="<?php echo stripslashes($config['uptype']);?>" /><span>格式 *.txt;*.rar</span></td>
          </tr>
          <tr>
            <td class="td1">&nbsp;</td>
            <td class="td2"><input type="submit" value="更新" class="submit" name="site_update" /></td>
          </tr>
        </table>
      </div>
    </div>
    <div class="admin_info" id="info_d">
      <h4 class="h1">运行参数——下载参数设置</h4>
      <div class="admin_table">
        <table width="100%">
          <tr>
            <td class="td1">下载速度限制</td>
            <td class="td2"><input type="text" name="speed" value="<?php echo stripslashes($config['speed']);?>" /><span>(kb/s)</span></td>
          </tr>
          <tr>
            <td class="td1">文件名附加广告</td>
            <td class="td2"><input type="text" name="ad" value="<?php echo stripslashes($config['ad']);?>" /><span>填写文件名附加广告</span></td>
          </tr>
          <tr>
            <td class="td1">防盗链限时</td>
            <td class="td2"><input type="text" name="lentime" value="<?php echo stripslashes($config['lentime']);?>" /><span>(分)</span></td>
          </tr>
          <tr>
            <td class="td1">&nbsp;</td>
            <td class="td2"><input type="submit" value="更新" class="submit" name="site_update" /></td>
          </tr>
        </table>
      </div>
    </div>
    
    
          </form>
  </div>
</div>
<?php require_once("admin_footer.php");?>