$root = realpath($_SERVER["DOCUMENT_ROOT"]); require_once "{$root}/shared/header.php"; $debug = true; echo printHeader(); echo "<div class='container'>"; if ($debug) { echo "<h2>Languages</h2>"; } require_once "../tools/translations/class/LanguageSet.class.php"; $langObj = new LanguageSet(); $langq = new SQLQuery($langObj->table); $langq->international = true; $langq->debug = $debug; $langq->reset_table($possibleLanguages, array("keycode")); if ($debug) { $langObj->testPrint(); } if ($debug) { echo "<h2>Text Elements</h2>"; } require_once "../tools/translations/class/SurveyTextElementSet.class.php"; $textObj = new SurveyTextElementSet(); $textObj->debug = $debug; $textObj->create(); if ($debug) { $textObj->testPrint(); } if ($debug) { echo "<h2>Translations</h2>"; } require_once "../tools/translations/class/TranslationSet.class.php";