0&&IsValidChr($ClickTitle)){ $where.="GQ_TYPE='$ClickTitle' AND "; $link.="ClickTitle=$ClickTitle&"; } if (isset($selectType)&&strlen($selectType)>0&&IsValidChr($selectType)){ $where.="GQ_SUPPY='$selectType' AND "; $link.="selectType=$selectType&"; } if (isset($selectArea)&&strlen($selectArea)>0&&IsValidChr($selectArea)){ $where.="GQ_AREA='$selectArea' AND "; $link.="selectArea=$selectArea&"; } if (isset($inputtitle)&&strlen($inputtitle)>0&&IsValidChr($inputtitle)){ $where.="GQ_TITLE like '%$inputtitle%' AND "; $link.="inputtitle=$inputtitle&"; } if (isset($selectContent)&&strlen($selectContent)>0&&IsValidChr($selectContent)){ $where.="GQ_TEXT like '%$selectContent%' AND "; $link.="selectContent='$selectContent'&"; } if (strlen($where)<=7) $where = ""; else{ $where = substr($where,0,-5); } $syn.=$where." ORDER BY GQ_TIME DESC"; //echo $syn; if (!isset($page)) $page=1; $data=$database->getData($syn,($page-1)*$rowsperpage,$page*$rowsperpage-1); if (is_array($data)) $cnt = count($data); else $cnt = 0; $pagestr = PageLink($database->getTotal($syn),$rowsperpage,$link,$page); if (!isset($selectType)) $selectType=""; if (!isset($ClickTitle)) $ClickTitle=""; ?> China Leather Industry Association

[]