17
0
1562
版主
if($getall==0 && isset($refObj->Fields['tags']) && !empty($refObj->Fields['aid'])) { $dsql->SetQuery("Select tid From `#@__taglist` where aid = '{$refObj->Fields['aid']}' "); $dsql->Execute(); $ids = ''; while($row = $dsql->GetArray()) { $ids .= ( $ids=='' ? $row['tid'] : ','.$row['tid'] ); } if($ids != '') { $addsql = " where id in($ids) "; } if($addsql=='') return ''; } else if($getall==2) { $addsql = " where typeid='{$refObj->Fields['typeid']}' "; } else { if(!empty($typeid)) { $addsql = " where typeid='$typeid' "; } }
使用道具 举报
发表回复 回帖并转播 回帖后跳转到最后一页
Archiver|手机版|588创业网 ( 闽ICP备08003622号-6 )
GMT+8, 2024-11-16 14:48 , Processed in 0.148086 second(s), 24 queries .
Powered by bbs.588cy.com
© 2001-2012 Discuz! X2.5