header("Content-Type: text/html; charset=utf-8"); include_once "config.php"; include_once "classes/ez_sql_core.php"; include_once "classes/ez_sql_mysql.php"; $db = new ezSQL_mysql($cfg["DatabaseUsername"],$cfg["DatabasePassword"],$cfg["DatabaseName"],$cfg["DatabaseHost"].""); $db->query("set names utf8"); $config=$db->get_row("select * from config where config_id='1'",ARRAY_A); $dil=$_GET["dil"]; if ($dil=='') $dil=$config["default_lang"]; if(!file_exists('languages/'.$dil.'.php')) { $dil=$config["default_lang"];} include_once "languages/".$dil.".php"; $pg=$_GET["pg"]; if($pg=="") $pg="main"; if(!file_exists($pg.".php")) $pg="main"; require("seofunctions.php"); ?>