public function getResultTable($posting, $location = null) { echo '<table class="resultheader" id="jobs" cellspacing=0>'; echo '<tr>'; echo '<th class="jobtype">'; echo 'Type'; echo '</th>'; echo '<th class="jobcategory1">'; echo 'Category'; echo '</th>'; echo '<th class="title">'; echo 'Description'; echo '</th>'; echo '<th class="price">'; echo 'Salary <br />(' . $location->getCurrencyAndSymbol() . ')'; echo '</th>'; echo '</tr>'; foreach ($posting as $key => $value) { echo '<tr class="postingrow">'; echo $this->getPostingInfoLinkHtml(self::JobTypeShortFormat($value->cat1), $value->postingid); echo $this->getPostingInfoLinkHtml($value->cat2name . ' <br/>(' . $value->cat3name . ') ', $value->postingid); echo $this->getPostingInfoLinkHtml($value->title, $value->postingid); echo $this->getPostingInfoLinkHtml($value->priceDisplay, $value->postingid); echo '</tr>'; } echo '</table>'; return parent::getResultTable($posting); }
public function getResultTable($posting, $location = null) { try { echo '<table class="resultheader" id="realesate" cellspacing=0>'; echo '<tr>'; echo '<th class="cuisine">'; echo 'Cuisine'; echo '</th>'; echo '<th class="location">'; echo 'Location'; echo '</th>'; echo '<th class="title">'; echo 'Title'; echo '</th>'; echo '<th class="rating">'; echo 'Menu'; echo '</th>'; echo '<th class="rating">'; echo 'Rating'; echo '</th>'; echo '<th class="price">'; echo 'Price <br />(' . $location->getCurrencyAndSymbol() . ')'; echo '</th>'; echo '</tr>'; foreach ($posting as $key => $value) { echo '<tr class="postingrow">'; echo $this->getPostingInfoLinkHtml($value->cat2name, $value->postingid); echo $this->getPostingInfoLinkHtml($value->suburb, $value->postingid); echo $this->getPostingInfoLinkHtml($value->title, $value->postingid); echo $this->getPostingInfoLinkHtml(empty($value->attachment) ? "No" : "Yes", $value->postingid); echo $this->getPostingInfoLinkHtml(Common::Rate($value->rateNum), $value->postingid); echo $this->getPostingInfoLinkHtml($value->priceDisplay, $value->postingid); echo '</tr>'; } echo '</table>'; } catch (Exception $e) { logError('get results for restaurants', $e); echo $e; } return parent::getResultTable($posting); }
public function getResultTable($posting, $location = null) { try { echo '<table class="resultheader" id="realesate" cellspacing=0>'; echo '<tr>'; echo '<th class="cuisine">'; echo 'Business<br />Type'; echo '</th>'; echo '<th class="suburb">'; echo 'Suburb'; echo '</th>'; echo '<th class="businessname">'; echo 'Business Name'; echo '</th>'; echo '<th class="rating">'; echo 'Rating'; echo '</th>'; echo '</tr>'; foreach ($posting as $key => $value) { echo '<tr class="postingrow">'; echo $this->getPostingInfoLinkHtml($value->cat2name, $value->postingid); echo $this->getPostingInfoLinkHtml($value->suburb, $value->postingid); echo $this->getPostingInfoLinkHtml($value->title, $value->postingid); echo $this->getPostingInfoLinkHtml(Common::Rate($value->rateNum), $value->postingid); echo '</tr>'; } echo '</table>'; } catch (Exception $e) { logError('get results for classifieds', $e); echo $e; } return parent::getResultTable($posting); }
public function getResultTable($posting, $location = null) { try { echo '<table class="resultheader" id="classifieds" cellspacing=0>'; echo '<tr>'; echo '<th class="cuisine">'; echo 'Category'; echo '</th>'; echo '<th class="location">'; echo 'Suburb'; echo '</th>'; echo '<th class="title">'; echo 'Title'; echo '</th>'; echo '<th class="photo">'; echo 'Photo'; echo '</th>'; echo '<th class="price">'; echo 'Price <br />(' . $location->getCurrencyAndSymbol() . ')'; echo '</th>'; echo '</tr>'; foreach ($posting as $key => $value) { echo '<tr class="postingrow">'; echo $this->getPostingInfoLinkHtml($value->cat2name, $value->postingid); echo $this->getPostingInfoLinkHtml($value->suburb, $value->postingid); echo $this->getPostingInfoLinkHtml($value->title, $value->postingid); if (Pstposting::photoExists($value->photo)) { $tmpBool = "Yes"; } else { $tmpBool = "No"; } echo $this->getPostingInfoLinkHtml($tmpBool, $value->postingid); echo $this->getPostingInfoLinkHtml($value->priceDisplay, $value->postingid); echo '</tr>'; } echo '</table>'; } catch (Exception $e) { logError('get results for classifieds', $e); echo $e; } return parent::getResultTable($posting); }
public function getResultTable($posting, $location = null) { try { echo '<table class="resultheader" id="realesate" cellspacing=0>'; echo '<tr>'; echo '<th class="cuisine">'; echo 'Type'; echo '</th>'; echo '<th class="location">'; echo 'Location'; echo '</th>'; echo '<th class="title">'; echo 'Title'; echo '</th>'; echo '<th class="bed">'; echo 'Bed'; echo '</th>'; echo '<th class="cars">'; echo 'Cars'; echo '</th>'; echo '<th class="bath">'; echo 'Bath'; echo '</th>'; echo '<th class="photo">'; echo 'Photo'; echo '</th>'; echo '<th class="price">'; echo 'Price <br />(' . $location->getCurrencyAndSymbol() . ')'; echo '</th>'; echo '</tr>'; foreach ($posting as $key => $value) { echo '<tr class="postingrow">'; echo $this->getPostingInfoLinkHtml($value->cat3name, $value->postingid); echo $this->getPostingInfoLinkHtml($value->suburb, $value->postingid); echo $this->getPostingInfoLinkHtml($value->address, $value->postingid); echo $this->getPostingInfoLinkHtml(Tag::getUnitsAmount($value->bed), $value->postingid); echo $this->getPostingInfoLinkHtml(Tag::getUnitsAmount($value->cars), $value->postingid); echo $this->getPostingInfoLinkHtml(Tag::getUnitsAmount($value->bath), $value->postingid); if (empty($value->photo) || $value->photo == '0000') { $tmpbool = 'No'; } else { $tmpbool = 'Yes'; } echo $this->getPostingInfoLinkHtml($tmpbool, $value->postingid); echo $this->getPostingInfoLinkHtml($value->priceDisplay, $value->postingid); echo '</tr>'; } echo '</table>'; } catch (Exception $e) { logError('get results for realestate', $e); echo $e; } return parent::getResultTable($posting); }
public function getResultTable($posting, $location = null) { try { echo '<table class="resultheader" id="realesate" cellspacing=0>'; echo '<tr>'; echo '<th class="cuisine">'; echo 'Type'; echo '</th>'; echo '<th class="suburb">'; echo 'Suburb'; echo '</th>'; echo '<th class="title">'; echo 'Title'; echo '</th>'; echo '<th class="makeyear">'; echo 'Make / Year'; echo '</th>'; echo '<th class="model">'; echo 'Model'; echo '</th>'; echo '<th class="photo">'; echo 'Photo'; echo '</th>'; echo '<th class="price">'; echo 'Price <br />(' . $location->getCurrencyAndSymbol() . ')'; echo '</th>'; echo '</tr>'; foreach ($posting as $key => $value) { echo '<tr class="postingrow">'; echo $this->getPostingInfoLinkHtml($value->cat1name, $value->postingid); echo $this->getPostingInfoLinkHtml($value->suburb, $value->postingid); echo $this->getPostingInfoLinkHtml($value->title, $value->postingid); echo $this->getPostingInfoLinkHtml($value->cat2name . " / " . $value->makeYear, $value->postingid); echo $this->getPostingInfoLinkHtml($value->cat3name, $value->postingid); if (empty($value->photo) || $value->photo == '0000') { $tmpBool = 'No'; } else { $tmpBool = 'Yes'; } echo $this->getPostingInfoLinkHtml($tmpBool, $value->postingid); echo $this->getPostingInfoLinkHtml($value->priceDisplay, $value->postingid); echo '</tr>'; } echo '</table>'; } catch (Exception $e) { logError('get results for realestate', $e); echo $e; } return parent::getResultTable($posting); }