网站首页  汉语字词  英语词汇  考试资料  写作素材  旧版资料

请输入您要查询的考试资料:

 

标题 如何给帝国下载系统添加迅雷快车专用链
内容
    通常我们建立有下载资源的网站的时候,都会想到给下载加上迅雷和快车的下载专用链,这样既提供了多种下载方式,同时也会有所收益,今天就讲解如何给 帝国下载系统添加迅雷快车专用链$url="../phome/?phome=DownSoft&softid=$softid& pathid=$pathid&pass=".$pass."&p=".$user[userid].":::".$user[rnd];
    把它改为:
    $url="http://www.xx.net/phome/?phome=DownSoft&softid=$softid&pathid=$pathid&pass=".$pass."&p=".$user[userid].":::".$user[rnd];
    就是把地址补全,使用完整地址。其中,http://www.xx.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>
    <tr>
    <td height="35">
    下载此软件需要花费<font color="#FF0000">&nbsp;<b>[!--downfen--]</b>&nbsp;</font>个金币
    </td>
    </tr>
    <tr>
    <tr>
    <td><a href="/uploads/202504/02/shou3404.gif" target="_blank">↓下载到手机</a></td></tr>
    <td height="45">
    <?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">
    <?php
    $flashgetUrl = FlashgetEncode($url,22710);
    ?>
    <a href="#" fg="<?= $flashgetUrl?>">↓快车高速下载</a>
    </td>
    </tr> <td height="45">
    <!-- PHP迅雷离线下载代码一-->
    <script src="http://pstatic.xunlei.com/js/offlineThunderDetect.js"></script>
    <?php
    $offlineUrl = "http://www.xx.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"><a href="<?=$url?>">↓本地下载</a></td>
    </tr>
    </table>
    </body>
    </html>
随便看

 

在线学习网考试资料包含高考、自考、专升本考试、人事考试、公务员考试、大学生村官考试、特岗教师招聘考试、事业单位招聘考试、企业人才招聘、银行招聘、教师招聘、农村信用社招聘、各类资格证书考试等各类考试资料。

 

Copyright © 2002-2024 cuapp.net All Rights Reserved
更新时间:2025/5/13 17:13:46