Revision 63 | Revision 66 | Zur aktuellen Revision | Blame | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed
<?$a;$u;//DB Connectionrequire_once("connect.php");//PEAR Packagesrequire_once("Text/Password.php");require_once("I18Nv2.php");require_once("Auth.php");require_once("Mail.php");require_once("Translation2.php");require_once("Log.php");$params_tr["strings_default_table"]="i18n_%s";$params_tr["string_text_col"]="string";$tr=& Translation2::factory("db",$db,$params_tr);$mail= & Mail::factory("mail",array());//Smartyrequire_once("libs/Smarty.class.php");$smarty=new Smarty;//require_once("user.class.php");require_once("config.php");$config=new Config();require_once("functions.php");//require_once("spiele.php");require_once("teams.php");require_once("orte.php");require_once("gruppen.php");require_once("types.php");$loc=I18Nv2::createLocale("de_DE");$smarty->assign("version", $config->version);$smarty->assign("logo", "images/$config->logo");$max_anz=$config->max_anz;$u=new User("","");$tr =& $tr->getDecorator('Lang'); $tr->setOption('fallbackLang', 'en');$tr->setPageID("common");$tr->setLang($u->u_lang);$common=$tr->getPage();foreach ($common as $key => $value){$smarty->assign(strtoupper("L_$key"),$value);}if (!defined("IN_ADMIN")){$show=false;}else{$show=true;}$a=user_login($show);if($a->getUserName()){$u=$u->UserData($a->getUserName());}$type=$common["$config->type"];$year=$config->year;$smarty->assign("year",$year);$smarty->assign("L_TYPE",$type);$tr->setPageID("common");$tr->setLang($u->u_lang);$common=$tr->getPage();foreach ($common as $key => $value){$smarty->assign(strtoupper("L_$key"),$value);}$logger=create_logger();?>