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 /
asiafood.bdcloud.fr /
user /
Delete
Unzip
Name
Size
Permission
Date
Action
admin
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
class
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
group
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
notify
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
agenda_extsites.php
8.09
KB
-rwxr-xr-x
2021-01-30 18:03
bank.php
20.75
KB
-rwxr-xr-x
2021-01-30 18:03
card.php
105.99
KB
-rwxr-xr-x
2021-01-30 18:03
clicktodial.php
7.7
KB
-rwxr-xr-x
2021-01-30 18:03
document.php
6.46
KB
-rwxr-xr-x
2021-01-30 18:03
hierarchy.php
8.49
KB
-rwxr-xr-x
2021-01-30 18:03
home.php
8.72
KB
-rwxr-xr-x
2021-01-30 18:03
index.html
2
B
-rwxr-xr-x
2021-01-30 18:03
info.php
2.58
KB
-rwxr-xr-x
2021-01-30 18:03
ldap.php
6.6
KB
-rwxr-xr-x
2021-01-30 18:03
list.php
30.35
KB
-rwxr-xr-x
2021-01-30 18:03
logout.php
3.63
KB
-rwxr-xr-x
2021-01-30 18:03
note.php
5.22
KB
-rwxr-xr-x
2021-01-30 18:03
param_ihm.php
19.95
KB
-rwxr-xr-x
2021-01-30 18:03
passwordforgotten.php
8.67
KB
-rwxr-xr-x
2021-01-30 18:03
perms.php
16
KB
-rwxr-xr-x
2021-01-30 18:03
Save
Rename
<?php /* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> * Copyright (C) 2004-2015 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2005-2015 Regis Houssin <regis.houssin@inodbox.com> * * 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/user/note.php * \ingroup usergroup * \brief Fiche de notes sur un utilisateur Dolibarr */ require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/usergroups.lib.php'; require_once DOL_DOCUMENT_ROOT.'/user/class/user.class.php'; $id = GETPOST('id', 'int'); $action = GETPOST('action', 'aZ09'); $contextpage = GETPOST('contextpage', 'aZ') ?GETPOST('contextpage', 'aZ') : 'usernote'; // To manage different context of search // Load translation files required by page $langs->loadLangs(array('companies', 'members', 'bills', 'users')); $object = new User($db); $object->fetch($id, '', '', 1); $object->getrights(); // If user is not user read and no permission to read other users, we stop if (($object->id != $user->id) && (!$user->rights->user->user->lire)) accessforbidden(); // Security check $socid = 0; if ($user->socid > 0) $socid = $user->socid; $feature2 = (($socid && $user->rights->user->self->creer) ? '' : 'user'); $result = restrictedArea($user, 'user', $id, 'user&user', $feature2); // Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context $hookmanager->initHooks(array('usercard', 'usernote', 'globalcard')); /* * Actions */ $parameters = array('id'=>$socid); $reshook = $hookmanager->executeHooks('doActions', $parameters, $object, $action); // Note that $action and $object may have been modified by some hooks if ($reshook < 0) setEventMessages($hookmanager->error, $hookmanager->errors, 'errors'); if (empty($reshook)) { if ($action == 'update' && $user->rights->user->user->creer && !$_POST["cancel"]) { $db->begin(); $res = $object->update_note(dol_html_entity_decode(GETPOST('note_private', 'none'), ENT_QUOTES)); if ($res < 0) { $mesg = '<div class="error">'.$adh->error.'</div>'; $db->rollback(); } else { $db->commit(); } } } /* * View */ llxHeader(); $form = new Form($db); if ($id) { $head = user_prepare_head($object); $title = $langs->trans("User"); dol_fiche_head($head, 'note', $title, -1, 'user'); $linkback = ''; if ($user->rights->user->user->lire || $user->admin) { $linkback = '<a href="'.DOL_URL_ROOT.'/user/list.php?restore_lastsearch_values=1">'.$langs->trans("BackToList").'</a>'; } dol_banner_tab($object, 'id', $linkback, $user->rights->user->user->lire || $user->admin); print '<div class="underbanner clearboth"></div>'; print "<form method=\"post\" action=\"".$_SERVER['PHP_SELF']."\">"; print '<input type="hidden" name="token" value="'.newToken().'">'; print '<div class="fichecenter">'; print '<table class="border centpercent tableforfield">'; // Login print '<tr><td class="titlefield">'.$langs->trans("Login").'</td><td class="valeur">'.$object->login.' </td></tr>'; // Note print '<tr><td class="tdtop">'.$langs->trans("Note").'</td>'; print '<td class="sensiblehtmlcontent">'; if ($action == 'edit' && $user->rights->user->user->creer) { print "<input type=\"hidden\" name=\"action\" value=\"update\">"; print "<input type=\"hidden\" name=\"id\" value=\"".$object->id."\">"; // Editeur wysiwyg require_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php'; $doleditor = new DolEditor('note_private', $object->note_private, '', 280, 'dolibarr_notes', 'In', true, false, $conf->global->FCKEDITOR_ENABLE_SOCIETE, ROWS_8, '90%'); $doleditor->Create(); } else { print dol_string_onlythesehtmltags(dol_htmlentitiesbr($object->note_private)); } print "</td></tr>"; print "</table>"; print '</div>'; dol_fiche_end(); if ($action == 'edit') { print '<div class="center">'; print '<input type="submit" class="button" name="update" value="'.$langs->trans("Save").'">'; print ' '; print '<input type="submit" class="button" name="cancel" value="'.$langs->trans("Cancel").'">'; print '</div>'; } /* * Actions */ print '<div class="tabsAction">'; if ($user->rights->user->user->creer && $action != 'edit') { print "<a class=\"butAction\" href=\"note.php?id=".$object->id."&action=edit\">".$langs->trans('Modify')."</a>"; } print "</div>"; print "</form>\n"; } // End of page llxFooter(); $db->close();