Ejemplo n.º 1
0
            echo $event->id;
            ?>
">

				<header>
					<h4><?php 
            echo html::anchor(url::model($event), text::title($event->name));
            ?>
</h4>
				</header>

				<?php 
            if ($event->price !== null && $event->price != -1) {
                ?>
				<span class="details price"><?php 
                echo $event->price == 0 ? __('Free entry') : '<var>' . format::money($event->price, $event->country->currencycode) . '</var>';
                ?>
</span>
				<?php 
            }
            ?>

				<?php 
            if ($event->venue_id) {
                ?>
				<span class="details venue">@ <?php 
                echo html::anchor(url::model($event->venue), $event->venue->name);
                ?>
, <?php 
                echo html::chars($event->venue->city->city);
                ?>
Ejemplo n.º 2
0
    echo __('Free entry');
    ?>
</dd>
				<?php 
} elseif ($event->price > 0) {
    ?>
				<dt><?php 
    echo __('Tickets');
    ?>
</dt>
				<dd><?php 
    echo __(':price by the door', array(':price' => '<var>' . format::money($event->price, $event->country->currencycode) . '</var>'));
    ?>
</dd>
				<?php 
    echo $event->price2 !== null ? '<dd>' . __('presale :price', array(':price' => '<var>' . format::money($event->price2) . '</var>')) . '</dd>' : '';
    ?>
				<?php 
}
?>

				<?php 
if (count($event->tags->find_all())) {
    ?>
				<dt><?php 
    echo __('Music');
    ?>
</dt><dd><?php 
    foreach ($event->tags->find_all() as $tag) {
        echo $tag->name;
        ?>