Update site to 'responsive' html/css code.
This commit is contained in:
parent
e1bceb6a66
commit
f98793316b
19 changed files with 1199 additions and 1123 deletions
|
@ -1,9 +1,8 @@
|
|||
<?php require "includes/vars.php"; ?>
|
||||
<center>
|
||||
<b>Mirror server bandwidth utilisation</b><br>
|
||||
<?php if ($light) { ?>
|
||||
<img src="/html/bwbar-light.png" width="804" height="12" title="<!--#include virtual='/html/bwbar.txt' -->" alt="Bandwidth graph measuring <!--#include virtual='/html/bwbar.txt' -->" border="0">
|
||||
<?php } else { ?>
|
||||
<img src="/html/bwbar-dark.png" width="804" height="12" title="<!--#include virtual='/html/bwbar.txt' -->" alt="Bandwidth graph measuring <!--#include virtual='/html/bwbar.txt' -->" border="0">
|
||||
<?php } ?>
|
||||
</center>
|
||||
<div id="bwbar">
|
||||
<span class="bold">Mirror server bandwidth utilisation</span><br>
|
||||
<?php if ($light) { ?>
|
||||
<img src="/html/bwbar-light.png" title="<!--#include virtual='/html/bwbar.txt' -->" alt="Bandwidth graph measuring <!--#include virtual='/html/bwbar.txt' -->">
|
||||
<?php } else { ?>
|
||||
<img src="/html/bwbar-dark.png" title="<!--#include virtual='/html/bwbar.txt' -->" alt="Bandwidth graph measuring <!--#include virtual='/html/bwbar.txt' -->">
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
|
|
@ -1,22 +1,9 @@
|
|||
<table width="100%" cellpadding="5">
|
||||
<tr>
|
||||
<!-- <td align="center" valign="center">
|
||||
<a href="https://gofund.me/c1434479" title="GoFundMe"><img src="/html/gofundme.png" title="GoFundMe" alt="GoFundMe Logo"></a>
|
||||
</td> -->
|
||||
<?php if ($light) { ?>
|
||||
<td align="center" valign="center">
|
||||
<a href="https://www.patreon.com/slackwareUK" title="Patreon"><img src="/html/patreon-black.png" title="Patreon" alt="Patreon Logo"></a>
|
||||
</td>
|
||||
<td align="center" valign="center">
|
||||
<a href="https://paypal.me/DonateToSlackwareUK" title="PayPal"><img src="/html/paypal-black.png" title="PayPal" alt="PayPal Logo"></a>
|
||||
</td>
|
||||
<?php } else { ?>
|
||||
<td align="center" valign="center">
|
||||
<a href="https://www.patreon.com/slackwareUK" title="Patreon"><img src="/html/patreon-white.png" title="Patreon" alt="Patreon Logo"></a>
|
||||
</td>
|
||||
<td align="center" valign="center">
|
||||
<a href="https://paypal.me/DonateToSlackwareUK" title="PayPal"><img src="/html/paypal-white.png" title="PayPal" alt="PayPal Logo"></a>
|
||||
</td>
|
||||
<?php } ?>
|
||||
</tr>
|
||||
</table>
|
||||
<div id="donatebuttons">
|
||||
<?php if ($light) { ?>
|
||||
<a href="https://www.patreon.com/slackwareUK" title="Patreon"><img src="/html/patreon-black.png" title="Patreon" alt="Patreon Logo"></a>
|
||||
<a href="https://paypal.me/DonateToSlackwareUK" title="PayPal"><img src="/html/paypal-black.png" title="PayPal" alt="PayPal Logo"></a>
|
||||
<?php } else { ?>
|
||||
<a href="https://www.patreon.com/slackwareUK" title="Patreon"><img src="/html/patreon-white.png" title="Patreon" alt="Patreon Logo"></a>
|
||||
<a href="https://paypal.me/DonateToSlackwareUK" title="PayPal"><img src="/html/paypal-white.png" title="PayPal" alt="PayPal Logo"></a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
<head>
|
||||
<?php if ($light) { ?>
|
||||
<head>
|
||||
<?php if ($light) { ?>
|
||||
<link rel="stylesheet" href="/html/light.css" type="text/css">
|
||||
<?php } else { ?>
|
||||
<?php } else { ?>
|
||||
<link rel="stylesheet" href="/html/dark.css" type="text/css">
|
||||
<?php } ?>
|
||||
<link rel="shortcut icon" href="/html/favicon.ico">
|
||||
<meta name="author" content="Darren 'Tadgy' Austin">
|
||||
<meta name="description" content="<?php print ($description); ?>">
|
||||
<meta name="keywords" content="<?php print ($keywords); ?>">
|
||||
<meta name="google-site-verification" content="NrTA5svYU1fXFm6RMVkVvsCXF84mkwfKTckHfsTUyVM">
|
||||
<meta name="msvalidate.01" content="9E9AFC7E738EB5E9FF87F0EEBE1BDE8A">
|
||||
<?php print ("<title>" . $titleprefix . $title . "</title>" . "\n"); ?>
|
||||
</head>
|
||||
<?php } ?>
|
||||
<link rel="shortcut icon" href="/html/favicon.ico">
|
||||
<meta name="author" content="Darren 'Tadgy' Austin">
|
||||
<meta name="description" content="<?php print ($description); ?>">
|
||||
<meta name="keywords" content="<?php print ($keywords); ?>">
|
||||
<meta name="google-site-verification" content="NrTA5svYU1fXFm6RMVkVvsCXF84mkwfKTckHfsTUyVM">
|
||||
<meta name="msvalidate.01" content="9E9AFC7E738EB5E9FF87F0EEBE1BDE8A">
|
||||
<?php print ("<title>" . $titleprefix . $title . "</title>" . "\n"); ?>
|
||||
</head>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?php if ($light) { ?>
|
||||
<p><a href="/" title="Slackware UK"><img src="/html/slackwareuk-black.png" title="Slackware UK" alt="Slackware UK Logo" border=0 align=center></a></p>
|
||||
<?php } else { ?>
|
||||
<p><a href="/" title="Slackware UK"><img src="/html/slackwareuk-white.png" title="Slackware UK" alt="Slackware UK Logo" border=0 align=center></a></p>
|
||||
<?php } ?>
|
||||
<?php if ($light) { ?>
|
||||
<a href="/" title="Slackware UK"><img src="/html/slackwareuk-black.png" title="Slackware UK" alt="Slackware UK Logo"></a>
|
||||
<?php } else { ?>
|
||||
<a href="/" title="Slackware UK"><img src="/html/slackwareuk-white.png" title="Slackware UK" alt="Slackware UK Logo"></a>
|
||||
<?php } ?>
|
||||
|
|
25
html/includes/search-breadcrumbs-theme.php
Normal file
25
html/includes/search-breadcrumbs-theme.php
Normal file
|
@ -0,0 +1,25 @@
|
|||
<div id="searchbreadcrumbstheme">
|
||||
<?php if (! preg_match (":^/((html/)?donors.php|(html/)?s(\.shtml)?(\?.*)?|(html/)?search(\.shtml)?(\?.*))$:", $_SERVER['REQUEST_URI']) && ! preg_match (":^4..$:", $_SERVER['REDIRECT_STATUS'])) { ?>
|
||||
<div class="box boxmargins" id="search">
|
||||
<form action="/search">
|
||||
<input type="hidden" name="p" value="<?php print "$_SERVER[REQUEST_URI]" ?>">
|
||||
<input class="searchinput" title="Search" type="text" name="q" placeholder="Search" autocomplete="on" required>
|
||||
<input type="submit" hidden>
|
||||
</form>
|
||||
</div>
|
||||
<?php } else { ?>
|
||||
<div></div>
|
||||
<?php } ?>
|
||||
<?php if (! preg_match (":^/((html/)?donors.php|(html/)?s(\.shtml)?(\?.*)?|(html/)?search(\.shtml)?(\?.*))?$:", $_SERVER['REQUEST_URI']) && ! preg_match (":^4..$:", $_SERVER['REDIRECT_STATUS'])) { ?>
|
||||
<div class="box boxmargins" id="breadcrumbs">
|
||||
<div id="breadcrumbstext">
|
||||
<?php print (breadcrumbs(' » ', 'Index')); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php } else { ?>
|
||||
<div></div>
|
||||
<?php } ?>
|
||||
<div class="box boxmargins" id="themetoggle">
|
||||
<span id="themetoggletext">Toggle theme:</span><a href="/html/toggletheme.php" title="Toggle Theme"><img id="themetoggleimg" src="/html/toggletheme.png" title="Toggle Theme" alt="Toggle Theme Button"></a>
|
||||
</div>
|
||||
</div>
|
|
@ -1,13 +1,16 @@
|
|||
<p>
|
||||
<b>is kindly sponsored by:</b>
|
||||
<div align="center">
|
||||
<a href="http://mailg.ukservers.com/c/eJxVjDkOwyAQAF8DJYLlLijS-B8LbGTLdhKBE5TfhzajKUdTk0fnNN8SSADplVETAGFUVqWCCmBiDETMyPfeqX2odVGeJ18TeQXag9W2uoAaCLyNeC9GZp-drfxI63W9OtM3Bst0jCH-Jy31b8d6bo_57weWfWCjGf0AmK0uIA" title="UK Servers"><img src="/html/ukservers.png" title="UK Servers" alt="UK Servers Logo" border="0" align="center" hspace="50"></a>
|
||||
<?php if ($light) { ?>
|
||||
<a href="http://www.uk2.net/" title="UK2"><img src="/html/uk2-black.png" title="UK2" alt="UK2 Logo" border="0" align="center" hspace="50"></a>
|
||||
<?php } else { ?>
|
||||
<a href="http://www.uk2.net/" title="UK2"><img src="/html/uk2-white.png" title="UK2" alt="UK2 Logo" border="0" align="center" hspace="50"></a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<br>
|
||||
<b>Please take a moment to visit the sponsors using the links above!</b>
|
||||
</p>
|
||||
is kindly sponsored by:
|
||||
<div class="sponsor">
|
||||
<a href="http://mailg.ukservers.com/c/eJxVjDkOwyAQAF8DJYLlLijS-B8LbGTLdhKBE5TfhzajKUdTk0fnNN8SSADplVETAGFUVqWCCmBiDETMyPfeqX2odVGeJ18TeQXag9W2uoAaCLyNeC9GZp-drfxI63W9OtM3Bst0jCH-Jy31b8d6bo_57weWfWCjGf0AmK0uIA" title="UK Servers"><img src="/html/ukservers.png" title="UK Servers" alt="UK Servers Logo"></a>
|
||||
</div>
|
||||
<!--
|
||||
<?php if ($light) { ?>
|
||||
<div class="sponsor">
|
||||
<a href="http://www.uk2.net/" title="UK2"><img src="/html/uk2-black.png" title="UK2" alt="UK2 Logo"></a>
|
||||
</div>
|
||||
<?php } else { ?>
|
||||
<div class="sponsor">
|
||||
<a href="http://www.uk2.net/" title="UK2"><img src="/html/uk2-white.png" title="UK2" alt="UK2 Logo"></a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
-->
|
||||
Please take a moment to visit the sponsor using the link above!
|
||||
|
|
|
@ -4,7 +4,11 @@
|
|||
$title = "Index";
|
||||
$description = "UK Slackware Linux and Slackware based projects hosting & mirror service";
|
||||
$keywords = "Slackware UK, Slackware64 UK, Slackware, Slackware64, Slackware Linux, Slackware mirror, Slackware mirrors, Slackware hosting";
|
||||
} elseif (preg_match (":^/s(earch)?$:", $_SERVER['REQUEST_URI'])) {
|
||||
} elseif (preg_match (":^/s(earch)?(\?.*)?$:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "Search Results";
|
||||
$description = "Search Results";
|
||||
$keywords = "Slackware Linux, Slackware mirror, Slackware mirrors, Slackware hosting, Slackware, Slackware64, Slackware UK, Slackware64 UK";
|
||||
} elseif (preg_match (":^/html/search\.shtml(\?.*)?$:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "Search Results";
|
||||
$description = "Search Results";
|
||||
$keywords = "Slackware Linux, Slackware mirror, Slackware mirrors, Slackware hosting, Slackware, Slackware64, Slackware UK, Slackware64 UK";
|
||||
|
@ -104,6 +108,10 @@
|
|||
$title = "SlackBuilds.org Sources Archive";
|
||||
$description = "An archive of sources required by SlackBuilds.org packages";
|
||||
$keywords = "sbosrcarch, SlackBuilds.org, SBo, SlackBuilds source, SlackBuilds sources, SlackBuilds archive";
|
||||
} elseif (preg_match (":^/slackar/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "Slackware Argentina Project";
|
||||
$description = "Slackware Argentina Project";
|
||||
$keywords = "Slackware Argentina";
|
||||
} elseif (preg_match (":^/slackbuilds.org/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "SlackBuilds.org (SBo)";
|
||||
$description = "The SlackBuilds.org (SBo) build scripts for Slackware";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue