Your IP : 216.73.216.93


Current Path : /home/users/unlimited/www/facebook.codeskitter.site/sources/events/
Upload File :
Current File : /home/users/unlimited/www/facebook.codeskitter.site/sources/events/show_event.php

<?php
if ($wo['config']['events_visibility'] == 1) {
//	if ($wo['loggedin'] == false) {
//	  header("Location: " . Wo_SeoLink('index.php?link1=welcome'));
//	  exit();
//	}
}

if ($wo['config']['events'] == 0) {
	header("Location: " . Wo_SeoLink('index.php?link1=welcome'));
    exit();
}
if (isset($_GET['eid']) && is_numeric($_GET['eid'])){
		$event              = Wo_EventData($_GET['eid']);
	if ($event && !empty($event)) {
		$wo['description']  = strip_tags($event['description']);
		$wo['keywords']     = $wo['config']['siteKeywords'];
		$wo['page']         = 'events';
		$wo['event']        = $event;
		$wo['event']['going']      = Wo_TotalGoingUsers($event['id']);
		$wo['event']['interested'] = Wo_TotalInterestedUsers($event['id']);
		$wo['event']['invited']    = Wo_TotalInvitedUsers($event['id']);
		$wo['events']       =  Wo_GetSuggestedEvents(array("limit" => 5));
		$wo['title']        = $event['name'];
		$wo['content']      = Wo_LoadPage('events/content');
	}
}