0 )
{
foreach( $aryMstList as $aryItem )
{
$showID = $aryItem['ppt_id'];
$showName = nl2br(htmlspecialchars($aryItem['ppt_address']));
$showGross = $aryItem['ppt_gross_area'];
$showNetArea = $aryItem['ppt_net_area'];
$showRent = number_format( $aryItem['ppt_rent'] , 0 );
$showSell = number_format( $aryItem['ppt_price'] , 1 );
$showSell = str_replace( '.0' , '' , $showSell );
$showContNo1 = $aryItem['ppt_contact_no_1'];
$showContName1 = $aryItem['ppt_contact_name_1'];
$showRemarks = nl2br(htmlspecialchars($aryItem['ppt_remarks']));
//
$showUrl = 'property_details.php?id='.$showID;
$showUrl.= ( isset($buy) && is_numeric($buy) ) ? '&buy='.$buy : '';
$showUrl.= ( isset($rent) && is_numeric($rent) ) ? '&rent='.$rent : '';
$showUrl.= ( isset($cate) && is_numeric($cate) ) ? '&cate='.$cate : '';
$showUrl.= ( isset($dist) && is_numeric($dist) ) ? '&dist='.$dist : '';
$showUrl.= ( isset($area) && is_numeric($area) ) ? '&area1='.$area : '';
$showUrl.= ( isset($area1) && is_numeric($area1) ) ? '&area1='.$area1 : '';
$showUrl.= ( isset($area2) && is_numeric($area2) ) ? '&area2='.$area2 : '';
$showUrl.= ( isset($price1) && is_numeric($price1) ) ? '&price1='.$price1 : '';
$showUrl.= ( isset($price2) && is_numeric($price2) ) ? '&price2='.$price2 : '';
$showUrl.= ( isset($wid) && is_numeric($wid) ) ? '&wid='.$wid : '';
$showUrl.= ( isset($sort) && is_numeric($sort) ) ? '&sort='.$sort : '';
$showUrl.= ( isset($page) && is_numeric($page) ) ? '&page='.$page : '';
$showA1 = '
';
$showA2 = '';
//
$showCover = '';
// $ary['coverImg']
if ( $aryItem['coverImg'] != '')
{
if (file_exists('../'.$aryItem['coverImg']))
{
$showCover = '../'.$aryItem['coverImg'];
$coverPath = img_path($showCover, 'inner');
if (file_exists($coverPath)) {
$showCover = $coverPath;
}
}
}
?>
-
-
-
'.$showContNo1.''; ?>
()
-
0 ) ? "&wid=".$wid : '' ;
$urlBase.= ( $rent != '' && is_numeric($rent) && $rent == 1 ) ? "&rent=".$rent : '' ;
$urlBase.= ( $buy != '' && is_numeric($buy) && $buy == 1 ) ? "&buy=".$buy : '' ;
$urlBase.= ( $cate != '' && is_numeric($cate) && $cate > 0 ) ? "&cate=".$cate : '' ;
$urlBase.= ( $dist != '' && is_numeric($dist) && $dist > 0 ) ? "&dist=".$dist : '' ;
$urlBase.= ( $price1 != '' && is_numeric($price1) && $price1 > 0 ) ? "&price1=".$price1 : '' ;
$urlBase.= ( $price2 != '' && is_numeric($price2) && $price2 > 0 ) ? "&price2=".$price2 : '' ;
$urlBase.= ( $area != '' && is_numeric($area) && $area > 0 ) ? "&area=".$area : '' ;
$urlBase.= ( $area1 != '' && is_numeric($area1) && $area1 > 0 ) ? "&area1=".$area1 : '' ;
$urlBase.= ( $area2 != '' && is_numeric($area2) && $area2 > 0 ) ? "&area2=".$area2 : '' ;
$urlBase.= ( $sort != '' && is_numeric($sort) && $sort > 0 ) ? "&sort=".$sort : '' ;
//
$urlBack = $urlBase.'&page='.$pageBack;
$urlNext = $urlBase.'&page='.$pageNext;
?>