1.6&1.7授权源码:
<?php
if (isset($_POST['action'])){
$domain = $_POST['domain'];
$type = $_POST['type'];
$license = "system=$type|forum=$type|article=$type|obook=$type|pay=$type|wap=$type|waparticle=$type|wapforum=$type|badge=$type|group=$type|space=$type|info=$type|cartoon=$type|quiz=$type|news=$type|product=$type|team=$type|vote=$type|note=$type|link=$type";
$encode = "jnyzn090211";
$md5 = md5($domain.$license.$encode);
$array = array();
$array[] = base64_encode($md5);
$array[] = base64_encode($domain);
$array[] = base64_encode($license);
$key = implode("@", $array);
}else{
$domain = "";
$type = "FREE";
$key = "";
}
?>
<div class="container container-page">
<div class="content">
<h1 class="article-title"><a href="<?php the_permalink();?>"><?php the_title();?></a></h1>
<h3>杰奇授权生成 for 1.6&1.7</h3>
<form action="key.php" method="post">
<table>
<tr>
<td>授权域名:(多个域名用“|”分隔)</td>
<td><input type="text" name="domain" value="<?php echo $domain?>" size="60" /></td>
</tr>
<tr>
<td>选择授权模式:</td>
<td>
<select name="type">
<option value="FREE"<?php if ($type == "FREE"){ ?> selected<?php }?>>免费版</option>
<option value="POPULAR"<?php if ($type == "POPULAR"){ ?> selected<?php }?>>普及版</option>
<option value="STANDARD"<?php if ($type == "STANDARD"){ ?> selected<?php }?>>标准版</option>
<option value="PROFESSION"<?php if ($type == "PROFESSION"){ ?> selected<?php }?>>专业版</option>
<option value="ENTERPRISE"<?php if ($type == "ENTERPRISE"){ ?> selected<?php }?>>企业版</option>
<option value="DELUXE"<?php if ($type == "DELUXE"){ ?> selected<?php }?>>豪华版</option>
<option value="CUSTOM"<?php if ($type == "CUSTOM"){ ?> selected<?php }?>>定制版</option>
</select>
</td>
</tr>
<tr>
<td>生成授权:</td>
<td><textarea class="textarea" name="key" rows="10" cols="60"><?php echo $key?></textarea></td>
</tr>
<tr>
<td><input type="hidden" name="action" value="make" /></td>
<td><input type="submit" value="生成" /></td>
</tr>
</table>
</form>
</div>
</div>
1.8授权源码
<?php
if (isset($_POST['action'])){
$domain = $_POST['domain'];
$type = $_POST['type'];
$license = "system=$type|forum=$type|article=$type|obook=$type|pay=$type|wap=$type|waparticle=$type|wapforum=$type|badge=$type|group=$type|space=$type|info=$type|cartoon=$type|quiz=$type|news=$type|product=$type|team=$type|vote=$type|note=$type|link=$type";
$encode = "jnyzn090211";
$md5 = md5($domain.$license."yscp" . chr(88) . "13" . "top" . "dyxz" . chr(66) . "52DDjc", true);
$array = array();
$array[] = base64_encode($md5);
$array[] = base64_encode($domain);
$array[] = base64_encode($license);
$key = implode("@", $array);
}else{
$domain = "";
$type = "FREE";
$key = "";
}
?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
<title>杰奇授权生成</title>
</head>
<body>
<h3>杰奇授权生成 for 1.8</h3>
<form action="key.php" method="post">
<table>
<tr>
<td>授权域名:(多个域名用“|”分隔)</td>
<td><input type="text" name="domain" value="<?php echo $domain?>" size="60" /></td>
</tr>
<tr>
<td>选择授权模式:</td>
<td>
<select name="type">
<option value="FREE"<?php if ($type == "FREE"){ ?> selected<?php }?>>免费版</option>
<option value="POPULAR"<?php if ($type == "POPULAR"){ ?> selected<?php }?>>普及版</option>
<option value="STANDARD"<?php if ($type == "STANDARD"){ ?> selected<?php }?>>标准版</option>
<option value="PROFESSION"<?php if ($type == "PROFESSION"){ ?> selected<?php }?>>专业版</option>
<option value="ENTERPRISE"<?php if ($type == "ENTERPRISE"){ ?> selected<?php }?>>企业版</option>
<option value="DELUXE"<?php if ($type == "DELUXE"){ ?> selected<?php }?>>豪华版</option>
<option value="CUSTOM"<?php if ($type == "CUSTOM"){ ?> selected<?php }?>>定制版</option>
</select>
</td>
</tr>
<tr>
<td>生成授权:</td>
<td><textarea class="textarea" name="key" rows="10" cols="60"><?php echo $key?></textarea></td>
</tr>
<tr>
<td><input type="hidden" name="action" value="make" /></td>
<td><input type="submit" value="生成" /></td>
</tr>
</table>
</form>
</body>
</html>
无错源码所有资源来自会员发布以及互联网收集,不代表本站立场,如有侵犯你的权益请联系管理员,站内发信联系 我们会第一时间进行审核删除。站内资源为网友个人学习或测试研究使用,未经原版权作者许可,禁止用于任何商业途径!本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。请在下载24小时内删除!
如果遇到付费才可观看的文章,建议升级传奇VIP。全站所有资源“任意下免费看”。本站资源少部分采用7z压缩,为防止有人压缩软件不支持7z格式,7z解压,建议下载7-zip,zip、rar解压,建议下载WinRAR。如遇解压需要密码,请尝试使用www.wucuoym.com来解压,如若仍有问题,请联系站长。