function html_header($no_java = false)
{
    header("Pragma: no-cache");
    header("Expires: -1");
    header("Cache-control: must-revalidate, post-check=0, pre-check=0");
    header("Cache-control: private", false);
    header("Content-type: text/html; charset=utf-8");
    echo "<html>\n\t\t\t<head>\n\t\t\t\t<TITLE>OCS Inventory</TITLE>\n\t\t\t\t<LINK REL='shortcut icon' HREF='favicon.ico' />\n\t\t\t\t<LINK REL='StyleSheet' TYPE='text/css' HREF='css/bootstrap.min.css'>\n\t\t\t\t<LINK REL='StyleSheet' TYPE='text/css' HREF='css/bootstrap-theme.min.css'>\n\t\t\t\t<LINK REL='StyleSheet' TYPE='text/css' HREF='css/bootstrap-custom.css'>\n\t\t\t\t<LINK REL='StyleSheet' TYPE='text/css' HREF='css/dataTables-custom.css'>\n\t\t\t\t<LINK REL='StyleSheet' TYPE='text/css' HREF='css/dataTables.bootstrap.css'>\n\t\t\t\t<LINK REL='StyleSheet' TYPE='text/css' HREF='css/ocsreports.css'>\n\t\t\t\t<LINK REL='StyleSheet' TYPE='text/css' HREF='css/header.css'>\n\t\t\t\t<LINK REL='StyleSheet' TYPE='text/css' HREF='css/computer_details.css'>\n\t\t\t\t<LINK REL='StyleSheet' TYPE='text/css' HREF='css/forms.css'>\n\t\t\t\t";
    if (!$no_java) {
        incPicker();
        //js for graph
        echo "<script src='js/jquery-1.11.0.js' type='text/javascript'></script>";
        echo "<script src='js/jquery-migrate-1.2.1.min.js' type='text/javascript'></script>";
        echo "<script src='js/jquery.ui.widget.js'></script>";
        echo "<script src='js/jquery.iframe-transport.js'></script>";
        echo "<script src='js/jquery.fileupload.js'></script>";
        echo "<script src='js/bootstrap.min.js' type='text/javascript'></script>";
        echo "<script src='js/bootstrap-custom.js' type='text/javascript'></script>";
        echo "<script src='js/graph/raphael.js' type='text/javascript'></script>";
        echo "<script src='js/graph/elycharts.js' type='text/javascript'></script>";
        //js for Datatables
        echo "<script src='libraries/datatable/media/js/jquery.dataTables.js' type='text/javascript'></script>";
        echo "<script src='js/dataTables.bootstrap.js' type='text/javascript'></script>";
        echo "<script language='javascript' type='text/javascript' src='js/function.js'></script>";
        if (isset($_SESSION['OCS']['JAVASCRIPT'])) {
            foreach ($_SESSION['OCS']['JAVASCRIPT'] as $file) {
                echo "<script language='javascript' type='text/javascript' src='" . MAIN_SECTIONS_DIR . $file . "'></script>";
            }
        }
    }
    echo "</head>";
    echo "<body bottommargin='0' leftmargin='0' topmargin='0' rightmargin='0' marginheight='0' marginwidth='0'>";
}
    echo "<script language='javascript'>wait(0);</script>";
    echo "<center><font class='warn'>" . $l->g(623) . "</font></center>";
    flush();
    die;
}
if ($item->REQUEST != "" or $item->XMLDEF != "") {
    $pureStat = false;
} else {
    $pureStat = true;
}
if ($item->CREATE_TIME == "") {
    $server_group = true;
} else {
    $server_group = false;
}
incPicker();
$tdhdpb = "<td  align='left' width='20%'>";
$tdhfpb = "</td>";
$tdhd = "<td  align='left' width='20%'><b>";
$tdhf = ":</b></td>";
$tdpopup = "<td align='left' width='20%' onclick=\"javascript: OuvrirPopup('group_chang_value.php', '', 'resizable=no, location=no, width=400, height=200, menubar=no, status=no, scrollbars=no, menubar=no')\">";
//if user clic on modify
if ($protectedPost['MODIF_x']) {
    //don't show the botton modify
    $img_modif = "";
    //list of input we can modify
    $name = show_modif($item->NAME, 'NAME', 0);
    $description = show_modif($item->DESCRIPTION, 'DESCR', 1);
    //show new bottons
    $button_valid = "<input title='" . $l->g(625) . "' type='image'  src='image/modif_valid_v2.png' name='Valid_modif'>";
    $button_reset = "<input title='" . $l->g(626) . "' type='image'  src='image/modif_anul_v2.png' name='Reset_modif'>";
function html_header($no_java = false)
{
    header("Pragma: no-cache");
    header("Expires: -1");
    header("Cache-control: must-revalidate, post-check=0, pre-check=0");
    header("Cache-control: private", false);
    header("Content-type: text/html; charset=utf-8");
    echo "<html>\n\t\t\t<head>\n\t\t\t\t<TITLE>OCS Inventory</TITLE>\n\t\t\t\t<LINK REL='shortcut icon' HREF='favicon.ico' />\n\t\t\t\t<LINK REL='StyleSheet' TYPE='text/css' HREF='css/ocsreports.css'>";
    if (!$no_java) {
        incPicker();
        echo "<script language='javascript' type='text/javascript' src='js/function.js'></script>";
        //js for graph
        echo "<script src='js/graph/jquery-1.6.2.js' type='text/javascript'></script>";
        echo "<script src='js/graph/raphael.js' type='text/javascript'></script>";
        echo "<script src='js/graph/elycharts.js' type='text/javascript'></script>";
        if (isset($_SESSION['OCS']['JAVASCRIPT'])) {
            foreach ($_SESSION['OCS']['JAVASCRIPT'] as $file => $rep) {
                echo "<script language='javascript' type='text/javascript' src='" . MAIN_SECTIONS_DIR . $rep . $file . "'></script>";
            }
        }
    }
    echo "</head>";
    echo "<body bottommargin='0' leftmargin='0' topmargin='0' rightmargin='0' marginheight='0' marginwidth='0'>";
}