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

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

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.

Atom editor mac version download
The most popular open source editor

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.