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

所属分类: CMS教程 / 帝国cms 阅读数: 1313
收藏 0 赞 0 分享
1.进入DownSoft目录,打开index.php,找到倒数第八行:
$url="../phome/?phome=DownSoft&softid=$softid&pathid=$pathid&pass=".$pass."&p=".$user[userid].":::".$user[rnd];

把它改为:
$url="https://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>[!--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>
更多精彩内容其他人还在看

帝国CMS的采集常用小技巧介绍

帝国采集中需要注意一些小细节
收藏 0 赞 0 分享

帝国cms(ecms)在使用中的常见问题分析与解答

本文分析了帝国CMS在使用中的一些常见的问题
收藏 0 赞 0 分享

帝国CMS使用中常见的英文错误提示介绍与解答

一些常见的英文错误提示介绍如下
收藏 0 赞 0 分享

帝国CMS数据库配置文件是哪个文件?

帝国CMS数据库配置文件e/class/config.php,对于帝国7.0以后的版本,数据库路径就是 e/config/config.php
收藏 0 赞 0 分享

帝国CMS的phomenewspic/ecmsinfo标签详解

前两天刚接触帝国CMS,它给我的感觉是,它确实很强大。内置非常灵活的万能调用标签:能实现各式各样的效果,满足各种网站的需要,适应于所有模型。这也就是今天所说的主题,关于标签
收藏 0 赞 0 分享

帝国CMS 建立目录不成功!请检查目录权限 的解决办法

今天在安装好帝国cms的时候,新建栏目,提示建立目录不成功!请检查目录权限,原来是服务器安全设置导致的问题,不能新建目录与读写php,然后按如下操作完成
收藏 0 赞 0 分享

帝国cms的灵动标签判断栏目ID的方法

帝国cms的灵动标签怎么判断栏目ID,需要的朋友可以参考下
收藏 0 赞 0 分享

帝国cms调用会员排行的序号的实现代码

帝国cms调用会员排行的序号的实现代码,需要的朋友可以参考下
收藏 0 赞 0 分享

帝国cms TAGS功能介绍与管理

帝国CMS的tags功能不仅是作为tags信息列表使用,而且是将tags作为自定义分类来使用,可按TAGS调用信息,可以实现碎片同样的功能,只是tags随时都能分类,更加灵活
收藏 0 赞 0 分享

帝国cms 6.6TAGS标签(showtags)调用说明

showtags标签可以通过链接附加参数tempid在标签中设定“标签模板”ID,如何改变整个tags列表页的模板?而不仅仅是改变标签模板
收藏 0 赞 0 分享
查看更多