if (!defined('SERVER_PATH')) {
define('SERVER_PATH', dirname($_SERVER['SCRIPT_FILENAME']).'/');
}
if (!defined('ASSETS_PATH')) {
define('ASSETS_PATH', dirname($_SERVER['SCRIPT_FILENAME']).'/assets/');
}
if (!defined('GLOBAL_ASSETS_PATH')) {
define('GLOBAL_ASSETS_PATH', dirname(dirname($_SERVER['DOCUMENT_ROOT'])).'/assets/');
}
if (!defined('SITE_SUBDIR')) {
define('SITE_SUBDIR', dirname($_SERVER['REQUEST_URI']));
}
if (!defined('CONTROLLERS_DIR')) {
define('CONTROLLERS_DIR', __DIR__.'/assets/controllers/');
}
if (file_exists(SERVER_PATH.'/language/en-GB.ini')) {
$_SESSION['lang'] = parse_ini_file(SERVER_PATH.'/language/en-GB.ini');
}
$global_assets_sub_pref = '';
$subdomain = explode('.', $_SERVER['SERVER_NAME'])[0];
if ( count ( explode('-', $subdomain)) > 1) {
$global_assets_sub_pref = explode('-', $subdomain)[0].'.';
} else {
//echo 'no split';
}
if (!function_exists('get_controller')) {
function get_controller($controller) {
require_once(CONTROLLERS_DIR.$controller.'.php');
}
}
if (!function_exists('personalise_page_tags')) {
function personalise_page_tags($html) {
foreach ($_SESSION['user'] as $key => $member_field) {
if ((!is_object($member_field)) && (!is_array($member_field))) {
$html = str_replace('{'.$key.'}', $member_field, $html);
} else {
foreach ($member_field as $member_field_sub_key => $member_field_sub) {
if ((!is_object($member_field_sub)) && (!is_array($member_field_sub))) {
$html = str_replace('{'.$member_field_sub_key.'}', $member_field_sub, $html);
} else {
//echo $member_field_sub_key;
if ($key != 'multi') {
foreach ($member_field_sub as $member_field_sub_sub_key => $member_field_sub_sub) {
print_r($member_field_sub_sub_key);
$html = str_replace('{'.$member_field_sub_sub_key.'}', $member_field_sub_sub, $html);
}
}
}
}
}
}
return $html;
}
}
if (!function_exists('check_access')) {
function check_access() {
$current_url = $_SERVER['REQUEST_URI'];
$dir = dirname(dirname($_SERVER['DOCUMENT_ROOT'])).'/assets/global/controllers/menu/';
foreach(glob($dir . '*.php') as $file_url) {
include($file_url);
foreach ($submenu as $submenu_item) {
if (strpos($current_url, $submenu_item['link']) !== false) {
if (
($submenu_item['access'] != 'public') &&
($_SESSION['uid'] == 0)
) {
logout();
}
if (
($submenu_item['access'] == 'admin') &&
($_SESSION['user']['member_db']->member_community_admin == 0)
) {
logout();
}
}
if (array_key_exists('submenu', $submenu_item)) {
foreach ($submenu_item['submenu'] as $item) {
if (strpos($current_url, $item['link']) !== false) {
if (
($item['access'] != 'public') &&
($_SESSION['uid'] == 0)
) {
logout();
}
if (
($item['access'] != 'admin') &&
($_SESSION['user']['member_db']->member_community_admin == 0)
) {
logout();
}
}
}
}
}
}
}
}
if (!function_exists('logout')) {
function logout() {
$url = '/index.php?view=member&task=login&uri='.base64_encode($_SERVER['REQUEST_URI']);
$string = '';
echo $string;
}
}
?>
VIRTUAL THEATRE™ - Virtual Theatre Tickets
TICKETS - VIRTUAL THEATRE™
Immersive Theatrics™
Realtime Online Plays
VIRTUAL THEATRES
Enjoy high quality realtime online theatrical performances from a multitude of local or global sites. Theatrical plays can be viewed in real time as they are performed or enjoyed later at a convenient time.
Remote Individual Participation
IMMERSIVE CONTENT
By using the VIRTUAL THEATRE™ platform individuals in isolated places can now actively participate in global immersive theatrical plays over the web with only internet connectivity or a mobile phone.
Collective Broadcasting Streams
MULTI CHANNELS
The VIRTUAL THEATRE™ platform is capable of high quality multi channel Broadcasting Streams to online viewers. Theatrical performing content is available live or on a demand basis.
Real-Time or Video On Demand
MONETISED CONTENT
'Member Registration Fees' and 'Pay-Per-View' facilities creates a monetised media distribution product that is very engaging for the user.
Browser Based Delivery
WEB BASED PLATFORM
A unique, highly secure and flexible platform provides the realtime, online connectivity for thousands of concurrent participants in each theatrical session.
Security Compliant
GLOBAL NETWORK
The high quality cloud based VIRTUAL THEATRE™ platform is highly scaleable, has a global reach and low latency data transfer rates.