Compare commits

...

5 Commits

Author SHA1 Message Date
d56016f8cc Update community page 2024-06-29 11:52:40 -05:00
530e01df73 Update blog page 2024-06-29 11:49:05 -05:00
1420692d6a Update projects page 2024-06-29 11:42:36 -05:00
e35b5b10e5 Old index not necessary 2024-06-29 11:33:47 -05:00
6fae7eb603 Delete empty ie6.css, fix some CSS rules 2024-06-29 09:05:29 -05:00
21 changed files with 132 additions and 495 deletions

View File

@ -1,32 +0,0 @@
<footer>
<div class="box">
<div style="padding-top: 8px;">
<section class="splash">
<img src="/assets/images/Logos/LogoV7B.png" style="width: 90%; display: block; margin: 0px auto; margin-bottom: -12px;" />
<a href="../index.php?page=privacy">Privacy</a> | <a href="../index.php?page=tandc">The T&amp;C</a> <br />
<p style="width: 200px; margin: 0px auto;">
Copyright &copy; 2014, Mad Splash. <br />
All trademarked stuff is the property of it's respective owner(s).
</p>
</section>
<section>
<h2>OTHER STUFFS</h2>
<ul>
<li><a href="#">Our staff</a></li>
<li><a href="#">Jobs here</a></li>
</ul>
</section>
<section>
<h2>PROJECTS</h2>
<ul>
<li><a href="../index.php?page=projects&project=tbfa">Battles for Arthos</a></li>
<li><a href="../index.php?page=projects&project=therpg">The RPG</a></li>
</ul>
</section>
</div>
</div>
</footer>
</body>
</html>

View File

@ -1,59 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Blog | Mad Splash!</title>
<link rel="stylesheet" href="../Resources/CSS/MadSplash_v3.css" type="text/css" />
<link rel="stylesheet" href="../Resources/CSS/FormStyles.css" type="text/css" />
<link rel="stylesheet" href="../Resources/CSS/CustomFonts.css" type="text/css" />
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<!--[if lte IE 7]>
<script src="js/IE8.js" type="text/javascript"></script><![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" media="all" href="../Resources/CSS/ie6.css"/><![endif]-->
</head>
<body id="index" class="home">
<?php
include('../Resources/Scripts/PHP/Library.php');
require_once('../Resources/Scripts/PHP/SuperNav.php');
$display = new DisplayModule();
?>
<header>
<img class="Logo" src="/assets/images/Logos/LogoV7.png" alt="Mad Splash" title="Mad Splash!" />
<nav>
<ul>
<li><a class="navLink" href="../index.php">Home</a></li>
<li><a class="navLink" href="blog.php">Blog</a></li>
<li><a class="navLink" href="http://forums.madsplash.net/">Forums</a></li>
<li class="dropdown">
<a class="dropLink" href="../projects.php">Projects</a>
<div class="drop">
<section>
<a style="font: bold 18px Arial, Geneva, sans-serif;" href="../projects.php?a=main&type=game">Games</a>
<a style="font: bold 18px Arial, Geneva, sans-serif;" href="../projects.php?a=main&type=book">Books</a>
<a style="font: bold 18px Arial, Geneva, sans-serif;" href="../projects.php?a=main&type=show">Shows</a>
</section>
<div class="clear"> </div>
</div>
</li>
</ul>
</nav>
</header>
<section id="HBIG">
<h1>THE BLOG</h1>
<img src="/assets/images/General/SkyDrawn.png" style="position: absolute; right: 22px; top: 16px; float: right;" />
</section>

View File

@ -1,12 +1,8 @@
<?php
$template = <<<TMP
<form action="../Resources/Scripts/PHP/Hubs/CommunityHub.php?action=episodeComment&epID={{{epid}}}&show={{{id}}}" method="post" style="padding-left: 12px; margin-top: 36px; padding-top: 16px;">
<form action="Hubs/CommunityHub.php?action=episodeComment&epID=<?= $epid ?>&show=<?= $id ?>" method="post" style="padding-left: 12px; margin-top: 36px; padding-top: 16px;">
<h3>Post a comment</h2>
<textarea name="theComment" style="width: 76%; min-height: 60px; margin-bottom: 8px; float: left;"></textarea>
<input class="blueButton" type="submit" name="postsubmit" value="POST" style="float: right;">
<div class="clear"> </div>
</form>
TMP;
?>
</form>

View File

@ -1,32 +0,0 @@
<footer>
<div class="box">
<div style="padding-top: 8px;">
<section class="splash">
<img src="/assets/images/Logos/LogoV7B.png" style="width: 90%; display: block; margin: 0px auto; margin-bottom: -12px;" />
<a href="../index.php?page=privacy">Privacy</a> | <a href="../index.php?page=tandc">The T&amp;C</a> <br />
<p style="width: 200px; margin: 0px auto;">
Copyright &copy; 2014, Mad Splash. <br />
All trademarked stuff is the property of it's respective owner(s).
</p>
</section>
<section>
<h2>OTHER STUFFS</h2>
<ul>
<li><a href="#">Our staff</a></li>
<li><a href="#">Jobs here</a></li>
</ul>
</section>
<section>
<h2>PROJECTS</h2>
<ul>
<li><a href="../index.php?page=projects&project=tbfa">Battles for Arthos</a></li>
<li><a href="../index.php?page=projects&project=therpg">The RPG</a></li>
</ul>
</section>
</div>
</div>
</footer>
</body>
</html>

View File

@ -1,67 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>The Community | Mad Splash!</title>
<link rel="stylesheet" href="../Resources/CSS/MadSplash_v3.css" type="text/css" />
<link rel="stylesheet" href="../Resources/CSS/FormStyles.css" type="text/css" />
<link rel="stylesheet" href="../Resources/CSS/CustomFonts.css" type="text/css" />
<!-- JavaScript -->
<script src="../Resources/Scripts/JavaScript/jQuery.js" type="text/javascript"></script>
<script src="../Resources/Scripts/JavaScript/TextEditor.js" type="text/javascript"></script>
<script src="../Resources/Scripts/JavaScript/passSecurityCheck.js" type="text/javascript"></script>
<!-- End of JavaScript -->
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<!--[if lte IE 7]>
<script src="js/IE8.js" type="text/javascript"></script><![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" media="all" href="../Resources/CSS/ie6.css"/><![endif]-->
</head>
<body id="index" class="home">
<?php
session_start();
include('../Resources/Scripts/PHP/Library.php');
require_once('../Resources/Scripts/PHP/SuperNav.php');
$display = new DisplayModule();
?>
<header>
<img class="Logo" src="/assets/images/Logos/LogoV7.png" alt="Mad Splash" title="Mad Splash!" />
<nav>
<ul>
<li><a class="navLink" href="../index.php">Home</a></li>
<li><a class="navLink" href="../blog/blog.php">Blog</a></li>
<li><a class="navLink" href="http://forums.madsplash.net/">Forums</a></li>
<li class="dropdown">
<a class="dropLink" href="../index.php?page=projects">Projects</a>
<div class="drop">
<section>
<h2>Books</h2>
<a href="#">Battles for Arthos</a>
<a href="#">The Organization</a>
</section>
<section>
<h2>Games</h2>
<a href="#">The RPG</a>
<a href="#">BattleMonsters</a>
</section>
<div class="clear"> </div>
</div>
</li>
</ul>
</nav>
</header>

View File

@ -1,32 +0,0 @@
<footer>
<div class="box">
<div style="padding-top: 8px;">
<section class="splash">
<img src="/assets/images/Logos/LogoV7B.png" style="width: 90%; display: block; margin: 0px auto; margin-bottom: -12px;" />
<a href="../index.php?page=privacy">Privacy</a> | <a href="../index.php?page=tandc">The T&amp;C</a> <br />
<p style="width: 200px; margin: 0px auto;">
Copyright &copy; 2014, Mad Splash. <br />
All trademarked stuff is the property of it's respective owner(s).
</p>
</section>
<section>
<h2>OTHER STUFFS</h2>
<ul>
<li><a href="#">Our staff</a></li>
<li><a href="#">Jobs here</a></li>
</ul>
</section>
<section>
<h2>PROJECTS</h2>
<ul>
<li><a href="../index.php?page=projects&project=tbfa">Battles for Arthos</a></li>
<li><a href="../index.php?page=projects&project=therpg">The RPG</a></li>
</ul>
</section>
</div>
</div>
</footer>
</body>
</html>

View File

@ -1,53 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Blog | Mad Splash!</title>
<link rel="stylesheet" href="../Resources/CSS/MadSplash_v3.css" type="text/css" />
<link rel="stylesheet" href="../Resources/CSS/FormStyles.css" type="text/css" />
<link rel="stylesheet" href="../Resources/CSS/CustomFonts.css" type="text/css" />
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<!--[if lte IE 7]>
<script src="js/IE8.js" type="text/javascript"></script><![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" media="all" href="../Resources/CSS/ie6.css"/><![endif]-->
</head>
<body id="index" class="home">
<?php
include('../Resources/Scripts/PHP/Library.php');
require_once('../Resources/Scripts/PHP/SuperNav.php');
$display = new DisplayModule();
?>
<header>
<img class="Logo" src="/assets/images/Logos/LogoV7.png" alt="Mad Splash" title="Mad Splash!" />
<nav>
<ul>
<li><a class="navLink" href="../index.php">Home</a></li>
<li><a class="navLink" href="blog.php">Blog</a></li>
<li><a class="navLink" href="http://forums.madsplash.net/">Forums</a></li>
<li class="dropdown">
<a class="dropLink" href="../projects.php">Projects</a>
<div class="drop">
<section>
<a style="font: bold 18px Arial, Geneva, sans-serif;" href="../projects.php?a=main&type=game">Games</a>
<a style="font: bold 18px Arial, Geneva, sans-serif;" href="../projects.php?a=main&type=book">Books</a>
<a style="font: bold 18px Arial, Geneva, sans-serif;" href="../projects.php?a=main&type=show">Shows</a>
</section>
<div class="clear"> </div>
</div>
</li>
</ul>
</nav>
</header>

View File

@ -1,6 +1,3 @@
<?php
$template = <<<TMP
<script>
document.getElementsByTagName('title')[0].innerHTML = "{{{t}}} | Mad Splash!";
</script>
@ -63,6 +60,3 @@ $template = <<<TMP
<div class="clear"> </div>
</section>
TMP;
?>

View File

@ -1,29 +0,0 @@
<?php
define('SAFE', true);
$LockedPages = array();
include("Pieces/header.htm");
if (!empty($_GET['page'])) {
$page = "home";
$TmpPage = basename($_GET['page']);
// If it's not a disallowed path, and if the file exists, update $page
if (!in_array($TmpPage, $LockedPages) && file_exists("Pieces/{$TmpPage}.htm")) {
$page = $TmpPage;
}
} else {
$page = "home";
}
if($page == "home") {
include("Pieces/slider.htm");
}
// Include $page
include("Pieces/$page.htm");
include("Pieces/footer.htm");
?>

View File

@ -2,7 +2,7 @@
* { margin: 0; padding: 0; border: none; }
*:focus { outline: none !important; }
html { background: #cacbca url('../Images/Backgrounds/NewOceanWave.jpg') fixed;
html { background: #cacbca url(/assets/images/Backgrounds/NewOceanWave.jpg) fixed;
-webkit-background-size: cover; -o-background-size: cover; background-size: cover; }
body { font: 14px Arial, Helvetica, Geneva, sans-serif; margin: 0px 0px 0px 0px; color: #444; line-height: 18px; }
@ -38,7 +38,6 @@ img.Logo {
height: 130px;
position: relative;
margin-right: 24px;
display: inline-block;
transform: rotate(-2deg);
-ms-transform: rotate(-2deg); /* IE 9 */
-webkit-transform: rotate(-2deg); /* Safari and Chrome */
@ -53,7 +52,6 @@ nav {
top: 61px;
float: right;
position: relative;
display: inline-block;
}
nav ul { list-style: none; }
@ -78,7 +76,7 @@ nav ul li.dropdown:hover div.drop {
background-color: #666;
}
div.drop section { min-height: 100px; max-width: 210px; min-width: 120px; display: inline-block; float: left; }
div.drop section { min-height: 100px; max-width: 210px; min-width: 120px; float: left; }
div.drop h2 { font: bold 26px "Bebas", Arial, Geneva, sans-serif; color: white; margin-bottom: -2px; }
nav ul li a.navLink, nav ul li a.dropLink { color: inherit !important; }

View File

@ -1,27 +1,13 @@
<?php
define('SAFE', true);
require '../app/bootstrap.php';
$LockedPages = array();
const PAGES = ['list', 'read'];
include("Pieces/header.htm");
echo render('header');
if (!empty($_GET['do'])) {
$do = "list";
$do = !empty($_GET['do']) && in_array($_GET['do'], PAGES) ? $_GET['do'] : 'list';
$TmpDo = basename($_GET['do']);
echo render("blog/$do");
// If it's not a disallowed path, and if the file exists, update $do
if (!in_array($TmpDo, $LockedPages) && file_exists("Pieces/Blog/{$TmpDo}.htm")) {
$do = $TmpDo;
}
} else {
$do = "list";
}
// Include $page
include("Pieces/Blog/$do.htm");
include("Pieces/footer.htm");
?>
echo render('footer');

View File

@ -1,25 +1,13 @@
<?php
define('SAFE', true);
$LockedPages = array();
require '../app/bootstrap.php';
include("Pieces/header.htm");
const PAGES = ['login', 'verify', 'register'];
if (!empty($_GET['page'])) {
$page = "index";
echo render('header');
$TmpPage = basename($_GET['page']);
$page = !empty($_GET['page']) && in_array($_GET['page'], PAGES) ? $_GET['page'] : 'home';
// If it's not a disallowed path, and if the file exists, update $page
if (!in_array($TmpPage, $LockedPages) && file_exists("Pieces/Community/{$TmpPage}.htm")) {
$page = $TmpPage;
}
} else {
$page = "index";
}
echo render("community/$page");
// Include $page
include("Pieces/Community/$page.htm");
include("Pieces/footer.htm");
?>
echo render('footer');

View File

@ -1,18 +1,19 @@
<?php
require '../app/bootstrap.php';
$DM = new DisplayModule();
require '../app/bootstrap.php';
const PAGES = ['home', 'tandc', 'privacy', 'tictactoe'];
$DM = new DisplayModule();
echo render('header');
const PAGES = ['home', 'tandc', 'privacy', 'tictactoe'];
$page = !empty($_GET['page']) && in_array($_GET['page'], PAGES) ? $_GET['page'] : 'home';
echo render('header');
if($page == "home") {
$page = !empty($_GET['page']) && in_array($_GET['page'], PAGES) ? $_GET['page'] : 'home';
if($page == "home") {
echo render('slider');
}
}
echo render($page);
echo render($page);
echo render('footer');
echo render('footer');

View File

@ -1,38 +1,31 @@
<?php
require '../app/bootstrap.php';
define('SAFE', true);
include("Pieces/header.htm");
echo render('header');
$CommentForm = GetTemplate('comments/episodeform');
if(!empty($_GET['show'])) { $showid = $_GET['show']; } else { $showid = 1; }
if(!empty($_GET['episode'])) { $epnum = $_GET['episode']; } else { $epnum = 1; }
$showid = !empty($_GET['show']) ? $_GET['show'] : 1;
$epnum = !empty($_GET['episode']) ? $_GET['episode'] : 1;
$episode = new Show($showid);
$epdata = $episode->EpisodeArray[$epnum - 1];
$oneOrMore = $epdata['comments'] == 1 ? $epdata['comments'] . " Comment" : $epdata['comments'] . " Comments";
if($epdata['comments'] == 1) { $oneOrMore = $epdata['comments'] . " Comment"; } else { $oneOrMore = $epdata['comments'] . " Comments"; }
if($epdata['comments'] == 0) {
if ($epdata['comments'] == 0) {
$epComments = '<p style="padding: 4px 8px;">No comments? Be the first to comment on this video!</p>';
} else {
$epComments = $episode->GetEpisodeComments($_GET['episode']);
}
if(!empty($_COOKIE['MadSplashUser'])) { $form = ParseTemplate($CommentForm, array('epid' => $_GET['episode'], 'id' => $_GET['show'])); } else { $form = ''; }
if(!empty($_COOKIE['MadSplashUser'])) {
$form = render('comments/episodeform', ['epid' => $_GET['episode'], 'id' => $_GET['show']]);
} else {
$form = '';
}
$data = array(
echo render('projects/show', [
't' => $epdata['title'],
'l' => $epdata['embed'],
'd' => $epdata['description'],
@ -40,21 +33,6 @@
'comments' => $epComments,
'ccount' => $oneOrMore,
'form' => $form
);
]);
include("Pieces/Templates/show.php");
foreach($data as $a => $b) {
$template = str_replace("{{{" . $a . "}}}", $b, $template);
}
echo $template;
include("Pieces/footer.htm");
?>
echo render('footer');