'; } include_once 'arta/system/settings.php'; include_once 'arta/system/functions.php'; include 'arta/system/gen_page_html.php'; @require(dirname(__FILE__).'/loga/bin/autoclcpt.php'); mysqlc(); //mysql_query("SET character_set_results=cp1250, character_set_connection=cp1250, character_set_client=cp1250"); include_once 'arta/system/file/io.php'; // ******************* zpracovani parametru if (!$_GET['p']) $_GET['p'] = 'index'; $_USER2['domain'] = 'default'; $_GET['domain'] = 'default'; // .................... if ($_SESSION['_USER']['authorization']) { $_USER['authorization'] = authorization(); $_SESSION['_USER']['authorization'] = $_USER2['authorization']; $_USER = $_SESSION['_USER']; } global $debug; if ($_GET['debug']=='1') { $_SESSION['debug']=1; echo 'Debug mode on
'; } if ($_GET['debug']=='0') { $_SESSION['debug']=0; echo 'Debug mode off
'; } if (!$_GET['site']) $_GET['site'] = 'agharta'; if ($_GET[site]=='agharta_apjf' || $_GET[site]=='agharta_ajc') { $_GET['site'] = 'agharta'; $_GET['p'] = 'index'; } switch($_GET[site]) { case 'agharta_en': $lang='en'; break; case 'agharta': $lang='cz'; break; default: } gen_page_html("arta/"); ?>