<?php echo $auto->getModel()->getTitle(); ?> - <?php if ($auto->getPrice() === NULL || $auto->getPrice() == 0) { ?> Call for Price <?php } else { ?> $<?php echo number_format($auto->getPrice(), 2); ?> <?php echo $auto->getPricePostfix(); ?> <?php } ?> </h3> <p> <a href="<?php echo $this->base_page; ?> ">View All</a> </p> <p><?php echo $auto->getDescription(); ?>
<tr> <th> <label for="squirrels_price">Price:</label> </th> <td> <input id="squirrels_price" value="$<?php echo number_format($auto->getPrice(), 2); ?> " /> </td> <th> <label for="squirrels_price_postfix">Text After Price:</label> </th> <td> <input id="squirrels_price_postfix" value="<?php echo esc_html($auto->getPricePostfix()); ?> " /> </td> </tr> <tr> <th> <label for="squirrels_description">Description:</label> </th> <td colspan="2"> <textarea id="squirrels_description" style="width:100%; height:100px;"><?php echo htmlspecialchars($auto->getDescription()); ?> </textarea> </td>