0 ? implode("&",$url_param_array) : 'guid=ON'; $limit = " ORDER BY create_time DESC LIMIT ".(($_GET["curpage"]-1)*$disp_per_page).",".$disp_per_page; //DB $objDbh = new Db; $objDbh->setAccount(MYSQL_HOST, MYSQL_USER, MYSQL_PASSWORD, MYSQL_DB); $objDisney = new DbDisney($objDbh); $extra_sql = count($extra_sql_array) > 0 ? implode( " AND ", $extra_sql_array ): false; $order_array = $objDisney->getActiceOrderCommonArray( $extra_sql, $limit ); $all_count = $objDisney->getActiveOrderCommonCount( $extra_sql ); $org_array = $objDisney->getBaseOrgArray(); $org_temp_array = array(); foreach( $org_array as $org_info ) { $org_temp_array[$org_info["org_id"]] = $org_info; } $org_array = $org_temp_array; $max_page = ceil($all_count/$disp_per_page); $url_base = $page_name."?".$url_param; ?>
订单编号 | 订单内容 | 订单金额 | 订单源 | 下单时间 | 支付信息 | 用户信息 | 备注 | '.$order_info["order_serial_no"].' | '; echo ''.$order_info["prod_name"]." "; echo $order_info["start_day"]; if( mb_strlen($order_info["start_time"]) > 0 ) { echo " ".$order_info["start_time"]; } if( $order_info["prod_id"] == 1 || $order_info["prod_id"] == 2 || $order_info["prod_id"] == 18 || $order_info["prod_id"] == 16 ) { echo "-".$order_info["end_day"]." ".$order_info["end_time"]; if( mb_strlen($order_info["start_time2"]) > 0 ) { echo " ".$order_info["start_day2"]." ".$order_info["start_time2"]."-".$order_info["end_day2"]." ".$order_info["end_time2"]; } } echo ' | ';
echo ''.$order_info["order_price"].' | '; if( isset($org_array[$order_info["org_id"]]) ) { echo ''.$org_array[$order_info["org_id"]]["org_name"].' | '; } else { echo '- | '; } echo ''.$order_info["create_time"].' | '; if( $order_info['is_payed'] == 1 ) { echo ''.$_ary_pay_type[$order_info['pay_type']].' 支付号:'.$order_info["pay_no"] . ' | ';
} else if( $order_info['order_user_id'] > 0 ){
echo '酒店代收现金 | '; } else { echo '未支付 | '; } echo ''.$order_info["cus_name"].' '.$order_info["cus_mobile"].' '.$order_info["cus_iden"].' | ';
echo ''; echo ''; } ?> |