setlng($_GET['lng']);//set env } user()->checkLng();//ADD LNG //require_once 'class/ssh.class.php'; //require_once 'class/sampservers.php'; require_once 'functions.php'; require_once 'Page.php'; //Login if(isset($_POST["submit"])) { user()->Join($_POST["email"], $_POST["password"]); header("location: /"); } //pages if(!empty($_GET["psl"])) { $id = explode('/', $_GET['psl']); } else { $id = array("start"); } $_page = array_shift($id); $page = new Page($_page); echo $page->build($id); //Db disconnect //db::close();