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!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

SublimeText3 Chinese version
Chinese version, very easy to use

SublimeText3 Mac version
God-level code editing software (SublimeText3)
