Beispiel #1
0
				<?php 
    $fecha = "";
    foreach ($eventos as $evento) {
        if ($fecha != txtFecha($evento['fecha_inicio'])) {
            $fecha = txtFecha($evento['fecha_inicio']);
            ?>
						<h3><?php 
            echo $fecha;
            ?>
</h3>
					<?php 
        }
        ?>
					<div>
					<h4><?php 
        echo txtHora($evento['fecha_inicio']) . ($evento['fecha_final'] == '' ? '' : ' a' . txtHora($evento['fecha_final']) . (txtFecha($evento['fecha_inicio']) != txtFecha($evento['fecha_final']) ? ' del día ' . txtFecha($evento['fecha_final']) : ''));
        ?>
 <?php 
        echo $evento['titulo'];
        ?>
</h4>
					<?php 
        if ($evento['lugar'] != '') {
            ?>
						en <?php 
            echo $evento['lugar'];
            ?>
					<?php 
        }
        if ($evento['localidad'] != '') {
            ?>
Beispiel #2
0
if ($agendaFecha != txtFecha($fecha_inicio)) {
    $agendaFecha = txtFecha($fecha_inicio);
    ?>
	<span class="agenda_date"><?php 
    echo txtFecha($fecha_inicio);
    ?>
</span>
<?php 
}
$link = $ses->link('portada', $contenido_id, $contenido_titulo);
?>
<a href="<?php 
echo $link;
?>
" class="agenda_hora"><?php 
echo txtHora($fecha_inicio) . ($fecha_final == '' ? '' : ' a' . txtHora($fecha_final));
?>
 
<span class="agenda_titulo"><?php 
echo $titulo;
?>
</span></a>
<?php 
if ($lugar != '') {
    ?>
	<span class="agenda_lugar">en <?php 
    echo $lugar;
    ?>
</span>
<?php 
}