Update redirectFromJinxxy.php

This commit is contained in:
2025-09-22 19:07:09 +02:00
parent 43c22106aa
commit 796d0553a1
+4 -4
View File
@@ -122,14 +122,14 @@ echo '<br><span style="font-family: consolas">Currency Code </span>' . $cur
<div class="content">
<div class="insert" style="height: 100%;">
<?php
if (isset($_POST["has"]) && $_POST["has"] == "success") {
if (isset($_GET["has"]) && $_GET["has"] == "success") {
echo "<h2 style=\"color: var(--clr-primary-a0)\">Import Success!</h2>";
echo "<p>The Item with the following name and url has been added. <br>
Name: " . $_POST["msg"] . "</p>";
} else if (isset($_POST["has"]) && $_POST["has"] == "failed") {
Name: " . $_GET["msg"] . "</p>";
} else if (isset($_GET["has"]) && $_GET["has"] == "failed") {
echo "<h2 style=\"color: #ff3f3f\">Error while Importing</h2>";
echo "<p>An Error has Occurred <br>
Error: " . $_POST["msg"] . "</p>";
Error: " . $_GET["msg"] . "</p>";
}
?>