debug = FALSE; // field(s) to search in string or array of fields //$paginator->fields = 'Project'; $paginator->fields = array('Project','City'); $paginator->searchQuery = $searchQuery; // call the core function that paginates $rows = $paginator->paginate(); ?>

Residential Featured Projects (names in red indicates new construction)


$value){ echo ""; } ?>     

\n"; foreach($rows as $row){ echo "\n"; if ($columnas == 3) { $columnas = 0; echo "\n\n"; } else { $columnas++; } } echo "\n
\n"; echo "
\n"; echo "
\n"; if ($row['New'] == 1) { echo "{$row['Project']}
\n"; } else { echo "{$row['Project']}  
\n"; } echo "{$row['City']}
\n"; echo "{$row['Desc']}
\n"; echo "{$row['Bedrooms']}
\n"; echo "From {$row['From']} to {$row['To']} {$row['Units']}
\n"; echo "
\n"; echo "
\n"; $links = $paginator->getLinks (); echo "
" . $links ; echo " (Pages: " . $paginator->totalPages . " - Properties: " . $paginator->affected_rows . ")"; echo "
"; ?>