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.112
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
html /
btm2000.apps-dev.fr /
core /
ajax /
Delete
Unzip
Name
Size
Permission
Date
Action
ajaxdirpreview.php
17.34
KB
-rw-r--r--
2023-12-15 13:44
ajaxdirtree.php
19.81
KB
-rw-r--r--
2023-12-15 13:44
ajaxinvoiceline.php
1.99
KB
-rw-r--r--
2023-12-15 13:44
ajaxstatusprospect.php
2.72
KB
-rw-r--r--
2023-12-15 13:44
ajaxtooltip.php
2.77
KB
-rw-r--r--
2023-12-15 13:44
bankconciliate.php
3.28
KB
-rw-r--r--
2023-12-15 13:44
box.php
2.73
KB
-rw-r--r--
2023-12-15 13:44
check_notifications.php
5.99
KB
-rw-r--r--
2023-12-15 13:44
constantonoff.php
2.33
KB
-rw-r--r--
2023-12-15 13:44
contacts.php
1.98
KB
-rw-r--r--
2023-12-15 13:44
extraparams.php
2.9
KB
-rw-r--r--
2023-12-15 13:44
fetchKnowledgeRecord.php
3.12
KB
-rw-r--r--
2023-12-15 13:44
fileupload.php
3.8
KB
-rw-r--r--
2023-12-15 13:44
flowjs-server.php
5.66
KB
-rw-r--r--
2023-12-15 13:44
loadinplace.php
4.87
KB
-rw-r--r--
2023-12-15 13:44
locationincoterms.php
4.05
KB
-rw-r--r--
2023-12-15 13:44
objectonoff.php
4.2
KB
-rw-r--r--
2023-12-15 13:44
onlineSign.php
15.35
KB
-rw-r--r--
2023-12-15 13:44
pingresult.php
2.79
KB
-rw-r--r--
2023-12-15 13:44
price.php
2.17
KB
-rw-r--r--
2023-12-15 13:44
row.php
6.9
KB
-rw-r--r--
2023-12-15 13:44
saveinplace.php
7.68
KB
-rw-r--r--
2023-12-15 13:44
security.php
2.22
KB
-rw-r--r--
2023-12-15 13:44
selectobject.php
3.2
KB
-rw-r--r--
2023-12-15 13:44
selectsearchbox.php
17.25
KB
-rw-r--r--
2023-12-15 13:44
vatrates.php
2.23
KB
-rw-r--r--
2023-12-15 13:44
ziptown.php
5.68
KB
-rw-r--r--
2023-12-15 13:44
Save
Rename
<?php /* Copyright (C) 2011-2014 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/core/ajax/loadinplace.php * \brief File to load field value. used only when option "Edit In Place" is set (MAIN_USE_JQUERY_JEDITABLE). */ if (!defined('NOTOKENRENEWAL')) { define('NOTOKENRENEWAL', '1'); // Disables token renewal } if (!defined('NOREQUIREMENU')) { define('NOREQUIREMENU', '1'); } if (!defined('NOREQUIREAJAX')) { define('NOREQUIREAJAX', '1'); } if (!defined('NOREQUIRESOC')) { define('NOREQUIRESOC', '1'); } // Load Dolibarr environment require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/genericobject.class.php'; $field = GETPOST('field', 'alpha'); $element = GETPOST('element', 'alpha'); $table_element = GETPOST('table_element', 'alpha'); $fk_element = GETPOST('fk_element', 'alpha'); $id = $fk_element; // Load object according to $id and $element $object = fetchObjectByElement($id, $element); $module = $object->module; $element = $object->element; $usesublevelpermission = ($module != $element ? $element : ''); if ($usesublevelpermission && !isset($user->rights->$module->$element)) { // There is no permission on object defined, we will check permission on module directly $usesublevelpermission = ''; } //print $object->id.' - '.$object->module.' - '.$object->element.' - '.$object->table_element.' - '.$usesublevelpermission."\n"; // Security check $result = restrictedArea($user, $object->module, $object, $object->table_element, $usesublevelpermission, 'fk_soc', 'rowid', 0, 1); // Call with mode return if (!$result) { httponly_accessforbidden('Not allowed by restrictArea'); } if (!getDolGlobalString('MAIN_USE_JQUERY_JEDITABLE')) { httponly_accessforbidden('Can be used only when option MAIN_USE_JQUERY_JEDITABLE is set'); } /* * View */ top_httphead(); //print '<!-- Ajax page called with url '.dol_escape_htmltag($_SERVER["PHP_SELF"]).'?'.dol_escape_htmltag($_SERVER["QUERY_STRING"]).' -->'."\n"; // Load original field value if (!empty($field) && !empty($element) && !empty($table_element) && !empty($fk_element)) { $ext_element = GETPOST('ext_element', 'alpha'); $field = substr($field, 8); // remove prefix val_ $type = GETPOST('type', 'alpha'); $loadmethod = (GETPOST('loadmethod', 'alpha') ? GETPOST('loadmethod', 'alpha') : 'getValueFrom'); if ($element != 'order_supplier' && $element != 'invoice_supplier' && preg_match('/^([^_]+)_([^_]+)/i', $element, $regs)) { $element = $regs[1]; $subelement = $regs[2]; } if ($element == 'propal') { $element = 'propale'; } elseif ($element == 'fichinter') { $element = 'ficheinter'; } elseif ($element == 'product') { $element = 'produit'; } elseif ($element == 'member') { $element = 'adherent'; } elseif ($element == 'order_supplier') { $element = 'fournisseur'; $subelement = 'commande'; } elseif ($element == 'invoice_supplier') { $element = 'fournisseur'; $subelement = 'facture'; } if ($user->rights->$element->lire || $user->rights->$element->read || (isset($subelement) && ($user->rights->$element->$subelement->lire || $user->rights->$element->$subelement->read)) || ($element == 'payment' && $user->hasRight('facture', 'lire')) || ($element == 'payment_supplier' && $user->rights->fournisseur->facture->lire)) { if ($type == 'select') { $methodname = 'load_cache_'.$loadmethod; $cachename = 'cache_'.GETPOST('loadmethod', 'alpha'); $form = new Form($db); if (method_exists($form, $methodname)) { $ret = $form->$methodname(); if ($ret > 0) { echo json_encode($form->$cachename); } } elseif (!empty($ext_element)) { $module = $subelement = $ext_element; $regs = array(); if (preg_match('/^([^_]+)_([^_]+)/i', $ext_element, $regs)) { $module = $regs[1]; $subelement = $regs[2]; } dol_include_once('/'.$module.'/class/actions_'.$subelement.'.class.php'); $classname = 'Actions'.ucfirst($subelement); $object = new $classname($db); $ret = $object->$methodname($fk_element); if ($ret > 0) { echo json_encode($object->$cachename); } } } else { $object = new GenericObject($db); $value = $object->$loadmethod($table_element, $fk_element, $field); echo $value; } } else { echo $langs->transnoentities('NotEnoughPermissions'); } }