資源簡介
代碼片段和文件信息
/**
?*?倒計時
?*
?*?
?*/
defined(‘IN_IA‘)?or?exit(‘Access?Denied‘);
class?djsModule?extends?WeModule?{
public?$name?=?‘djsModule‘;
public?$title?=?‘倒計時‘;
public?$ability?=?‘‘;
public?$tablename?=?‘djs‘;
public?function?fieldsFormDisplay($rid?=?0)?{
global?$_W;
if?(!empty($rid))?{
$reply?=?pdo_fetch(“SELECT?*?FROM?“.tablename($this->tablename).“?WHERE?rid?=?:rid?ORDER?BY?‘id‘?DESC“?array(‘:rid‘?=>?$rid));
}
include?$this->template(‘djs/form‘);
}
public?function?fieldsFormValidate($rid?=?0)?{
return?true;
}
public?function?fieldsFormSubmit($rid?=?0)?{
global?$_GPC;
$id?=?intval($_GPC[‘reply_id‘]);
$insert?=?array(
‘rid‘?=>?$rid
‘enabled‘?=>?$_GPC[‘enabled‘]
????????????‘dateline‘?=>?TIMESTAMP
);
????????if?(
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2013-11-27?19:37??djs\
?????文件????????1072??2013-11-27?19:31??djs\manifest.xm
?????文件?????????911??2013-11-27?19:32??djs\manifest0.4.xm
?????文件????????1454??2013-11-27?19:22??djs\module.php
?????文件???????14654??2013-11-27?19:35??djs\preview.jpg
?????文件????????1614??2013-11-27?19:20??djs\processor.php
?????目錄???????????0??2013-11-27?19:14??djs\template\
?????文件?????????641??2013-11-27?19:23??djs\template\form.html
- 上一篇:幸運大轉(zhuǎn)盤php源碼
- 下一篇:PHP程序員機試題目
評論
共有 條評論