首頁 > CMS教程 > 帝國CMS > 主體

帝國CMS資料庫設定檔是哪個

藏色散人
發布: 2019-12-03 10:18:53
原創
2959 人瀏覽過

帝國CMS資料庫設定檔是哪個

帝國CMS資料庫設定檔是哪一個?

  

帝國CMS資料庫設定檔e /class/config.php,對於帝國7.0以後的版本,資料庫路徑就是e/config/config.php

#一、變數清單

##表單提交位址: /e/enews/index.php

classid:[!--classid--]

#id:[!--id--]

enews:AddPl

repid:0

username:使用者名稱輸入框

password:密碼輸入框

key:驗證碼輸入框

顯示驗證碼:

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資料庫設定檔是哪個的詳細內容。更多資訊請關注PHP中文網其他相關文章!

相關標籤:
來源:php.cn
本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板
關於我們 免責聲明 Sitemap
PHP中文網:公益線上PHP培訓,幫助PHP學習者快速成長!