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 /
webedi.bdcloud.fr /
api /
ryimg /
Delete
Unzip
Name
Size
Permission
Date
Action
.git
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
images
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
download.php
2.42
KB
-rw-r--r--
2022-09-29 07:50
index.php
128
B
-rw-r--r--
2022-09-29 07:50
pr.php
1.19
KB
-rw-r--r--
2022-09-29 07:50
product.php
2.09
KB
-rw-r--r--
2022-09-29 07:50
product_OLD.php
2.4
KB
-rw-r--r--
2022-09-29 07:50
product_customer_price.php
1
KB
-rw-r--r--
2022-09-29 07:50
product_virtual.php
3.72
KB
-rw-r--r--
2022-09-29 07:50
product_visibility.php
3.07
KB
-rw-r--r--
2022-09-29 07:50
Save
Rename
<?php //connect to database via main.inc.php if (! defined('NOCSRFCHECK')) define('NOCSRFCHECK','1'); // Do not check anti CSRF attack test if (! defined('NOTOKENRENEWAL')) define('NOTOKENRENEWAL','1'); // Do not check anti POST attack test if (! defined('NOREQUIREMENU')) define('NOREQUIREMENU','1'); // If there is no need to load and show top and left menu if (! defined('NOREQUIREHTML')) define('NOREQUIREHTML','1'); // If we don't need to load the html.form.class.php if (! defined('NOREQUIREAJAX')) define('NOREQUIREAJAX','1'); // Do not load ajax.lib.php library if (! defined("NOLOGIN")) define("NOLOGIN",'1'); // If this page is public (can be called outside logged session) require('../../main.inc.php'); //connected. $total_rows = []; if(isset($_GET)) { $idParent = null; if(isset($_GET['id'])) { $idParent = $_GET['id']; } // no module_part if($idParent == null) { echo 'no_product'; return; } try { $list = getAllPdtVirtuels($idParent, $db); // Traitement des caracteres speciaux et null array_walk_recursive($list, function (&$item, $key) { // $item = null === $item ? "" : utf8_encode($item); $item = utf8_encode($item); }); echo json_encode($list, true); } catch(Exception $err) { echo($err->getMessage()); } } function getAllPdtVirtuels($id, $db) { // echo("getAllPdtVirtuels"); try { $query = "SELECT * FROM llx_product_association pa, llx_product p WHERE pa.fk_product_pere = p.rowid AND pa.fk_product_fils =".$id." "; $res = $db->query($query); $List = []; //for ($i=0; $i < count($pdtVirtuels); $i++) { $all_virtual_products; while($pdtVirtuels = $db->fetch_array($res)) { //$all_virtual_products[] = $pdtVirtuels; $itemVirtuel = $pdtVirtuels; $GLOBALS['total_rows'][] = $pdtVirtuels; $List[] = array_merge($pdtVirtuels, getAllPdtVirtuels($pdtVirtuels["rowid"], $db)); //print_r($pdtVirtuels); //print "<br><br><br>"; //if($count>=500){sleep(5);} //sleep(1); } $List = $GLOBALS['total_rows']; return $List; } catch(Exception $err) { echo($err->getMessage()); } } /* if(isset($_GET)) { $idParent = null; if(isset($_GET['id'])) { $idParent = $_GET['id']; } // no module_part if($idParent == null) { echo 'no_product'; return; } try { $db = new PDO("mysql:host=localhost; dbname=c4francefood_v8", "root", "sX3ODj5kddbFXMJq"); $list = getAllPdtVirtuels($idParent, $db); // Traitement des caracteres speciaux et null array_walk_recursive($list, function (&$item, $key) { // $item = null === $item ? "" : utf8_encode($item); $item = utf8_encode($item); }); echo json_encode($list); } catch(Exception $err) { echo($err->getMessage()); } } function getAllPdtVirtuels($id, $db) { // echo("getAllPdtVirtuels"); try { $query = "SELECT * FROM llx_product_association pa, llx_product p where pa.fk_product_pere = p.rowid AND pa.fk_product_fils = :id"; $stmt = $db->prepare($query); $stmt->execute(['id' => $id]); $pdtVirtuels = $stmt->fetchAll(PDO::FETCH_ASSOC); for ($i=0; $i < count($pdtVirtuels); $i++) { $itemVirtuel = $pdtVirtuels[$i]; $pdtVirtuels = array_merge($pdtVirtuels, getAllPdtVirtuels($itemVirtuel["rowid"], $db)); } return $pdtVirtuels; } catch(Exception $err) { echo($err->getMessage()); } } */