27require
'../../main.inc.php';
38$langs->loadLangs(array(
"install",
"other",
"admin"));
40if (empty($user->admin)) {
49llxHeader(
'',
'',
'',
'', 0, 0,
'',
'',
'',
'mod-admin page-system_browser');
54print
'<div class="div-table-responsive-no-min">';
55print
'<table class="noborder centpercent">';
56print
'<tr class="liste_titre"><td>'.$langs->trans(
"Parameter").
'</td><td colspan="2"></td></tr>'.
"\n";
57print
'<tr class="oddeven"><td width="300">'.$langs->trans(
"UserAgent").
'</td><td colspan="2">'.
dol_escape_htmltag(
$conf->browser->ua).
'</td></tr>'.
"\n";
58print
'<tr class="oddeven"><td width="300">'.$langs->trans(
"BrowserName").
'</td><td colspan="2">'.
$conf->browser->name.
'</td></tr>'.
"\n";
59print
'<tr class="oddeven"><td width="300">'.$langs->trans(
"BrowserOS").
'</td><td colspan="2">'.
$conf->browser->os.
'</td></tr>'.
"\n";
60print
'<tr class="oddeven"><td width="300">'.$langs->trans(
"Version").
'</td><td colspan="2">'.
$conf->browser->version.
'</td></tr>'.
"\n";
61print
'<tr class="oddeven"><td width="300">'.$langs->trans(
"Layout").
' (phone/tablet/classic)</td><td colspan="2">'.
$conf->browser->layout.
'</td></tr>'.
"\n";
62print
'<tr class="oddeven"><td width="300">'.$langs->trans(
"IPAddress").
'</td><td colspan="2">'.
dol_escape_htmltag($_SERVER[
'REMOTE_ADDR']);
63if (!empty($_SERVER[
'HTTP_CLIENT_IP'])) {
64 print
' (HTTP_CLIENT_IP='.dol_escape_htmltag($_SERVER[
'HTTP_CLIENT_IP']).
')';
66if (!empty($_SERVER[
'HTTP_X_FORWARDED_FOR'])) {
67 print
' (HTTP_X_FORWARDED_FOR='.dol_escape_htmltag($_SERVER[
'HTTP_X_FORWARDED_FOR']).
')';
69print
'</td></tr>'.
"\n";
70print
'<tr class="oddeven"><td width="300">'.$langs->trans(
"SessionName").
'</td><td colspan="2">'.session_name().
'</td></tr>'.
"\n";
71print
'<tr class="oddeven"><td width="300">'.$langs->trans(
"SessionId").
'</td><td colspan="2">********</td></tr>'.
"\n";
73print
'<tr class="oddeven"><td width="300">'.$langs->trans(
"Screen").
'</td><td colspan="2">';
74print $_SESSION[
'dol_screenwidth'].
' x '.$_SESSION[
'dol_screenheight'];
75print
'</td></tr>'.
"\n";
if(!defined('NOREQUIRESOC')) if(!defined( 'NOREQUIRETRAN')) if(!defined('NOTOKENRENEWAL')) if(!defined( 'NOREQUIREMENU')) if(!defined('NOREQUIREHTML')) if(!defined( 'NOREQUIREAJAX')) llxHeader($head='', $title='', $help_url='', $target='', $disablejs=0, $disablehead=0, $arrayofjs='', $arrayofcss='', $morequerystring='', $morecssonbody='', $replacemainareaby='', $disablenofollow=0, $disablenoindex=0)
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...
global $conf
The following vars must be defined: $type2label $form $conf, $lang, The following vars may also be de...
accessforbidden($message='', $printheader=1, $printfooter=1, $showonlymessage=0, $params=null)
Show a message to say access is forbidden and stop program.