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.bak /
admin /
Delete
Unzip
Name
Size
Permission
Date
Action
dolistore
[ DIR ]
drwxr-xr-x
2025-11-25 12:58
menus
[ DIR ]
drwxr-xr-x
2025-11-25 13:10
system
[ DIR ]
drwxr-xr-x
2025-11-25 13:10
tools
[ DIR ]
drwxr-xr-x
2025-11-25 13:10
accountant.php
12.01
KB
-rw-r--r--
2025-11-25 13:10
agenda.php
6.71
KB
-rw-r--r--
2025-11-25 13:10
agenda_extrafields.php
4.01
KB
-rw-r--r--
2025-11-25 13:10
agenda_extsites.php
8.17
KB
-rw-r--r--
2025-11-25 13:10
agenda_other.php
13.6
KB
-rw-r--r--
2025-11-25 13:10
agenda_reminder.php
7.6
KB
-rw-r--r--
2025-11-25 13:10
agenda_xcal.php
8.41
KB
-rw-r--r--
2025-11-25 13:10
bank.php
15.95
KB
-rw-r--r--
2025-11-25 13:10
bank_extrafields.php
3.89
KB
-rw-r--r--
2025-11-25 13:10
barcode.php
12.23
KB
-rw-r--r--
2025-11-25 13:10
boxes.php
16.42
KB
-rw-r--r--
2025-11-25 13:10
chequereceipts.php
9.11
KB
-rw-r--r--
2025-11-25 13:10
clicktodial.php
4.94
KB
-rw-r--r--
2025-11-25 13:10
commande.php
22.87
KB
-rw-r--r--
2025-11-25 13:10
company.php
49.4
KB
-rw-r--r--
2025-11-25 13:10
compta.php
5.04
KB
-rw-r--r--
2025-11-25 13:10
confexped.php
4.42
KB
-rw-r--r--
2025-11-25 13:10
const.php
8.74
KB
-rw-r--r--
2025-11-25 13:10
contract.php
16.72
KB
-rw-r--r--
2025-11-25 13:10
dav.php
4.41
KB
-rw-r--r--
2025-11-25 13:10
defaultvalues.php
14.15
KB
-rw-r--r--
2025-11-25 13:10
delais.php
14.2
KB
-rw-r--r--
2025-11-25 13:10
dict.php
96.79
KB
-rw-r--r--
2025-11-25 13:10
ecm.php
2.94
KB
-rw-r--r--
2025-11-25 13:10
events.php
3.23
KB
-rw-r--r--
2025-11-25 13:10
expedition.php
17.26
KB
-rw-r--r--
2025-11-25 13:10
expedition_extrafields.php
4.07
KB
-rw-r--r--
2025-11-25 13:10
expeditiondet_extrafields.php
4.14
KB
-rw-r--r--
2025-11-25 13:10
expensereport.php
16.31
KB
-rw-r--r--
2025-11-25 13:10
expensereport_extrafields.php
4.01
KB
-rw-r--r--
2025-11-25 13:10
expensereport_ik.php
6.13
KB
-rw-r--r--
2025-11-25 13:10
expensereport_rules.php
10.98
KB
-rw-r--r--
2025-11-25 13:10
export.php
2.99
KB
-rw-r--r--
2025-11-25 13:10
external_rss.php
9.69
KB
-rw-r--r--
2025-11-25 13:10
facture.php
29.19
KB
-rw-r--r--
2025-11-25 13:10
fckeditor.php
7.59
KB
-rw-r--r--
2025-11-25 13:10
fichinter.php
21.12
KB
-rw-r--r--
2025-11-25 13:10
geoipmaxmind.php
4.41
KB
-rw-r--r--
2025-11-25 13:10
ihm.php
24.92
KB
-rw-r--r--
2025-11-25 13:10
index.php
4.67
KB
-rw-r--r--
2025-11-25 13:10
ldap.php
12.54
KB
-rw-r--r--
2025-11-25 13:10
ldap_contacts.php
14.88
KB
-rw-r--r--
2025-11-25 13:10
ldap_groups.php
9.08
KB
-rw-r--r--
2025-11-25 13:10
ldap_members.php
19.79
KB
-rw-r--r--
2025-11-25 13:10
ldap_members_types.php
8.71
KB
-rw-r--r--
2025-11-25 13:10
ldap_users.php
19.73
KB
-rw-r--r--
2025-11-25 13:10
limits.php
11.65
KB
-rw-r--r--
2025-11-25 13:10
livraison.php
15.89
KB
-rw-r--r--
2025-11-25 13:10
livraison_extrafields.php
4.07
KB
-rw-r--r--
2025-11-25 13:10
livraisondet_extrafields.php
4.14
KB
-rw-r--r--
2025-11-25 13:10
loan.php
3.22
KB
-rw-r--r--
2025-11-25 13:10
mailing.php
5.39
KB
-rw-r--r--
2025-11-25 13:10
mailman.php
7.63
KB
-rw-r--r--
2025-11-25 13:10
mails.php
37.08
KB
-rw-r--r--
2025-11-25 13:10
mails_emailing.php
25.19
KB
-rw-r--r--
2025-11-25 13:10
mails_senderprofile_list.php
19.76
KB
-rw-r--r--
2025-11-25 13:10
mails_templates.php
44.67
KB
-rw-r--r--
2025-11-25 13:10
menus.php
9.84
KB
-rw-r--r--
2025-11-25 13:10
modulehelp.php
18.65
KB
-rw-r--r--
2025-11-25 13:10
modules.php
43.45
KB
-rw-r--r--
2025-11-25 13:10
multicurrency.php
12.72
KB
-rw-r--r--
2025-11-25 13:10
notification.php
10.17
KB
-rw-r--r--
2025-11-25 13:10
oauth.php
4.73
KB
-rw-r--r--
2025-11-25 13:10
oauthlogintokens.php
13.28
KB
-rw-r--r--
2025-11-25 13:10
order_extrafields.php
3.95
KB
-rw-r--r--
2025-11-25 13:10
orderdet_extrafields.php
4.03
KB
-rw-r--r--
2025-11-25 13:10
payment.php
9.84
KB
-rw-r--r--
2025-11-25 13:10
pdf.php
24.66
KB
-rw-r--r--
2025-11-25 13:10
perms.php
6.56
KB
-rw-r--r--
2025-11-25 13:10
prelevement.php
17.78
KB
-rw-r--r--
2025-11-25 13:10
propal.php
21.95
KB
-rw-r--r--
2025-11-25 13:10
proxy.php
6.73
KB
-rw-r--r--
2025-11-25 13:10
receiptprinter.php
16.72
KB
-rw-r--r--
2025-11-25 13:10
resource.php
4.13
KB
-rw-r--r--
2025-11-25 13:10
resource_extrafields.php
3.92
KB
-rw-r--r--
2025-11-25 13:10
salaries.php
3.22
KB
-rw-r--r--
2025-11-25 13:10
security.php
15.43
KB
-rw-r--r--
2025-11-25 13:10
security_file.php
6.87
KB
-rw-r--r--
2025-11-25 13:10
security_other.php
6.07
KB
-rw-r--r--
2025-11-25 13:10
sms.php
11.25
KB
-rw-r--r--
2025-11-25 13:10
spip.php
4.72
KB
-rw-r--r--
2025-11-25 13:10
stock.php
23.42
KB
-rw-r--r--
2025-11-25 13:10
supplier_invoice.php
18.36
KB
-rw-r--r--
2025-11-25 13:10
supplier_order.php
20.44
KB
-rw-r--r--
2025-11-25 13:10
supplier_payment.php
16.34
KB
-rw-r--r--
2025-11-25 13:10
supplier_proposal.php
20.24
KB
-rw-r--r--
2025-11-25 13:10
supplierinvoice_extrafields.php
4.15
KB
-rw-r--r--
2025-11-25 13:10
supplierinvoicedet_extrafields.php
4.16
KB
-rw-r--r--
2025-11-25 13:10
supplierorder_extrafields.php
4.01
KB
-rw-r--r--
2025-11-25 13:10
supplierorderdet_extrafields.php
4.08
KB
-rw-r--r--
2025-11-25 13:10
syslog.php
10.08
KB
-rw-r--r--
2025-11-25 13:10
taxes.php
8.76
KB
-rw-r--r--
2025-11-25 13:10
ticket.php
25.76
KB
-rw-r--r--
2025-11-25 13:10
ticket_extrafields.php
3.75
KB
-rw-r--r--
2025-11-25 13:10
translation.php
22.54
KB
-rw-r--r--
2025-11-25 13:10
triggers.php
2.69
KB
-rw-r--r--
2025-11-25 13:10
user.php
11.37
KB
-rw-r--r--
2025-11-25 13:10
usergroup.php
10.09
KB
-rw-r--r--
2025-11-25 13:10
website.php
22.92
KB
-rw-r--r--
2025-11-25 13:10
website_options.php
4.64
KB
-rw-r--r--
2025-11-25 13:10
workflow.php
6.59
KB
-rw-r--r--
2025-11-25 13:10
Save
Rename
<?php /* Copyright (C) 2018 Alexandre Spangaro <aspangaro@zendsi.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 <http://www.gnu.org/licenses/>. */ /** * \file htdocs/admin/accountant.php * \ingroup accountant * \brief Setup page to configure accountant / auditor */ require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/html.formother.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/html.formcompany.class.php'; $action=GETPOST('action','aZ09'); $contextpage=GETPOST('contextpage','aZ')?GETPOST('contextpage','aZ'):'adminaccoutant'; // To manage different context of search // Load translation files required by the page $langs->loadLangs(array('admin', 'companies')); if (! $user->admin) accessforbidden(); $error=0; /* * Actions */ $parameters=array(); $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 ( ($action == 'update' && ! GETPOST("cancel",'alpha')) || ($action == 'updateedit') ) { dolibarr_set_const($db, "MAIN_INFO_ACCOUNTANT_NAME", GETPOST("nom",'nohtml'),'chaine',0,'',$conf->entity); dolibarr_set_const($db, "MAIN_INFO_ACCOUNTANT_ADDRESS", GETPOST("address",'nohtml'),'chaine',0,'',$conf->entity); dolibarr_set_const($db, "MAIN_INFO_ACCOUNTANT_TOWN", GETPOST("town",'nohtml'),'chaine',0,'',$conf->entity); dolibarr_set_const($db, "MAIN_INFO_ACCOUNTANT_ZIP", GETPOST("zipcode",'alpha'),'chaine',0,'',$conf->entity); dolibarr_set_const($db, "MAIN_INFO_ACCOUNTANT_STATE", GETPOST("state_id",'alpha'),'chaine',0,'',$conf->entity); dolibarr_set_const($db, "MAIN_INFO_ACCOUNTANT_REGION", GETPOST("region_code",'alpha'),'chaine',0,'',$conf->entity); dolibarr_set_const($db, "MAIN_INFO_ACCOUNTANT_COUNTRY", GETPOST('country_id','int'), 'chaine',0,'',$conf->entity); dolibarr_set_const($db, "MAIN_INFO_ACCOUNTANT_PHONE", GETPOST("tel",'alpha'),'chaine',0,'',$conf->entity); dolibarr_set_const($db, "MAIN_INFO_ACCOUNTANT_FAX", GETPOST("fax",'alpha'),'chaine',0,'',$conf->entity); dolibarr_set_const($db, "MAIN_INFO_ACCOUNTANT_MAIL", GETPOST("mail",'alpha'),'chaine',0,'',$conf->entity); dolibarr_set_const($db, "MAIN_INFO_ACCOUNTANT_WEB", GETPOST("web",'alpha'),'chaine',0,'',$conf->entity); dolibarr_set_const($db, "MAIN_INFO_ACCOUNTANT_CODE", GETPOST("code",'nohtml'),'chaine',0,'',$conf->entity); dolibarr_set_const($db, "MAIN_INFO_ACCOUNTANT_NOTE", GETPOST("note",'none'),'chaine',0,'',$conf->entity); if ($action != 'updateedit' && ! $error) { header("Location: ".$_SERVER["PHP_SELF"]); exit; } } /* * View */ $help_url=''; llxHeader('',$langs->trans("CompanyFoundation"),$help_url); print load_fiche_titre($langs->trans("CompanyFoundation"),'','title_setup'); $head = company_admin_prepare_head(); dol_fiche_head($head, 'accountant', $langs->trans("Company"), -1, 'company'); $form=new Form($db); $formother=new FormOther($db); $formcompany=new FormCompany($db); $countrynotdefined='<font class="error">'.$langs->trans("ErrorSetACountryFirst").' ('.$langs->trans("SeeAbove").')</font>'; print '<span class="opacitymedium">'.$langs->trans("AccountantDesc")."</span><br>\n"; print "<br>\n"; if ($action == 'edit' || $action == 'updateedit') { /** * Edit parameters */ print "\n".'<script type="text/javascript" language="javascript">'; print '$(document).ready(function () { $("#selectcountry_id").change(function() { document.form_index.action.value="updateedit"; document.form_index.submit(); }); });'; print '</script>'."\n"; print '<form method="POST" action="'.$_SERVER["PHP_SELF"].'" name="form_index">'; print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">'; print '<input type="hidden" name="action" value="update">'; print '<table class="noborder" width="100%">'; print '<tr class="liste_titre"><th class="titlefield wordbreak">'.$langs->trans("CompanyInfo").'</th><th>'.$langs->trans("Value").'</th></tr>'."\n"; // Name print '<tr class="oddeven"><td class="fieldrequired"><label for="name">'.$langs->trans("CompanyName").'</label></td><td>'; print '<input name="nom" id="name" class="minwidth200" value="'. ($conf->global->MAIN_INFO_ACCOUNTANT_NAME?$conf->global->MAIN_INFO_ACCOUNTANT_NAME: GETPOST("nom",'nohtml')) . '" autofocus="autofocus"></td></tr>'."\n"; // Address print '<tr class="oddeven"><td><label for="address">'.$langs->trans("CompanyAddress").'</label></td><td>'; print '<textarea name="address" id="address" class="quatrevingtpercent" rows="'.ROWS_3.'">'. ($conf->global->MAIN_INFO_ACCOUNTANT_ADDRESS?$conf->global->MAIN_INFO_ACCOUNTANT_ADDRESS: GETPOST("address",'nohtml')) . '</textarea></td></tr>'."\n"; print '<tr class="oddeven"><td><label for="zipcode">'.$langs->trans("CompanyZip").'</label></td><td>'; print '<input class="minwidth100" name="zipcode" id="zipcode" value="'. ($conf->global->MAIN_INFO_ACCOUNTANT_ZIP?$conf->global->MAIN_INFO_ACCOUNTANT_ZIP: GETPOST("zipcode",'alpha')) . '"></td></tr>'."\n"; print '<tr class="oddeven"><td><label for="town">'.$langs->trans("CompanyTown").'</label></td><td>'; print '<input name="town" class="minwidth100" id="town" value="'. ($conf->global->MAIN_INFO_ACCOUNTANT_TOWN?$conf->global->MAIN_INFO_ACCOUNTANT_TOWN: GETPOST("town",'nohtml')) . '"></td></tr>'."\n"; // Country print '<tr class="oddeven"><td class="fieldrequired"><label for="selectcountry_id">'.$langs->trans("Country").'</label></td><td class="maxwidthonsmartphone">'; //if (empty($country_selected)) $country_selected=substr($langs->defaultlang,-2); // By default, country of localization print $form->select_country($conf->global->MAIN_INFO_ACCOUNTANT_COUNTRY, 'country_id'); if ($user->admin) print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionarySetup"),1); print '</td></tr>'."\n"; print '<tr class="oddeven"><td><label for="state_id">'.$langs->trans("State").'</label></td><td class="maxwidthonsmartphone">'; $formcompany->select_departement($conf->global->MAIN_INFO_ACCOUNTANT_STATE, $conf->global->MAIN_INFO_ACCOUNTANT_COUNTRY, 'state_id'); print '</td></tr>'."\n"; print '<tr class="oddeven"><td><label for="phone">'.$langs->trans("Phone").'</label></td><td>'; print '<input name="tel" id="phone" value="'. $conf->global->MAIN_INFO_ACCOUNTANT_PHONE . '"></td></tr>'; print '</td></tr>'."\n"; print '<tr class="oddeven"><td><label for="fax">'.$langs->trans("Fax").'</label></td><td>'; print '<input name="fax" id="fax" value="'. $conf->global->MAIN_INFO_ACCOUNTANT_FAX . '"></td></tr>'; print '</td></tr>'."\n"; print '<tr class="oddeven"><td><label for="email">'.$langs->trans("EMail").'</label></td><td>'; print '<input name="mail" id="email" class="minwidth200" value="'. $conf->global->MAIN_INFO_ACCOUNTANT_MAIL . '"></td></tr>'; print '</td></tr>'."\n"; // Web print '<tr class="oddeven"><td><label for="web">'.$langs->trans("Web").'</label></td><td>'; print '<input name="web" id="web" class="minwidth300" value="'. $conf->global->MAIN_INFO_ACCOUNTANT_WEB . '"></td></tr>'; print '</td></tr>'."\n"; // Code print '<tr class="oddeven"><td><label for="code">'.$langs->trans("AccountantFileNumber").'</label></td><td>'; print '<input name="code" id="code" class="minwidth100" value="'. ($conf->global->MAIN_INFO_ACCOUNTANT_CODE?$conf->global->MAIN_INFO_ACCOUNTANT_CODE: GETPOST("code",'nohtml')) . '" autofocus="autofocus"></td></tr>'."\n"; // Note print '<tr class="oddeven"><td class="tdtop"><label for="note">'.$langs->trans("Note").'</label></td><td>'; print '<textarea class="flat quatrevingtpercent" name="note" id="note" rows="'.ROWS_5.'">'.(GETPOST('note','none') ? GETPOST('note','none') : $conf->global->MAIN_INFO_ACCOUNTANT_NOTE).'</textarea></td></tr>'; print '</td></tr>'; print '</table>'; print '<br><div class="center">'; print '<input type="submit" class="button" name="save" value="'.$langs->trans("Save").'">'; print ' '; print '<input type="submit" class="button" name="cancel" value="'.$langs->trans("Cancel").'">'; print '</div>'; print '<br>'; print '</form>'; } else { /* * Show parameters */ // Actions buttons //print '<div class="tabsAction">'; //print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?action=edit">'.$langs->trans("Modify").'</a>'; //print '</div><br>'; print '<div class="div-table-responsive-no-min">'; print '<table class="noborder" width="100%">'; print '<tr class="liste_titre"><td>'.$langs->trans("CompanyInfo").'</td><td>'.$langs->trans("Value").'</td></tr>'; print '<tr class="oddeven"><td class="titlefield wordbreak">'.$langs->trans("CompanyName").'</td><td>'; print $conf->global->MAIN_INFO_ACCOUNTANT_NAME; print '</td></tr>'; print '<tr class="oddeven"><td>'.$langs->trans("CompanyAddress").'</td><td>' . nl2br(empty($conf->global->MAIN_INFO_ACCOUNTANT_ADDRESS)?'':$conf->global->MAIN_INFO_ACCOUNTANT_ADDRESS) . '</td></tr>'; print '<tr class="oddeven"><td>'.$langs->trans("CompanyZip").'</td><td>' . (empty($conf->global->MAIN_INFO_ACCOUNTANT_ZIP)?'':$conf->global->MAIN_INFO_ACCOUNTANT_ZIP) . '</td></tr>'; print '<tr class="oddeven"><td>'.$langs->trans("CompanyTown").'</td><td>' . (empty($conf->global->MAIN_INFO_ACCOUNTANT_TOWN)?'':$conf->global->MAIN_INFO_ACCOUNTANT_TOWN) . '</td></tr>'; print '<tr class="oddeven"><td>'.$langs->trans("CompanyCountry").'</td><td>'; if (! empty($conf->global->MAIN_INFO_ACCOUNTANT_COUNTRY)) { $code = getCountry($conf->global->MAIN_INFO_ACCOUNTANT_COUNTRY, 2); $img=picto_from_langcode($code); print $img?$img.' ':''; print getCountry($conf->global->MAIN_INFO_ACCOUNTANT_COUNTRY,1); } print '</td></tr>'; if (! empty($conf->global->MAIN_SHOW_REGION_IN_STATE_SELECT)) print '<tr class="oddeven"><td>'.$langs->trans("Region-State").'</td><td>'; else print '<tr class="oddeven"><td>'.$langs->trans("State").'</td><td>'; if (! empty($conf->global->MAIN_INFO_ACCOUNTANT_STATE)) print getState($conf->global->MAIN_INFO_ACCOUNTANT_STATE,$conf->global->MAIN_SHOW_STATE_CODE,0,$conf->global->MAIN_SHOW_REGION_IN_STATE_SELECT); else print ' '; print '</td></tr>'; print '<tr class="oddeven"><td>'.$langs->trans("Phone").'</td><td>' . dol_print_phone($conf->global->MAIN_INFO_ACCOUNTANT_PHONE,$mysoc->country_code) . '</td></tr>'; print '<tr class="oddeven"><td>'.$langs->trans("Fax").'</td><td>' . dol_print_phone($conf->global->MAIN_INFO_ACCOUNTANT_FAX,$mysoc->country_code) . '</td></tr>'; print '<tr class="oddeven"><td>'.$langs->trans("Mail").'</td><td>' . dol_print_email($conf->global->MAIN_INFO_ACCOUNTANT_MAIL,0,0,0,80) . '</td></tr>'; print '<tr class="oddeven"><td>'.$langs->trans("Web").'</td><td>' . dol_print_url($conf->global->MAIN_INFO_ACCOUNTANT_WEB,'_blank',80) . '</td></tr>'; print '<tr class="oddeven"><td>'.$langs->trans("AccountantFileNumber").'</td><td>' . $conf->global->MAIN_INFO_ACCOUNTANT_CODE . '</td></tr>'; print '<tr class="oddeven"><td class="tdtop">'.$langs->trans("Note").'</td><td>' . (! empty($conf->global->MAIN_INFO_ACCOUNTANT_NOTE) ? nl2br($conf->global->MAIN_INFO_ACCOUNTANT_NOTE) : '') . '</td></tr>'; print '</table>'; print "</div>"; print '</form>'; // Actions buttons print '<div class="tabsAction">'; print '<div class="inline-block divButAction"><a class="butAction" href="'.$_SERVER["PHP_SELF"].'?action=edit">'.$langs->trans("Modify").'</a></div>'; print '</div>'; } llxFooter(); $db->close();