26require
'../../main.inc.php';
29$langs->loadLangs(array(
"install",
"other",
"admin"));
31if (empty($user->admin)) {
40llxHeader(
'',
'',
'',
'', 0, 0,
'',
'',
'',
'mod-admin page-system_browser');
45print
'<div class="div-table-responsive-no-min">';
46print
'<table class="noborder centpercent">';
47print
'<tr class="liste_titre"><td>'.$langs->trans(
"Parameter").
'</td><td colspan="2">'.$langs->trans(
"Value").
'</td></tr>'.
"\n";
48print
'<tr class="oddeven"><td width="300">'.$langs->trans(
"UserAgent").
'</td><td colspan="2">'.
dol_escape_htmltag($conf->browser->ua).
'</td></tr>'.
"\n";
49print
'<tr class="oddeven"><td width="300">'.$langs->trans(
"BrowserName").
'</td><td colspan="2">'.$conf->browser->name.
'</td></tr>'.
"\n";
50print
'<tr class="oddeven"><td width="300">'.$langs->trans(
"BrowserOS").
'</td><td colspan="2">'.$conf->browser->os.
'</td></tr>'.
"\n";
51print
'<tr class="oddeven"><td width="300">'.$langs->trans(
"Version").
'</td><td colspan="2">'.$conf->browser->version.
'</td></tr>'.
"\n";
52print
'<tr class="oddeven"><td width="300">'.$langs->trans(
"Layout").
' (phone/tablet/classic)</td><td colspan="2">'.$conf->browser->layout.
'</td></tr>'.
"\n";
53print
'<tr class="oddeven"><td width="300">'.$langs->trans(
"IPAddress").
'</td><td colspan="2">'.
dol_escape_htmltag($_SERVER[
'REMOTE_ADDR']);
54if (!empty($_SERVER[
'HTTP_CLIENT_IP'])) {
55 print
' (HTTP_CLIENT_IP='.dol_escape_htmltag($_SERVER[
'HTTP_CLIENT_IP']).
')';
57if (!empty($_SERVER[
'HTTP_X_FORWARDED_FOR'])) {
58 print
' (HTTP_X_FORWARDED_FOR='.dol_escape_htmltag($_SERVER[
'HTTP_X_FORWARDED_FOR']).
')';
60print
'</td></tr>'.
"\n";
61print
'<tr class="oddeven"><td width="300">'.$langs->trans(
"SessionName").
'</td><td colspan="2">'.session_name().
'</td></tr>'.
"\n";
62print
'<tr class="oddeven"><td width="300">'.$langs->trans(
"SessionId").
'</td><td colspan="2">********</td></tr>'.
"\n";
64print
'<tr class="oddeven"><td width="300">'.$langs->trans(
"Screen").
'</td><td colspan="2">';
65print $_SESSION[
'dol_screenwidth'].
' x '.$_SESSION[
'dol_screenheight'];
66print
'</td></tr>'.
"\n";
if(!defined('NOREQUIRESOC')) if(!defined( 'NOREQUIRETRAN')) if(!defined('NOTOKENRENEWAL')) if(!defined( 'NOREQUIREMENU')) if(!defined('NOREQUIREHTML')) if(!defined( 'NOREQUIREAJAX')) llxHeader()
Empty header.
load_fiche_titre($title, $morehtmlright='', $picto='generic', $pictoisfullpath=0, $id='', $morecssontable='', $morehtmlcenter='')
Load a title with picto.
dol_escape_htmltag($stringtoescape, $keepb=0, $keepn=0, $noescapetags='', $escapeonlyhtmltags=0, $cleanalsojavascript=0)
Returns text escaped for inclusion in HTML alt or title or value tags, or into values of HTML input f...
accessforbidden($message='', $printheader=1, $printfooter=1, $showonlymessage=0, $params=null)
Show a message to say access is forbidden and stop program.