getTotal("select id from XX_ENTERPRISES where Grade=$val"); $data=$database->getData($select." where Grade=$val",($page-1)*$per_enterprise,$page*$per_enterprise - 1); $pgstr = "index.php?qyjb=$val&"; }else if ($kind==2){ $total=$database->getTotal("select enterprise_id from XX_ENTERPRISE_TYPE where type_id=$val"); $ids = $database->getData("select enterprise_id from XX_ENTERPRISE_TYPE where type_id=$val",($page-1)*$per_enterprise,$page*$per_enterprise - 1); $cnt = count($ids); $in = "'"; for ($i=0;$i<$cnt;$i++) $in.=$ids[$i][0]."','"; $data=$database->getData($select." where Grade<20 and id in (".substr($in,0,-2).") order by grade",0,$per_enterprise - 1); $pgstr = "index.php?typeid=$val&"; }else{ $where = "name_e like '%$val%' or address_e like '%val%' or product_e like '%val%'"; $total=$database->getTotal("select id from XX_ENTERPRISES where $where"); $data=$database->getData($select." where $where",($page-1)*$per_enterprise,$page*$per_enterprise - 1); $pgstr = "index.php?key=$val&"; } $ret=displayEP($data,$col); $pagestr = PageLink($total,$per_enterprise,$pgstr,$page); if ($total>$per_enterprise) $ret.="$pagestr"; $ret=" Company Of Current Directory: ".$ret."   "; return $ret; } if (empty($typeid)) $typeid=0; if ($typeid==0){ if (!empty($qyjb)) $content="".CurrentEP(1,$qyjb,1)."
"; else if (!empty($key)) $content="".CurrentEP(3,$key,1)."
"; else $content=displayType($typeid,2)."\r\n\r\n"; }else $content="".CurrentEP(2,$typeid,1)."
".displayType($typeid,2)."
"; ?> China Leather Industry Association

KEY:
Member:

 

 

 
Copyrigh © China Leather Industry Association ADD:Beijing Wangfujin Street
EMAIL:master@leather.com.cn TEL:086-10-65261935 FAX:086-10-65231698