endif;
$docid = request()->param('docid/d', 0);
if(!empty($docid)):
$id = $docid;$type='doc';
endif;
$where = 'id='.$id;
$cache = 0;$cacheID = to_guid_string(['module'=>'cms','action'=>'page','catid'=>$catid,'where'=>$where,'return'=>'data','page'=>0]);if($cache && $_return = Cache::get($cacheID)):$data = $_return;else: $cmsTagLib = app("\\app\\cms\\taglib\\CmsTagLib");if(method_exists($cmsTagLib, "page")):$data = $cmsTagLib->page(['module'=>'cms','action'=>'page','catid'=>$catid,'where'=>$where,'return'=>'data','page'=>0]);if($cache):Cache::set($cacheID, $data, $cache);endif;endif;endif; $cache = 0;$cacheID = to_guid_string(['module'=>'cms','action'=>'getMeetList','catid'=>$catid,'type'=>$type,'did'=>$id,'return'=>'result','page'=>0]);if($cache && $_return = Cache::get($cacheID)):$result = $_return;else: $cmsTagLib = app("\\app\\cms\\taglib\\CmsTagLib");if(method_exists($cmsTagLib, "getMeetList")):$result = $cmsTagLib->getMeetList(['module'=>'cms','action'=>'getMeetList','catid'=>$catid,'type'=>$type,'did'=>$id,'return'=>'result','page'=>0]);if($cache):Cache::set($cacheID, $result, $cache);endif;endif;endif;
$count = count($result);
$frist = $result[0]['nu'];
$last = ($count-1) > 1 ? $result[$count-1]['nu'] : '';
$show_source = true;
$pos = strpos($frist, 'M');
if($pos===0 || $pos===1):
$show_source = false;
endif;