Add files via upload

This commit is contained in:
Justin 2022-07-20 09:17:24 -04:00 committed by GitHub
commit bd68ecd5bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 316 additions and 188 deletions

View file

@ -1,188 +1,188 @@
<?php <?php
// CHECKS TO SEE IF USER OWNS APPLICATION // CHECKS TO SEE IF USER OWNS APPLICATION
require_once("../../inc/conx.php"); require_once("../../inc/conx.php");
if($logged_in == false) { if($logged_in == false) {
header("location: /"); header("location: /");
exit(); exit();
} }
$app_uqid = "justaboard"; $app_uqid = "justaboard";
if(mysqli_num_rows(mysqli_query($conx, "SELECT uid FROM user_apps WHERE uid='$u_uid' && app_uqid='$app_uqid'")) == '0') { if(mysqli_num_rows(mysqli_query($conx, "SELECT uid FROM user_apps WHERE uid='$u_uid' && app_uqid='$app_uqid'")) == '0') {
header("location: /hub"); header("location: /hub");
exit(); exit();
} }
# # # # # # # # # # # # # #
# WEBSITE LOCATION # # WEBSITE LOCATION #
# # # # # # # # # # # # # #
if($u_siteloc != '/app/justaboard') { if($u_siteloc != '/app/justaboard') {
$loc_desc = "usin\' Justin Soundboard"; $loc_desc = "usin\' Justin Soundboard";
mysqli_query($conx, "UPDATE accounts SET site_locdesc='$loc_desc' WHERE uid='$u_uid'"); mysqli_query($conx, "UPDATE accounts SET site_locdesc='$loc_desc' WHERE uid='$u_uid'");
mysqli_query($conx, "UPDATE accounts SET site_locurl='/app/justaboard' WHERE uid='$u_uid'"); mysqli_query($conx, "UPDATE accounts SET site_locurl='/app/justaboard' WHERE uid='$u_uid'");
} }
?> ?>
<html> <html>
<head> <head>
<title>Justin Soundboard!</title> <title>Justin Soundboard!</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css"> <link rel="stylesheet" type="text/css" href="stylesheet.css">
<script src="script.js"></script> <script src="script.js"></script>
</head> </head>
<body> <body>
<h1>The Justin soundboard!</h1> <h1>The Justin soundboard!</h1>
<h2>If anyone is actually willing to put some better CSS code into this, please let me know.</h2> <h2>If anyone is actually willing to put some better CSS code into this, please let me know.</h2>
<h6>(I'm fucking terrible with design)</h6> <h6>(I'm fucking terrible with design)</h6>
<nav id="nav1"> <nav id="nav1">
<a href="javascript:atehundollas.play()">$800</a> <a href="javascript:atehundollas.play()">$800</a>
<br /> <br />
<br /> <br />
<br /> <br />
<a href="javascript:atehunindick.play()">800 in dick</a> <a href="javascript:atehunindick.play()">800 in dick</a>
<br /> <br />
<br /> <br />
<br /> <br />
<a href="javascript:autistic.play()">Autistic</a> <a href="javascript:autistic.play()">Autistic</a>
<br /> <br />
<br /> <br />
<br /> <br />
<a href="javascript:bathinginshit.play()">Bathing in shit</a> <a href="javascript:bathinginshit.play()">Bathing in shit</a>
<br /> <br />
<br /> <br />
<br /> <br />
<a href="javascript:bathtubcannonball.play()">Cannonballs into bathtub</a> <a href="javascript:bathtubcannonball.play()">Cannonballs into bathtub</a>
<br /> <br />
<br /> <br />
<br /> <br />
<a href="javascript:beingasnake.play()">Being a snake</a> <a href="javascript:beingasnake.play()">Being a snake</a>
<br /> <br />
<br /> <br />
<br /> <br />
<a href="javascript:calcareoussponge.play()">Calcareous sponge</a> <a href="javascript:calcareoussponge.play()">Calcareous sponge</a>
<br /> <br />
<br /> <br />
<br /> <br />
<a href="javascript:cardboardcharger.play()">Cardboard charger</a> <a href="javascript:cardboardcharger.play()">Cardboard charger</a>
<br /> <br />
<br /> <br />
<br /> <br />
<a href="javascript:checkthatout.play()">Check that out</a> <a href="javascript:checkthatout.play()">Check that out</a>
<br /> <br />
<br /> <br />
<br /> <br />
<a href="javascript:completeanduttershit.play()">Complete and utter shit</a> <a href="javascript:completeanduttershit.play()">Complete and utter shit</a>
<br /> <br />
<br /> <br />
<br /> <br />
<a href="javascript:contentcop.play()">Content cop</a> <a href="javascript:contentcop.play()">Content cop</a>
<br /> <br />
<br /> <br />
<br /> <br />
<a href="javascript:contentdeputy.play()">Content deputy</a> <a href="javascript:contentdeputy.play()">Content deputy</a>
<br /> <br />
<br /> <br />
<br /> <br />
<a href="javascript:crazyasshit.play()">Crazy as shit</a> <a href="javascript:crazyasshit.play()">Crazy as shit</a>
<br /> <br />
<br /> <br />
<br /> <br />
<a href="javascript:dontmove.play()">Don't move</a> <a href="javascript:dontmove.play()">Don't move</a>
<br /> <br />
<br /> <br />
<br /> <br />
<a href="javascript:filterfeeders.play()">Filter feeders</a> <a href="javascript:filterfeeders.play()">Filter feeders</a>
<br /> <br />
<br /> <br />
<br /> <br />
<a href="javascript:fook.play()">Fook</a> <a href="javascript:fook.play()">Fook</a>
<br /> <br />
<br /> <br />
<br /> <br />
<a href="javascript:fucking.play()">FUCKING</a> <a href="javascript:fucking.play()">FUCKING</a>
<br /> <br />
<br /> <br />
<br /> <br />
<a href="javascript:fuckingpussy.play()">Fucking pussy</a> <a href="javascript:fuckingpussy.play()">Fucking pussy</a>
<br /> <br />
<br /> <br />
<br /> <br />
<a href="javascript:funnyaf.play()">Funny af</a> <a href="javascript:funnyaf.play()">Funny af</a>
<br /> <br />
<br /> <br />
<br /> <br />
<a href="javascript:giveyoupokemon.play()">Give you Pokemon</a> <a href="javascript:giveyoupokemon.play()">Give you Pokemon</a>
<br /> <br />
<br /> <br />
<br /> <br />
<a href="javascript:gonetoshit.play()">Gone to shit</a> <a href="javascript:gonetoshit.play()">Gone to shit</a>
<br /> <br />
<br /> <br />
<br /> <br />
<a href="javascript:h3h3productions.play()">h3h3productions</a> <a href="javascript:h3h3productions.play()">h3h3productions</a>
<br /> <br />
<br /> <br />
<br /> <br />
<a href="javascript:healthyaf.play()">Healthy af</a> <a href="javascript:healthyaf.play()">Healthy af</a>
<br /> <br />
<br /> <br />
<br /> <br />
<a href="javascript:hughmungus.play()">Hugh Mungus</a> <a href="javascript:hughmungus.play()">Hugh Mungus</a>
<br /> <br />
<br /> <br />
<br /> <br />
<a href="javascript:idubbz.play()">iDubbz</a> <a href="javascript:idubbz.play()">iDubbz</a>
<br /> <br />
<br /> <br />
<br /> <br />
<a href="javascript:keemstar.play()">Keemstar</a> <a href="javascript:keemstar.play()">Keemstar</a>
<br /> <br />
<br /> <br />
<br /> <br />
<a href="javascript:leafy.play()">Leafy</a> <a href="javascript:leafy.play()">Leafy</a>
<br /> <br />
<br /> <br />
<br /> <br />
<a href="javascript:lisp.play()">Lisp</a> <a href="javascript:lisp.play()">Lisp</a>
<br /> <br />
<br /> <br />
<br /> <br />
<a href="javascript:litrally.play()">Litrally</a> <a href="javascript:litrally.play()">Litrally</a>
<br /> <br />
<br /> <br />
<br /> <br />
<a href="javascript:mmob.play()">Minding my own business</a> <a href="javascript:mmob.play()">Minding my own business</a>
<br /> <br />
<br /> <br />
<br /> <br />
<a href="javascript:oobleck.play()">Oobleck</a> <a href="javascript:oobleck.play()">Oobleck</a>
<br /> <br />
<br /> <br />
<br /> <br />
<a href="javascript:ruinthatshit.play()">Ruin that shit</a> <a href="javascript:ruinthatshit.play()">Ruin that shit</a>
<br /> <br />
<br /> <br />
<br /> <br />
<a href="javascript:sexualharassment.play()">Sexual harassment</a> <a href="javascript:sexualharassment.play()">Sexual harassment</a>
<br /> <br />
<br /> <br />
<br /> <br />
<a href="javascript:toomuchwater.play()">Too much water</a> <a href="javascript:toomuchwater.play()">Too much water</a>
<br /> <br />
<br /> <br />
<br /> <br />
<a href="javascript:tourettes.play()">Tourettes</a> <a href="javascript:tourettes.play()">Tourettes</a>
<br /> <br />
<br /> <br />
<br /> <br />
<a href="javascript:triggered.play()">Triggered to the max</a> <a href="javascript:triggered.play()">Triggered to the max</a>
<br /> <br />
<br /> <br />
<br /> <br />
<a href="javascript:wazzupdude.play()">What's up dude</a> <a href="javascript:wazzupdude.play()">What's up dude</a>
<br /> <br />
<br /> <br />
<br /> <br />
<a href="javascript:witaf.play()">What in the actual fuck</a> <a href="javascript:witaf.play()">What in the actual fuck</a>
<br /> <br />
<br /> <br />
<br /> <br />
<a href="javascript:worriedaboutchin.play()">Worried about chin</a> <a href="javascript:worriedaboutchin.play()">Worried about chin</a>
</nav> </nav>
</body> </body>
</html> </html>

33
app/justaboard/info.php Normal file
View file

@ -0,0 +1,33 @@
<?php
/*
__ __ _____ _____
| \/ | __ \ | ____|
| \ / | | | |_ _| |__
| |\/| | | | \ \ / /___ \
| | | | |__| |\ V / ___) |
|_| |_|_____/ \_/ |____/ Join us. The hype is real.
You may code your application however you like.
It may be designed however you like.
You can do whatever you want, as long as you aren't mischievous.
You will not be able to access anything from Misdew's database.
However, you can connect to your own external database(s) if needed.
Be sure to fill out the required info below.
Once your app is done, zip all of your files into an archive.
Be sure to also include this file in the archive.
Name this archive as so: Username_AppName.zip
Upload this archive to dev.misdew.com
*/
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # FILL OUT THE FORM # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
$application_name = "Justin Soundboard"; // Must not exceed 18 chars
$application_icon = "https://i.imgur.com/i5QZ5yb.png"; // Upload your square, 1080x1080 icon to Imgur and paste the direct link here
$application_desc = "Make Justin say what you want."; // Describe your app
$application_price = "$1"; // Set the price of your app (0 to whatever you want; you keep 70%)
$application_dev = "Joeyseph"; // Enter your Misdew username here
$application_color = "green"; // Your app color; should be the same color as your icon's main color
$application_tcolor = "black"; // Should look good on top of your app's color (is used for font)
?>

78
app/justaboard/script.js Normal file
View file

@ -0,0 +1,78 @@
var atehundollas = new Audio();
atehundollas.src = "sounds/800dollas.mp3";
var atehunindick = new Audio();
atehunindick.src = "sounds/800indick.mp3";
var autistic = new Audio();
autistic.src = "sounds/autistic.mp3";
var bathinginshit = new Audio();
bathinginshit.src = "sounds/bathinginshit.mp3";
var bathtubcannonball = new Audio();
bathtubcannonball.src = "sounds/bathtubcannonball.mp3";
var beingasnake = new Audio();
beingasnake.src = "sounds/beingasnake.mp3";
var calcareoussponge = new Audio();
calcareoussponge.src = "sounds/calcareoussponge.mp3";
var cardboardcharger = new Audio();
cardboardcharger.src = "sounds/cardboardcharger.mp3";
var checkthatout = new Audio();
checkthatout.src = "sounds/checkthatout.mp3";
var completeanduttershit = new Audio();
completeanduttershit.src = "sounds/completeanduttershit.mp3";
var contentcop = new Audio();
contentcop.src = "sounds/contentcop.mp3";
var contentdeputy = new Audio();
contentdeputy.src = "sounds/contentdeputy.mp3";
var crazyasshit = new Audio();
crazyasshit.src = "sounds/crazyasshit.mp3";
var dontmove = new Audio();
dontmove.src = "sounds/dontmove.mp3";
var filterfeeders = new Audio();
filterfeeders.src = "sounds/filterfeeders.mp3";
var fook = new Audio();
fook.src = "sounds/fook.mp3";
var fucking = new Audio();
fucking.src = "sounds/fucking.mp3";
var fuckingpussy = new Audio();
fuckingpussy.src = "sounds/fuckingpussy.mp3";
var funnyaf = new Audio();
funnyaf.src = "sounds/funnyaf.mp3";
var giveyoupokemon = new Audio();
giveyoupokemon.src = "sounds/giveyoupokemon.mp3";
var gonetoshit = new Audio();
gonetoshit.src = "sounds/gonetoshit.mp3";
var h3h3productions = new Audio();
h3h3productions.src = "sounds/h3h3productions.mp3";
var healthyaf = new Audio();
healthyaf.src = "sounds/healthyaf.mp3";
var hughmungus = new Audio();
hughmungus.src = "sounds/hughmungus.mp3";
var idubbz = new Audio();
idubbz.src = "sounds/idubbz.mp3";
var keemstar = new Audio();
keemstar.src = "sounds/keemstar.mp3";
var leafy = new Audio();
leafy.src = "sounds/leafy.mp3";
var lisp = new Audio();
lisp.src = "sounds/lisp.mp3";
var litrally = new Audio();
litrally.src = "sounds/litrally.mp3";
var mmob = new Audio();
mmob.src = "sounds/mmob.mp3";
var oobleck = new Audio();
oobleck.src = "sounds/oobleck.mp3";
var ruinthatshit = new Audio();
ruinthatshit.src = "sounds/ruinthatshit.mp3";
var sexualharassment = new Audio();
sexualharassment.src = "sounds/sexualharassment.mp3";
var toomuchwater = new Audio();
toomuchwater.src = "sounds/toomuchwater.mp3";
var tourettes = new Audio();
tourettes.src = "sounds/tourettes.mp3";
var triggered = new Audio();
triggered.src = "sounds/triggered.mp3";
var wazzupdude = new Audio();
wazzupdude.src = "sounds/wazzupdude.mp3";
var witaf = new Audio();
witaf.src = "sounds/witaf.mp3";
var worriedaboutchin = new Audio();
worriedaboutchin.src = "sounds/worriedaboutchin.mp3";

View file

@ -0,0 +1,17 @@
nav#nav1 {
margin-top: 24px;
}
nav#nav1 > a {
background:#B9E1FF;
color:#000;
padding:10px;
text-decoration:none;
border-radius:5px;
font-family:"Arial Black", Gadget, sans-serif;
}
nav#nav1 > a:hover {
background: #BBEA00;
}
nav#nav1 > a:active {
background: #EEFFA8;
}