<script type="text/javascript" language="javascript" src="/js/preloader.js.php"></script> <?php require "extra_js.php"; ?> <?php require "extra_css.php"; ?> </head> <body style="height: 100%;"> <table width="100%" border="0" cellspacing="10" cellpadding="0" style="height: 100%"> <tr> <td style="text-align: center" width=150 valign=top> <?php include getWFDirectory() . "nav.php"; ?> <img height="200" width="1" src="/imgs/blank.gif" /><br /> <?php if ($User->isAuthorized('admin,employee,manager')) { ?> <form action="search.php" method="get"> <input id="searchfield" type="text" name="q" style="width: 120px; margin-bottom: 5px;" class="bordered" /> <input type="image" src="<?php echo $search_button; ?> " onmouseover="this.src='<?php echo $search_button_on; ?> ';" onmouseout="this.src='<?php
include_once "inc/main.php"; if ($GLOBALS['_SERVER']['HTTP_HOST'] != "backoffice.nbi.fr") { $_SESSION['debug'] = 1; } global $title; $User = new User(); if (!$User->isLogued()) { header("Location: login.php"); exit; } $User->getInfos(); $css_theme = "/css/themes/main/main.css"; // Historic default if (isset($User->prefs->theme)) { $user_css_theme = "/css/themes/" . $User->prefs->theme . "/main.css"; if (!file_exists(getWFDirectory() . $user_css_theme)) { $User->prefs->theme = "main"; } else { $css_theme = $user_css_theme; } } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="<?php echo $css_theme; ?> " />