Location: PHPKode > scripts > Simple Event calendar > simple-event-calendar/admin/index.php
<?php
	session_start();
	include("../lib/config.php");
	include("../lib/functions.php");
	$obj = new eventcal();
	if(!$_SESSION['admin'] == ADMIN)
	{
		header("location:login.php");
	}
	else
	{
		header("location:mainpage.php");
	}
?>
Return current item: Simple Event calendar