<?php
require_once ('lib/Smarty.class.php');

$_smarty = new Smarty ();

$menu = array (
	array (
		'id'=>'editors',
		'name'=>'Editorial Board'),
	array (
		'id'=>'committee',
		'name'=>'Programme&nbsp;Committee'),
	array (
		'id'=>'aims',
		'name'=>'Aims and Scope'),
	array (
		'id'=>'submission',
		'name'=>'Submission Guidelines'),
	array (
		'id'=>'faq',
		'name'=>'Questions & Answers'),
	array (
		'id'=>'archive',
		'name'=>'Archive'),
	array (
		'id'=>'subscription',
		'name'=>'Subscription'),
	array (
		'id'=>'contacts',
		'name'=>'Contacts'),
	array (
		'id'=>'home',
		'name'=>'Home')
	);

switch ($_GET['page']) {
	case 'editors':
		$title = 'Editorial Board';
		$page = 'editors';
		break;
case 'committee':
		$title = 'Programme Committee';
		$page = 'committee';
		break;
	case 'aims':
		$title = 'Aims and Scope';
		$page = 'aims';
		break;
	case 'subscription':
		$title = 'Subscription';
		$page = 'subscription';
		break;
	case 'archive':
		$title = 'Archive';
		$page = 'archive';
		break;
	case 'submission':
		$title = 'Submission Guidelines';
		$page = 'submission';
		break;
	case 'faq':
		$title = 'Frequently Asked Questions';
		$page = 'faq';
		break;
	case 'contacts':
		$title = 'Contacts';
		$page = 'contacts';
		break;
	default:
		$page = 'home';
}

$_smarty->assign ('Title', $title);
$_smarty->assign ('Page', $page);
$_smarty->assign ('Menu', $menu);

$_smarty->display ('index.html');

?>
