• 微信
您当前的位置:首页  > 文章 >  下载内容页显示迅雷,快车加密地址标签

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

作者:admin 时间:2019-10-17 阅读数:人

核心代码:

复制代码
代码如下:
迅雷快车联盟下载<!--#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://www.easck.com/uploads/allimg/190126/23494a521-0.jpg"></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即可

声明

源码下载不顺利,比如源码在百度网盘的有时会被无故取消等,请联系QQ:46667551
本站大部分下载资源收集于网络,但除特别说明之外,基本全部亲自测试可用!
但由于某些源码的更新迭代,比如微信小程序官方接口的变动等原因,
如时间过长,可能会造成本可以使用的代码出现问题,下载前请斟酌!
本站资源仅供学习和交流使用,版权归原作者所有,请在下载后24小时之内自觉删除。
若作商业用途,请购买正版,由于未及时购买和付费发生的侵权行为,使用者自行承担,概与本站无关。

原文链接:https://www.dnwfb.com//68.html,转载请注明出处