帝国下载系统2.5添加迅雷快车专用链的方法_帝国cms教程-查字典教程网
帝国下载系统2.5添加迅雷快车专用链的方法
帝国下载系统2.5添加迅雷快车专用链的方法
发布时间:2016-12-23 来源:查字典编辑
摘要:1.进入DownSoft目录,打开index.php,找到倒数第八行:$url="../phome/?phome=DownSoft&soft...

1.进入DownSoft目录,打开index.php,找到倒数第八行:

$url="../phome/?phome=DownSoft&softid=$softid&pathid=$pathid&pass=".$pass."&p=".$user[userid].":::".$user[rnd];

把它改为:

$url="http://www.jb51.net/phome/?phome=DownSoft&softid=$softid&pathid=$pathid&pass=".$pass."&p=".$user[userid].":::".$user[rnd];

就是把地址补全,使用完整地址。其中,http://www.qizhai.com要替换成你网站的地址。

2.下载迅雷和快车的地址加密文件:

迅雷:http://union.xunlei.com/download/php.rar

快车:http://union.flashget.com/files/flashget_base64_php.rar

下回来解压,把里面的“encode.inc”和“Flashget_base64.php”两个文件上传到DownSoft目录下。

3.进入帝国下载系统后台:模版管理--> 公共模板-->修改最终下载页模板。

把内容替换为(联盟ID要修改成自己的):

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<title>[]</title>

<meta name="keywords" content="[]">

<meta name="description" content="[]">

<link href="../data/images/qcss.css" rel="stylesheet" type="text/css">

</head>

<body>

<SCRIPT src="http://pstatic.xunlei.com/js/webThunderDetect.js"></SCRIPT>

<script src="http://ufile.kuaiche.com/Flashget_union.php?fg_uid=22710"></script>

<?php require("encode.inc"); ?>

<?php require("Flashget_base64.php"); ?>

<table align="center" width="100%">

<tr>

<td height="35" align=center>

下载此软件需要花费<font color="#FF0000">&nbsp;<b>[]</b>&nbsp;</font>个金币

</td>

</tr>

<tr>

<tr>

<td align=center><a href="http://code.5k3g.com/tl/picDIY/Sendgame.aspx?uid=14841&title=[]&fileurl=http://www.qizhai.com[]&imgurl=http://www.qizhai.com/tu/shou.gif" target="_blank" title="[]">↓下载到手机</a></td></tr>

<td height="45" align=center>

<?php

$thunderUrl = ThunderEncode("$url");

?><A oncontextmenu=ThunderNetwork_SetHref(this) href="#" thunderResTitle="[]" thunderType="" thunderPid="40387" thunderHref="<?php echo $thunderUrl;?>">↓迅雷高速下载</A>

</td>

</tr>

<tr>

<td height="45" align=center>

<?php

$flashgetUrl = FlashgetEncode($url,22710);

?>

<a href="#" fg="<?= $flashgetUrl?>">↓快车高速下载</a>

</td>

</tr> <td height="45" align=center>

<>

<script src="http://pstatic.xunlei.com/js/offlineThunderDetect.js"></script>

<?php

$offlineUrl = "http://www.qizhai.com[]";

?>

<a href="http://lixian.vip.xunlei.com/lixian_login.html?referfrom=union&ucid=40387&furl=<?php echo $offlineUrl;?>" target=_blank>↓迅雷离线高速下载(无需挂机)</a> </td>

</tr>

<tr>

<td height="40" align=center><a href="<?=$url?>">↓本地下载</a></td>

</tr>

</table>

</body>

</html>

相关阅读
推荐文章
猜你喜欢
附近的人在看
推荐阅读
拓展阅读
  • 大家都在看
  • 小编推荐
  • 猜你喜欢
  • 最新帝国cms学习
    热门帝国cms学习
    CMS教程子分类