$limit = trim(eregi_replace('limit','',$limit)); if($limit!='') $limitsql = " limit $limit "; else $limitsql = " limit 0,7 "; $orwhere = ''; if(isset($orwheres[0])) { $orwhere = join(' And ',$orwheres); $orwhere = ereg_replace("^ And",'',$orwhere); $orwhere = ereg_replace("And[ ]{1,}And",'And ',$orwhere); } if($orwhere!='') $orwhere = " where $orwhere ";//二次开发--------------------------------------------------------------------------------
function lib_channel(&$ctag,&$refObj) { global $dsql; $attlist = "typeid|0,reid|0,row|100,col|1,type|son,currentstyle|,cacheid|"; FillAttsDefault($ctag->CAttribute->Items,$attlist); extract($ctag->CAttribute->Items, EXTR_SKIP); $innertext = $ctag->GetInnerText(); $line = empty($row) ? 100 : $row;----------------------------------------------------------
版权声明: 本站资源均来自互联网或会员发布,如果侵犯了您的权益请与我们联系,我们将在24小时内删除!谢谢!