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

所属分类: CMS教程 / 帝国cms 阅读数: 1330
收藏 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二次开发注意事项

由于帝国CMS没插件API,所以在做帝国CMS二次开发的时候特别容易出现系统升级,文件管理混乱等麻烦,trylife总结出一些帝国CMS二次开发注意事项与大家分享下
收藏 0 赞 0 分享

帝国CMS提示parse error syntax error的解决方法

这篇文章主要为大家介绍了帝国CMS提示parse error syntax error的解决方法,需要的朋友可以参考下
收藏 0 赞 0 分享

让帝国CMS留言板支持调用标签的方法

这篇文章主要为大家介绍了让帝国CMS留言板支持调用标签的方法,需要的朋友可以参考下
收藏 0 赞 0 分享

帝国CMS在反馈信息页面调用万能标签的方法

这篇文章主要为大家介绍了帝国CMS在反馈信息页面调用万能标签的方法,需要的朋友可以参考下
收藏 0 赞 0 分享

帝国cms截图出现黑边的解决方法

这篇文章主要为大家介绍了帝国cms截图出现黑边的解决方法,需要的朋友可以参考下
收藏 0 赞 0 分享

帝国cms网站优化使tags伪静态的实现

这篇文章主要为大家介绍了帝国cms网站优化使tags伪静态的实现,需要的朋友可以参考下
收藏 0 赞 0 分享

帝国CMS7.0万能标签SQL调用注意事项

这篇文章主要为大家介绍了帝国CMS7.0万能标签SQL调用注意事项,对于用惯了之前6.6版本的用户尤其需要注意,需要的朋友可以参考下
收藏 0 赞 0 分享

帝国CMS上传附件命名实现以原文件名命名的方法

这篇文章主要为大家介绍了帝国CMS上传附件命名实现以原文件名命名的方法,需要的朋友可以参考下
收藏 0 赞 0 分享

帝国cms里 栏目列表模板获取同级栏目的方法

这篇文章主要为大家分享下帝国cms栏目列表模板获取同级栏目的方法,需要的朋友可以参考下
收藏 0 赞 0 分享

帝国cms 7.0 调用本信息所属专题,专题带链接

帝国cms在7.0 以前 调用本信息所属专题,系统本身是没有这样的功能,需要自己写插件或者代码
收藏 0 赞 0 分享
查看更多