no message

This commit is contained in:
2025-10-18 14:46:52 +08:00
commit 7a84025b05
387 changed files with 75711 additions and 0 deletions

29
user/show_product.php Normal file
View File

@@ -0,0 +1,29 @@
<?php
include './head.php';
$id = $_GET['id'];
// 定义要检查的文件路径
$filename = './me/' . $user . '/' . $pass . '/products/'.$id.'.json'; // 目录路径
if (!file_get_contents($filename)) {
echo "Error";
exit;
}
$data = file_get_contents($filename);
$data = json_decode($data, true);
$mod = $data['mod'];
$Main_route = './mods/'.$mod.'/Main.php';
include $Main_route;
echo @show_product($data);
?>