Home > CMS Tutorial > Empire CMS > body text

What is the Imperial CMS database configuration file?

藏色散人
Release: 2019-12-03 10:18:53
Original
2988 people have browsed it

What is the Imperial CMS database configuration file?

Which is the Empire CMS database configuration file?

Empire CMS database configuration file e /class/config.php, for versions after Empire 7.0, the database path is e/config/config.php

1. Variable list

Form submission address: /e/enews/index.php

classid:[!--classid--]

id:[!--id--]

enews:AddPl

repid: 0

username: Username input box

password: Password input box

key: Verification code input box

Display Verification code:

nomember: Post anonymously

saytext: Comment content

2. Form Example

The code is as follows:

<script>
function CheckPl(obj)
{
if(obj.saytext.value==”")
{
alert(“您没什么话要说吗?”);
obj.saytext.focus();
return false;
}
return true;
}
</script>
<table width=”98%” border=”0″ align=”center” cellpadding=”3″ cellspacing=”1″ id=saypl>
<form name=saypl method=POST action=”/e/enews/index.php” onsubmit=”return CheckPl(document.saypl)”>
<tr>
<td height=”25″ bgcolor=”#FFFFFF”> <div align=”center”>
<table width=”100%” border=”0″ cellspacing=”1″ cellpadding=”3″>
<tr>
<td width=”56%”>用户名:
<input name=”username” type=”text” id=”username” size=”12″></td>
<td width=”44%”>密码:
<input name=”password” type=”password” id=”password” size=”12″></td>
</tr>
<tr>
<td>验证码:
<input name=”key” type=”text” id=”key” size=”6″>
<img src=”/e/ShowKey?ecms”> </td>
<td><input name=”nomember” type=”checkbox” id=”nomember” value=”1″>
匿名发表</td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td height=”25″ bgcolor=”#FFFFFF”> <div align=”center”>
<textarea name=”saytext” cols=”56″ rows=”6″ id=”saytext”></textarea>
</div></td>
</tr>
<tr>
<td height=”25″ bgcolor=”#FFFFFF”> <div align=”center”>
<input name=”imageField” type=”image” src=”/e/data/images/postpl.gif” border=”0″>
<input name=”id” type=”hidden” value=”[!--id--]“>
<input name=”classid” type=”hidden” value=”[!--classid--]“>
<input name=”enews” type=”hidden” id=”enews” value=”AddPl”>
<input name=”repid
” type=”hidden” id=”repid” value=”0″>
</div></td>
</tr>
</form>
</table>
Copy after login

The above is the detailed content of What is the Imperial CMS database configuration file?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
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