1234567891011121314151617181920212223242526 |
- <?php
-
- defined('IN_IA') or exit('Access Denied');
- error_reporting(0);
-
- $dos = array('log');
- if (!in_array($do, $dos)) {
- exit('Access Denied');
- }
-
- if($do == 'log') {
- $tid = intval($_GPC['tid']);
- $module = trim($_GPC['module']);
- $type = trim($_GPC['type']);
- $data = pdo_getall('core_cron_record', array('uniacid' => $_W['uniacid'], 'tid' => $tid, 'module' => $module, 'type' => $type));
- if(!empty($data)) {
- foreach($data as &$da) {
- $da['createtime'] = date('Y-m-d H:i:s', $da['createtime']);
- }
- unset($da);
- }
- iajax(0, array('items' => $data));
- }
|