Files
furatalog-web/admin/redirectFromJinxxy.php
T

597 lines
40 KiB
PHP
Raw Normal View History

2025-05-20 12:21:13 +02:00
<?php
session_start();
2025-05-29 14:16:43 +02:00
$_POST["data"] = "{
\"props\": {
\"pageProps\": {
\"pathname\": \"/[username]/[url_slug]\",
\"user\": null,
\"username\": \"Tarinatar\",
\"user_id\": \"3567795932739143612\",
\"url_slug\": \"vvKkh\",
\"product_id\": \"3641398329524356645\",
\"logged_in\": false,
\"over_18\": false,
\"__APOLLO_STATE__\": {
\"ProfileImageFile:818108199844017152\": {
\"__typename\": \"ProfileImageFile\",
\"id\": \"818108199844017152\",
\"url\": \"https://jinxxy-cdn.com/351b203e-b752-533f-af74-ad2e452c4160/818108199844017152.png?width=512\",
\"path\": \"351b203e-b752-533f-af74-ad2e452c4160/818108199844017152.png\",
\"content_type\": \"image/png\",
\"extension\": \"png\"
},
\"ProfileImageFile:3583050994906302101\": {
\"__typename\": \"ProfileImageFile\",
\"id\": \"3583050994906302101\",
\"url\": \"https://jinxxy-cdn.com/351b203e-b752-533f-af74-ad2e452c4160/818108156866995200.png\",
\"path\": \"351b203e-b752-533f-af74-ad2e452c4160/818108156866995200.png\",
\"content_type\": \"image/png\",
\"extension\": \"png\"
},
\"User:3567795932739143612\": {
\"__typename\": \"User\",
\"id\": \"3567795932739143612\",
\"username\": \"Tarinatar\",
\"badges\": [
\"supporter\"
],
\"level\": 16,
\"profile_image\": {
\"__ref\": \"ProfileImageFile:818108199844017152\"
},
\"profile_header\": {
\"__ref\": \"ProfileImageFile:3583050994906302101\"
},
\"bio\": \"{\\\"blocks\\\":[{\\\"key\\\":\\\"aso1f\\\",\\\"text\\\":\\\"Game artist from Finland. I stream, game, create and try to be as helpful to the furry community as possible. ♥ Pleasure to meet you!\\\",\\\"type\\\":\\\"unstyled\\\",\\\"depth\\\":0,\\\"inlineStyleRanges\\\":[],\\\"entityRanges\\\":[],\\\"data\\\":{}}],\\\"entityMap\\\":{}}\",
\"name\": \"Tarina\",
\"url\": \"https://linktr.ee/Tarinatar\",
\"discord_name\": \"tarinatar\",
\"twitter_name\": \"\",
\"twitch_name\": \"tarinatar\",
\"youtube_name\": \"@tarinatar\",
\"follower_count\": 24,
\"following_count\": 0,
\"post_count\": 0,
\"external_product_count\": null,
\"relationship\": {
\"__typename\": \"Relationship\",
\"target_id\": \"3567795932739143612\",
\"user_id\": null,
\"target_following\": false,
\"user_following\": false
},
\"stores\": null,
\"profile_layout\": null,
\"banned_at\": null
},
\"ROOT_QUERY\": {
\"__typename\": \"Query\",
\"user({\\\"username\\\":\\\"Tarinatar\\\"})\": {
\"__ref\": \"User:3567795932739143612\"
},
\"product({\\\"url\\\":\\\"vvKkh\\\",\\\"user_id\\\":\\\"3567795932739143612\\\"})\": {
\"__ref\": \"PublicProduct:3641398329524356645\"
},
\"marketplace\": {
\"__ref\": \"MarketplaceQueries:{}\"
},
\"getUser({\\\"id\\\":\\\"3567795932739143612\\\"})\": {
\"__ref\": \"User:3567795932739143612\"
},
\"getRelationship({\\\"target_id\\\":\\\"3567795932739143612\\\"})\": null
},
\"FilePreview:3641401781570766467\": {
\"__typename\": \"FilePreview\",
\"id\": \"3641401781570766467\",
\"file_name\": \"PartyPajama01.unitypackage\",
\"size\": 9091936,
\"updated_at\": \"2025-05-27T01:22:21.067Z\",
\"versions\": []
},
\"ProductPreview:847282216521027584\": {
\"__typename\": \"ProductPreview\",
\"id\": \"847282216521027584\",
\"url\": \"https://jinxxy-cdn.com/d06463a5-709d-5f10-84ec-9eeb6ba408c0/3641398329524356645/847282216521027584.png\",
\"size\": 1342169,
\"content_type\": \"image/png\",
\"path\": \"d06463a5-709d-5f10-84ec-9eeb6ba408c0/3641398329524356645/847282216521027584.png\",
\"updated_at\": \"2025-05-27T01:17:04.381Z\",
\"position\": null
},
\"ProductPreview:847283310520773632\": {
\"__typename\": \"ProductPreview\",
\"id\": \"847283310520773632\",
\"url\": \"https://jinxxy-cdn.com/d06463a5-709d-5f10-84ec-9eeb6ba408c0/3641398329524356645/847283310520773632.png\",
\"size\": 1728323,
\"content_type\": \"image/png\",
\"path\": \"d06463a5-709d-5f10-84ec-9eeb6ba408c0/3641398329524356645/847283310520773632.png\",
\"updated_at\": \"2025-05-27T01:21:56.458Z\",
\"position\": 0
},
\"ProductPreview:847283321620379648\": {
\"__typename\": \"ProductPreview\",
\"id\": \"847283321620379648\",
\"url\": \"https://jinxxy-cdn.com/d06463a5-709d-5f10-84ec-9eeb6ba408c0/3641398329524356645/847283321620379648.png\",
\"size\": 1741853,
\"content_type\": \"image/png\",
\"path\": \"d06463a5-709d-5f10-84ec-9eeb6ba408c0/3641398329524356645/847283321620379648.png\",
\"updated_at\": \"2025-05-27T01:21:56.465Z\",
\"position\": 1
},
\"ProductPreview:847283330429493248\": {
\"__typename\": \"ProductPreview\",
\"id\": \"847283330429493248\",
\"url\": \"https://jinxxy-cdn.com/d06463a5-709d-5f10-84ec-9eeb6ba408c0/3641398329524356645/847283330429493248.png\",
\"size\": 1709250,
\"content_type\": \"image/png\",
\"path\": \"d06463a5-709d-5f10-84ec-9eeb6ba408c0/3641398329524356645/847283330429493248.png\",
\"updated_at\": \"2025-05-27T01:21:56.475Z\",
\"position\": 2
},
\"ProductPreview:847283430840205312\": {
\"__typename\": \"ProductPreview\",
\"id\": \"847283430840205312\",
\"url\": \"https://jinxxy-cdn.com/d06463a5-709d-5f10-84ec-9eeb6ba408c0/3641398329524356645/847283430840205312.png\",
\"size\": 2918271,
\"content_type\": \"image/png\",
\"path\": \"d06463a5-709d-5f10-84ec-9eeb6ba408c0/3641398329524356645/847283430840205312.png\",
\"updated_at\": \"2025-05-27T01:21:56.519Z\",
\"position\": 3
},
\"PublicProduct:3641398329524356645\": {
\"__typename\": \"PublicProduct\",
\"id\": \"3641398329524356645\",
\"product_type\": \"DIGITAL_PRODUCT\",
\"user\": {
\"__ref\": \"User:3567795932739143612\"
},
\"name\": \"Party Pajama Somna Outfit for Novabeast [VRChat]\",
\"url\": \"vvKkh\",
\"base_price\": 2400,
\"pwyw_pricing\": false,
\"currency_code\": \"USD\",
\"description\": \"{\\\"root\\\":{\\\"children\\\":[{\\\"children\\\":[{\\\"detail\\\":0,\\\"format\\\":2,\\\"mode\\\":\\\"normal\\\",\\\"style\\\":\\\"\\\",\\\"text\\\":\\\"─────────────────────────────────────🙼 🙼─\\\",\\\"type\\\":\\\"text\\\",\\\"version\\\":1}],\\\"direction\\\":\\\"ltr\\\",\\\"format\\\":\\\"\\\",\\\"indent\\\":0,\\\"type\\\":\\\"paragraph\\\",\\\"version\\\":1,\\\"textFormat\\\":0},{\\\"children\\\":[{\\\"detail\\\":0,\\\"format\\\":2,\\\"mode\\\":\\\"normal\\\",\\\"style\\\":\\\"\\\",\\\"text\\\":\\\"PARTY PAJAMA!\\\",\\\"type\\\":\\\"text\\\",\\\"version\\\":1},{\\\"type\\\":\\\"linebreak\\\",\\\"version\\\":1},{\\\"detail\\\":0,\\\"format\\\":2,\\\"mode\\\":\\\"normal\\\",\\\"style\\\":\\\"\\\",\\\"text\\\":\\\"Outfit for Novabeast\\\",\\\"type\\\":\\\"text\\\",\\\"version\\\":1}],\\\"direction\\\":\\\"ltr\\\",\\\"format\\\":\\\"\\\",\\\"indent\\\":0,\\\"type\\\":\\\"heading\\\",\\\"version\\\":1,\\\"tag\\\":\\\"h1\\\"},{\\\"children\\\":[{\\\"detail\\\":0,\\\"format\\\":2,\\\"mode\\\":\\\"normal\\\",\\\"style\\\":\\\"\\\",\\\"text\\\":\\\"by \\\",\\\"type\\\":\\\"text\\\",\\\"version\\\":1},{\\\"detail\\\":0,\\\"format\\\":0,\\\"mode\\\":\\\"normal\\\",\\\"style\\\":\\\"\\\",\\\"text\\\":\\\"TARINATAR\\\",\\\"type\\\":\\\"text\\\",\\\"version\\\":1}],\\\"direction\\\":\\\"ltr\\\",\\\"format\\\":\\\"\\\",\\\"indent\\\":0,\\\"type\\\":\\\"heading\\\",\\\"version\\\":1,\\\"tag\\\":\\\"h1\\\"},{\\\"children\\\":[{\\\"detail\\\":0,\\\"format\\\":2,\\\"mode\\\":\\\"normal\\\",\\\"style\\\":\\\"\\\",\\\"text\\\":\\\"──🙼 🙼 🙼 🙼 🙼──────────────────────────────\\\",\\\"type\\\":\\\"text\\\",\\\"version\\\":1}],\\\"direction\\\":\\\"ltr\\\",\\\"format\\\":\\\"\\\",\\\"indent\\\":0,\\\"type\\\":\\\"paragraph\\\",\\\"version\\\":1,\\\"textFormat\\\":0},{\\\"children\\\":[{\\\"detail\\\":0,\\\"format\\\":0,\\\"mode\\\":\\\"normal\\\",\\\"style\\\":\\\"\\\",\\\"text\\\":\\\"The Novabeast is a base created by \\\",\\\"type\\\":\\\"text\\\",\\\"version\\\":1},{\\\"children\\\":[{\\\"detail\\\":0,\\\"format\\\":8,\\\"mode\\\":\\\"normal\\\",\\\"style\\\":\\\"\\\",\\\"text\\\":\\\"Kittomatic\\\",\\\"type\\\":\\\"text\\\",\\\"version\\\":1}],\\\"direction\\\":\\\"ltr\\\",\\\"format\\\":\\\"\\\",\\\"indent\\\":0,\\\"type\\\":\\\"link\\\",\\\"version\\\":1,\\\"rel\\\":\\\"noopener noreferrer nofollow\\\",\\\"target\\\":\\\"_blank\\\",\\\"title\\\":null,\\\"url\\\":\\\"https://kittomatic.gumroad.com/\\\"},{\\\"detail\\\":0,\\\"format\\\":0,\\\"mode\\\":\\\"normal\\\",\\\"style\\\":\\\"\\\",\\\"text\\\":\\\". You need to have the base, to use this product.\\\",\\\"type\\\":\\\"text\\\",\\\"version\\\":1},{\\\"type\\\":\\\"linebreak\\\",\\\"version\\\":1},{\\\"detail\\\":0,\\\"format\\\":0,\\\"mode\\\":\\\"normal\\\",\\\"style\\\":\\\"\\\",\\\"text\\\":\\\"Link to the avatar [\\\",\\\"type\\\":\\\"text\\\",\\\"version\\\":1},{\\\"children\\\":[{\\\"detail\\\":0,\\\"format\\\":0,\\\"mode\\\":\\\"normal\\\",\\\"style\\\":\\\"\\\",\\\"text\\\":\\\"HERE\\\",\\\"type\\\":\\\"text\\\",\\\"version\\\":1}],\\\"direction\\\":\\\"ltr\\\",\\\"format\\\":\\\"\\\",\\\"indent\\\":0,\\\"type\\\":\\\"link\\\",\\\"version\\\":1,\\\"rel\\\":\\\"noopener noreferrer nofollow\\\",\\\"target\\\":\\\"_blank\\\",\\\"title\\\":null,\\\"url\\\":\\\"https://kittomatic.gumroad.com/l/Novabeast\\\"},{\\\"detail\\\":0,\\\"format\\\":0,\\\"mode\\\":\\\"normal\\\",\\\"style\\\":\\\"\\\",\\\"text\\\":\\\"]\\\",\\\"type\\\":\\\"text\\\",\\\"version\\\":1}],\\\"direction\\\":\\\"ltr\\\",\\\"format\\\":\\\"\\\",\\\"indent\\\":0,\\\"type\\\":\\\"paragraph\\\",\\\"version\\\":1,\\\"textFormat\\\":0},{\\\"children\\\":[{\\\"detail\\\":0,\\\"format\\\":0,\\\"mode\\\":\\\"normal\\\",\\\"style\\\":\\\"\\\",\\\"text\\\":\\\"The PArty Pajama outfit by TARINATAR comes with:\\\",\\\"type\\\":\\\"text\\\",\\\"version\\\":1}],\\\"direction\\\":\\\"ltr\\\",\\\"format\\\":\\\"\\\",\\\"indent
\"category\": \"clothing\",
\"tags\": [
\"furality\",
\"somna\"
],
\"type\": [
\"outfit\"
],
\"platforms\": null,
\"gender\": \"unisex\",
\"nsfw\": false,
\"restrictions\": [],
\"visibility\": \"PUBLISHED\",
\"versions\": [],
\"files\": [
{
\"__ref\": \"FilePreview:3641401781570766467\"
}
],
\"cover\": {
\"__ref\": \"ProductPreview:847282216521027584\"
},
\"previews\": [
{
\"__ref\": \"ProductPreview:847283310520773632\"
},
{
\"__ref\": \"ProductPreview:847283321620379648\"
},
{
\"__ref\": \"ProductPreview:847283330429493248\"
},
{
\"__ref\": \"ProductPreview:847283430840205312\"
}
],
\"created_at\": \"2025-05-27T01:15:29.551Z\",
\"updated_at\": \"2025-05-29T12:00:55.293Z\",
\"collaborators\": []
},
\"ProductListing:3641398329524356645\": {
\"__typename\": \"ProductListing\",
\"id\": \"3641398329524356645\",
\"service\": \"jinxxy\",
\"name\": \"Party Pajama Somna Outfit for Novabeast [VRChat]\",
\"url\": \"vvKkh\",
\"price_amount\": 2400,
\"price_currency\": \"USD\",
\"thumbnails\": [
{
\"content_type\": \"image/png\",
\"extension\": \"png\",
\"file_name\": \"PartyPajamaAdd02.png\",
\"path\": \"d06463a5-709d-5f10-84ec-9eeb6ba408c0/3641398329524356645/847282216521027584.png\",
\"size\": 1342169,
\"url\": \"https://jinxxy-cdn.com/d06463a5-709d-5f10-84ec-9eeb6ba408c0/3641398329524356645/847282216521027584.png\"
}
],
\"category\": \"clothing\",
\"tags\": [
\"furality\",
\"somna\"
],
\"type\": [
\"outfit\"
],
\"platforms\": null,
\"gender\": \"unisex\",
\"created_at\": \"2025-05-27T01:15:29.551Z\",
\"updated_at\": \"2025-05-29T12:00:55.293Z\",
\"nsfw\": false,
\"restrictions\": [],
\"seller_id\": \"3567795932739143612\",
\"seller_name\": null,
\"seller_url\": null,
\"seller_nsfw\": false,
\"seller_restrictions\": null,
\"user_id\": \"3567795932739143612\",
\"user_username\": \"Tarinatar\",
\"like_count\": 8,
\"has_liked\": false,
\"user\": {
\"__ref\": \"User:3567795932739143612\"
}
},
\"ProductListing:3604118382367999214\": {
\"__typename\": \"ProductListing\",
\"id\": \"3604118382367999214\",
\"service\": \"jinxxy\",
\"name\": \"KASS Vrchat large cat avatar base\",
\"url\": \"WwD75\",
\"price_amount\": 3000,
\"price_currency\": \"USD\",
\"thumbnails\": [
{
\"content_type\": \"image/gif\",
\"extension\": \"gif\",
\"file_name\": \"2025-03-26 22-11-15_3.gif\",
\"path\": \"d06463a5-709d-5f10-84ec-9eeb6ba408c0/3604118382367999214/828642813470923776.gif\",
\"size\": 4751267,
\"url\": \"https://jinxxy-cdn.com/d06463a5-709d-5f10-84ec-9eeb6ba408c0/3604118382367999214/828642813470923776.gif\"
}
],
\"category\": \"avatars\",
\"tags\": [
\"gogo\",
\"muscular\",
\"stylized\",
\"anime\"
],
\"type\": [
\"furry\"
],
\"platforms\": [
\"vrchat\"
],
\"gender\": \"unisex\",
\"created_at\": \"2025-04-05T14:46:53.539Z\",
\"updated_at\": \"2025-05-28T22:33:37.877Z\",
\"nsfw\": false,
\"restrictions\": [],
\"seller_id\": \"3567795932739143612\",
\"seller_name\": null,
\"seller_url\": null,
\"seller_nsfw\": false,
\"seller_restrictions\": null,
\"user_id\": \"3567795932739143612\",
\"user_username\": \"Tarinatar\",
\"like_count\": 6,
\"has_liked\": false,
\"user\": {
\"__ref\": \"User:3567795932739143612\"
}
},
\"ProductListing:3583043798873147012\": {
\"__typename\": \"ProductListing\",
\"id\": \"3583043798873147012\",
\"service\": \"jinxxy\",
\"name\": \"Stylized Dungaree Outfit base for Novabeast [VRChat]\",
\"url\": \"StylizedDungareeNovabeast\",
\"price_amount\": 950,
\"price_currency\": \"USD\",
\"thumbnails\": [
{
\"content_type\": \"image/gif\",
\"extension\": \"gif\",
\"file_name\": \"2025-03-02 23-27-20.gif\",
\"path\": \"d06463a5-709d-5f10-84ec-9eeb6ba408c0/3583043798873147012/818105498969820160.gif\",
\"size\": 10471398,
\"url\": \"https://jinxxy-cdn.com/d06463a5-709d-5f10-84ec-9eeb6ba408c0/3583043798873147012/818105498969820160.gif\"
}
],
\"category\": \"clothing\",
\"tags\": [
\"novabeast\",
\"comfy\",
\"furry\",
\"physbones\"
],
\"type\": [
\"outfit\"
],
\"platforms\": null,
\"gender\": \"unisex\",
\"created_at\": \"2025-03-07T12:55:27.413Z\",
\"updated_at\": \"2025-05-28T16:18:55.946Z\",
\"nsfw\": false,
\"restrictions\": [],
\"seller_id\": \"3567795932739143612\",
\"seller_name\": null,
\"seller_url\": null,
\"seller_nsfw\": false,
\"seller_restrictions\": null,
\"user_id\": \"3567795932739143612\",
\"user_username\": \"Tarinatar\",
\"like_count\": 15,
\"has_liked\": false,
\"user\": {
\"__ref\": \"User:3567795932739143612\"
}
},
\"ProductListing:3583032362146989645\": {
\"__typename\": \"ProductListing\",
\"id\": \"3583032362146989645\",
\"service\": \"jinxxy\",
\"name\": \"Stylized Hoodie for Tigerbee [VRChat]\",
\"url\": \"StylizedHoodee\",
\"price_amount\": 1300,
\"price_currency\": \"USD\",
\"thumbnails\": [
{
\"content_type\": \"image/gif\",
\"extension\": \"gif\",
\"file_name\": \"2025-02-14 00-59-41_14.gif\",
\"path\": \"d06463a5-709d-5f10-84ec-9eeb6ba408c0/3583032362146989645/818099673021440000.gif\",
\"size\": 4893624,
\"url\": \"https://jinxxy-cdn.com/d06463a5-709d-5f10-84ec-9eeb6ba408c0/3583032362146989645/818099673021440000.gif\"
}
],
\"category\": \"clothing\",
\"tags\": [
\"tigerbee\",
\"furry\",
\"anthro\",
\"stylized\"
],
\"type\": [
\"hoodie\"
],
\"platforms\": null,
\"gender\": \"unisex\",
\"created_at\": \"2025-03-07T12:32:44.050Z\",
\"updated_at\": \"2025-05-28T17:40:00.683Z\",
\"nsfw\": false,
\"restrictions\": [],
\"seller_id\": \"3567795932739143612\",
\"seller_name\": null,
\"seller_url\": null,
\"seller_nsfw\": false,
\"seller_restrictions\": null,
\"user_id\": \"3567795932739143612\",
\"user_username\": \"Tarinatar\",
\"like_count\": 11,
\"has_liked\": false,
\"user\": {
\"__ref\": \"User:3567795932739143612\"
}
},
\"MarketplaceQueries:{}\": {
\"__typename\": \"MarketplaceQueries\",
\"listings:{\\\"limit\\\":4,\\\"user_id\\\":\\\"3567795932739143612\\\"}\": {
\"__typename\": \"ProductListingsPayload\",
\"products\": [
{
\"__ref\": \"ProductListing:3641398329524356645\"
},
{
\"__ref\": \"ProductListing:3604118382367999214\"
},
{
\"__ref\": \"ProductListing:3583043798873147012\"
},
{
\"__ref\": \"ProductListing:3583032362146989645\"
}
],
\"page\": 1,
\"tags\": null,
\"cursor_count\": 4,
\"page_count\": 1
}
}
},
\"initialState\": {
\"user\": null,
\"giveaway\": {
\"__typename\": \"Giveaway\",
\"id\": \"5580d031cccd368c6cd90bc0999c207e\"
},
\"hydrated\": \"init\",
\"lastUpdate\": 0,
\"light\": false,
\"count\": 0,
\"uploads\": [],
\"active_product_list\": null
}
},
\"initialState\": {
\"user\": null,
\"giveaway\": {
\"__typename\": \"Giveaway\",
\"id\": \"5580d031cccd368c6cd90bc0999c207e\"
},
\"hydrated\": \"init\",
\"lastUpdate\": 0,
\"light\": false,
\"count\": 0,
\"uploads\": [],
\"active_product_list\": null
},
\"__N_SSP\": true
},
\"page\": \"/[username]/[url_slug]\",
\"query\": {
\"username\": \"Tarinatar\",
\"url_slug\": \"vvKkh\"
},
\"buildId\": \"x0N8p0Qd1W39A97ZLINUI\",
\"isFallback\": false,
\"isExperimentalCompile\": false,
\"gssp\": true,
\"appGip\": true,
\"scriptLoader\": []
}";
$_SESSION["login"] = "true-as-hell";
2025-05-20 12:21:13 +02:00
if (isset($_SESSION["tmpdata"])) {
$_POST["data"] = $_SESSION["tmpdata"];
unset($_SESSION["tmpdata"]);
}
if (!isset($_SESSION["login"]) && $_SESSION["login"] != "true-as-hell") {
$_SESSION["tmpdata"] = $_POST["data"];
header("Location: login.php?ref=redirectFromJinxxy");
die();
}
$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"]);
$apolloState = $data->props->pageProps->__APOLLO_STATE__;
$rootData = $data->props->pageProps->__APOLLO_STATE__->ROOT_QUERY;
// getting the product data
foreach ($rootData as $key => $value) {
if (strpos($key, 'product') !== false) {
$temp = $value->__ref;
foreach ($apolloState as $key => $value) {
if (strpos($key, $temp) !== false) {
$productData = $value;
}
}
}
}
// getting the user data
foreach ($apolloState as $key => $value) {
if (strpos($key, $productData->user->__ref) !== false) {
$userData = $value;
}
}
// getting user profilePicture
foreach ($apolloState as $key => $value) {
if (strpos($key, $userData->profile_image->__ref) !== false) {
$creator_pb = $value->url;
}
}
foreach ($apolloState as $key => $value) {
if (strpos($key, $productData->cover->__ref) !== false) {
$content_image = $value->url;
}
}
// set creator name
$creator_name = $userData->name;
// set creator jinxxy url
$creator_jinxxyURL = "https://jinxxy.com/" . $userData->username;
// set content name
$content_name = $productData->name;
// set content price
$content_price = $productData->base_price;
// set procuct url
$content_url = "https://jinxxy.com/" . $data->props->pageProps->username . "/" . $data->props->pageProps->url_slug;
// set no rating
$content_rating = "null";
// currency type
$currency_currency = strtolower($productData->currency_code);
2025-05-29 14:10:30 +02:00
$databaseConnection = new mysqli("localhost", "furatalog_usr", "1yRNpaUtXu[cw@-m", "furatalog");
2025-05-29 14:11:24 +02:00
$result = $databaseConnection->query("SELECT * FROM `currency` WHERE currency=\"" . $currency_currency . "\";");
2025-05-29 14:10:30 +02:00
2025-05-29 14:18:00 +02:00
$content_currency_id = $result["id"];
2025-05-29 14:10:30 +02:00
2025-05-20 12:21:13 +02:00
/*
echo '<br><span style="font-family: consolas">Creator Name </span>' . $creator_name;
echo '<br><span style="font-family: consolas">Creator PB </span>' . $creator_pb;
echo '<br><span style="font-family: consolas">Creator JinxxyURL </span>' . $creator_jinxxyURL;
echo '<br>';
echo '<br>';
echo '<br>';
echo '<br><span style="font-family: consolas">Content Name </span>' . $content_name;
echo '<br><span style="font-family: consolas">Content Price </span>' . $content_price;
echo '<br><span style="font-family: consolas">Content Rating </span>' . $content_rating;
echo '<br>';
echo '<br><span style="font-family: consolas">Content CreatorID </span>' . $content_creator_id;
echo '<br><span style="font-family: consolas">Content CurrencyID </span>' . $content_currency_id;
echo '<br>';
echo '<br><span style="font-family: consolas">Content URL </span>' . $content_url;
echo '<br><span style="font-family: consolas">Content Image </span>' . $content_image;
echo '<br>';
echo '<br><span style="font-family: consolas">Currency Code </span>' . $currency_currency;
*/
?>
<!DOCTYPE html>
<html lang="en">
<head>
<?php echo file_get_contents("/var/www/furatalog-cdn/mainHead.html"); ?>
<title>Insert From Jinxxy - Admin Panel - Furatalog.xyz</title>
</head>
<body>
<div class="main">
<form action="insert-jinxxy.php" class="insert" method="post">
<input type="text" name="creator_name" value="<?php echo $creator_name; ?>"><br>
<input type="text" name="creator_pb" value="<?php echo $creator_pb; ?>"><br>
<input type="text" name="creator_jinxxyURL" value="<?php echo $creator_jinxxyURL; ?>"><br>
<input type="text" name="content_name" value="<?php echo $content_name; ?>"><br>
<input type="text" name="content_price" value="<?php echo $content_price; ?>"><br>
<input type="text" name="content_rating" value="<?php echo $content_rating; ?>"><br>
<input type="text" name="content_creator_id" value="<?php echo $content_creator_id; ?>"><br>
<input type="text" name="content_currency_id" value="<?php echo $content_currency_id; ?>"><br>
<input type="text" name="content_url" value="<?php echo $content_url; ?>"><br>
<input type="text" name="content_image" value="<?php echo $content_image; ?>"><br>
<input type="text" name="currency_currency" value="<?php echo $currency_currency; ?>"><br>
<input type="submit" value="Insert">
</form>
</div>
</body>
</html>