织梦 DEDE 加迅雷下载链接 织梦dedecms5.5 5.6 5.7加迅雷专用链的操作说明文档
织梦 DEDE 加迅雷下载链接 织梦dedecms5.5 5.6 5.7加迅雷专用链的操作说明文档

织梦 DEDE 加迅雷下载链接 织梦dedecms5.5 5.6 5.7加迅雷专用链的操作说明文档

暂无资源
版本:暂无 大小:0KB 收录时间:2012-06-14 更新时间:2012-06-14

应用简介

织梦 DEDE 加迅雷下载链接 织梦dedecms5.5 5.6 5.7加迅雷专用链的操作说明文档

此版本实用于:dedecms5.5   5.6    5.7   5.7sp1


建议:部分迅雷化下载链接

程序演示地址: http://www.ejdz.cn/plus/download.php?open=0&aid=83418&cid=3




1.部分迅雷化:是保留你的本地资源下载链接,在你的本地资源下载链接的旁边单独添加一个迅雷专用链接。


2.部分迅雷化,需要修改templets\system\channel_downlinks.htm和\plus\download.php这2个文件,打开这个templets\system\channel_downlinks.htm文件,找到以下代码:


      <li><a href="~link~" target="_blank">~server~</a></li>


   在这句代码的前面加上以下代码:


<li><a target=_blank href='~link~&flag=1'><font color=red>迅雷专用高速下载</font></a></li>



3.templets\system\channel_downlinks.htm这个文件修改完毕,详情请查看附件里面的channel_downlinks.htm这个文件。



4.打开\plus\download.php这个文件:


   A)  找到以下代码:


       require_once(DEDEINC."/channelunit.class.php");


       在这句代码的下面加上以下代码:

      

       $flag=(int)$_GET['flag'];



   B)  找到以下代码:


       header("location:$link");


      把这句代码替换成以下代码:



  if ($flag == 1)

{

$thunderPrefix="AA";

$thunderPosix="ZZ";

$thunderTitle="thunder://";

$name = $link;

$pan = "://";

$con = explode($pan,$name);

if (count($con)>1)

{

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

}

else

{

    $thunderUrl=$thunderTitle.base64_encode($thunderPrefix."http://www.ejdz.cn/".$link.$thunderPosix);

}

   echo "<script src='http://pstatic.xunlei.com/js/webThunderDetect.js'></script><script>OnDownloadClick('".$thunderUrl."','',location.href,'46607',2,'')</script>";

                  echo "<script>window.opener=null;window.close();</script>";

             }

             else

             {

             header("location:$link");

             }




    C)  找到以下代码:


         header("location:{$softUrl}");


        把这句代码替换成以下代码:



  if ($flag == 1)

{

$thunderPrefix="AA";

$thunderPosix="ZZ";

$thunderTitle="thunder://";

$name = $softUrl;

$pan = "://";

$con = explode($pan,$name);

if (count($con)>1)

{

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

}

else

{

    $thunderUrl=$thunderTitle.base64_encode($thunderPrefix."http://www.ejdz.cn/".$softUrl.$thunderPosix);

}

   echo "<script src='http://pstatic.xunlei.com/js/webThunderDetect.js'></script><script>OnDownloadClick('".$thunderUrl."','',location.href,'46607',2,'')</script>";

                 

}

else

    {

      header("location:{$softUrl}");


}


  注意:


        1)把以上所有代码里面的“http://WWW.ejdz.cn/”这个全部修改成你自己的域名。

        

5.download.php这个文件修改完毕,详情请查看附件里面的download.php文件。



6.覆盖说明:


   1)用修改好的download.php这个文件覆盖你网站管理系统里面的\plus\download.php这个文件。

   2)用修改好的channel_downlinks.htm这个文件覆盖系统里面的templets\system\channel_downlinks.htm这个文件。

   3)覆盖后全部重新生成一下就可以了。


     


温馨提示:易家知识网压缩包默认解压密码: 320723。

详细信息

  • 厂商

    暂无

  • 官网

    暂无

  • 语言

    简体中文

  • 年龄段

    全年龄对象

  • 当前版本

    暂无

  • 大小

    0KB

  • 授权方式

    免费

  • 网络

  • 权限

    查看权限

评论(0)

举报
验证码
发表
最新评论

暂无评论,期待你的妙语连珠

举报文章问题
验证码
预约新游

预约成功!,

到时你将收到我们的短信提醒。

回复 宏伟路口 :
我真不理解,我只有一个女王和双生希儿!!还是比较喜欢360安全卫士的弹窗过滤,图标就在首页的右下角,开启非常的方便。而且强力过滤模式的话,可以将很多顽固的软件弹窗过滤掉,很彻底值得推荐。

应用文章

    暂无数据

CopyRight © 1999-2023 ejdz.cn All Right Reserved 易家知识网 版权所有 意见反馈

渝ICP备20008086号-17 渝公网安备50010702505138号渝公网安备50010702505138号

ejdz2023#163.com(#替换为@)   QQ:2368208271

暂无权限数据