All pastes #470793 Raw Edit

Mine

public php v1 · immutable
·published 2007-05-04 14:20 UTC
rendered paste body
<h2>Your search returned <?=$found_rows?> results</h2><?=$this->pagination->create_links()?><?php foreach ($results as $house):?>	<div class="house">		<h3>$<?=number_format($house->list_price, 0)?></h3>		<h1><?=anchor('mls_listing/details/' . $house->mls_number, $house->street_number . " " . $house->street_name . " / " . $house->city . ", " . $house->state . " " . $house->zip_code)?></h1>		<?php if (isset($images[$house->mls_number])):?><a href="<?='/mls_listing/details/' . $house->mls_number?>.html"><img src="<?=(is_object($images[$house->mls_number][0])) ? $images[$house->mls_number][0]->link : $images[$house->mls_number][0]['link']?>" alt="<?=$house->mls_number?>" /></a><?php endif; ?>		<table border="0">			<tr>				<td><?=$house->property_category?><br />MLS: <?=$house->mls_number?></td><td>Bedrooms: <?=$house->number_of_bedrooms?><br />Bathrooms: <?=$house->number_of_full_baths?></td><td><?=number_format($house->building_square_feet, 0)?> Sq. Ft.<br /><?=$house->number_of_garage_spaces?>-Car Garage</td><td valign="top">Taxes: $<?=number_format($house-> property_taxes)?></td>			</tr>			<tr>				<td colspan="4">Description: <?=$house-> public_remarks?></td>			</tr>			<tr>				<td colspan="4"><em>Offered by: <?=$house->listing_office_name?></em></td>			</tr>		</table>	</div><?php endforeach; ?><?=$this->pagination->create_links()?>