起名大全
substr($match_pic, 2);
}
$webdir_len = strlen($this->cfg['webdir']);
if(substr($match_pic, 0, $webdir_len) == $this->cfg['webdir']){
$cms_content['pic'] = substr($match_pic, $webdir_len);
}else{
$cms_content['pic'] = $match[1][0];
}
}
}
//处理缩略图 end
// 比较属性变化
$flags_old = array();
if($olddata['flags']) {
$flags_old = explode(',', $olddata['flags']);
foreach($flags as $flag) {
$key = array_search($flag, $flags_old);
if($key !== false) unset($flags_old[$key]);
}
}
$tags_arr = $tags = array();
$tags_old = (array)_json_decode($olddata['tags']); //旧标签数组
// 比较标签变化
if($tagstr){
$tags_new = explode(',', $tagstr);
$tags_new = array_unique($tags_new); //去重
$tags_new = array_filter($tags_new); //去掉空
}else{
$tags_new = array();
}
foreach($tags_new as $tagname) {
$tagname = $this->cms_content_tag->_tagformat($tagname);
if($tagname){
$key = array_search($tagname, $tags_old);
if($key === false) {
$tags_arr[] = $tagname;
}else{
$tags[$key] = $tagname;
unset($tags_old[$key]);
}
}
}
// 标签预处理,最多支持8个标签
$this->cms_content_tag->table = 'cms_'.$table.'_tag';
$tagdatas = array();
for($i = 0; isset($tags_arr[$i]) && $i < 8; $i++) {
$name = $this->cms_content_tag->_tagformat($tags_arr[$i]);
if($name){
$tagdata = $this->cms_content_tag->find_fetch(array('name'=>$name), array(), 0, 1);
if($tagdata) {
$tagdata = current($tagdata);
}else{
$tag_post = array('name'=>$name, 'count'=>0, 'content'=>'');
$tagid = $this->cms_content_tag->create($tag_post);
if(!$tagid){
return array('err'=>1 ,'msg'=>lang('write_tag_table_failed'));
}
$tagdata = $this->cms_content_tag->get($tagid);
}
$tagdata['count']++;
$tagdatas[] = $tagdata;
if( _strlen(_json_encode($tags)) > 500){ //主表tags长度限制
break;
}
$tags[$tagdata['tagid']] = $tagdata['name'];
}
}
if($tags){
$cms_content['tags'] = _json_encode($tags);
}
//标签处理 end
if($this->cms_content->update($cms_content)) {
// 编辑时,别名有三种情况需要处理
if($alias && $alias_old && $alias != $alias_old) {
// 写入新别名
if(!$this->only_alias->set($alias, array('mid' => $mid, 'cid' => $cid, 'id' => $id))) {
$this->update(array('id'=>$id, 'alias'=>''));
}
// 删除旧别名
$this->only_alias->delete($alias_old);
}elseif($alias && empty($alias_old)) {
// 写入新别名
if(!$this->only_alias->set($alias, array('mid' => $mid, 'cid' => $cid, 'id' => $id))) {
$this->update(array('id'=>$id, 'alias'=>''));
}
}elseif(empty($alias) && $alias_old) {
// 删除旧别名
$this->only_alias->delete($alias_old);
}
}else{
return array('err'=>1 ,'msg'=>lang('write_content_table_failed'));
}
//附表数据
if($this->cms_content_data->set_cms_content_data($id, $cms_content_data, $table)) {
}else{
return array('err'=>1 ,'msg'=>lang('write_content_data_table_failed'));
}
// 写入内容查看数表
$this->cms_content_views->table = 'cms_'.$table.'_views';
$cms_content_views = array(
'cid'=>$cid,
'views'=>isset($post['views']) ? (int)$post['views'] : 0,
);
if($this->cms_content_views->set_cms_content_views($id, $cms_content_views, $table)) {
}else{
return array('err'=>1 ,'msg'=>lang('write_content_views_table_failed'));
}
// 写入内容属性标记表
$this->cms_content_flag->table = 'cms_'.$table.'_flag';
foreach($flags as $flag) {
$this->cms_content_flag->set(array($flag, $id), array('cid'=>$cid));
}
// 删除去掉的属性
foreach($flags_old as $flag) {
$flag = intval($flag);
if($flag) $this->cms_content_flag->delete($flag, $id);
}
// 写入内容标签表
$this->cms_content_tag_data->table = 'cms_'.$table.'_tag_data';
foreach($tagdatas as $tagdata) {
$this->cms_content_tag->update($tagdata);
$this->cms_content_tag_data->set(array($tagdata['tagid'], $id), array('id'=>$id));
}
// 删除不用的标签
foreach($tags_old as $tagid => $tagname) {
$tagdata = $this->cms_content_tag->get($tagid);
$tagdata['count']--;
$this->cms_content_tag->update($tagdata);
$this->cms_content_tag_data->delete($tagid, $id);
}
//改变分类了
if($cid != $olddata['cid']){
// 旧的分类内容数减1
$categorys_old = $this->category->get($olddata['cid']);
$categorys_old['count'] = max(0, $categorys_old['count']-1);
$this->category->update($categorys_old);
// 新的分类内容数加1
$categorys['count']++;
$this->category->update($categorys);
//删除两个分类缓存数据
$this->category->delete_cache_one($cid);
$this->category->delete_cache_one($olddata['cid']);
if($alias_old == $alias){ //这里只处理别名未变动情况下的cid更新,别名有变动的话 会在上面的三种情况下更新数据
if(!$this->only_alias->set($alias, array('mid' => $mid, 'cid' => $cid, 'id' => $id))) {
$this->update(array('id'=>$id, 'alias'=>''));
}
}
//更新附件表的cid
$this->cms_content_attach->find_update(array('id'=>$id), array('cid'=>$cid));
//更新评论排序表的cid
if($olddata['comments']){
$this->cms_content_comment_sort->find_update(array('mid'=>$mid, 'id'=>$id), array('cid'=>$cid));
}
}
//返回数据
$return_data = array(
'cid'=>$cid,
'id'=>$id,
'alias'=>$alias,
'mid'=>$mid
);
//分类筛选 编辑内容写入筛选值 --- 写入对应的 filter_cms_content 表
if($fids_arr || $fids_old){
$this->filter_cms_content->table = 'filter_cms_'.$table;
foreach ($fids_arr as $fid){
$this->filter_cms_content->set(array($fid, $id), array('id'=>$id));
}
//删除已经抛弃的fid
foreach ($fids_old as $fid){
$this->filter_cms_content->delete($fid, $id);
}
}
return array('err'=>0, 'msg'=>lang('edit_successfully').$endstr, 'data'=>$return_data);
}
// 内容关联删除
public function xdelete($table = 'article', $id = 0, $cid = 0) {
$this->table = 'cms_'.$table;
$this->cms_content_data->table = 'cms_'.$table.'_data';
$this->cms_content_attach->table = 'cms_'.$table.'_attach';
$this->cms_content_flag->table = 'cms_'.$table.'_flag';
$this->cms_content_tag->table = 'cms_'.$table.'_tag';
$this->cms_content_tag_data->table = 'cms_'.$table.'_tag_data';
$this->cms_content_views->table = 'cms_'.$table.'_views';
//内容读取
$data = $this->get($id);
if(empty($data)) return lang('data_no_exists');
//删除附件表里面的附件
$attach_arr = $this->cms_content_attach->find_fetch(array('id'=>$id));
foreach($attach_arr as $v) {
if($v['isimage']){
$updir = ROOT_PATH.'upload/'.$table.'/';
}else{
$updir = ROOT_PATH.'upload/attach/';
}
$file = $updir.$v['filepath'];
if($v['isimage']){
$thumb = image::thumb_name($file);
}else{
$thumb = '';
}
try{
is_file($file) && unlink($file);
if($thumb && is_file($thumb)) unlink($thumb);
}catch(Exception $e) {}
$this->cms_content_attach->delete($v['aid']);
}
//更新标签表
if(isset($data['tags']) && !empty($data['tags'])) {
$tags_arr = _json_decode($data['tags']);
foreach($tags_arr as $tagid => $name) {
$this->cms_content_tag_data->delete($tagid, $id);
$tagdata = $this->cms_content_tag->get($tagid);
$tagdata['count']--;
if($tagdata['count'] > 0) {
$this->cms_content_tag->update($tagdata);
}else{
$this->cms_content_tag->delete($tagid);
}
}
}
//更新分类表
$catedata = $this->category->get($cid);
if(empty($catedata)) return lang('category_not_exists');
if($catedata['count'] > 0) {
$catedata['count']--;
if(!$this->category->update($catedata)) return lang('write_content_table_failed');
$this->category->update_cache($cid);
}
//更新用户内容数
if(isset($data['uid']) && $data['uid']){
$user = $this->user->get($data['uid']);
if($user && $user['contents'] > 0) {
$user['contents']--;
$this->user->update($user);
}
}
//删除内容
$this->cms_content_data->delete_cms_content_data($id, $table);
//删除浏览量
$this->cms_content_views->delete_cms_content_views($id, $table);
//删除属性
$this->cms_content_flag->find_delete(array('id'=>$id));
//删除别名
(isset($data['alias']) && !empty($data['alias'])) && $this->only_alias->delete($data['alias']);
//删除评论和评论排序
if(isset($data['comments']) && $data['comments']){
$where = array('mid'=>$catedata['mid'], 'id'=>$id);
$this->cms_content_comment->find_delete($where);
$this->cms_content_comment_sort->find_delete($where);
}
//删除基础数据
$ret = $this->delete($id);
//开启的筛选分类 删除内容,删除对应的 filter_cms_content 表数据
$le_category_filter_cids = $this->cfg['le_category_filter_cids'];
$le_category_filter_cids_arr = explode(',', $le_category_filter_cids);
if(in_array($cid, $le_category_filter_cids_arr) && isset($data['fids']) && !empty($data['fids'])){
$this->filter_cms_content->table = 'filter_cms_'.$table;
$this->filter_cms_content->find_delete(array('id'=>$id));
}
return $ret ? '' : lang('delete_failed');
}
//移动内容
public function xmove($table = 'article', $id = 0, $old_cid = 0, $cid = 0){
if(empty($id) || empty($old_cid) || empty($cid) || $old_cid == $cid){
return lang('data_error');
}
$this->table = 'cms_'.$table;
$this->cms_content_attach->table = 'cms_'.$table.'_attach';
$this->cms_content_flag->table = 'cms_'.$table.'_flag';
$this->cms_content_views->table = 'cms_'.$table.'_views';
//内容读取
$data = $this->get($id);
if(empty($data)) return lang('data_no_exists');
$old_cate = $this->category->get($old_cid);
$new_cate = $this->category->get($cid);
if(empty($old_cate) || empty($new_cate)){
return lang('data_error');
}
$old_mid = $old_cate['mid'];
$mid = $new_cate['mid'];
if($old_mid != $mid || $mid < 2){
return lang('data_error');
}
//更新主表
$data['cid'] = $cid;
if( !$this->update($data) ){
return lang('opt_failed');
}
//更新别名表
if($data['alias']){
$this->only_alias->find_update(array('alias'=>$data['alias']), array('cid'=>$cid));
}
//更新属性内容表
if($data['flags']) {
$this->cms_content_flag->find_update(array('id'=>$id), array('cid'=>$cid));
}
//更新附件表
$this->cms_content_attach->find_update(array('id'=>$id), array('cid'=>$cid));
//更新浏览量表
$this->cms_content_views->find_update(array('id'=>$id), array('cid'=>$cid));
//更新评论排序表
$this->cms_content_comment_sort->find_update(array('mid'=>$mid,'id'=>$id), array('cid'=>$cid));
//更新旧的分类
$old_cate['count'] = max(0, $old_cate['count']-1);
$this->category->update($old_cate);
$this->category->delete_cache_one($old_cid);
//更新新的分类
$new_cate['count']++;
$this->category->update($new_cate);
$this->category->delete_cache_one($cid);
return '';
}
// 标签链接格式化
public function tag_url($mid = 2, $tags = array(), $page = FALSE, $extra = array()) {
$link_tag_type = isset($this->cfg['link_tag_type']) ? (int)$this->cfg['link_tag_type'] : 0;
$name = isset($tags['name']) ? $tags['name'] : '';
$tagid = isset($tags['tagid']) ? (int)$tags['tagid'] : 0;
//使用相对URL
if(isset($this->cfg['url_path']) && !empty($this->cfg['url_path'])){
$this->cfg['weburl'] = $this->cfg['webdir'];
}
if(empty($name) || empty($tagid)){
return '';
}
$name = $this->cms_content_tag->_tagformat($name, 0);
if(empty($_ENV['_config']['lecms_parseurl'])) {
$s = $page ? '-page-{page}' : '';
switch ($link_tag_type){
case 0:
return $this->cfg['weburl'].'index.php?tag-'.($mid > 2 ? '-mid-'.$mid : '').'-name-'.urlencode($name).$s.$_ENV['_config']['url_suffix'];
break;
case 1:
return $this->cfg['weburl'].'index.php?tag-'.($mid > 2 ? '-mid-'.$mid : '').'-tagid-'.$tagid.$s.$_ENV['_config']['url_suffix'];
break;
case 2:
$encrypt = encrypt($mid.'_'.$tagid);
return $this->cfg['weburl'].'index.php?tag--encrypt-'.$encrypt.$s.$_ENV['_config']['url_suffix'];
break;
case 3:
$encrypt = hashids_encrypt($mid,$tagid);
return $this->cfg['weburl'].'index.php?tag--encrypt-'.$encrypt.$s.$_ENV['_config']['url_suffix'];
break;
}
}else{
$s = $page ? '/page_{page}' : '';
switch ($link_tag_type){
case 0:
return $this->cfg['weburl'].$this->cfg['link_tag_pre'].($mid > 2 ? $mid.'_' : '').urlencode($name).$s.$this->cfg['link_tag_end'];
break;
case 1:
return $this->cfg['weburl'].$this->cfg['link_tag_pre'].($mid > 2 ? $mid.'_' : '').$tagid.$s.$this->cfg['link_tag_end'];
break;
case 2:
$encrypt = encrypt($mid.'_'.$tagid);
return $this->cfg['weburl'] . $this->cfg['link_tag_pre'] . $encrypt.$s.$this->cfg['link_tag_end'];
break;
case 3:
$encrypt = hashids_encrypt($mid,$tagid);
return $this->cfg['weburl'] . $this->cfg['link_tag_pre'] . $encrypt.$s.$this->cfg['link_tag_end'];
break;
}
}
}
// 评论链接格式化
public function comment_url($cid = 0, $id = 0, $page = FALSE) {
//使用相对URL
if(isset($this->cfg['url_path']) && !empty($this->cfg['url_path'])){
$this->cfg['weburl'] = $this->cfg['webdir'];
}
if(empty($_ENV['_config']['lecms_parseurl'])) {
$s = $page ? '-page-{page}' : '';
return $this->cfg['weburl'].'index.php?comment--cid-'.$cid.'-id-'.$id.$s.$_ENV['_config']['url_suffix'];
}else{
return $this->cfg['weburl'].$this->cfg['link_comment_pre'].$cid.'_'.$id.($page ? '_{page}' : '').$_ENV['_config']['url_suffix'];
}
}
// 内容链接格式化
public function content_url(&$content, $mid = 2, $page = FALSE, $extra = array()) {
$url = '';
$link_show_end = isset($this->cfg['link_show_end']) ? $this->cfg['link_show_end'] : $_ENV['_config']['url_suffix'];
$id = isset($content['id']) ? (int)$content['id'] : 0;
$cid = isset($content['cid']) ? (int)$content['cid'] : 0;
$alias = isset($content['alias']) ? $content['alias'] : '';
empty($alias) && $alias = $cid.'_'.$id;
$dateline = isset($content['dateline']) ? (int)$content['dateline'] : 0;
//使用相对URL
if(isset($this->cfg['url_path']) && !empty($this->cfg['url_path'])){
$this->cfg['weburl'] = $this->cfg['webdir'];
}
if(empty($id) || empty($cid)){
return '';
}
if(empty($_ENV['_config']['lecms_parseurl'])) {
$url .= $this->cfg['weburl'].'index.php?show--cid-'.$cid.'-id-'.$id.($page ? '-page-{page}' : '').$_ENV['_config']['url_suffix'];
}else{
switch($this->cfg['link_show_type']) {
case 1: //数字型
$url .= $this->cfg['weburl'].$cid.'/'.$id.$link_show_end;
break;
case 2: //推荐型
if(!isset($this->cfg['cate_arr'][$cid])){return '';}
$url .= $this->cfg['weburl'].$this->cfg['cate_arr'][$cid].'/'.$id.$link_show_end;
break;
case 3: //别名型
$url .= $this->cfg['weburl'].$alias.$link_show_end;
break;
case 4: //加密型
$url .= $this->cfg['weburl'].encrypt($cid.'_'.$id).$link_show_end;
break;
case 8: //HashId,放前面 提高命中率
$url .= $this->cfg['weburl'].hashids_encrypt($cid,$id).$link_show_end;
break;
case 5: //模型ID_数字型
if($mid > 2){
$url .= $this->cfg['weburl'].$mid.'_'.$id.$link_show_end;
}else{
$url .= $this->cfg['weburl'].$id.$link_show_end;
}
break;
case 6: //分类别名+内容别名型
if(!isset($this->cfg['cate_arr'][$cid])){return '';}
$url .= $this->cfg['weburl'].$this->cfg['cate_arr'][$cid].'/'.$alias.$link_show_end;
break;
case 7: //灵活型
$url .= $this->cfg['weburl'].strtr($this->cfg['link_show'], array(
'{cid}' => $cid,
'{mid}' => $mid,
'{id}' => $id,
'{alias}' => $alias,
'{cate_alias}' => isset($this->cfg['cate_arr'][$cid]) ? $this->cfg['cate_arr'][$cid] : '',
'{password}' => encrypt($cid.'_'.$id),
'{ymd}' => date('Ymd', $dateline),
'{y}' => date('Y', $dateline),
'{m}' => date('m', $dateline),
'{d}' => date('d', $dateline),
'{auth_key}' => substr(md5($_ENV['_config']['auth_key']), 0, 6),
'{hashids}' => hashids_encrypt($cid,$id)
));
break;
}
if($page){
$url .= '&page={page}';
}
}
return $url;
}
//用户模块相关URL,只涉及 user-xxx 或者 my-xxx(为了兼容旧版本的插件使用该函数, 新的开发请使用 urls_model里面的该函数)
public function user_url($action = 'index', $control = 'user', $page = false, $extra = array()){
//使用相对URL
if(isset($this->cfg['url_path']) && !empty($this->cfg['url_path'])){
$this->cfg['weburl'] = $this->cfg['webdir'];
}
$allow_control = array('user', 'my');
if(!in_array($control, $allow_control)){
return '';
}
$s = '';
if($page){
$s .= $page ? '-page-{page}' : '';
}
// 附加参数
if($extra) {
foreach ($extra as $k=>$v){
$s .= '-'.$k.'-'.$v;
}
}
if(empty($_ENV['_config']['lecms_parseurl'])) {
return $this->cfg['weburl'].'index.php?'.$control.'-'.$action.$s.$_ENV['_config']['url_suffix'];
}else{
return $this->cfg['weburl'].$control.'-'.$action.$s.$_ENV['_config']['url_suffix'];
}
}
//获取模型的自定义字段(不执行格式化)
public function get_model_fields_by_mid($mid = 2){
if(!plugin_is_enable('models_filed')){
return array();
}
if(isset($this->data['models_field'.$mid]) && !empty($this->data['models_field'.$mid])) {
$models_field = $this->data['models_field'.$mid];
}else{
$models_field = $this->models_field->user_defined_field($mid);
$this->data['models_field'.$mid] = $models_field;
}
return $models_field;
}
// 自动生成缩略图
public function auto_pic($table = 'article', $uid = 1, $id = 0, $models = array()) {
$this->cms_content_attach->table = 'cms_'.$table.'_attach';
$pic_arr = $this->cms_content_attach->find_fetch(array('id'=>$id, 'uid'=>$uid, 'isimage'=>1), array(), 0, 1);
if($pic_arr){
$pic_arr = current($pic_arr);
$path = 'upload/'.$table.'/'.$pic_arr['filepath'];
$pic = image::thumb_name($path);
$src_file = ROOT_PATH.$path;
$dst_file = ROOT_PATH.$pic;
if( !is_file($dst_file) && $models ) {
image::thumb($src_file, $dst_file, $models['width'], $models['height'], $this->cfg['thumb_type'], $this->cfg['thumb_quality']);
return $path;
}else{
return $path;
}
}else{
return '';
}
}
/**
* 获取远程图片
* @param $table 表名
* @param $content 内容
* @param int $uid 用户ID
* @param int $cid 分类ID
* @param int $id 内容ID
* @param int $write_db 是否写入附件表
* @return string
*/
public function get_remote_img($table = 'article', &$content = '', $uid = 1, $cid = 0, $id = 0, $write_db = 1) {
if(empty($content)){
return '';
}
function_exists('set_time_limit') && set_time_limit(0);
$updir = 'upload/'.$table.'/';
$_ENV['_prc_err'] = 0;
$_ENV['_prc_arg'] = array(
'hosts'=>array('127.0.0.1', 'localhost', $_SERVER['HTTP_HOST'], $this->cfg['webdomain']),
'uid'=>$uid,
'cid'=>$cid,
'id'=>$id,
'maxSize'=>10000,
'upDir'=>ROOT_PATH.$updir,
'preUri'=>$this->cfg['webdir'].$updir, //相对图片地址,绝对图片地址用 weburl
'cfg'=>$this->cfg,
'write_db'=>$write_db
);
$this->cms_content_attach->table = 'cms_'.$table.'_attach';
$content = preg_replace_callback('#\
![]()
]*src=["\']((?:http|https|ftp)\://[^"\']+)["\'][^\>]*\>#iU', array($this, 'img_replace'), $content);
unset($_ENV['_prc_arg']);
return $_ENV['_prc_err'] ? lang('isremote_failed_tip_1').$_ENV['_prc_err'].lang('isremote_failed_tip_2') : '';
}
// 远程图片处理 (如果抓取失败则不替换)
// $conf 用到4个参数 hosts preUri cfg upDir
private function img_replace($mat) {
static $uris = array();
$uri = $mat[1];
$conf = &$_ENV['_prc_arg'];
if( !isset($conf['write_db']) ){
$conf['write_db'] = 1;
}
// 排除重复保存相同URL图片
if(isset($uris[$uri])) return str_replace($uri, $uris[$uri], $mat[0]);
// 根据域名排除本站图片
$urls = parse_url($uri);
if(in_array($urls['host'], $conf['hosts'])) return $mat[0];
$file = $this->cms_content_attach->remote_down($uri, $conf, (int)$conf['write_db']);
if($file) {
$uris[$uri] = $conf['preUri'].$file;
$cfg = $conf['cfg'];
// 是否添加水印
if(!empty($cfg['watermark_pos'])) {
image::watermark($conf['upDir'].$file, ROOT_PATH.'static/img/watermark.png', null, $cfg['watermark_pos'], $cfg['watermark_pct']);
}
return str_replace($uri, $uris[$uri], $mat[0]);
}else{
$_ENV['_prc_err']++;
return $mat[0];
}
}
}
Lecms 3.0.3 错误
错误信息
- 消息: [程序异常] : Class 'cms_content' not found
- 文件: /www/wwwroot/www.wanmingwang.com/lecms/xiunophp/lib/core.class.php
- 位置: 第449行
错误位置
| #445 | }
|
| #446 | }
|
| #447 |
|
| #448 | include $objfile;
|
| #449 | $mod = new $model();
|
| #450 | $_ENV['_models'][$modelname] = $mod;
|
| #451 |
|
| #452 | return $mod;
|
| #453 | }
|
| #454 |
|
基本信息
- 模型: /www/wwwroot/www.wanmingwang.com/lecms/model/
- 视图: /www/wwwroot/www.wanmingwang.com/view/qm_pro/
- 控制器: /www/wwwroot/www.wanmingwang.com/lecms/control/hl_control.class.php
- 日志目录: /www/wwwroot/www.wanmingwang.com/runcache/logs/
程序流程
- #0 /www/wwwroot/www.wanmingwang.com/lecms/xiunophp/lib/control.class.php(10): core::model()
- #1 /www/wwwroot/www.wanmingwang.com/runcache/lecms_view/qm_pro,hl_yuejiri.htm.php(452): control->__get()
- #2 /www/wwwroot/www.wanmingwang.com/runcache/lecms_view/qm_pro,hl_yuejiri.htm.php(841): block_list()
- #3 /www/wwwroot/www.wanmingwang.com/lecms/xiunophp/lib/view.class.php(25): include('/www/wwwroot/ww...')
- #4 /www/wwwroot/www.wanmingwang.com/lecms/xiunophp/lib/control.class.php(23): view->display()
- #5 /www/wwwroot/www.wanmingwang.com/runcache/lecms_control/hl_control.class.php(729): control->display()
- #6 /www/wwwroot/www.wanmingwang.com/lecms/xiunophp/lib/core.class.php(341): hl_control->yuejiri()
- #7 /www/wwwroot/www.wanmingwang.com/lecms/xiunophp/lib/core.class.php(11): core::init_control()
- #8 /www/wwwroot/www.wanmingwang.com/lecms/xiunophp/xiunophp.php(100): core::init_start()
- #9 /www/wwwroot/www.wanmingwang.com/index.php(107): require('/www/wwwroot/ww...')
- #10 {main}
SQL
- #0 [time:0.0007s] SELECT * FROM le_runtime WHERE k='cfg' LIMIT 1
- #1 [time:0.0002s] SELECT url_alias_prefix FROM le_ai_qiming_config LIMIT 1
- #2 [time:0.0005s] SELECT mid FROM le_models
- #3 [time:0.0005s] SELECT * FROM le_models WHERE mid='1' OR mid='2' OR mid='3' OR mid='4' OR mid='5'
- #4 [time:0.0086s] SELECT * FROM le_runtime WHERE k='693aea0b1e1a8ca87c15cc17b077f245' LIMIT 1
- #5 [time:0.0021s] SELECT * FROM le_runtime WHERE k='4e808335710b4872d77ba9e8ab9626c6' LIMIT 1
- #6 [time:0.0003s] SELECT * FROM le_runtime WHERE k='1eb52b08622a6bf126e62160c96d7bec' LIMIT 1
- #7 [time:0.0010s] SELECT * FROM le_kv WHERE k='navigate' LIMIT 1
- #8 [time:0.0079s] SELECT * FROM le_runtime WHERE k='98a18ccbb886a3a1e7df57fa1400dd98' LIMIT 1
- #9 [time:0.0170s] SELECT * FROM le_runtime WHERE k='cate_3' LIMIT 1
- #10 [time:0.0016s] SELECT cid FROM le_category ORDER BY orderby ASC ,cid ASC
- #11 [time:0.0015s] SELECT * FROM le_category WHERE cid='1' OR cid='2' OR cid='3' OR cid='4' OR cid='5' OR cid='6' OR cid='7' OR cid='8' OR cid='9' OR cid='10' OR cid='11' OR cid='12' OR cid='13' OR cid='14' OR cid='15' OR cid='16' OR cid='17' OR cid='18' OR cid='19' OR cid='20' OR cid='21' OR cid='22' OR cid='23' OR cid='24' OR cid='25' OR cid='26' OR cid='28' OR cid='29' OR cid='30' OR cid='31' OR cid='32' OR cid='33' OR cid='34' OR cid='35' OR cid='36' OR cid='37' OR cid='38' OR cid='39' OR cid='40'
$_GET
- #control => hl
- #action => yuejiri
- #nian => 1997
- #yue => 12
- #eventpy => dinghun
- #sx => hu
$_POST
$_COOKIE
包含文件
- #0 /www/wwwroot/www.wanmingwang.com/index.php
- #1 /www/wwwroot/www.wanmingwang.com/lecms/xiunophp/xiunophp.php
- #2 /www/wwwroot/www.wanmingwang.com/lecms/config/config.inc.php
- #3 /www/wwwroot/www.wanmingwang.com/lecms/xiunophp/lib/base.func.php
- #4 /www/wwwroot/www.wanmingwang.com/lecms/xiunophp/lib/core.class.php
- #5 /www/wwwroot/www.wanmingwang.com/lecms/xiunophp/lib/debug.class.php
- #6 /www/wwwroot/www.wanmingwang.com/lecms/xiunophp/lib/log.class.php
- #7 /www/wwwroot/www.wanmingwang.com/lecms/xiunophp/lib/model.class.php
- #8 /www/wwwroot/www.wanmingwang.com/lecms/xiunophp/lib/view.class.php
- #9 /www/wwwroot/www.wanmingwang.com/lecms/xiunophp/lib/control.class.php
- #10 /www/wwwroot/www.wanmingwang.com/lecms/xiunophp/db/db.interface.php
- #11 /www/wwwroot/www.wanmingwang.com/lecms/xiunophp/db/db_pdo_mysql.class.php
- #12 /www/wwwroot/www.wanmingwang.com/lecms/xiunophp/cache/cache.interface.php
- #13 /www/wwwroot/www.wanmingwang.com/lecms/xiunophp/cache/cache_memcache.class.php
- #14 /www/wwwroot/www.wanmingwang.com/lecms/xiunophp/ext/network/Network__interface.php
- #15 /www/wwwroot/www.wanmingwang.com/lecms/config/plugin.inc.php
- #16 /www/wwwroot/www.wanmingwang.com/lecms/plugin/editor_um/conf.php
- #17 /www/wwwroot/www.wanmingwang.com/lecms/plugin/le_ai_qiming/conf.php
- #18 /www/wwwroot/www.wanmingwang.com/lecms/plugin/le_category_filter/conf.php
- #19 /www/wwwroot/www.wanmingwang.com/lecms/plugin/le_douhao_ai_article/conf.php
- #20 /www/wwwroot/www.wanmingwang.com/lecms/plugin/le_hl/conf.php
- #21 /www/wwwroot/www.wanmingwang.com/lecms/plugin/le_links/conf.php
- #22 /www/wwwroot/www.wanmingwang.com/lecms/plugin/le_quming_pro/conf.php
- #23 /www/wwwroot/www.wanmingwang.com/lecms/plugin/le_quming_pro_backup/conf.php
- #24 /www/wwwroot/www.wanmingwang.com/lecms/plugin/le_title_pic/conf.php
- #25 /www/wwwroot/www.wanmingwang.com/lecms/plugin/models_filed/conf.php
- #26 /www/wwwroot/www.wanmingwang.com/runcache/misc.func.php
- #27 /www/wwwroot/www.wanmingwang.com/runcache/core_lang/zh-cn.php
- #28 /www/wwwroot/www.wanmingwang.com/runcache/lang/zh-cn.php
- #29 /www/wwwroot/www.wanmingwang.com/runcache/lecms_control/parseurl_control.class.php
- #30 /www/wwwroot/www.wanmingwang.com/runcache/lecms_model/runtime_model.class.php
- #31 /www/wwwroot/www.wanmingwang.com/runcache/lecms_control/hl_control.class.php
- #32 /www/wwwroot/www.wanmingwang.com/runcache/lecms_control/base_control.class.php
- #33 /www/wwwroot/www.wanmingwang.com/runcache/lecms_model/urls_model.class.php
- #34 /www/wwwroot/www.wanmingwang.com/runcache/lecms_model/models_model.class.php
- #35 /www/wwwroot/www.wanmingwang.com/runcache/lecms_model/hl_model.class.php
- #36 /www/wwwroot/www.wanmingwang.com/lecms/plugin/le_hl/lib/vendor/autoload.php
- #37 /www/wwwroot/www.wanmingwang.com/lecms/plugin/le_hl/lib/vendor/composer/autoload_real.php
- #38 /www/wwwroot/www.wanmingwang.com/lecms/plugin/le_hl/lib/vendor/composer/ClassLoader.php
- #39 /www/wwwroot/www.wanmingwang.com/lecms/plugin/le_hl/lib/vendor/composer/autoload_static.php
- #40 /www/wwwroot/www.wanmingwang.com/lecms/plugin/le_hl/lib/src/Solar.php
- #41 /www/wwwroot/www.wanmingwang.com/lecms/plugin/le_hl/lib/src/SolarMonth.php
- #42 /www/wwwroot/www.wanmingwang.com/lecms/plugin/le_hl/lib/src/util/SolarUtil.php
- #43 /www/wwwroot/www.wanmingwang.com/lecms/plugin/le_hl/lib/src/Lunar.php
- #44 /www/wwwroot/www.wanmingwang.com/lecms/plugin/le_hl/lib/src/LunarYear.php
- #45 /www/wwwroot/www.wanmingwang.com/lecms/plugin/le_hl/lib/src/util/ShouXingUtil.php
- #46 /www/wwwroot/www.wanmingwang.com/lecms/plugin/le_hl/lib/src/LunarMonth.php
- #47 /www/wwwroot/www.wanmingwang.com/lecms/plugin/le_hl/lib/src/util/LunarUtil.php
- #48 /www/wwwroot/www.wanmingwang.com/runcache/lecms_view/qm_pro,hl_yuejiri.htm.php
- #49 /www/wwwroot/www.wanmingwang.com/runcache/lecms_model/kv_model.class.php
- #50 /www/wwwroot/www.wanmingwang.com/runcache/lecms_model/category_model.class.php
- #51 /www/wwwroot/www.wanmingwang.com/runcache/lecms_model/cms_content_model.class.php
- #52 /www/wwwroot/www.wanmingwang.com/lecms/xiunophp/tpl/exception.php
其他信息
- 请求路径: /huangli/1997-12-dinghun-hu.html
- 当前时间: 2026-03-27 06:24:59
- 当前网协: 216.73.216.167
- 运行时间: 0.8787
- 内存开销: 3.69 MB