All pastes #967743 Raw Edit

Vermischtes

public php v1 · immutable
·published 2008-04-02 16:49 UTC
rendered paste body
<?php// auto-generated by sfPropelCrud// date: 2008/04/01 22:17:11?><h1 class="Event">Gea Termine</h1><?php foreach ($pager->getResults() as $termin): ?><!-- For retailer info --><?php $retailer = RetailerPeer::retrieveByPk($termin->getRetailerId()) ?><div id="Event">   <table>   <tr> <td colspan="2" class="EventTitle"> <?php echo link_to($termin->getTitel(), 'event/show?id='.$termin->getId()) ?> </td> </tr>   <tr> <td class="EventInfo"> <b>Ort: </b> </td> <td class="EventInfo"> <?php echo $retailer->getAdress() ?> </td> </tr>   <tr> <td> </td> <td class="EventInfo"> <?php echo $retailer->getCity() ?> </td> </tr>   <tr> <td class="EventInfo"> <b>Beginn: </b> </td> <td class="EventInfo"> <?php echo $termin->getBeginn() ?> </td> </tr>   <tr> <td class="EventInfo"> <b>Ende: </b> </td> <td class="EventInfo"> <?php echo $termin->getEnde() ?> </td> </tr>   <tr> <td class="EventInfo"> <b>Preis: </b> </td> <td class="EventInfo"> <?php echo $termin->getPreis() ?> Euro </td> </tr>      </table>   </div> <?php endforeach; ?><?php if ($pager->haveToPaginate()): ?>	<?php echo link_to('&laquo;', 'event/list?page='.$pager->getFirstPage()) ?>	<?php echo link_to('&lt', 'event/list?page='.$pager->getPreviousPage()) ?>	<?php $links = $pager->getLinks(); foreach ($links as $page): ?>		<?php echo ($page == $pager->getPage()) ? $page : link_to($page, 'event/list?page='.$page) ?>		<?php if ($page != $pager->getCurrentMaxLink()) : ?> - <?php endif; ?>	<?php endforeach; ?>	<?php echo link_to('&gt;', 'event/list?page='.$pager->getNextPage()) ?>    <?php echo link_to('&raquo;', 'event/list?page='.$pager->getLastPage()) ?><?php endif; ?>