帝国下载系统2.5添加迅雷快车专用链的方法


1.进入DownSoft目录,打开index.php,找到倒数第八行:
$url="../phome/?phome=DownSoft&softid=$softid&pathid=$pathid&pass=".$pass."&p=".$user[userid].":::".$user[rnd];

把它改为:
$url="http://www.phpstudy.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>[!--pagetitle--]</title>
<meta name="keywords" content="[!--pagekey--]">
<meta name="description" content="[!--pagedes--]">
<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>[!--downfen--]</b>&nbsp;</font>个金币


</td>
</tr>
<tr>
<tr>
<td align=center><a href="http://code.5k3g.com/tl/picDIY/Sendgame.aspx?uid=14841&title=[!--thisdownname--]&fileurl=http://www.qizhai.com[!--thistruedownpath--]&imgurl=http://www.qizhai.com/tu/shou.gif" target="_blank" title="[!--thisdownname--]">↓下载到手机</a></td></tr>
<td height="45" align=center>
<?php
$thunderUrl = ThunderEncode("$url");
?><A oncontextmenu=ThunderNetwork_SetHref(this) href="#" thunderResTitle="[!--softname--]" 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>
<!-- PHP迅雷离线下载代码一-->
<script src="http://pstatic.xunlei.com/js/offlineThunderDetect.js"></script>
<?php
$offlineUrl = "http://www.qizhai.com[!--thistruedownpath--]";
?>
<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>


« 
» 
快速导航

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3