Home >CMS Tutorial >Empire CMS >How to add Thunder downloads to Imperial CMS
The example in this article describes the method of adding Thunder downloads to Empire CMS. Share it with everyone for your reference. The specific implementation method is as follows:
The code is as follows:
<a href="/e/DownSys/GetDown?classid=[!--classid--]&id=[!--id--]&pathid=[!--pathid--]">[!--down.name--]</a></p> <p><!-- JavaScript专用链代码 --> <script src="http://pstatic.xunlei.com/js/webThunderDetect.js"></script> <script src="http://pstatic.xunlei.com/js/base64.js"></script> <script language="javascript">var thunder_url = "https://www.jb51.net[!--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>
It is recommended to study "Empire cms tutorial"
where thunder_url is replaced with the domain name you applied for, thunder_pid Change to the applied Thunder Download Alliance PID, and the modification is completed.
Supplementary: Empire CMS Tutorial-How to remove "Select Registration Member Type":
Empire CMS6.6 Modification e/class/ user.php
code is as follows:
$changeregisterurl="ChangeRegister.php";
is modified to
code is as follows:
$changeregisterurl="";
Empire CMS7.0 modified e/config/config The code in the .php file:
is as follows:
$ecms_config['member']['changeregisterurl']
I hope this article will be helpful to everyone’s Imperial CMS website building.
The above is the detailed content of How to add Thunder downloads to Imperial CMS. For more information, please follow other related articles on the PHP Chinese website!