DSi-ify most pages and update comics

This commit is contained in:
HotPizzaYT 2022-05-08 11:20:31 -05:00
commit a33fd67284
20 changed files with 293 additions and 76 deletions

View file

@ -22,8 +22,8 @@ if(isset($_GET["room"])){
font-size: 12px;
}
#contenttop {
background-color: #f0f0f0;
height: 138px;
background-color: <?php echo $jsonD["color"] ?>;
height: 176px;
}
.conttop {
background-color: #f0f0f0;
@ -35,7 +35,7 @@ if(isset($_GET["room"])){
background-color: <?php echo $jsonD["color"] ?>;
}
#chatscreen {
height: 138px;
height: 160px;
background-color: #ffffff;
overflow-y: scroll;
}
@ -46,7 +46,7 @@ if(isset($_GET["room"])){
height: 138px;
}
.h200 {
height: 138px;
height: 123px;
background-color: #fff;
}
#msg {
@ -173,7 +173,7 @@ if(isset($_GET["room"])){
}
function check(event){
repos();
// repos();
if(event.keyCode === 13){
sendmess();
}

View file

@ -5,12 +5,12 @@
<title>Nav Browser</title>
<style type="text/css">
a {
.navback {
border-bottom: 1px solid black;
display: block;
}
</style></head><body><span style="font-size: 80%;">
<a href="nav.php" style="font-size: 85%;">nav index </a><br>Emoticon Reference:<br><br>
<a href="nav.php" style="font-size: 85%;" class="navback">nav index </a><br>Emoticon Reference:<br><br>
:)&nbsp;&nbsp;<img src="i/happy.gif" alt="happy"><br>:D&nbsp;&nbsp;<img src="i/icon_cheesygrin.gif" alt="grin"><br>;)&nbsp;&nbsp;<img src="i/icon_wink.gif" alt="wink"><br>;(&nbsp;&nbsp;<img src="i/icon_cry.gif" alt="cry"><br>:con:&nbsp;&nbsp;<img src="i/icon_confused.gif" alt="confused"><br>:@&nbsp;&nbsp;<img src="i/icon_mad.gif" alt="mad"><br>:grr:&nbsp;&nbsp;<img src="i/buy_sweat.png" alt="annoyed"><br>XD&nbsp;&nbsp;<img src="i/ecksdee.png" alt="ecksdee"><br>:omg:&nbsp;&nbsp;<img src="i/icon_amazed.gif" alt="omg"><br>:fp:&nbsp;&nbsp;<img src="i/icon_facepalm.gif" alt="facepalm"><br>:thinking:&nbsp;&nbsp;<img src="i/thinking.png" width="16px" height="16px" alt="thinking"><br>:eyes:&nbsp;&nbsp;<img src="i/eyes.png" style="height:20px" alt="eyes"><br>R(&nbsp;&nbsp;<img src="i/icon_unknown1.png" alt="negitiveepicface"><br>RB:&nbsp;&nbsp;<img src="i/rbow.png" alt="rainbowepicface"><br>R:&nbsp;&nbsp;<img src="i/epic.png" alt="epicface"><br>:ponything:&nbsp;&nbsp;<img src="i/icon_ponything.jpg" alt="ponything"><br>:waah:&nbsp;&nbsp;<img src="i/waah.gif" alt="waah"><br>:nuu:&nbsp;&nbsp;<img src="i/nuu.gif" alt="nuu"><br>:caps:&nbsp;&nbsp;<img src="i/caps.gif" alt="caps"><br>:lenny:&nbsp;&nbsp;( ͡° ͜ʖ ͡°)<br>:shrug:&nbsp;&nbsp;¯\_()_/¯<br>:megusta:&nbsp;&nbsp;<img src="i/icon_megusta.jpg" alt="megusta"><br>:lol:&nbsp;&nbsp;<img src="i/lol.png" alt="lol"><br>:troll:&nbsp;&nbsp;<img src="i/icon_trollface.png" alt="troll"><br>:no:&nbsp;&nbsp;<img src="i/no.png" alt="no"><br>:pface:&nbsp;&nbsp;<img src="i/pokerface.png" alt="pokerface"><br>:raeg:&nbsp;&nbsp;<img src="i/raeg.png" alt="raeg"><br>:ohplz:&nbsp;&nbsp;<img src="i/please.png" alt="ohplz"><br>:ydsay:&nbsp;&nbsp;<img src="i/buy_youdontsay.png" alt="ydsay"><br>:falone:&nbsp;&nbsp;<img src="i/icon_foreveralone.jpg" alt="falone"><br>:doge:&nbsp;&nbsp;<img src="i/doge.png" alt="&lt;DOGE (not the currency)&gt;"><br>:trig:&nbsp;&nbsp;<img src="i/triggered.jpg" alt="triggered"><br>:wolfthing:&nbsp;&nbsp;<img src="i/wolfthing.gif" alt="&lt;•o•&gt;"><br>:mccreeper:&nbsp;&nbsp;<img src="i/icon_mccreeper.png" width="16px" height="16px" alt="mccreeper"><br>:mchappy:&nbsp;&nbsp;<img src="i/icon_mchappy.png" width="16px" height="16px" alt="mchappy"><br>:sonic:&nbsp;&nbsp;<img src="i/buy_sonic.png" alt="sonic"><br>:yoshi:&nbsp;&nbsp;<img src="i/buy_yoshi.png" alt="yoshi"><br>:mario:&nbsp;&nbsp;<img src="i/icon_mario.png" alt="mario"><br>:luigi:&nbsp;&nbsp;<img src="i/icon_luigi.png" alt="luigi"><br>:weegee:&nbsp;&nbsp;<img src="i/weegee.png" alt="weegee"><br>:pokeball:&nbsp;&nbsp;<img src="i/buy_pokeball.jpg" alt="pokeball"><br>:ds:&nbsp;&nbsp;<img src="i/icon_ds.gif" alt="ds"><br>:baby:&nbsp;&nbsp;<img src="i/icon_baby.png" alt="baby"><br>:bheart:&nbsp;&nbsp;<img src="i/icon_bheart.gif" alt="heart"><br>:taco:&nbsp;&nbsp;<img src="i/icon_taco.gif" alt="taco"><br>:burger:&nbsp;&nbsp;<img src="i/icon_burger.gif" alt="burger"><br>:icecream:&nbsp;&nbsp;<img src="i/icon_icecream.gif" alt="icecream"><br>:cake:&nbsp;&nbsp;<img src="i/icon_cake.gif" alt="cake"><br>:file:&nbsp;&nbsp;<img src="i/icon_file.png" alt="file"><br>:rec:&nbsp;&nbsp;<img src="i/icon_recommended.png" alt="RECOMMENDED"><br>:stb:&nbsp;&nbsp;<img src="i/icon_stable.png" alt="STABLE"><br>:uns:&nbsp;&nbsp;<img src="i/icon_unstable.png" alt="UNSTABLE"><br>:pre:&nbsp;&nbsp;<img src="i/icon_prerelease.png" alt="PRERELEASE"><br></span>
<!--
FILE ARCHIVED ON 05:09:41 Nov 16, 2021 AND RETRIEVED FROM THE

View file

@ -1 +1 @@
{"name":"General Beta","description":"General topic for all users to use (beta)","allowGuest":false,"posts":[{"title":"You can now post to the forums","from":"HxOr1337","cont":"Great news everyone, you can now post to the forms!\r\n\r\nThis is a test, unfortunately. :troll:","time":1651021306,"com":[]},{"title":"System Post","from":"System","cont":"wuzzup guise???","time":0,"com":[]},{"title":"Hey guys","from":"HxOr1337","cont":"Hey guys\n\n[code]<?php\n\/\/ Hello everyone, this is my first\n\/\/ post. I'm not exactly sure how\n\/\/ all this will play out on the\n\/\/ Nintendo 3DS, but here's to\n\/\/ hoping highlight.js plays\n\/\/ nice with the Nintendo 3DS\n?>[\/code]","time":0,"com":[]},{"title":"test","from":"HxOr1337","cont":"test! testity test test test...\r\n\r\n\r\nballs","time":1651021123,"com":[]},{"title":"Post :D","from":"HxOr1337","cont":"Posting post post post 123","time":1651713046,"com":[]}]}
{"name":"General Beta","description":"General topic for all users to use (beta)","allowGuest":false,"posts":[{"title":"You can now post to the forums","from":"HxOr1337","cont":"Great news everyone, you can now post to the forms!\r\n\r\nThis is a test, unfortunately. :troll:","time":1651021306,"com":[]},{"title":"System Post","from":"System","cont":"wuzzup guise???","time":0,"com":[]},{"title":"Hey guys","from":"HxOr1337","cont":"Hey guys\n\n[code]<?php\n\/\/ Hello everyone, this is my first\n\/\/ post. I'm not exactly sure how\n\/\/ all this will play out on the\n\/\/ Nintendo 3DS, but here's to\n\/\/ hoping highlight.js plays\n\/\/ nice with the Nintendo 3DS\n?>[\/code]","time":0,"com":[]},{"title":"test","from":"HxOr1337","cont":"test! testity test test test...\r\n\r\n\r\nballs","time":1651021123,"com":[]},{"title":"Post :D","from":"HxOr1337","cont":"Posting post post post 123","time":1651713046,"com":[]},{"title":"Posted from DSi","from":"DSi","cont":"This has been posted from DSi, :D","time":1651978343,"com":[]}]}

View file

@ -1,5 +1,17 @@
<?php
session_start();
$width = "320";
$height1 = "208";
$height2 = "222";
if(strpos($_SERVER["HTTP_USER_AGENT"], "Nintendo DSi") !== false){
$width = "240";
$height1 = "176";
$height2 = "176";
} else {
$width = "320";
}
$cbp = (78.125 / 100) * intval($width);
$cbp1 = strval($cbp);
?>
<html>
@ -7,23 +19,23 @@ session_start();
<style>
body {
margin: 0px;
width: 320px;
width: <?php echo $width; ?>px;
background-color: #fffff;
font-size: 12px;
}
#contenttop {
background-color: #f0f0f0;
height: 208px;
height: <?php echo $height1; ?>px;
}
#contentbot {
background-color: #f0f0f0;
height: 222px;
height: <?php echo $height2; ?>px;
overflow-y: scroll;
word-wrap: break-word;
}
.commentbox {
width: 250px;
width: <?php echo $cbp1; ?>px;
outline: 1px solid black;
min-height: 200px;
}
@ -38,12 +50,12 @@ session_start();
}
</style>
<title>3DSTownSquare forums</title>
<meta name="viewport" content="width=320">
<meta name="viewport" content="width=<?php echo $width; ?>">
<meta name="description" content="Welcome to 3DSTownSquare forums. It's a place to post about whatever you want!">
</head>
<body>
<div id="contenttop">
<img src="../../images/header3ds.png" alt="Oops! Our header could not be displayed!" />
<img src="../../images/header3ds.png" width="<?php echo $width; ?>" alt="Oops! Our header could not be displayed!" />
<center><b><u>Welcome to 3DSTownSquare forums!</u></b></center>
</div>
<div id="contentbot">

View file

@ -1,5 +1,17 @@
<?php
session_start();
$width = "320";
$height1 = "208";
$height2 = "222";
if(strpos($_SERVER["HTTP_USER_AGENT"], "Nintendo DSi") !== false){
$width = "240";
$height1 = "176";
$height2 = "176";
} else {
$width = "320";
}
$cbp = (78.125 / 100) * intval($width);
$cbp1 = strval($cbp);
?>
<html>
@ -7,18 +19,18 @@ session_start();
<style>
body {
margin: 0px;
width: 320px;
width: <?php echo $width; ?>px;
background-color: #fffff;
font-size: 12px;
}
#contenttop {
background-color: #f0f0f0;
height: 208px;
height: <?php echo $height1; ?>px;
}
#contentbot {
background-color: #f0f0f0;
height: 222px;
height: <?php echo $height2; ?>px;
overflow-y: scroll;
word-wrap: break-word;
}
@ -38,7 +50,7 @@ session_start();
}
</style>
<title>3DSTownSquare forums</title>
<meta name="viewport" content="width=320">
<meta name="viewport" content="width=<?php echo $width; ?>">
<meta name="description" content="Welcome to 3DSTownSquare forums. It's a place to post about whatever you want!">
</head>
<body>
@ -52,7 +64,7 @@ session_start();
$error = "There are no posts in this topic.";
}
?>
<img src="../../images/header3ds.png" alt="Oops! Our header could not be displayed!" />
<img src="../../images/header3ds.png" width="<?php echo $width; ?>" alt="Oops! Our header could not be displayed!" />
<center><b><u><?php if($error == ""){ echo $jsonD["name"]; } else { echo "Error!"; } ?></u></b></center>
<center><?php if($error == ""){ $jsonD["description"]; } else { echo "<font color='red'>".$error."</font>"; } ?></center>
</div>
@ -62,7 +74,7 @@ session_start();
<form action="pa.php" method="post">
<?php if(isset($_SESSION["ts_user"])){
?>
<input type="text" name="topic" hidden value="<?php echo $_GET["t"] ?>" />
<input type="text" name="topic" style="display: none;" hidden value="<?php echo $_GET["t"] ?>" />
<h2>Post</h2>
Title: <input type="text" name="title" placeholder="This is where your title goes" maxlength="32" /><br />
Content:<br />

View file

@ -1,5 +1,17 @@
<?php
session_start();
$width = "320";
$height1 = "208";
$height2 = "222";
if(strpos($_SERVER["HTTP_USER_AGENT"], "Nintendo DSi") !== false){
$width = "240";
$height1 = "176";
$height2 = "176";
} else {
$width = "320";
}
$cbp = (78.125 / 100) * intval($width);
$cbp1 = strval($cbp);
?>
<html>
@ -7,23 +19,23 @@ session_start();
<style>
body {
margin: 0px;
width: 320px;
width: <?php echo $width; ?>px;
background-color: #fffff;
font-size: 12px;
}
#contenttop {
background-color: #f0f0f0;
height: 208px;
height: <?php echo $height1; ?>px;
}
#contentbot {
background-color: #f0f0f0;
height: 222px;
height: <?php echo $height2; ?>px;
overflow-y: scroll;
word-wrap: break-word;
}
.commentbox {
width: 250px;
width: <?php echo $cbp1; ?>px;
outline: 1px solid black;
min-height: 200px;
}
@ -38,7 +50,7 @@ session_start();
}
</style>
<title>3DSTownSquare forums</title>
<meta name="viewport" content="width=320">
<meta name="viewport" content="width=<?php echo $width; ?>">
<meta name="description" content="Welcome to 3DSTownSquare forums. It's a place to post about whatever you want!">
</head>
<body>
@ -52,7 +64,7 @@ session_start();
$error = "There are no posts in this topic.";
}
?>
<img src="../../images/header3ds.png" alt="Oops! Our header could not be displayed!" />
<img src="../../images/header3ds.png" width="<?php echo $width; ?>" alt="Oops! Our header could not be displayed!" />
<center><b><u><?php if($error == ""){ echo $jsonD["name"]; } else { echo "Error!"; } ?></u></b></center>
<center><?php if($error == ""){ $jsonD["description"]; } else { echo "<font color='red'>".$error."</font>"; } ?></center>
</div>

View file

@ -1,9 +1,19 @@
<?php
session_start();
include_once("../chat/process.php");
$width = "320";
$height1 = "208";
$height2 = "222";
if(strpos($_SERVER["HTTP_USER_AGENT"], "Nintendo DSi") !== false){
$width = "240";
$height1 = "176";
$height2 = "176";
} else {
$width = "320";
}
$cbp = (78.125 / 100) * intval($width);
$cbp1 = strval($cbp);
?>
<html>
<head>
<link rel="stylesheet"
@ -13,7 +23,7 @@ include_once("../chat/process.php");
<style>
body {
margin: 0px;
width: 320px;
width: <?php echo $width; ?>px;
background-color: #fffff;
font-size: 12px;
}
@ -29,7 +39,7 @@ include_once("../chat/process.php");
word-wrap: break-word;
}
.commentbox {
width: 250px;
width: <?php echo $cbp1; ?>px;
outline: 1px solid black;
min-height: 200px;
}
@ -47,12 +57,12 @@ pre {
}
</style>
<title>3DSTownSquare forums</title>
<meta name="viewport" content="width=320">
<meta name="viewport" content="width=<?php echo $width; ?>">
<meta name="description" content="Welcome to 3DSTownSquare forums. It's a place to post about whatever you want!">
</head>
<body>
<div id="contenttop">
<img src="../../images/header3ds.png" alt="Oops! Our header could not be displayed!" />
<img src="../../images/header3ds.png" width="<?php echo $width; ?>" alt="Oops! Our header could not be displayed!" />
<center><b><u>Welcome to 3DSTownSquare forums!</u></b></center>
</div>
<div id="contentbot">

View file

@ -6,7 +6,7 @@ $cbprefix = "page";
$startsWithZero = true;
$cbPages = 1;
$cbPages = 6;
if($startsWithZero){
$cbPages += 1;
@ -21,6 +21,47 @@ We have to, Toby
NO! PLEASE!!
Please, don't leave...",
"THEN AND NOW\nCHAPTER 1\nBITTER MEDICINE OF THE PAST\n\n\n\nhic...\nsob...\nmommy...\ndaddy...\n\n\n\nMore of the comic is coming soon!");
"THEN AND NOW\nCHAPTER 1\nBITTER MEDICINE OF THE PAST\n\n\n\nhic...\nsob...\nmommy...\ndaddy...\n\n\n\nMore of the comic is coming soon!",
"Toby, your parents aren't going to return
HOLD ON
How do you know that *ramble* *ramble*
No, it's right
AUTHOR'S NOTE:
Page 3. I hand wrote these panels out by hand. These strange creatures are only imaginary beings thought up by Toby's mind. They are often referred to as it because they aren't really Toby's imaginary friends and that they're hallucinations caused by the child.
Madness Combat is owned by Krinkels. Then and Now is written and drawn by Rachel Medic aka \"OmegaReploid\"",
"Maybe his parents are dead and...
He's going to die.
I hope someone finds him",
"Rachel Medic has yet to add a description to this panel...",
"<!-- page5.png -->
*BANG*
THERE'S A CHILD IN HERE!
Author's note:
The child! Originally, I was going to have him open his eyes, but I prefer his eyes closed.
Madness Combat is owned by Krinkels
Then and Now, The Flames of Anger will soon die out is written and drawn by OmegaReploid",
"hmmm... maybe Ares was right after all
Author's note:
This is the last time we'll see the Auditor, which is a major bummer. This \"Ares\" the Auditor mentions is a character from my other works \"The Flames of Anger (Will soon die out)\" and is the man that two other characters, who will appear, are cloned after. Ares will not appear in Then and Now at all.
This is the last outdoors scene for this chapter.
So the Auditor's text is based off of MC10, without the weird glitchy lines.
Also, yes, that is hints of bluud
Madness Combat is owned by Krinkles");
$pt = json_encode($pageText);
?>

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

View file

@ -1,20 +1,38 @@
<?php
session_start();
$width = "320";
$height1 = "208";
$height2 = "222";
if(strpos($_SERVER["HTTP_USER_AGENT"], "Nintendo DSi") !== false){
$width = "240";
$height1 = "176";
$height2 = "176";
} else {
$width = "320";
}
$cbp = (78.125 / 100) * intval($width);
$cbp1 = strval($cbp);
?>
<html>
<head>
<style>
body {
margin: 0px;
width: 320px;
background-color: #fffff;
width: <?php echo $width; ?>px;
background-color: #ffffff;
font-size: 12px;
}
#contenttop {
background-color: #f0f0f0;
height: 208px;
height: <?php echo $height1; ?>px;
}
#contentbot {
background-color: #f0f0f0;
height: 222px;
height: <?php echo $height2; ?>px;
}
</style>
<script>
@ -26,12 +44,12 @@
}
</script>
<title>Comic Book Reader 1.0 (Beta)</title>
<meta name="viewport" content="width=320">
<meta name="viewport" content="width=<?php echo $width;?>">
<meta name="description" content="Comic Book Reader - Read all your favorites here!">
</head>
<body>
<div id="contenttop">
<img src="../../../images/header3ds.png" alt="Oops! Our header could not be displayed!" />
<img src="../../../images/header3ds.png" width="<?php echo $width;?>" alt="Oops! Our header could not be displayed!" />
<center>Comic Book Reader 1.0 (Beta)</center>
<marquee>Welcome to Comic Book Reader! Our first comic comes from Slinkybenis. When asked what he had to say on the comic he said "sporkbob schitbag is a masterpiece sent by the gods of creation and writing it was a perilous journey i will never forget." Those are his exact words. Stay tuned next time where we review Omega's untitled comic!</marquee>
</div>

View file

@ -1,7 +1,26 @@
<?php
session_start();
$width = "320";
$height1 = "208";
$height2 = "222";
if(strpos($_SERVER["HTTP_USER_AGENT"], "Nintendo DSi") !== false){
$width = "240";
$height1 = "176";
$height2 = "176";
} else {
$width = "320";
}
$cbp = (78.125 / 100) * intval($width);
$cbp1 = strval($cbp);
?>
<?php
$trigger = false;
if(isset($_GET["id"]) && file_exists("data/" . $_GET["id"] . "/info.php")){
include_once("data/".$_GET["id"]."/info.php");
?>
<html>
@ -9,18 +28,18 @@ if(isset($_GET["id"]) && file_exists("data/" . $_GET["id"] . "/info.php")){
<style>
body {
margin: 0px;
width: 320px;
width: <?php echo $width; ?>px;
background-color: #fffff;
font-size: 12px;
}
#contenttop {
background-color: #f0f0f0;
height: 208px;
height: <?php echo $height1; ?>px;
}
#contentbot {
background-color: #f0f0f0;
height: 222px;
height: <?php echo $height2; ?>px;
}
.upperheader {
background-color: #ff8000;
@ -35,7 +54,7 @@ if(isset($_GET["id"]) && file_exists("data/" . $_GET["id"] . "/info.php")){
background-color: #33CCFF;
}
.comicPage {
width: 320px;
width: <?php echo $width; ?>px;
}
</style>
@ -71,12 +90,12 @@ if(isset($_GET["id"]) && file_exists("data/" . $_GET["id"] . "/info.php")){
}
</script>
<title>Comic Book Reader 1.0 (Beta)</title>
<meta name="viewport" content="width=320">
<meta name="viewport" content="width=<?php echo $width; ?>">
<meta name="description" content="Welcome to 3DSTownSquare Here you can find many apps and games designed for the 3DS!">
</head>
<body onload="setTimeout(load(), 2000)">
<div id="contenttop">
<img src="../../../images/header3ds.png" alt="Oops! Our header could not be displayed!" />
<img src="../../../images/header3ds.png" width="<?php echo $width; ?>" alt="Oops! Our header could not be displayed!" />
<center>You are now reading "<?php echo $cbname; ?>"</center>
<div style="overflow-y: scroll; height: 130px;" id="ss">
Loading script...

View file

@ -1,21 +1,39 @@
<?php
session_start();
$width = "320";
$height1 = "208";
$height2 = "222";
if(strpos($_SERVER["HTTP_USER_AGENT"], "Nintendo DSi") !== false){
$width = "240";
$height1 = "176";
$height2 = "176";
} else {
$width = "320";
}
$cbp = (78.125 / 100) * intval($width);
$cbp1 = strval($cbp);
?>
<html>
<head>
<script src="polyfill.js"></script>
<style>
body {
margin: 0px;
width: 320px;
width: <?php echo $width; ?>px;
background-color: #fffff;
font-size: 12px;
}
#contenttop {
background-color: #f0f0f0;
height: 208px;
height: <?php echo $height1; ?>px;
overflow-y: scroll;
}
#contentbot {
background-color: #f0f0f0;
height: 222px;
height: <?php echo $height2;?>px;
overflow-y: scroll;
}
.upperheader {
@ -33,7 +51,7 @@
</style>
<script>
window.appData = [{"name":"Sporkbob Schitbag","desc":"Created by Slinkybenis<br />This comic is based off of SpongeBob SquarePants"},{"name":"Then and Now","desc":"Based off of OmegaReploid's Madness Combat au Then and Now, join Hank J Wimbleton and his brothers as we dive into the past...<br/><br/><a href='https://archiveofourown.org/works/34034140'>Then and Now can be read in text form over here</a>"},{"name":"[Esc] DESTINY","desc":"Coming soon!"}];
window.appData = [{"name":"Sporkbob Schitbag","desc":"Created by Slinkybenis<br />This comic is based off of SpongeBob SquarePants"},{"name":"Then and Now","desc":"Based off of OmegaReploid's Madness Combat au Then and Now, join Hank J Wimbleton and his brothers as we dive into the past...<br/><br/>Working on Then and Now as a comic has been challenging, not just as a writer, but an artist as well. With writing, the reader can let their mind run wild while reading the book, but with a comic, the artist has to go wild with drawing every single pannel. My main issue with drawing every human is the far away shots and to make sure that they don't look like men's penises. I've drawn so many things and often my mother has looked at it and said \"Hm. looks like a penis.\" The fun part about drawing this, however, is that I get to combine diffrent type of art styles. I hope you enjoy reading Then and Now, as this is one of my favorite fan fics to work on, not just to type up but to now offically draw.<br/><br/><a href='https://archiveofourown.org/works/34034140'>Then and Now can be read in text form over here</a>"},{"name":"[Esc] DESTINY","desc":"Coming soon!"}];
function shop(){
window.location = "shop.php";
}
@ -96,12 +114,12 @@
}
</script>
<title>Comic Book Reader 1.0 (Beta)</title>
<meta name="viewport" content="width=320">
<meta name="viewport" content="width=<?php echo $width; ?>">
<meta name="description" content="Welcome to 3DSTownSquare Here you can find many apps and games designed for the 3DS!">
</head>
<body onkeydown="kcheck(event);">
<div id="contenttop">
<img src="../../../images/header3ds.png" alt="Oops! Our header could not be displayed!" />
<img src="../../../images/header3ds.png" width="<?php echo $width; ?>" alt="Oops! Our header could not be displayed!" />
<b><u><center id="cname">Comic Book Reader 1.0 (Beta)</center></u></b>
<center id="cdesc">Welcome to Comic Book Reader!<br />Click the background of a row to see the comic's information!</center>
</div>

View file

@ -1,3 +1,6 @@
<?php
session_start();
?>
<html>
<style>
body, html {
@ -121,18 +124,22 @@ body, html {
var http = new XMLHttpRequest();
var url = 'upload.php';
var t = encodeURIComponent(prompt("What should you name this arwork?"));
var params = 'i=' + encodeURIComponent(canvas.toDataURL()) + "&t=" + t;
var params = 'i=' + encodeURIComponent(canvas.toDataURL()) + "&&t=" + t;
http.open('POST', url, true);
//Send the proper header information along with the request
http.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');
http.setRequestHeader('Cookie', document.cookie);
alert(document.cookie);
http.onreadystatechange = function() {//Call a function when the state changes.
if(http.readyState == 4 && http.status == 200) {
alert("Uploaded");
if(this.readyState == 4 && this.status == 200) {
alert("Uploaded, " + http.responseText);
alert(params);
document.getElementById("dbg").innerText = params;
alert(t);
}
}
http.send(params);
http.send(params.toString());
}
function findxy(res, e) {
if (res == 'down') {
@ -222,6 +229,6 @@ http.send(params);
<input type="button" value="exit" onclick="window.location='../'">
<input type="button" value="view works" onclick="window.location='works.php'">
<input type="button" value="play game" onclick="window.location='rooms.php'">
<div id="dbg">DEBUG BOX: Debugging info will show here</div>
</body>
</html>

View file

@ -16,6 +16,10 @@ if(isset($_POST["i"]) && isset($_POST["t"]) && isset($_SESSION["ts_user"])){
file_put_contents('out/'.$id.'.png', $data);
//}
} else {
echo "title2long";
}
} else {
echo "notSetOrNotLoggedIn";
}

View file

@ -1,20 +1,36 @@
<?php
session_start();
$width = "320";
$height1 = "208";
$height2 = "222";
if(strpos($_SERVER["HTTP_USER_AGENT"], "Nintendo DSi") !== false){
$width = "240";
$height1 = "176";
$height2 = "176";
} else {
$width = "320";
}
$cbp = (78.125 / 100) * intval($width);
$cbp1 = strval($cbp);
?>
<html>
<head>
<style>
body {
margin: 0px;
width: 320px;
width: <?php echo $width; ?>px;
background-color: #fffff;
font-size: 12px;
}
#contenttop {
background-color: #f0f0f0;
height: 208px;
height: <?php echo $height1; ?>px;
}
#contentbot {
background-color: #f0f0f0;
height: 222px;
height: <?php echo $height2; ?>px;
overflow-y: scroll;
}
@ -68,12 +84,12 @@
</script>
<title>3DSTownSquare - Game Center</title>
<meta name="viewport" content="width=320">
<meta name="viewport" content="width=<?php echo $width; ?>">
<meta name="description" content="Play 3DSTownSquare games here!">
</head>
<body onkeydown="kcheck(event)" >
<div id="contenttop">
<img src="../../images/header3ds.png" alt="Oops! Our header could not be displayed!" />
<img src="../../images/header3ds.png" width="<?php echo $width; ?>" alt="Oops! Our header could not be displayed!" />
<center><b><u id="appname">Comic Book Reader 1.0</u></b>
<br />
Description: <span id="appdesc">A comic book reader for the Nintendo 3DS! (beta)</span><br />

View file

@ -1,5 +1,15 @@
<?php
session_start();
$width = "320";
$height1 = "208";
$height2 = "222";
if(strpos($_SERVER["HTTP_USER_AGENT"], "Nintendo DSi") !== false){
$width = "240";
$height1 = "176";
$height2 = "176";
} else {
$width = "320";
}
?>
<html>
@ -7,27 +17,36 @@ session_start();
<style>
body {
margin: 0px;
width: 320px;
width: <?php echo $width; ?>px;
background-color: #fffff;
font-size: 12px;
}
#contenttop {
background-color: #f0f0f0;
height: 208px;
height: <?php echo $height1; ?>px;
}
#contentbot {
background-color: #f0f0f0;
height: 222px;
height: <?php echo $height2; ?>px;
}
.ctop {
background-color: #f0f0f0;
height: <?php echo $height1; ?>px;
}
.cbot {
background-color: #f0f0f0;
height: <?php echo $height2; ?>px;
}
</style>
<title>3DSTownSquare Home</title>
<meta name="viewport" content="width=320">
<meta name="viewport" content="width=<?php echo $width; ?>">
<meta name="description" content="Welcome to 3DSTownSquare Here you can find many apps and games designed for the 3DS!">
</head>
<body>
<div id="contenttop">
<img src="../images/header3ds.png" alt="Oops! Our header could not be displayed!" />
<div id="contenttop" class="ctop">
<img src="../images/header3ds.png" style="width: <?php echo $width . "px"; ?>;" alt="Oops! Our header could not be displayed!" />
<center>Welcome to 3DSTownSquare</center>
<center><?php
echo "Ever since " . date("Y/m/d G:i:s", filectime("index.php")) . " UTC";
@ -37,7 +56,7 @@ session_start();
<br/>
<marquee>News: 3DSTownSquare is now in beta testing! Please wait for release 1.0 on <a href="http://3dstownsquare.com/" target="_blank">http://3dstownsquare.com/</a></marquee>
</div>
<div id="contentbot">
<div id="contentbot" class="cbot">
<center>
<?php if(isset($_SESSION["ts_user"]) && isset($_SESSION["ts_points"])){
@ -54,7 +73,8 @@ session_start();
<a href="chat/"><img src="../images/ch.png"></img></a>
<a href="javascript:if(confirm('Forums is in beta! Are you sure you want to go to the forums?\n\nPlease send bugs and errors to HxOr1337#0907 on Discord!')){window.location='forums/';}void(0)"><img src="../images/forums.png"></img></a>
</center>
<span style="position:absolute;top:410px;color:grey;">Beta 1.0.0_3 (04282022)</span>
</div>
<span style="position:absolute;bottom:0px;color:grey;">Beta 1.1.0_0 (04282022)</span>
</body>
</html>

0
detect.php Normal file
View file

View file

@ -2,10 +2,38 @@
<html>
<head>
<script>
function formatAMPM(date) {
var hours = date.getHours();
var minutes = date.getMinutes();
var ampm = hours >= 12 ? 'PM' : 'AM';
hours = hours % 12;
hours = hours ? hours : 12; // the hour '0' should be '12'
minutes = minutes < 10 ? '0'+minutes : minutes;
var strTime = hours + ':' + minutes + ' ' + ampm;
return strTime;
}
function load(){
if(window.navigator.userAgent.includes("Nintendo DSi")){
console.log("isDSi");
document.body.style.width = "240px";
document.getElementById("viewport").content = "width=240";
document.getElementById("header").width = "240";
} else {
console.log("notDSi");
document.body.style.width = "320px";
document.getElementById("viewport").content = "width=320";
document.getElementById("header").width = "320";
}
fromTime = formatAMPM(new Date(46800000));
toTime = formatAMPM(new Date(104400000));
from.innerText = fromTime;
to.innerText = toTime;
}
</script>
<style>
body {
margin: 0px;
width: 320px;
background-color: #fffff;
font-size: 12px;
}
@ -20,12 +48,12 @@
}
</style>
<title>3DSTownSquare is launching soon!</title>
<meta name="viewport" content="width=320">
<meta name="viewport" id="viewport" content="width=320">
<meta name="description" content="Get ready for 5/24/2022">
</head>
<body>
<body style="width: 320px" onload="load()">
<div id="contenttop">
<img src="header3ds.png" alt="Oops! Our header could not be displayed!" />
<img id="header" width="320" src="header3ds.png" alt="Oops! Our header could not be displayed!" />
<center>Welcome to 3DSTownSquare</center>
<center><font color="grey">What is this?</font></center>
<center>3DSTownSquare is about to launch soon!</center>
@ -43,7 +71,7 @@
<br/>On day of release, this page will redirect to <b>3dstownsquare.com</b> and no longer be a notice
<br />
<br />
A little demo has been launched from <span id="from">9:00 AM CST</span> to <span id="to">11:00 PM CST</span> on either <a href="http://3dstownsquare.loca.lt/">http://3dstownsquare.loca.lt/</a> or <a href="http://3dsts.loca.lt/">http://3dsts.loca.lt/</a>.
A little demo has been launched from <span id="from">9:00 AM CST</span> to <span id="to">11:00 PM CST</span> <b>your timezone</b> on either <a href="http://3dstownsquare.loca.lt/">http://3dstownsquare.loca.lt/</a> or <a href="http://3dsts.loca.lt/">http://3dsts.loca.lt/</a>.
<br />
<a href="javascript:alert('You have to allow access from another device that is on the same network. There is nothing I can do about this, unfortunately.');void(0);">Help, I can't access from my DSi/3DS!</a>
</center>

Binary file not shown.