function dp_itagLink($tagid,$tagname=''){ include_once(ECMS_PATH.'e/dongpo/itag/dp_funs.php'); $url=dp_itag_url($tagid,$tagname); return $url; } function dp_itagClassLink($cid){ include_once(ECMS_PATH.'e/dongpo/itag/dp_funs.php'); $url=dp_itag_curl($cid); return $url; } function dp_itagHtml($classid,$id){ global $empire,$dbtbpre,$dp_itag; include_once(ECMS_PATH.'e/dongpo/itag/dp_funs.php'); if(empty($dp_itag)){ $sr=$empire->fetch1("select * from {$dbtbpre}dp_itag_set where k='all'"); $dp_itag=json_decode($sr['v'],true); if(empty($dp_itag)){ return false; } } $sql=$empire->query("select tagid from {$dbtbpre}enewstagsdata where classid='$classid' and id='$id'"); while($r=$empire->fetch($sql)){ $add=$empire->fetch1("select * from {$dbtbpre}enewstags where tagid='$r[tagid]' limit 1"); $addr=$empire->fetch1("select * from {$dbtbpre}dp_itag where tagid='$r[tagid]' limit 1"); if(!$dp_itag['ishtml']){ iTagDelCache($addr['tagid'],$addr['py']); }else{ iTagHtml($add,$addr); } } }
老哥插件装好了,报这错误为啥 |