教程集 www.jiaochengji.com
教程集 >  建站教程  >  帝国cms  >  正文 帝国CMS数据库配置文件config.php

帝国CMS数据库配置文件config.php

发布时间:2014-07-20   编辑:jiaochengji.com
帝国CMS数据库配置文件config.php

帝国CMS数据库配置文件:e/class/config.php

一、变量列表
表单提交地址:/e/enews/index.php
classid:[!--classid--]
id:[!--id--]
enews:AddPl
repid:0
username:用户名输入框
password:密码输入框
key:验证码输入框
显示验证码:<img src=”/e/ShowKey?ecms”>
nomember:匿名发表
saytext:评论内容

二、表单范例

复制代码 代码如下:
<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>

您可能感兴趣的文章:
帝国cms 数据库链接文件在哪里?
解决帝国cms后台登录次数不得超过5次限制的方法
帝国cms系统安全配置最优化
帝国cms 解决后台登录次数限制的方法
(图)忘记帝国CMS后台密码的解决方法
php的cms系统哪个好
帝国CMS数据库配置文件config.php
修改帝国cms之[!--show.page--]分页标签样式
帝国cms常见问题收集
解决帝国cms帝国数据库备份王php5.3下500错误

关键词: cms  数据库配置   
[关闭]
~ ~