$val) { unset($_SESSION[$key]); } } if( isset($_GET["first"] )) { unset( $_SESSION["lareq"] ); unset( $_SESSION["lareqpages"] ); } ?> OCS Inventory "; if( !isset($_GET["popup"] )) { ?>
Ver.     passwd != md5( $_POST["pass"])) and ($row->passwd != $_POST["pass"])) { $err = "

".$l->g(216)."
"; unset($_SESSION["loggeduser"],$_SESSION["lvluser"]); } else { $_SESSION["loggeduser"]=$row->id; $_SESSION["lvluser"]=$row->accesslvl; } } else { $err = "
".$l->g(180)."
"; unset($_SESSION["loggeduser"],$_SESSION["lvluser"]); } } if ( !isset($_SESSION["loggeduser"]) && $dir = @opendir("languages")) { while($filename = readdir($dir)) { if( strstr ( $filename, ".txt") === false) continue; $langue = basename ( $filename,".txt"); echo " "; } closedir($dir); } if( isset($err) ) echo $err; if(isset($_SESSION["loggeduser"]) && !isset($_GET["popup"])) echo "   ".$l->g(251)."   ".$l->g(236).""; echo ""; if(!isset($_SESSION["loggeduser"])) { echo "
".$l->g(24).":
".$l->g(217).":
 
"; include ("footer.php"); die(); } $limitedAccess = array(2,3,4,5,6,7,8,9,14,13,22,23,24,27,20,21,26); if( in_array($_GET["multi"],$limitedAccess) && $_SESSION["lvluser"]!=1) { echo "

ACCESS DENIED

"; unset($_GET["multi"]); die(); } ?>