Location: PHPKode > projects > Bilin Information/Knowledge Management > bilin_1.08/preheader.php
<?php
session_start();
if ( IsSet($_COOKIE['languageselect'] ) and !IsSet($_SESSION['languageselect']) )
    $_SESSION['languageselect'] = $_COOKIE['languageselect'];
//if (  IsSet($_SESSION['languageselect']) and $_COOKIE["languageselect"] != $_SESSION['languageselect'] )
//    setcookie("languageselect",$_SESSION['languageselect'],time()+60*60*24*90); // 90 days
setcookie("languageselect",$_SESSION['languageselect'],time()+60*60*24*90); // 90 days
if (($_SESSION["username"]) != "") {
   setcookie("username",$_SESSION['username'],time()+60*60*24*7); // 7 days
   setcookie("password",$_SESSION['password'],time()+60*60*24*7); // 7 days    
}
if ($_SESSION["clean"] == "true") {
   setcookie("username","",time()-3600);
   setcookie("password","",time()-3600);
   $_SESSION["clean"] = "false";    
}
if (!IsSet($GLOBALS['__TABLE_PRE__'])) {
    include 'config.php';
    $GLOBALS['__TABLE_PRE__'] = $DB_tableprefix;
}

require_once 'language.php';
require_once 'htmloperations.php';
require_once 'utils.php';
require_once 'dboperations.php';
require_once 'configview.php';
require_once 'brick.php';
require_once 'fckeditor/fckeditor.php';



?>
Return current item: Bilin Information/Knowledge Management