class skc_db extends DB_Sql { var $Host = "localhost"; var $Database = "com_serge-kirszbaum_www"; var $User = "kirszbaum-www"; var $Password = "em1q9fJ7"; var $Halt_On_Error = "no"; var $Error = ""; } class skc_ct_sql extends CT_Sql { var $database_class = "skc_db"; ## Which database to connect... var $database_table = "active_sessions"; ## and find our session data in this table. } class skc_session extends Session { var $classname = "skc_session"; var $cookiename = ""; ## defaults to classname var $magic = "Kap1whBnDps"; ## ID seed var $mode = "cookie"; ## We propagate session IDs with cookies var $fallback_mode = "get"; var $lifetime = 0; ## 0 = do session cookies, else minutes var $that_class = "skc_ct_sql"; ## name of data storage container var $gc_probability = 5; } class skc_user extends User { var $classname = "skc_user"; var $magic = "SlaPcBnW"; ## ID seed var $that_class = "skc_ct_sql"; ## data storage container } class skc_auth extends Auth { var $classname = "skc_auth"; var $lifetime = 15; var $database_class = "skc_db"; var $database_table = "skc_user"; function auth_loginform() { global $sess, $_PHPLIB, $username; if (file_exists("loginform.inc.php")) { include ( "loginform.inc.php"); } else if (file_exists($_PHPLIB["libdir"] . "loginform.inc.php")) { include($_PHPLIB["libdir"] . "loginform.inc.php"); } else { ##Formulaire minimal echo "