哪个是imperial CMS数据库配置文件?
Imperial CMS数据库配置文件e/class/config.php,对于Imperial 7.0以后的版本,数据库路径为e/config/config.php。
一.变量清单
表格提交地址:/e /e/enews/index.php
classid:[!–classid–]
id:[!–id–]
电子新闻:AddPl
repid:0
用户名:用户名输入框
密码:密码输入框
按键:验证码输入框
显示验证码:lt;img src=”/e/ShowKey?ecms ”gt;
匿名发表
Saytext:评论内容
二、表格示例
代码如下:
lt;scriptgt。
函数CheckPl(obj)
{
if(obj . say text . value = = ”quot;)
{
你没什么要说的吗?”);
obj . say text . focus();
返回false
}
返回true
}
lt;/scriptgt。
lt;表格宽度= ”98% ”border = ”0 \” align = ”center ”cell padding = ”3 \” cell spacing = ”1 \” id = sayplgt;
lt;form name = say pl method = POST action = ”/e/enews/index . PHP ”on submit = ”return check pl(document . say pl)”gt;
lt;trgt
lt;TD height = ”25″bgcolor = ”# ffffff ”gt;lt;div align = ”center ”gt;
lt;表格宽度=”100%”边框=”0 \”单元格间距=”1 \”单元格填充= ”3 \” gt;
lt;trgt
lt;td宽度= ”56% ”gt;用户名:
lt;输入名称=”用户名”类型= ”文本”id = ”用户名”大小= ”12 \” gt;lt;/tdgt。
lt;td宽度= ”44% ”gt;密码:
lt;input name = ”password ”type = ”password ”id = ”password ”size = ”12 \” gt;lt;/tdgt。
lt;/trgt。
lt;trgt
lt;tdgt验证码:
lt;input name = ”key ”type = ”text ”id = ”key ”size = ”6 \” gt;
lt;img src=”/e/ShowKey?ecms ”gt;lt;/tdgt。
lt;tdgtlt;input name = ”no member ”type = ”checkbox ”id = ”no member ”value = ”1 \” gt;
匿名发布lt。/tdgt。
lt;/trgt。
lt;/tablegt。
lt;/divgt。lt;/tdgt。
lt;/trgt。
lt;trgt
lt;TD height = ”25″bgcolor = ”# ffffff ”gt;lt;div align = ”center ”gt;
lt;textarea name = ”say text ”cols = ”56″rows = ”6″id = ”say text ”gt;lt;/textareagt。
lt;/divgt。lt;/tdgt。
lt;/trgt。
lt;trgt
lt;TD height = ”25″bgcolor = ”# ffffff ”gt;lt;div align = ”center ”gt;
lt;input name = ”imagefield ”type = ”image ”src = ”/e/data/images/postpl . gif ”border = ”0 \” gt;
lt;input name = ”id”type = ”hidden ”value = ”[!–ID–]“gt;
lt;input name = ”class id ”type = ”hidden ”value = ”[!–classid –]“gt;
lt;input name = ”enews ”type = ”hidden ”id = ”enews ”value = ”addpl ”gt;
lt;输入名称=”repid
”type = ”hidden ”id = ”repid ”value = ”0″gt;
lt;/divgt。lt;/tdgt。
lt;/trgt。
lt;/formgt。
lt;/tablegt。登录后复制
