帝国CMS二次开发添加迅雷下载
代码如下:
1 2 3 4 5 6 7 | <a href= "/e/DownSys/GetDown?classid=[!--classid--]&id=[!--id--]&pathid=[!--pathid--]" >[!--down.name--]</a> <!-- JavaScript专用链代码 --> <script src=" <script src=" <script language= "javascript" > var thunder_url = "http://www.8023g.com[!--true.down.url--]" ; var thunder_pid = "131327" ; var restitle = "" ; document.write( '<a href="#" thunderHref="' + ThunderEncode(thunder_url) + '" thunderPid="' + thunder_pid + '" thunderResTitle="' + restitle + '" onClick= "return OnDownloadClick_Simple(this,2,4)" oncontextmenu= "ThunderNetwork_SetHref(this)" style= "color:#ff0000" >迅雷专用高速下载</a> '); </script> |
红色部分换成自己申请的域名、迅雷下载联盟PID
完毕。
上一篇:帝国CMS二次开发教程
下一篇:帝国CMS教程验证码不显示