From d3d8d2813124c081035a9e45ee363dbd9f5f7f7a Mon Sep 17 00:00:00 2001 From: OzVa Server Date: Tue, 6 Aug 2024 13:54:32 +0100 Subject: [PATCH] initial --- auth/index.php | 261 +++++++++++++++++++++++ autocue/index.html | 50 +++++ data.json | 1 + index.html | 509 +++++++++++++++++++++++++++++++++++++++++++++ items.json | 35 ++++ sigil.json | 56 +++++ star.svg | 33 +++ text.json | 28 +++ 8 files changed, 973 insertions(+) create mode 100644 auth/index.php create mode 100644 autocue/index.html create mode 100644 data.json create mode 100644 index.html create mode 100644 items.json create mode 100644 sigil.json create mode 100644 star.svg create mode 100644 text.json diff --git a/auth/index.php b/auth/index.php new file mode 100644 index 0000000..bb2091c --- /dev/null +++ b/auth/index.php @@ -0,0 +1,261 @@ + + + + + + + +
+

Interface

+
+Products"; +for ($i = 0; $i < count($items); $i++) { + $description = $items[$i]["description"]; + $checked = ""; + + if ($data['itemId'] == $i) { + $checked = " checked='checked' "; + } + + echo ""; + echo "
"; +} + +$checked = ""; +if ($data['showingExtra'] == "true") { + $checked = " checked='checked' "; +} +echo ""; +echo ""; +echo ""; + +echo "
Pricing"; + +$preChecked = ""; +$postChecked = ""; +if ($data['prefix'] == "true") { + $preChecked = " checked='checked' "; +} else { + $postChecked = " checked='checked' "; +} +$prefix = $data['currency']['prefix']; +$postfix = $data['currency']['postfix']; +echo ""; +echo ""; +echo "
"; + +echo ""; +echo ""; +echo "
"; + +$discount = $data['discount']; +echo ""; +echo "
"; + +$change = $data['priceChange']; +echo ""; +echo "
"; + +$checked = ""; +if ($data['round'] == "true") { + $checked = " checked='checked' "; +} +echo ""; +echo ""; + +echo "
"; + +echo "
Info text"; +echo "
"; +for ($i = 0; $i < count($text['topText']); $i++) { + $line = $text['topText'][$i]; + $checked = ""; + if (in_array($line, $data['topText'])) { + $checked = " checked='checked' "; + } + echo ""; + echo "
"; +} +echo "
"; +echo "
"; +for ($i = 0; $i < count($text['bottomText']); $i++) { + $line = $text['bottomText'][$i]; + $checked = ""; + if (in_array($line, $data['bottomText'])) { + $checked = " checked='checked' "; + } + echo ""; + echo "
"; +} + +echo "
"; +for ($i = 0; $i < count($text['bannerText']); $i++) { + $line = $text['bannerText'][$i]; + $checked = ""; + if ($data['bannerText'] == $line) { + $checked = " checked='checked' "; + } + echo ""; + echo "
"; +} +$checked = ""; +if ($data['showingBanner'] == "true") { + $checked = " checked='checked' "; +} +echo ""; +echo ""; +echo "
"; + +echo "
Sigil display"; +echo "
"; +$checked = ""; +if ($data['showingSigil'][3] == "true") { + $checked = " checked='checked' "; +} +echo ""; +echo "
"; +$checked = ""; +if ($data['showingSigil'][2] == "true") { + $checked = " checked='checked' "; +} +echo ""; +echo "
"; +echo "
"; +$checked = ""; +if ($data['showingSigil'][0] == "true") { + $checked = " checked='checked' "; +} +echo ""; +echo "
"; +$checked = ""; +if ($data['showingSigil'][1] == "true") { + $checked = " checked='checked' "; +} +echo ""; +echo "
"; +echo "
"; +echo "
"; + +echo "
Timer"; +echo ""; +echo "
"; +echo ""; +echo "
"; +echo ""; +echo "
"; +echo ""; +echo "
"; +echo ""; +echo "
"; +echo ""; +echo "
"; +$checked = ""; +if ($data['showingTimer'] == "true") { + $checked = " checked='checked' "; +} +$timerOffset = $data["timerOffset"]; +echo ""; +echo ""; +echo "
"; +echo ""; +echo "
"; +?> +
+
+
+

Current data

+

+" . var_export($data, true) . "" ?> +

+
+ + diff --git a/autocue/index.html b/autocue/index.html new file mode 100644 index 0000000..f7a2e6e --- /dev/null +++ b/autocue/index.html @@ -0,0 +1,50 @@ + + + + + + + +
some test text!
+ + diff --git a/data.json b/data.json new file mode 100644 index 0000000..31af23d --- /dev/null +++ b/data.json @@ -0,0 +1 @@ +{"topText":["It's here!"],"bottomText":["It's here!"],"bannerText":"Buy XMDV!","itemId":0,"currency":{"prefix":"\u00a3","postfix":" hairs"},"discount":0,"prefix":"true","round":"true","priceChange":50,"showingExtra":"true","showingTimer":"true","showingBanner":"true","showingSigil":["true","true","false","false"],"timerEnd":1722808645,"timerOffset":-500} \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..7de0b10 --- /dev/null +++ b/index.html @@ -0,0 +1,509 @@ + + + + + + + + + +
+
+

+

+

+
+

+
+ +

5000000000% OFF

+
+

+ +
+
+

+

+ +
+
+
+

+

+
+

+
+
+ +
+ + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+ + diff --git a/items.json b/items.json new file mode 100644 index 0000000..9553927 --- /dev/null +++ b/items.json @@ -0,0 +1,35 @@ +[ + { + "code":"Placeholder item code", + "subtext":"Test item name", + "description":"Test item description", + "origionalPrice":0, + "extraInfo":{ + "stockCount":0, + "soldCount":0 + }, + "notes":"

[autocue] Showing: test product.
Commencing shortly.

" + }, + { + "code":"Item 1", + "subtext":"Gold Stick-Strip™", + "description":"50m shiny gold Stick-Strip™! Origional beautiful formula! Cannot be broken! Too beautiful! Stuck!", + "origionalPrice":500, + "extraInfo":{ + "stockCount":100, + "soldCount":20 + }, + "notes":"

ITEM IS A REEL OF GOLDEN TAPE THAT CANNOT BE TORN

" + }, + { + "code":"Item 2", + "subtext":"Item subtext", + "description":"Product 2 description. It's really long to see if the badge element moves down the page at all. I f**king hate CSS positioning. Oops family show.", + "origionalPrice":170, + "extraInfo":{ + "stockCount":200, + "soldCount":40 + }, + "notes":"Some more notes..." + } +] diff --git a/sigil.json b/sigil.json new file mode 100644 index 0000000..d9a05af --- /dev/null +++ b/sigil.json @@ -0,0 +1,56 @@ +{ + "square":[ + "110,10", + "90,110", + "50,10", + "70,110", + "30,110", + "10,10", + "10,30", + "90,30", + "70,90", + "50,90", + "30,30", + "110,90", + "110,70", + "30,50", + "70,50", + "50,50", + "90,70", + "10,70", + "10,50", + "30,70", + "70,70", + "50,70", + "90,50", + "110,50", + "10,90", + "90,90", + "50,30", + "70,30", + "30,90", + "110,30", + "110,110", + "30,10", + "50,110", + "70,10", + "90,10", + "10,110" + ], + "phrases":[ + "anchor", + "thebeast", + "buyitall", + "consumer", + "runners", + "xmdv", + "broadcast", + "bleedout", + "quant", + "bullion", + "adarksun", + "dollar", + "beast" + ] + +} diff --git a/star.svg b/star.svg new file mode 100644 index 0000000..dab960a --- /dev/null +++ b/star.svg @@ -0,0 +1,33 @@ + + + + + + + + + image/svg+xml + + + + + + diff --git a/text.json b/text.json new file mode 100644 index 0000000..eeadc99 --- /dev/null +++ b/text.json @@ -0,0 +1,28 @@ +{ + "topText":[ + "Test top text 1", + "Test top text 2", + "It's here!" + ], + "bottomText":[ + "Something bright and radiant for all of you at home!", + "I take your life and raise you 10 over the hour!", + "We grab the bullion counterweight and throw ourselves down!", + "We have been falling for a looong time people!", + "Let me slip into something less spacious!", + "Down the side of a large golden pyramid!", + "So we dress ourselves in your Ballast!", + "I used to be so unimaginably tall!", + "It's here!" + ], + "bannerText":[ + "Buy XMDV!", + "Discounts on XMDV!", + "Imagine thinking on a piece of paper!", + "Imagine thinking on a dime!", + "Imagine thinking on a dollar!", + "The quant we created!", + "The quant we fear!", + "It's here!" + ] +} -- 2.39.2