帝國CMS數(shù)據(jù)庫配置文件是哪個文件?
發(fā)布時間:2015-09-01 01:13:27 作者:佚名
我要評論

帝國CMS數(shù)據(jù)庫配置文件e/class/config.php,對于帝國7.0以后的版本,數(shù)據(jù)庫路徑就是 e/config/config.php
帝國CMS數(shù)據(jù)庫配置文件e/class/config.php,對于帝國7.0以后的版本,數(shù)據(jù)庫路徑就是 e/config/config.php
一、變量列表
表單提交地址:/e/enews/index.php
classid:[!--classid--]
id:[!--id--]
enews:AddPl
repid:0
username:用戶名輸入框
password:密碼輸入框
key:驗證碼輸入框
顯示驗證碼:<img src=”/e/ShowKey?ecms”>
nomember:匿名發(fā)表
saytext:評論內(nèi)容
二、表單范例
<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″>
匿名發(fā)表</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>
一、變量列表
表單提交地址:/e/enews/index.php
classid:[!--classid--]
id:[!--id--]
enews:AddPl
repid:0
username:用戶名輸入框
password:密碼輸入框
key:驗證碼輸入框
顯示驗證碼:<img src=”/e/ShowKey?ecms”>
nomember:匿名發(fā)表
saytext:評論內(nèi)容
二、表單范例
復(fù)制代碼
代碼如下:<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″>
匿名發(fā)表</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>
相關(guān)文章
帝國CMS根據(jù)內(nèi)容正文字段[newstext]批量獲取描述簡介字段[smalltext]的
這篇文章主要介紹了帝國CMS根據(jù)內(nèi)容正文字段[newstext]批量重新生成簡介字段[smalltext]的方法,需要的朋友可以參考下2023-06-26帝國CMS 7.2和7.5適用的火車頭采集免登陸發(fā)布模塊配置方法詳解(親測可
帝國cms7.2版本開始增加了金剛模式,登錄發(fā)布有難度。親測可用的帝國CMS 7.2/7.5適用免登陸新聞發(fā)布模塊插件配合火車采集器,可以解決這類問題??胺Q完美2022-04-21帝國cms高危SQL注入漏洞(盲注)系統(tǒng)自帶RepPIntvar過濾函數(shù)使用方法
帝國cms開發(fā)的時候要注意一些危險的注入漏洞,防止被黑,RepPIntvar為系統(tǒng)自帶函數(shù)可以起到過濾字符的作用,下面就為大家介紹一下使用方法2021-07-26- 帝國cms后臺啟用SESSION驗證所有的登錄信息都是保存在服務(wù)器端的,尤其是公共場所登錄用默認的cookies是不安全的2021-07-26
- 最近需要將老版本的帝國cms將7.2升級到7.5版本,參考這篇文章完美升級,特分享一下給需要的朋友2020-08-02
帝國cms常用標(biāo)簽調(diào)用方法(靈動標(biāo)簽和萬能標(biāo)簽的調(diào)用方法)
整理了一些常用的帝國CMS調(diào)用,靈動標(biāo)簽和萬能標(biāo)簽的調(diào)用方法舉例,包括幻燈片、標(biāo)題、一級欄目、二級欄目、帶模版的友情鏈接(下拉菜單)、判斷內(nèi)容頁字段為空時是如何調(diào)用2020-02-04帝國cms網(wǎng)站地圖sitemap.xml的制作方法
這篇文章主要介紹了帝國cms網(wǎng)站地圖sitemap.xml的制作方法,需要的朋友可以參考下2020-02-04帝國CMS數(shù)據(jù)更新中心設(shè)置教程(更新網(wǎng)站細節(jié))
在使用帝國cms的時候有時候需要把前臺數(shù)據(jù)都更新一下,那么就可以參考下面的文章了,要不漏掉了部分就達不到更新的目地了2020-02-04- 今天接到網(wǎng)友詢問怎么修改后臺登錄界面及后臺界面,特把方法分享出來需要的朋友可以參考下2020-02-04
- 最近仿站團隊接到很多仿站客戶訂單,這里面有一個這樣的功能,表單提交,今天花時間寫個教程給大家,需要的朋友可以參考下2020-02-02