Home > CMS Tutorial > Empire CMS > body text

How to add Thunder downloads to Imperial CMS

silencement
Release: 2019-11-26 14:39:58
forward
2000 people have browsed it

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(&#39;<a href="#" thunderHref="&#39; + ThunderEncode(thunder_url) + &#39;" thunderPid="&#39; + thunder_pid + &#39;"
 thunderResTitle="&#39; + restitle + &#39;" onClick="return OnDownloadClick_Simple(this,2,4)" oncontextmenu="
 ThunderNetwork_SetHref(this)" style="color:#ff0000">迅雷专用高速下载</a> &#39;);
</script>
Copy after login

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";
Copy after login

is modified to

code is as follows:

$changeregisterurl="";
Copy after login

Empire CMS7.0 modified e/config/config The code in the .php file:

is as follows:

$ecms_config[&#39;member&#39;][&#39;changeregisterurl&#39;]
Copy after login

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!

Related labels:
source:www.word666.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template