{dede:field name='id' runphp='yes'} global $refObj,$cfg_webname,$cfg_basehost; $RO=(isset($this)&&is_object($this->refObj))?$this->refObj:$refObj; $F=is_object($RO)&&isset($RO->Fields)&&is_array($RO->Fields)?$RO->Fields:array(); $isDoc=(strpos($_SERVER['SCRIPT_NAME'],'view.php')!==false); if($isDoc){ $otRaw=isset($F['title'])?trim(strip_tags((string)$F['title'])):''; } else { $otRaw=!empty($F['typename'])?trim((string)$F['typename']):(isset($F['title'])?trim(strip_tags((string)$F['title'])):''); } $ot=htmlspecialchars($otRaw,ENT_QUOTES); $reqHost=isset($_SERVER['HTTP_HOST'])?$_SERVER['HTTP_HOST']:''; $reqUri=isset($_SERVER['REQUEST_URI'])?$_SERVER['REQUEST_URI']:'/'; $reqPath=parse_url($reqUri,PHP_URL_PATH); $reqQuery=parse_url($reqUri,PHP_URL_QUERY); $keep=array(); if($reqQuery){ parse_str($reqQuery,$qq); foreach(array('tid','aid','keyword') as $rk){ if(isset($qq[$rk])&&$qq[$rk]!=='') $keep[$rk]=$qq[$rk]; } } $canon='http://'.$reqHost.$reqPath.($keep?('?'.http_build_query($keep)):''); $wbase=trim((string)$cfg_basehost,'/'); if($wbase==='') $wbase='http://'.$reqHost; $wjson=array('@context'=>'https://schema.org','@type'=>'WebSite','name'=>$cfg_webname,'url'=>$wbase.'/'); $extra=''; if($isDoc){ $pub=!empty($F['pubdate'])?intval($F['pubdate']):(!empty($F['senddate'])?intval($F['senddate']):0); $img=''; if(!empty($F['litpic'])){ $img=trim((string)$F['litpic']); if($img&&strpos($img,'http')!==0){ $img='http://'.$reqHost.'/'.ltrim($img,'/'); } } $art=array('@context'=>'https://schema.org','@type'=>'Article','headline'=>$otRaw,'mainEntityOfPage'=>$canon,'url'=>$canon); if($pub) $art['datePublished']=date('c',$pub); if($img) $art['image']=$img; $art['author']=array('@type'=>'Organization','name'=>$cfg_webname); $art['publisher']=array('@type'=>'Organization','name'=>$cfg_webname); $extra=''; } $DedeMeValue=''."\n" .''."\n" .''."\n" .''."\n" .''."\n".$extra; {/dede:field}

格莱姆斯

本站为您聚合格莱姆斯的最新比赛动态、直播与相关资讯。 所属球队:76人
最新赛程 / 直播
76人07-16 04:00
魔术VS76人
看录像
76人07-15 04:00
76人VS火箭
看录像
76人07-12 05:30
步行者VS76人
看录像
76人07-10 05:30
活塞VS76人
看录像
76人04-25 07:00
凯尔特人VS76人
看录像
76人04-22 07:00
76人VS凯尔特人
看录像
同队球员名单
相关资讯报道