<?php
if (!constant("kuaiche_u") or !constant("kuaiche_p") or !constant("PWD") ){
$action = $_GET['act'];
		if ($action == 'shouquan') {
				if (!$_POST["kuaiche_u"] or !$_POST["kuaiche_p"]  or !$_POST["PWD"] ){ echo "<script>alert('请认真填写信息!');location.href='index.php';</script>'";die;}
			$config='<?php'.PHP_EOL.'define("huancun","1");'.PHP_EOL.'define("caiji","0");'.PHP_EOL.'define("jingtai","0");'.PHP_EOL.'define("kuaiche_u","'.$_POST['kuaiche_u'].'");'.PHP_EOL.'define("kuaiche_p","'.$_POST["kuaiche_p"].'");'.PHP_EOL.'define("PWD","'.$_POST['PWD'].'");'.PHP_EOL.'define("token","o40jf3zYap9OaqUV");'.PHP_EOL.'?>';
			file_put_contents("config.php",$config);
			echo "<script>alert('成功!');location.href='admin.php';</script>";
		}
?>
<html>
<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
<title>快车蜘蛛池站群程序v2.0 授权</title>
<body>
<center>
<div id="login"> 
      <h3>快车蜘蛛池站群程序v2.0 使用授权</h3> 
     <form action='?act=shouquan' method='post'>
		<p><label>快车SEO网用户名</label> <input type="text" class="input" name="kuaiche_u" value="随意填写即为试用"  /> </p> 
          <p><label>快车SEO网密码</label> <input type="text" class="input" name="kuaiche_p" value="随意填写即为试用" /> </p>
		  <p><label>本网站管理密码</label> <input type="text" class="input" name="PWD" /> </p>
		  <p>快车SEO网付费会员，可免费使用官网所有SEO程序，同时可下载上百款市面上各种seo资源,站群系统,蜘蛛池程序,等各种优质资源</p>
		  <p style="color:#FF0000;"> 【非快车SEO网付费会员将随机少量劫持蜘蛛爬虫】</p> 
		  <p style="color:#FF0000;"> 注册开通请前往→<a href="http://www.kuaicheseo.com/forum.php" target="_blank" >www.kuaicheseo.com</a></p> 
		   <p style="color:#FF0000;"> 【各种seo资源,站群系统,蜘蛛池程序,等随时下载】</p> 
          <div class="sub"> 
              <input type="submit" class="btn" value="完（同意）成" /> 
          </div> 
</form>
	  </div>
	  </center>
</body>
</html> 
<?php
exit;
}
?>