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.119
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 /
asiafood_v12 /
core /
lib /
Delete
Unzip
Name
Size
Permission
Date
Action
accounting.lib.php
7.08
KB
-rwxrwxrwx
2021-01-11 11:23
admin.lib.php
67.53
KB
-rwxrwxrwx
2021-01-11 11:23
agenda.lib.php
19.98
KB
-rwxrwxrwx
2021-01-11 11:23
ajax.lib.php
28.77
KB
-rwxrwxrwx
2021-01-11 11:23
asset.lib.php
4.76
KB
-rwxrwxrwx
2021-01-11 11:23
bank.lib.php
13.29
KB
-rwxrwxrwx
2021-01-11 11:23
barcode.lib.php
14.29
KB
-rwxrwxrwx
2021-01-11 11:23
categories.lib.php
3.41
KB
-rwxrwxrwx
2021-01-11 11:23
company.lib.php
79.51
KB
-rwxrwxrwx
2021-01-11 11:23
contact.lib.php
4.66
KB
-rwxrwxrwx
2021-01-11 11:23
contract.lib.php
4.78
KB
-rwxrwxrwx
2021-01-11 11:23
cron.lib.php
4.4
KB
-rwxrwxrwx
2021-01-11 11:23
date.lib.php
34.54
KB
-rwxrwxrwx
2021-01-11 11:23
doc.lib.php
6.7
KB
-rwxrwxrwx
2021-01-11 11:23
doleditor.lib.php
4.29
KB
-rwxrwxrwx
2021-01-11 11:23
donation.lib.php
3.59
KB
-rwxrwxrwx
2021-01-11 11:23
ecm.lib.php
3.84
KB
-rwxrwxrwx
2021-01-11 11:23
emailing.lib.php
2.25
KB
-rwxrwxrwx
2021-01-11 11:23
expedition.lib.php
3.79
KB
-rwxrwxrwx
2021-01-11 11:23
expensereport.lib.php
5.69
KB
-rwxrwxrwx
2021-01-11 11:23
fichinter.lib.php
6.48
KB
-rwxrwxrwx
2021-01-11 11:23
files.lib.php
111.92
KB
-rwxrwxrwx
2021-01-11 11:23
fiscalyear.lib.php
1.86
KB
-rwxrwxrwx
2021-01-11 11:23
format_cards.lib.php
2.9
KB
-rwxrwxrwx
2021-01-11 11:23
fourn.lib.php
9.17
KB
-rwxrwxrwx
2021-01-11 11:23
functions.lib.php
361.23
KB
-rwxrwxrwx
2021-01-11 11:23
functions2.lib.php
93.8
KB
-rwxrwxrwx
2021-01-11 11:23
functions_ch.lib.php
3.66
KB
-rwxrwxrwx
2021-01-11 11:23
functionsnumtoword.lib.php
9.88
KB
-rwxrwxrwx
2021-01-11 11:23
geturl.lib.php
8.88
KB
-rwxrwxrwx
2021-01-11 11:23
holiday.lib.php
3.38
KB
-rwxrwxrwx
2021-01-11 11:23
hrm.lib.php
2.86
KB
-rwxrwxrwx
2021-01-11 11:23
images.lib.php
23.42
KB
-rwxrwxrwx
2021-01-11 11:23
import.lib.php
1.75
KB
-rwxrwxrwx
2021-01-11 11:23
index.html
0
B
-rwxrwxrwx
2021-01-11 11:23
invoice.lib.php
7.37
KB
-rwxrwxrwx
2021-01-11 11:23
invoice2.lib.php
8.84
KB
-rwxrwxrwx
2021-01-11 11:23
json.lib.php
11.53
KB
-rwxrwxrwx
2021-01-11 11:23
ldap.lib.php
5.19
KB
-rwxrwxrwx
2021-01-11 11:23
loan.lib.php
3.08
KB
-rwxrwxrwx
2021-01-11 11:23
mailmanspip.lib.php
1.24
KB
-rwxrwxrwx
2021-01-11 11:23
member.lib.php
10.04
KB
-rwxrwxrwx
2021-01-11 11:23
memory.lib.php
7.71
KB
-rwxrwxrwx
2021-01-11 11:23
modulebuilder.lib.php
12.2
KB
-rwxrwxrwx
2021-01-11 11:23
multicurrency.lib.php
1.85
KB
-rwxrwxrwx
2021-01-11 11:23
oauth.lib.php
6.77
KB
-rwxrwxrwx
2021-01-11 11:23
order.lib.php
5.64
KB
-rwxrwxrwx
2021-01-11 11:23
parsemd.lib.php
2.73
KB
-rwxrwxrwx
2021-01-11 11:23
payments.lib.php
13.75
KB
-rwxrwxrwx
2021-01-11 11:23
pdf.lib.php
97.07
KB
-rwxrwxrwx
2021-01-11 11:23
prelevement.lib.php
2.86
KB
-rwxrwxrwx
2021-01-11 11:23
price.lib.php
21.32
KB
-rwxrwxrwx
2021-01-11 11:23
product.lib.php
22.19
KB
-rwxrwxrwx
2021-01-11 11:23
project.lib.php
102.21
KB
-rwxrwxrwx
2021-01-11 11:23
propal.lib.php
5.27
KB
-rwxrwxrwx
2021-01-11 11:23
receiptprinter.lib.php
2.19
KB
-rwxrwxrwx
2021-01-11 11:23
reception.lib.php
3.69
KB
-rwxrwxrwx
2021-01-11 11:23
report.lib.php
3.78
KB
-rwxrwxrwx
2021-01-11 11:24
resource.lib.php
4.67
KB
-rwxrwxrwx
2021-01-11 11:24
salaries.lib.php
3.57
KB
-rwxrwxrwx
2021-01-11 11:24
security.lib.php
29.91
KB
-rwxrwxrwx
2021-01-11 11:24
security2.lib.php
17.37
KB
-rwxrwxrwx
2021-01-11 11:24
sendings.lib.php
16.23
KB
-rwxrwxrwx
2021-01-11 11:24
signature.lib.php
2.81
KB
-rwxrwxrwx
2021-01-11 11:24
stock.lib.php
3.67
KB
-rwxrwxrwx
2021-01-11 11:24
supplier_proposal.lib.php
4.85
KB
-rwxrwxrwx
2021-01-11 11:24
takepos.lib.php
1.96
KB
-rwxrwxrwx
2021-01-11 11:24
tax.lib.php
49.87
KB
-rwxrwxrwx
2021-01-11 11:24
ticket.lib.php
39.15
KB
-rwxrwxrwx
2021-01-11 11:24
treeview.lib.php
9.27
KB
-rwxrwxrwx
2021-01-11 11:24
trip.lib.php
1.98
KB
-rwxrwxrwx
2021-01-11 11:24
usergroups.lib.php
41.61
KB
-rwxrwxrwx
2021-01-11 11:24
vat.lib.php
2.55
KB
-rwxrwxrwx
2021-01-11 11:24
website.lib.php
47.84
KB
-rwxrwxrwx
2021-01-11 11:24
website2.lib.php
20.4
KB
-rwxrwxrwx
2021-01-11 11:24
ws.lib.php
3.52
KB
-rwxrwxrwx
2021-01-11 11:24
xcal.lib.php
16.59
KB
-rwxrwxrwx
2021-01-11 11:24
Save
Rename
<?php /* Copyright (C) 2006-2012 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2006 Rodolphe Quiedeville <rodolphe@quiedeville.org> * Copyright (C) 2007 Patrick Raguin <patrick.raguin@gmail.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/>. * or see https://www.gnu.org/ */ /** * \file htdocs/core/lib/format_cards.lib.php * \brief Set of functions used for cards generation * \ingroup core */ global $_Avery_Labels; // Unit of metric are defined into field 'metric' in mm. // To get into inch, just /25.4 // Size of pages available on: http://www.worldlabel.com/Pages/pageaverylabels.htm // _PosX = marginLeft+(_COUNTX*(width+SpaceX)); $sql = "SELECT rowid, code, name, paper_size, orientation, metric, leftmargin, topmargin, nx, ny, spacex, spacey, width, height, font_size, custom_x, custom_y, active FROM ".MAIN_DB_PREFIX."c_format_cards WHERE active=1 ORDER BY code ASC"; $resql = $db->query($sql); if ($resql) { while ($row = $db->fetch_array($resql)) { $_Avery_Labels[$row['code']]['name'] = $row['name']; $_Avery_Labels[$row['code']]['paper-size'] = $row['paper_size']; $_Avery_Labels[$row['code']]['orientation'] = $row['orientation']; $_Avery_Labels[$row['code']]['metric'] = $row['metric']; $_Avery_Labels[$row['code']]['marginLeft'] = $row['leftmargin']; $_Avery_Labels[$row['code']]['marginTop'] = $row['topmargin']; $_Avery_Labels[$row['code']]['marginTop'] = $row['topmargin']; $_Avery_Labels[$row['code']]['NX'] = $row['nx']; $_Avery_Labels[$row['code']]['NY'] = $row['ny']; $_Avery_Labels[$row['code']]['SpaceX'] = $row['spacex']; $_Avery_Labels[$row['code']]['SpaceY'] = $row['spacey']; $_Avery_Labels[$row['code']]['width'] = $row['width']; $_Avery_Labels[$row['code']]['height'] = $row['height']; $_Avery_Labels[$row['code']]['font-size'] = $row['font_size']; $_Avery_Labels[$row['code']]['custom_x'] = $row['custom_x']; $_Avery_Labels[$row['code']]['custom_y'] = $row['custom_y']; } } else { dol_print_error($db); } // We add characteristics to the name foreach ($_Avery_Labels as $key => $val) { $_Avery_Labels[$key]['name'] .= ' ('.$_Avery_Labels[$key]['paper-size'].' - '.$_Avery_Labels[$key]['NX'].'x'.$_Avery_Labels[$key]['NY'].')'; }