<?php
$setup = array();
$setup['title'] = "Events";
$setup['headline'] = "Odense Track - Eventoversigt";
$setup['keywords'] = "event,events,oversigt,eventoversigt";
$setup['description'] = "Oversigt over events afviklet af eller i samarbejde med Odense Track";

Design::header($setup, 0);
?>

<div class="page">
    <h1>Eventoversigt</h1> <div class="newstitle pull_right"><a href="#">Vis Tidligere Events</a></div>
    <div class="border"></div>
<br />
    

<?php
    foreach (Get::publicEventList() as $row) {
        ?>
    <div class="eventslice">
        <div class="eventslice-top"><img src="img/ev/f1.jpg" alt="" /></div>
        <div class="eventslice-middle"><?php echo $row['title']; ?></div>
        <div class="eventslice-bottom"><a href="?page=eventview&e=<?php echo $row['id']; ?>"><button>Læs Mere</button></a></div>
    </div>
    <?php
    }
    ?>
    

    <div class="clear"></div>
</div>

<?php
Design::footer(false);
