iis服务器助手广告广告
返回顶部
首页 > 资讯 > CMS >下载内容页显示迅雷,快车加密地址标签
  • 807
分享到

下载内容页显示迅雷,快车加密地址标签

下载内容页迅雷 2022-06-12 01:06:32 807人浏览 独家记忆
摘要

核心代码:复制代码代码如下: 迅雷快车联盟下载<!--#empirecms.bq-phome.net#--!>填写自各联盟id即可<!--#empirecms.bq-phome.net#--!>u

核心代码:


复制代码代码如下:

迅雷快车联盟下载<!--#empirecms.bq-phome.net#--!>填写自各联盟id即可<!--#empirecms.bq-phome.net#--!>user_echouNIOndown<!--#empirecms.bq-phome.net#--!>echouniondown<!--#empirecms.bq-phome.net#--!>[echouniondown]迅雷联盟id,快车联盟id[/echouniondown]<!--#empirecms.bq-phome.net#--!>// by yingnt QQ 415204

// 承接模板定制,二次开发Http://www.ecmsjz.cn

//迅雷加密

function ThunderEncode($url)

{

$thunderPrefix="AA";

$thunderPosix="ZZ";

$thunderTitle="thunder://";

$thunderUrl=$thunderTitle.base64_encode($thunderPrefix.$url.$thunderPosix);

return $thunderUrl;

}

//快车加密

function FlashgetEncode($t_url,$uid)

{

$prefix= "Flashget://";

$FlashgetURL=$prefix.base64_encode("[FLASHGET]".$t_url."[FLASHGET]")."&".$uid;

return $FlashgetURL;

}

function user_echouniondown($xlid=0,$kcid=0){

global $empire,$public_r,$class_r,$navinfor,$dbtbpre;

$path_r=explode("\r\n",$navinfor[downpath]);

$pathid='0';

$showdown_r=explode("::::::",$path_r[$pathid]);

$urlid=$showdown_r[4];

if($urlid!=='0'){

$r=$empire->fetch1("select urlid,url from {$dbtbpre}enewsdownurlqz where urlid='".$urlid."' limit 1;");

}

$thunderUrl = ThunderEncode("".$r[url].$showdown_r[1]."");

$Url = $r[url].$showdown_r[1];

$flashgetUrl = FlashgetEncode($Url,$kcid);

?>

<script>

function ConvertURL2FG(url,fUrl,uid)

{

try{

FlashgetDown(url,uid);

}catch(e){location.href = fUrl;}

}

function Flashget_SetHref(obj,uid){obj.href = obj.fg;}

</script>

<?

echo '<script src="http://pstatic.xunlei.com/js/WEBThunderDetect.js"></script><script src="http://ufile.kuaiche.com/Flashget_union.PHP?fg_uid='.$kcid.'"></script><A oncontextmenu=ThunderNetwork_SetHref(this) onclick="return OnDownloadClick_Simple(this,2,4)" href="#" thunderResTitle="'.$navinfor[title].'" thunderType="" thunderPid="'.$xlid.'" thunderHref="'.$thunderUrl.'">[迅雷专用高速下载]</A> <a href="#" onClick="ConvertURL2FG(\''.$flashgetUrl.'\',\'\','.$kcid.')" oncontextmenu="Flashget_SetHref(this)" fg="'.$flashgetUrl.'">[快车专用高速下载]</a>';

}

使用说明:

只读取下载地址第一个下载链接,设置下载前缀也有效

未写循环读取所有地址的

$pathid='0';

这个0代表第一个下载地址

使用方法:

一、模板管理,标签、导入标签

二、内容页模板中放 [echouniondown]迅雷联盟id,快车联盟id[/echouniondown]

填写你的联盟id即可

--结束END--

本文标题: 下载内容页显示迅雷,快车加密地址标签

本文链接: https://www.lsjlt.com/news/31859.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

本篇文章演示代码以及资料文档资料下载

下载Word文档到电脑,方便收藏和打印~

下载Word文档
猜你喜欢
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作