From: LeonardoBizzoni Date: Mon, 18 Apr 2022 18:19:17 +0000 (+0200) Subject: Improved live vtuber page X-Git-Url: http://git.leonardobizzoni.com/?a=commitdiff_plain;h=6d96441e6076ae8c9f301347bedf4bfb9dce59c5;p=highschool-graduation-project Improved live vtuber page --- diff --git a/scripts/newIdol.php b/scripts/newIdol.php new file mode 100644 index 0000000..e9a6556 --- /dev/null +++ b/scripts/newIdol.php @@ -0,0 +1,57 @@ + + + + + + +" . $idol . " + + +
+
+ + +
+ +
+ +
+
+ + + +"); + fclose($idolFile); + + header("Location:/ProgettoAnime/vtuber.php"); +} else if (str_contains($idolPage, "youtube.com")) { + echo "Prima o poi"; +} else { + echo "wtf"; +} diff --git a/www/pub/css/index.css b/www/pub/css/index.css new file mode 100644 index 0000000..ec4426a --- /dev/null +++ b/www/pub/css/index.css @@ -0,0 +1,29 @@ +body { + height: 100%; + box-sizing: border-box; + margin: 0; + padding: 0; + background-color: #212529; + color: white; +} + +iframe { + width: 100%; + height: 100%; +} + +#parent { + height:100%; + width:100%; + display: flex; + flex-grow: 1; + flex-direction: column; +} + +#child { + flex-grow: 1; +} + +.idolLogo { + width: 100px; +} diff --git a/www/views/layouts/live.php b/www/views/layouts/live.php index e3e8a30..402b17e 100644 --- a/www/views/layouts/live.php +++ b/www/views/layouts/live.php @@ -1,13 +1,9 @@ - + - + WeebSite - Live! diff --git a/www/views/live.php b/www/views/live.php index 79b0b81..54bb457 100644 --- a/www/views/live.php +++ b/www/views/live.php @@ -16,18 +16,19 @@ if (!isset($_GET["id"])) { foreach ($params[0] as $vtuber) { if ($_GET["id"] == $vtuber["id"]) { echo " -
+
- -
+ +
- + +
"; }