commit bd969867c2c94db4083bc158f3ff7df0b2dc3029
parent 5a391a60d4cd0c00cecaa9f1f6e059f7ddf73003
Author: Nixx <nixx@firemail.cc>
Date: Thu, 24 Sep 2020 21:29:41 +0100
Cosmetic changes, addition of banner.
Diffstat:
11 files changed, 20 insertions(+), 8 deletions(-)
diff --git a/images/backgrounds/bridge-bg.gif b/images/backgrounds/bridge-bg.gif
Binary files differ.
diff --git a/images/backgrounds/city-bg.gif b/images/backgrounds/city-bg.gif
Binary files differ.
diff --git a/images/backgrounds/tv-bg.gif b/images/backgrounds/tv-bg.gif
Binary files differ.
diff --git a/images/banner-small.gif b/images/banner-small.gif
Binary files differ.
diff --git a/images/banner.gif b/images/banner.gif
Binary files differ.
diff --git a/images/head4.gif b/images/head4.gif
Binary files differ.
diff --git a/images/head5.gif b/images/head5.gif
Binary files differ.
diff --git a/includes/aside.php b/includes/aside.php
@@ -5,7 +5,7 @@ if (!$root) {
$returnlink = $root;
}
$indexfile = "_index.php";
-$heads = array("head.gif", "head2.gif", "head3.gif");
+$heads = array("head.gif", "head2.gif", "head3.gif", "head4.gif", "head5.gif");
$usehead = array_rand($heads);
function asideLink ($linkname, $page, $root) {
diff --git a/includes/homepanel.php b/includes/homepanel.php
@@ -2,10 +2,9 @@
if ($_GET['post'] != 'archive') {
if (!preg_match('/page/', $_SERVER['QUERY_STRING']) || $_SERVER['QUERY_STRING'] == 'page=1') {
$message = "Nixx's Weird Blog-thing";
- $submessages = array("Welcome to my magical realm.");
- #$submessages = array("I'm surprised this site works too.",
- # "Welcome to my magical realm.",
- # "CSS is a pain.");
+ $submessages = array("Welcome to my Magical Realm.",
+ "Presently not Experiencing an Outage!",
+ "The Internet is Serious Business.");
$motd = array_rand($submessages);
echo '<center>';
diff --git a/includes/listing-content.php b/includes/listing-content.php
@@ -11,7 +11,7 @@
$inc = $incstart;
$totalpages = ceil(sizeof($includearr) / $displayarticles);
- function numberLinks ($page, $totalpages) {
+ function numberLinks ($page, $totalpages, $incbanner) {
$curfile = $_SERVER['PHP_SELF'];
echo '<center>';
echo '<div class="section numlist">';
@@ -43,6 +43,9 @@
}
echo '</b></span>';
echo '</div>';
+ if ($incbanner == '1') {
+ echo '<img src="/images/banner.gif" class="img-noborder" />';
+ }
echo '</center>';
}
@@ -60,7 +63,8 @@
} elseif ($_GET['post'] == 'archive') {
archive($includearr);
} else {
- numberLinks($page,$totalpages);
+ $incbanner = 0;
+ numberLinks($page,$totalpages, $incbanner);
while ($inc <= $incend && $inc < sizeof($includearr)) {
include $root."includes/section-start.php";
@@ -74,7 +78,8 @@
$inc++;
}
archiveLink();
- numberLinks($page,$totalpages);
+ $incbanner = 1;
+ numberLinks($page,$totalpages, $incbanner);
echo '<span class="scrollingcontentbtm"></span>';
}
?>
diff --git a/styles/default.css b/styles/default.css
@@ -404,6 +404,10 @@ input[type="submit" i] {
margin: 10px 0;
}
+.blogbox > .coloureditalic {
+ margin: 10px 0 10px -10px;
+}
+
.asidehometext {
/* font-weight: bold; */
font-size: 1.2em;
@@ -442,6 +446,10 @@ input[type="submit" i] {
font-size: 2em;
}
+.img-noborder {
+ border: none;
+}
+
/* POST TEXT GLOWS
.section > p, .article > p {
text-shadow: 0 0 3px var(--fg-col);