Example #1
0
				}
			});
			
        </script>
    </head>
    <body>
		
        <!--[if lt IE 8]>
            <p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
        <![endif]-->
        
        <?php 
if (!$showAll) {
    //if id was passed in url
    //show the event page of one event
    echo $event->formatSingleEvent($loggedin);
} else {
    //no id passed in url
    //show all events
    ?>
        
        <!-- Nav -->
	    <?php 
    echo printHeader(true, true, "green", "events", "./events.php");
    ?>
        
	    
	    <div class="container pagecontent news">
	    	
	    	<!-- UPCOMING EVENTS -->
	    	<div class="row">