include_once "../phpinc/text.inc"; include_once "../phpinc/config.inc"; include_once "../phpinc/head.php"; include_once "../phpinc/class.inc"; $obj_sFunc = new commFunc; $obj_sFunc->class_db_connect(DB_HOST, DB_USER, DB_PASSWORD, DB_DATABASE); if ( empty($_REQUEST['order']) ) $_REQUEST['order'] = "col_jiage"; if ( empty($_REQUEST['order_type']) ) $_REQUEST['order_type'] = "asc"; $sqlSelInfo = "select * from tbl_bangong where col_active=0"; $sqlSelNUm = str_replace("*", "count(1) as count", $sqlSelInfo); $sqlSelInfo .= " order by ".$_REQUEST['order']." ".$_REQUEST['order_type']; $sqlSelInfo = $obj_sFunc->getPageInfo($sqlSelInfo, SHOWNUMBER); $v = $obj_sFunc->class_db_select($sqlSelInfo); $arrSelNumResult = $obj_sFunc->class_db_select($sqlSelNUm); if ( empty($arrSelNumResult[0]['count']) ) $arrSelNumResult[0]['count'] = 0; if ( empty($_REQUEST['page']) ) $_REQUEST['page'] = 1; $iTotalPages = Ceil($arrSelNumResult[0]['count']/ SHOWNUMBER); ?>
|
||||||||||||||||||||||
echo $sZulinXiangfuhe. $arrSelNumResult[0]['count'].$sZulinJianshu.$iTotalPages.$sZulinJianshu2 ?> | ||||||||||||||||||||||
◆ echo $sStationSearchResult; ?> |
||||||||||||||||||||||
|
||||||||||||||||||||||
|
||||||||||||||||||||||