diff --git a/assets/pasted-20260407-193523-c37f50e9.png b/assets/pasted-20260407-193523-c37f50e9.png new file mode 100644 index 0000000..fefd495 Binary files /dev/null and b/assets/pasted-20260407-193523-c37f50e9.png differ diff --git a/info.php b/info.php new file mode 100644 index 0000000..72b8f12 --- /dev/null +++ b/info.php @@ -0,0 +1,14 @@ + diff --git a/scitems.php b/scitems.php index 73d09aa..90b4be7 100644 --- a/scitems.php +++ b/scitems.php @@ -57,8 +57,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { $count_updated = 0; $stmt_check = $db->prepare("SELECT cl_scobjs_id FROM tbl_scobjs WHERE cl_scobjs_uuid = :uuid"); - $stmt_insert = $db->prepare("INSERT INTO tbl_scobjs (cl_scobjs_name, cl_scobjs_type, cl_scobjs_subtype, cl_scobjs_uuid, cl_scobjs_about) VALUES (:name, :type, :subtype, :uuid, :about)"); - $stmt_update = $db->prepare("UPDATE tbl_scobjs SET cl_scobjs_name = :name, cl_scobjs_type = :type, cl_scobjs_subtype = :subtype, cl_scobjs_about = :about WHERE cl_scobjs_uuid = :uuid"); + $stmt_insert = $db->prepare("INSERT INTO tbl_scobjs (cl_scobjs_name, cl_scobjs_type, cl_scobjs_subtype, cl_scobjs_uuid, cl_scobjs_rarity, cl_scobjs_about) VALUES (:name, :type, :subtype, :uuid, '', '')"); + $stmt_update = $db->prepare("UPDATE tbl_scobjs SET cl_scobjs_name = :name, cl_scobjs_type = :type, cl_scobjs_subtype = :subtype WHERE cl_scobjs_uuid = :uuid"); foreach ($items as $item) { $uuid = $item['reference'] ?? ($item['stdItem']['UUID'] ?? ''); @@ -67,7 +67,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { $name = $item['stdItem']['Name'] ?? ''; $type = $item['type'] ?? ''; $subtype = $item['subType'] ?? ''; - $about = $item['stdItem']['Description'] ?? ''; $stmt_check->execute(['uuid' => $uuid]); if ($stmt_check->fetch()) { @@ -75,7 +74,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { 'name' => $name, 'type' => $type, 'subtype' => $subtype, - 'about' => $about, 'uuid' => $uuid ]); $count_updated++; @@ -84,8 +82,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { 'name' => $name, 'type' => $type, 'subtype' => $subtype, - 'uuid' => $uuid, - 'about' => $about + 'uuid' => $uuid ]); $count_new++; } @@ -152,6 +149,11 @@ if ($edit_id > 0) { --success: #00ff88; } + @font-face { + font-family: 'Electrolize'; + src: url('fonts/Electrolize-Regular.ttf') format('truetype'); + } + body { background: radial-gradient(circle at top right, #1a1f2e, var(--bg-dark)); background-attachment: fixed; @@ -377,12 +379,19 @@ if ($edit_id > 0) {
- +
- - + +
@@ -469,4 +478,4 @@ if ($edit_id > 0) {
- + \ No newline at end of file