0) { extract(${'HTTP_' . $type . '_VARS'}, EXTR_OVERWRITE); }}} include("config.inc.php"); mysql_connect("$dbserver","$dbuser","$dbpass"); mysql_select_db($dbdata); // $parid = $_GET["parid"]; session_name("cls"); session_start(); include("license.php"); if($user!="" && $pass!="" && $d!="logout") { $mdc = mysql_query("SELECT * FROM ad_user WHERE email = '".addslashes(strtolower($user))."' AND pass = '".addslashes(strtolower($pass))."'"); $usrd = mysql_fetch_array($mdc); if($usrd[id]!="" && $usrd[pass]==$pass) { $_SESSION[user] = $user; $_SESSION[pass] = $pass; $_SESSION[lang] = $usrd[userlanguage]; $lang = $usrd[userlanguage]; $lg="ok"; } else { session_unset(); $lg=""; } } else { session_unset(); $lg=""; } if($d=="logout") // Later must be: if(!$d || $d=="logout") { session_unset(); $lg=""; } $parid = $_GET["parid"]; ?>
Notice: Undefined index: HTTP_ACCEPT_LANGUAGE in /var/www/htdocs/ks015/html/index.php on line 46

Notice: Undefined variable: lg in /var/www/htdocs/ks015/html/index.php on line 48

Notice: Undefined variable: defaultlanguage in /var/www/htdocs/ks015/html/index.php on line 59

Warning: require(./inc/lang/.php): failed to open stream: No such file or directory in /var/www/htdocs/ks015/html/index.php on line 69

Fatal error: require(): Failed opening required './inc/lang/.php' (include_path='.:/opt/phpfarm/inst/php-5.6.24/pear/php/') in /var/www/htdocs/ks015/html/index.php on line 69