From 9a1243f354f40a5f2fff2c3082cd75d7a156085a Mon Sep 17 00:00:00 2001 From: SiskelDev Date: Sun, 21 Sep 2025 14:21:59 +0200 Subject: [PATCH] Removing Admin Section and moving to new Repo --- admin/big-insert.php | 13 - admin/index.php | 41 -- admin/insert-jinxxy.php | 129 ------- admin/insert-species.php | 217 ----------- admin/insert.php | 423 --------------------- admin/login.php | 53 --- admin/logout.php | 7 - admin/redirectFromJinxxy.php | 190 --------- admin/tampermonkeyImportFromJinxxy.user.js | 66 ---- admin/test.html | 16 - 10 files changed, 1155 deletions(-) delete mode 100644 admin/big-insert.php delete mode 100644 admin/index.php delete mode 100644 admin/insert-jinxxy.php delete mode 100644 admin/insert-species.php delete mode 100644 admin/insert.php delete mode 100644 admin/login.php delete mode 100644 admin/logout.php delete mode 100644 admin/redirectFromJinxxy.php delete mode 100644 admin/tampermonkeyImportFromJinxxy.user.js delete mode 100644 admin/test.html diff --git a/admin/big-insert.php b/admin/big-insert.php deleted file mode 100644 index c577578..0000000 --- a/admin/big-insert.php +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - Big Insert - Admin Panel - Furatalog.xyz - - -
- -
- - \ No newline at end of file diff --git a/admin/index.php b/admin/index.php deleted file mode 100644 index c37f0f3..0000000 --- a/admin/index.php +++ /dev/null @@ -1,41 +0,0 @@ -issetSessionData("login") && ($fs->getSessionData("login") != "true-as-hell")) { - header("Location: login.php"); - die(); - } -?> - - - - - - - Admin Panel - Furatalog.xyz - - - - - - -
-
-

Admin Panel

-

Welcome to the admin panel.

-
-
- - \ No newline at end of file diff --git a/admin/insert-jinxxy.php b/admin/insert-jinxxy.php deleted file mode 100644 index 44f43bb..0000000 --- a/admin/insert-jinxxy.php +++ /dev/null @@ -1,129 +0,0 @@ -issetSessionData("login") && ($fs->getSessionData("login") != "true-as-hell")) { - header("Location: login.php"); - die(); -} - -$furatalog = new mysqli("localhost", "furatalog_admin_usr", "NR6tLk7c56bPT5[]", "furatalog"); - -$creator_name = $_POST["creator_name"]; -$creator_pb = $_POST["creator_pb"]; -$creator_jinxxyURL = $_POST["creator_jinxxyURL"]; - -$content_name = $_POST["content_name"]; -$content_price = $_POST["content_price"]; -$content_rating = $_POST["content_rating"]; -$content_creator_id = $_POST["content_creator_id"]; -$content_currency_id = $_POST["content_currency_id"]; -$content_url = $_POST["content_url"]; -$content_image = $_POST["content_image"]; - -$section = $_POST["section"]; - -$currency_currency = $_POST["currency_currency"]; - -$creator; -$success = true; - -$content_name = str_replace("'", "\'", $content_name); - -try { - $creatorResult = $furatalog->query("SELECT * FROM `creator` WHERE `jinxxy_url`=\"" . $creator_jinxxyURL . "\";"); - if ($creatorResult->num_rows == 0) { - $furatalog->query("INSERT INTO `creator`(`name`, `pb_url`, `jinxxy_url`) VALUES ('" . $creator_name . "','" . $creator_pb . "','" . $creator_jinxxyURL . "')"); - - $creatorResult = $furatalog->query("SELECT * FROM `creator` WHERE `jinxxy_url`=\"" . $creator_jinxxyURL . "\";"); - - $creator = $creatorResult->fetch_assoc(); - } else { - $creator = $creatorResult->fetch_assoc(); - } -} catch (Exception $e) { - echo "cannot get or create creator"; - die(); -} - -$contentResult = $furatalog->query("SELECT * FROM `content` WHERE `url`=\"" . $content_url . "\";"); - -if ($contentResult->num_rows == 0) { - - try { - $furatalog->query("INSERT INTO `content`(`name`, `price`, `rating`, `creator_id`, `currency_id`, `url`, `image`, `nsfw`, `section`) VALUES - ('" . $content_name . "' - ,'" . $content_price . "' - ,'" . $content_rating . "' - ,'" . $creator["id"] . "' - ,'" . $content_currency_id . "' - ,'" . $content_url . "' - ,'" . $content_image . "' - , false - , " . $section . ")"); - - - - $parsed_url = parse_url($content_url); - $clean_url = $parsed_url['scheme'] . '://' . $parsed_url['host'] . $parsed_url['path']; - - $contentResult = $furatalog->query("SELECT * FROM content WHERE url LIKE '%" . $clean_url . "%'"); - $contentResultResult = $contentResult->fetch_assoc(); - - - - $species = explode(" ", $_POST["species"]); - - foreach ($species as $key => $value) { - $speciesResult = $furatalog->query("SELECT * FROM species WHERE tag='" . $value . "'"); - $speciesResultResult = $speciesResult->fetch_assoc(); - - $speciesID = $speciesResultResult["id"]; - - $furatalog->query("INSERT INTO `content_species` (`content_id`, `species_id`) VALUES ('" . $contentResultResult["id"] . "', '" . $speciesID . "')"); - } - - - - } catch (Exception $e) { - echo " - - - - - -

An Error has Occurred

-
" . $e . "
- - "; - $success = false; - } - - if ($success) { - echo " - - - - -

Success

-
The Item with the following name and url has been added.
- Name: " . $content_name . "
- - "; - } - - -} - -?> \ No newline at end of file diff --git a/admin/insert-species.php b/admin/insert-species.php deleted file mode 100644 index cd6de6b..0000000 --- a/admin/insert-species.php +++ /dev/null @@ -1,217 +0,0 @@ -issetSessionData("login") && ($fs->getSessionData("login") != "true-as-hell")) { - header("Location: login.php"); - die(); -} - -$_POST["nsfw"] = isset($_POST["nsfw"]) ? "1" : "0"; - -function myErrorHandler($errno, $errstr, $errfile, $errline) { - echo "

Custom error:

[$errno] $errstr
"; - echo "Error on line $errline in $errfile
"; -} - -// Set user-defined error handler function -//set_error_handler("myErrorHandler"); - -$furatalog = new mysqli("localhost", "furatalog_admin_usr", "NR6tLk7c56bPT5[]", "furatalog"); - -if (isset($_POST["url"])) { - - $givenURL = $_POST["url"]; - - $isExisting = $furatalog->query("SELECT * FROM species WHERE url='" . $givenURL . "'"); - if ($isExisting->num_rows > 0) { - $isExistent = true; - } else { - if (str_contains($givenURL, "gumroad")) { - $creatorURL = implode('/', array_slice(explode('/', $givenURL), 0, 3)); - $creatorRequestResult = $furatalog->query("SELECT * FROM creator WHERE `gumroad_url`='" . $creatorURL . "'"); - - if ($creatorRequestResult->num_rows > 0) { - $creatorID = $creatorRequestResult->fetch_assoc()["id"]; - } else { - $scrapingUrl = $creatorURL; - - $string = file_get_contents($scrapingUrl); - - $dom = new DomDocument(); - $dom->loadHTML($string); - $finder = new DomXPath($dom); - - $creatorName = $finder->query("//*[contains(concat(' ', normalize-space(@class), ' '), ' profile ')]")[0]->childNodes[0]->childNodes[0]->textContent; - $creatorUrl = $scrapingUrl; - $creatorpicture = $finder->query("//*[contains(concat(' ', normalize-space(@class), ' '), ' profile ')]")[0]->childNodes[0]->childNodes[0]->childNodes[0]->attributes[1]->textContent; - - $creatorCreateResult = $furatalog->query("INSERT INTO `creator` (`id`, `name`, `pb_url`, `booth_url`, `gumroad_url`, `payhip_url`, `jinxxy_url`) VALUES (NULL, '" . str_replace("'", "\'", $creatorName) . "', '" . $creatorpicture . "', '', '" . $creatorURL . "', '', '')"); - - $creatorResult = $furatalog->query("SELECT id FROM `creator` WHERE gumroad_url='" . $creatorURL . "'"); - - $creatorID = $creatorResult->fetch_assoc()["id"]; - } - - $newCreatorResult = $furatalog->query("SELECT * FROM creator WHERE id=" . $creatorID . ""); - $newCreatorResultResult = $newCreatorResult->fetch_assoc(); - - $new_creatorid = $newCreatorResultResult["id"]; - $new_creatorName = $newCreatorResultResult["name"]; - $new_creatorPb = $newCreatorResultResult["pb_url"]; - $new_boothURL = $newCreatorResultResult["booth_url"]; - $new_gumroadURL = $newCreatorResultResult["gumroad_url"]; - $new_payhipURL = $newCreatorResultResult["payhip_url"]; - $new_jinxxyURL = $newCreatorResultResult["jinxxy_url"]; - - $tempURL = file_get_contents($givenURL); - - $dom = new DomDocument(); - $dom->loadHTML($tempURL); - $finder = new DomXPath($dom); - - $content = $finder->query("//*[contains(concat(' ', normalize-space(@data-component-name), ' '), ' ProductPage ')]")[0]->textContent; - if ($content == "" || $content == null) { - $content = $finder->query("//*[contains(concat(' ', normalize-space(@data-component-name), ' '), ' ProfileProductPage ')]")[0]->textContent; - } - $content = json_decode($content); - $contentItem = $content->product; - - - if ($contentItem->thumbnail_url == "" || $contentItem->thumbnail_url == null) { - $newThumbnail = $contentItem->covers[0]->url; - } else { - $newThumbnail = $contentItem->thumbnail_url; - } - - $newPrice = $contentItem->price_cents; - - if (isset($contentItem->options[0]->price_difference_cents)) { - $newPrice = $contentItem->options[0]->price_difference_cents; - } - - - $furatalog->query("INSERT INTO `species` (`name`, `tag`, `url`, `creator_id`) VALUES ('" . - str_replace("'", "\'", $_POST["name"]) . "', '" . - $_POST["tag"] . "', '" . - $givenURL . "', '" . - $new_creatorid . "')"); - - $contentResult = $furatalog->query("SELECT * FROM species WHERE url='" . $givenURL . "'"); - $contentResultResult = $contentResult->fetch_assoc(); - - $new_id = $contentResultResult["id"]; - $new_name = $contentResultResult["name"]; - $new_tag = $contentResultResult["tag"]; - $new_url = $contentResultResult["url"]; - $new_creatorid = $contentResultResult["creator_id"]; - } - - } -} else { -} -?> - - - - - - - - Insert Species - Admin Panel - Furatalog.xyz - - - - -
-
-

Insert Data

-
- - - - - -
-
-
- Content already exists in the database.

"; - } - ?> -
- - - - - - - - - - - - - - - - - - - - - - - - -
New Species Inserted
ID
Name
Tag
URL
Creator ID
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Creator
ID
Name
Creator PB
Booth URL
Gumroad URL
Payhip URL
Jinxxy URL
-
-
- - \ No newline at end of file diff --git a/admin/insert.php b/admin/insert.php deleted file mode 100644 index ff48d1d..0000000 --- a/admin/insert.php +++ /dev/null @@ -1,423 +0,0 @@ -setSessionData("gumroadData", $_POST["urltransmit"]); -} - -if (!$fs->issetSessionData("login") && ($fs->getSessionData("login") != "true-as-hell")) { - header("Location: login.php?ref=insert"); - $fs->setSessionData("ref", "insert"); - die(); -} - -if ($fs->issetSessionData("gumroadData")) { - $_POST["urltransmit"] = $fs->getSessionData("gumroadData"); - $fs->unsetSessionData("gumroadData"); -} - -if (isset($_GET["url"])) { - $presetedURL = $_GET["url"]; -} elseif (isset($_POST["urltransmit"])) { - $presetedURL = $_POST["urltransmit"]; -} else { - $presetedURL = ""; -} - -$nsfw = isset($_POST["nsfw"]) ? "1" : "0"; - -function myErrorHandler($errno, $errstr, $errfile, $errline) { - echo "

Custom error:

[$errno] $errstr
"; - echo "Error on line $errline in $errfile
"; -} - -// Set user-defined error handler function -//set_error_handler("myErrorHandler"); - -$furatalog = new mysqli("localhost", "furatalog_admin_usr", "NR6tLk7c56bPT5[]", "furatalog"); - -if (isset($_POST["url"])) { - - $givenURL = $_POST["url"]; - - $isExisting = $furatalog->query("SELECT * FROM content WHERE url='" . $givenURL . "'"); - if ($isExisting->num_rows > 0) { - $isExistent = true; - - $new_id = ""; - $new_name = ""; - $new_price = ""; - $new_rating = ""; - $new_creatorid = ""; - $new_currencyid = ""; - $new_url = ""; - $new_image = "https://public-files.gumroad.com/nx5vne5h5y4bktwzh0gcfev59taj"; - $new_nsfw = ""; - $new_section = ""; - - } else { - if (str_contains($givenURL, "gumroad")) { - $creatorURL = implode('/', array_slice(explode('/', $givenURL), 0, 3)); - $creatorRequestResult = $furatalog->query("SELECT * FROM creator WHERE `gumroad_url`='" . $creatorURL . "'"); - - if ($creatorRequestResult->num_rows > 0) { - $creatorID = $creatorRequestResult->fetch_assoc()["id"]; - } else { - $scrapingUrl = $creatorURL; - - $string = file_get_contents($scrapingUrl); - - $dom = new DomDocument(); - $dom->loadHTML($string); - $finder = new DomXPath($dom); - - $creatorName = $finder->query("//*[contains(concat(' ', normalize-space(@class), ' '), ' profile ')]")[0]->childNodes[0]->childNodes[0]->textContent; - $creatorUrl = $scrapingUrl; - $creatorpicture = $finder->query("//*[contains(concat(' ', normalize-space(@class), ' '), ' profile ')]")[0]->childNodes[0]->childNodes[0]->childNodes[0]->attributes[1]->textContent; - - $creatorCreateResult = $furatalog->query("INSERT INTO `creator` (`id`, `name`, `pb_url`, `booth_url`, `gumroad_url`, `payhip_url`, `jinxxy_url`) VALUES (NULL, '" . str_replace("'", "\'", $creatorName) . "', '" . $creatorpicture . "', '', '" . $creatorURL . "', '', '')"); - - $creatorResult = $furatalog->query("SELECT id FROM `creator` WHERE gumroad_url='" . $creatorURL . "'"); - - $creatorID = $creatorResult->fetch_assoc()["id"]; - } - - $newCreatorResult = $furatalog->query("SELECT * FROM creator WHERE id=" . $creatorID . ""); - $newCreatorResultResult = $newCreatorResult->fetch_assoc(); - - $new_creatorid = $newCreatorResultResult["id"]; - $new_creatorName = $newCreatorResultResult["name"]; - $new_creatorPb = $newCreatorResultResult["pb_url"]; - $new_boothURL = $newCreatorResultResult["booth_url"]; - $new_gumroadURL = $newCreatorResultResult["gumroad_url"]; - $new_payhipURL = $newCreatorResultResult["payhip_url"]; - $new_jinxxyURL = $newCreatorResultResult["jinxxy_url"]; - - - - - - - - $tempURL = file_get_contents($givenURL); - - $dom = new DomDocument(); - $dom->loadHTML($tempURL); - $finder = new DomXPath($dom); - - $content = $finder->query("//*[contains(concat(' ', normalize-space(@data-component-name), ' '), ' ProductPage ')]")[0]->textContent; - if ($content == "" || $content == null) { - $content = $finder->query("//*[contains(concat(' ', normalize-space(@data-component-name), ' '), ' ProfileProductPage ')]")[0]->textContent; - } - $content = json_decode($content); - $contentItem = $content->product; - - - - $currentCurrency = $contentItem->currency_code; - - $newCurrencyResult = $furatalog->query("SELECT * FROM currency WHERE currency='" . $currentCurrency . "'"); - $newCurrencyResultResult = $newCurrencyResult->fetch_assoc(); - - $new_currencyid = $newCurrencyResultResult["id"]; - $new_currencyshort = $newCurrencyResultResult["currency"]; - $new_currencysymbol = $newCurrencyResultResult["symbol"]; - $new_currencyfontawesome = $newCurrencyResultResult["font-awesome"]; - - - - - - if ($contentItem->thumbnail_url == "" || $contentItem->thumbnail_url == null) { - $newThumbnail = $contentItem->covers[0]->url; - } else { - $newThumbnail = $contentItem->thumbnail_url; - } - - $newPrice = $contentItem->price_cents; - - if (isset($contentItem->options[0]->price_difference_cents)) { - $newPrice = (int)$newPrice + (int)$contentItem->options[0]->price_difference_cents; - } - - - $furatalog->query("INSERT INTO `content` (`id`, `name`, `price`, `rating`, `creator_id`, `currency_id`, `url`, `image`, `nsfw`, `section`) VALUES (NULL, '" . - str_replace("'", "\'", $contentItem->name) . "', '" . - $newPrice . "', '" . - $contentItem->ratings->average . "', '" . - $new_creatorid . "', '" . - $new_currencyid . "', '" . - $givenURL . "', '" . - $newThumbnail . "', '" . - $nsfw . "', '" . - $_POST["section"] . "')"); - - - - - $parsed_url = parse_url($givenURL); - $clean_url = $parsed_url['scheme'] . '://' . $parsed_url['host'] . $parsed_url['path']; - - $contentResult = $furatalog->query("SELECT * FROM content WHERE url LIKE '%" . $clean_url . "%'"); - $contentResultResult = $contentResult->fetch_assoc(); - - $new_id = $contentResultResult["id"]; - $new_name = $contentResultResult["name"]; - $new_price = $contentResultResult["price"]; - $new_rating = $contentResultResult["rating"]; - $new_creatorid = $contentResultResult["creator_id"]; - $new_currencyid = $contentResultResult["currency_id"]; - $new_url = $contentResultResult["url"]; - $new_image = $contentResultResult["image"]; - $new_nsfw = $contentResultResult["nsfw"]; - $new_section = $contentResultResult["section"]; - - - - $species = explode(" ", $_POST["species"]); - - foreach ($species as $key => $value) { - $speciesResult = $furatalog->query("SELECT * FROM species WHERE tag='" . $value . "'"); - $speciesResultResult = $speciesResult->fetch_assoc(); - - $speciesID = $speciesResultResult["id"]; - - $furatalog->query("INSERT INTO `content_species` (`content_id`, `species_id`) VALUES ('" . $new_id . "', '" . $speciesID . "')"); - } - } - - } -} else { - $new_id = ""; - $new_name = ""; - $new_price = ""; - $new_rating = ""; - $new_creatorid = ""; - $new_currencyid = ""; - $new_url = ""; - $new_image = "https://public-files.gumroad.com/nx5vne5h5y4bktwzh0gcfev59taj"; - $new_nsfw = ""; - $new_section = ""; -} -?> - - - - - - - - Insert Data - Admin Panel - Furatalog.xyz - - - - -
-
-

Insert Data

-
-
- - -
-

Species

-
- query("SELECT * FROM `species` ORDER BY `name` ASC"); - while ($row = $requestSpeciesResult->fetch_assoc()) { - echo " - "; - } - - ?> -
-
-
- - -
- - -
-
-
- Content already exists in the database.

"; - } - ?> -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
New Content Inserted
ID
Name
Price
Rating
Creator ID
Currency ID
URL
Image
NSFW
Section
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Creator
ID
Name
Creator PB
Booth URL
Gumroad URL
Payhip URL
Jinxxy URL
- - - - - - - - - - - - - - - - - - - - -
Currency
ID
Currency
Symbol
Font-Awesome
-
- - - -
"; - } - ?> -
-
- - - - \ No newline at end of file diff --git a/admin/login.php b/admin/login.php deleted file mode 100644 index 0a9982d..0000000 --- a/admin/login.php +++ /dev/null @@ -1,53 +0,0 @@ -setSessionData("ref", $_GET["ref"]); -} - -if (isset($_POST["username"]) && isset($_POST["password"])) { - if ($_POST["username"] == "SiskelDev" && password_verify($_POST["password"], "\$2y\$10\$uhkbDXtndzyDKsJh7d14HOBE7JoWiqYQPx3r88xDhWHnL9W4t4OJa")) { - $fs->setSessionData("login", "true-as-hell"); - $redirect = $fs->issetSessionData("ref") ? $fs->getSessionData("ref") : "index"; - $fs->unsetSessionData("ref"); - header("Location: " . $redirect . ".php"); - die(); - } -} - -if ($fs->issetSessionData("login") && ($fs->getSessionData("login") == "true-as-hell")) { - header("Location: index.php"); - die(); -} - -?> - - - - - - - Admin Login - - - -
- ← Back to Furatalog -

Admin Login

-

Please login to access the admin panel.

-
-
- - - -
-
- - \ No newline at end of file diff --git a/admin/logout.php b/admin/logout.php deleted file mode 100644 index 241c324..0000000 --- a/admin/logout.php +++ /dev/null @@ -1,7 +0,0 @@ -destroy(); - header("Location: login.php"); - die(); -?> \ No newline at end of file diff --git a/admin/redirectFromJinxxy.php b/admin/redirectFromJinxxy.php deleted file mode 100644 index 8d47876..0000000 --- a/admin/redirectFromJinxxy.php +++ /dev/null @@ -1,190 +0,0 @@ -setSessionData("jinxxyData", $_POST["data"]); -} - -if ($fs->issetSessionData("tmpdata")) { - $_POST["data"] = $fs->getSessionData("tmpdata"); - $fs->unsetSessionData("tmpdata"); -} - -if (!$fs->issetSessionData("login") && ($fs->getSessionData("login") != "true-as-hell")) { - $fs->setSessionData("tmpdata", $_POST["data"]); - $fs->setSessionData("ref", "redirectFromJinxxy"); - header("Location: login.php"); - die(); -} - -if ($fs->issetSessionData("jinxxyData")) { - $_POST["data"] = $fs->getSessionData("jinxxyData"); - $fs->unsetSessionData("jinxxyData"); -}*/ - -$creator_name; -$creator_pb; -$creator_jinxxyURL; - -$content_name; -$content_price; -$content_rating; - -$content_creator_id; -$content_currency_id; - -$content_url; -$content_image; - -$userData; -$productData; - -$data = json_decode($_POST["data"]); - -print_r($data); - -$product = $data->product; -$seller = $data->seller; - - -// set creator name -$creator_name = $seller->name; - -// set creator jinxxy url -$creator_jinxxyURL = $seller->url; - -// set creator pb -$creator_pb = $seller->image; - - - -// set content name -$content_name = $product->name; - -// set content price -$content_price = $product->price; - -// set procuct url -$content_url = $product->url; - -// set content image -$content_image = $product->image; - -// set no rating -$content_rating = "null"; - -// currency type -$currency_currency = $product->currencySymbol; - -$databaseConnection = new mysqli("10.0.0.100", "furatalog_usr", "1yRNpaUtXu[cw@-m", "furatalog"); -$result = $databaseConnection->query("SELECT * FROM `currency` WHERE symbol=\"" . $currency_currency . "\";")->fetch_assoc(); - -$content_currency_id = $result["id"]; -$currency_tag = $result["currency"]; - -$result2 = $databaseConnection->query("SELECT * FROM `creator` WHERE jinxxy_url=\"" . $creator_jinxxyURL . "\";"); - -if ($result2->num_rows > 0) { - $content_creator_id = $result2->fetch_assoc()["id"]; -} else { - $content_creator_id = ""; -} - - -/* -echo '
Creator Name ' . $creator_name; -echo '
Creator PB ' . $creator_pb; -echo '
Creator JinxxyURL ' . $creator_jinxxyURL; -echo '
'; -echo '
'; -echo '
'; -echo '
Content Name ' . $content_name; -echo '
Content Price ' . $content_price; -echo '
Content Rating ' . $content_rating; -echo '
'; -echo '
Content CreatorID ' . $content_creator_id; -echo '
Content CurrencyID ' . $content_currency_id; -echo '
'; -echo '
Content URL ' . $content_url; -echo '
Content Image ' . $content_image; -echo '
'; -echo '
Currency Code ' . $currency_currency; -*/ - - - -?> - - - - - - - Insert From Jinxxy - Admin Panel - Furatalog.xyz - - -
-
- -
- query("SELECT * FROM `species`"); - while ($row = $requestSpeciesResult->fetch_assoc()) { - echo " -
"; - } - ?> -
-
-
-
-
-
-
-
-
-
-
-
- - -
-
- - - - \ No newline at end of file diff --git a/admin/tampermonkeyImportFromJinxxy.user.js b/admin/tampermonkeyImportFromJinxxy.user.js deleted file mode 100644 index 5ecec18..0000000 --- a/admin/tampermonkeyImportFromJinxxy.user.js +++ /dev/null @@ -1,66 +0,0 @@ -// ==UserScript== -// @name Redirect to Furatalog -// @namespace furatalog.xyz -// @version 1.0 -// @description Data Redirection to Furatalog.xyz Admin Panel for Injection into the Database -// @author SiskelDev -// @match https://jinxxy.com/* -// @icon https://www.google.com/s2/favicons?sz=64&domain=jinxxy.com -// @grant none -// ==/UserScript== - -(function() { - var data = document.getElementById('__NEXT_DATA__').innerHTML; - - // creating new form element - var form = document.createElement('form'); - form.setAttribute('method', 'post'); - form.setAttribute('action', 'https://furatalog.xyz/admin/redirectFromJinxxy.php'); - - // creating new input element - var input = document.createElement('input'); - input.setAttribute('name', 'data'); - input.setAttribute('value', data); - input.setAttribute('readonly', 'true'); - - // creating submit button - var button = document.createElement('button'); - button.setAttribute('type', 'submit'); - button.innerText = 'Submit'; - - // appending input to form - form.appendChild(input); - - // appending button to form - form.appendChild(button); - - input.style.padding = "2px"; - input.style.backgroundColor = "#3a3a3a"; - input.style.color = "gray"; - input.style.borderRadius = "10px 10px 0px 0px"; - input.style.border = "solid 0px"; - input.style.marginBottom = "2px"; - input.style.width = "190px"; - - button.style.padding = "4px"; - button.style.width = "190px"; - button.style.color = "white"; - button.style.backgroundColor = "#3a3a3a"; - button.style.borderRadius = "0px 0px 10px 10px"; - - // appending style to form for absolute positioning - form.style.position = 'fixed'; - form.style.top = '68px'; - form.style.left = '5px'; - form.style.width = '202px'; - form.style.height = '74px'; - form.style.zIndex = '9999'; - form.style.padding = "5px" - form.style.backgroundColor = "#2a2a2a"; - form.style.borderRadius = "15px"; - form.style.border = "lightgray solid 1px"; - - // appending form to body - document.body.prepend(form); - -})(); \ No newline at end of file diff --git a/admin/test.html b/admin/test.html deleted file mode 100644 index 777686d..0000000 --- a/admin/test.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - Document - - -
- -
- - Click to install script X - (A userscript engine, like Tampermonkey, is required.) - - \ No newline at end of file