Commit new slackware.uk content (with themes).
This commit is contained in:
parent
085631e3d3
commit
e06c1db9cb
54 changed files with 1457 additions and 2572 deletions
25
html/includes/breadcrumbs-search-theme.php
Normal file
25
html/includes/breadcrumbs-search-theme.php
Normal file
|
@ -0,0 +1,25 @@
|
|||
<table width="90%" align="center" cellspacing="5">
|
||||
<?php if (!preg_match (":^/$:", $_SERVER['REQUEST_URI'])) { ?>
|
||||
<tr>
|
||||
<td class="navbar" align="center" valign="bottom" colspan="3">
|
||||
<code class="breadcrumbs">
|
||||
<?php echo breadcrumbs(' » ', 'Index'); ?>
|
||||
</code>
|
||||
</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<tr>
|
||||
<td class="search" align="right" valign="center">
|
||||
<form action="/search">
|
||||
<input type="hidden" name="p" value="<?php print "$_SERVER[REQUEST_URI]" ?>">
|
||||
<input class="searchinput" title="Search" alt="Search" type="text" name="q" placeholder="Search" autocomplete="on" required>
|
||||
</form>
|
||||
</td>
|
||||
<td width="100%">
|
||||
<!-- This cell is intentionally empty -->
|
||||
</td>
|
||||
<td class="search" align="left" valign="center">
|
||||
<a href="/html/toggletheme.php" title="Toggle Theme"><img src="/html/toggletheme.png" title="Toggle Theme" alt="Toggle Theme Button"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
44
html/includes/breadcrumbs.php
Normal file
44
html/includes/breadcrumbs.php
Normal file
|
@ -0,0 +1,44 @@
|
|||
<?php
|
||||
# 20200707 bkw: this breadcrumbs() function is loosely based on one
|
||||
# from stackoverflow, but it's been simplified some.
|
||||
function breadcrumbs($sep = ' » ', $home = 'Home') {
|
||||
$pages = explode("/", $_SERVER['REQUEST_URI']);
|
||||
|
||||
# get rid of leading empty element, which will always be
|
||||
# present since we split (exploded) on "/" and the URI
|
||||
# always starts with a /. shift removes & returns the
|
||||
# first (leftmost) element.
|
||||
array_shift($pages);
|
||||
|
||||
# last dir shouldn't be a link, handled separately below.
|
||||
# pop removes & returns the last (rightmost) element.
|
||||
$last = array_pop($pages);
|
||||
if($last == "") {
|
||||
# if we got an empty $last, it means the URL ended
|
||||
# with a /, so get the last non-empty path element
|
||||
$last = array_pop($pages);
|
||||
}
|
||||
|
||||
# links are server-relative, e.g. "/foo/bar" without the
|
||||
# protocol or domain name. Build them in $url.
|
||||
$url = "";
|
||||
|
||||
# home link is always visible and always a link. Doesn't
|
||||
# matter on slackware.uk because the home page doesn't
|
||||
# include breadcrumbs (no use for them there anyway).
|
||||
$result = Array("<a href=\"/\">" . $home . "</a> ");
|
||||
|
||||
# PHP syntax note: $foo[] = "bar" is the same as Perl's
|
||||
# push @foo, "bar".
|
||||
foreach($pages as $dir) {
|
||||
$url = $url . "/" . $dir;
|
||||
$result[] = "<a href=\"" . $url . "\">" . $dir . "</a> ";
|
||||
}
|
||||
|
||||
# add last (current) dir, but not as a link.
|
||||
$result[] = $last;
|
||||
|
||||
# perl: return join($sep, @result);
|
||||
return implode($sep, $result);
|
||||
}
|
||||
?>
|
9
html/includes/bwbar.php
Normal file
9
html/includes/bwbar.php
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?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>
|
22
html/includes/donate.php
Normal file
22
html/includes/donate.php
Normal file
|
@ -0,0 +1,22 @@
|
|||
<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>
|
14
html/includes/head.php
Normal file
14
html/includes/head.php
Normal file
|
@ -0,0 +1,14 @@
|
|||
<head>
|
||||
<?php if ($light) { ?>
|
||||
<link rel="stylesheet" href="/html/light.css" type="text/css">
|
||||
<?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>
|
5
html/includes/logo.php
Normal file
5
html/includes/logo.php
Normal file
|
@ -0,0 +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 } ?>
|
7
html/includes/search-footer-dark.html
Normal file
7
html/includes/search-footer-dark.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<center>
|
||||
<b>Mirror server bandwidth utilisation</b><br>
|
||||
<!-- Note: This can't include shtml content due to the way it's included from search.cgi -->
|
||||
<img src="/html/bwbar-white.png" title="Bandwidth usage bar" alt="Bandwidth usage bar" border=0>
|
||||
</center>
|
||||
</body>
|
||||
</html>
|
7
html/includes/search-footer-light.html
Normal file
7
html/includes/search-footer-light.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<center>
|
||||
<b>Mirror server bandwidth utilisation</b><br>
|
||||
<!-- Note: This can't include shtml content due to the way it's included from search.cgi -->
|
||||
<img src="/html/bwbar-black.png" title="Bandwidth usage bar" alt="Bandwidth usage bar" border=0>
|
||||
</center>
|
||||
</body>
|
||||
</html>
|
41
html/includes/search-header-dark.html
Normal file
41
html/includes/search-header-dark.html
Normal file
|
@ -0,0 +1,41 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="/html/dark.css" type="text/css">
|
||||
<link rel="shortcut icon" href="/html/favicon.ico">
|
||||
<meta name="author" content="Darren 'Tadgy' Austin">
|
||||
<meta name="description" content="Search Results">
|
||||
<meta name="keywords" content="Slackware Linux, Slackware mirror, Slackware mirrors, Slackware hosting, Slackware, Slackware64, Slackware UK, Slackware64 UK">
|
||||
<meta name="google-site-verification" content="NrTA5svYU1fXFm6RMVkVvsCXF84mkwfKTckHfsTUyVM">
|
||||
<meta name="msvalidate.01" content="9E9AFC7E738EB5E9FF87F0EEBE1BDE8A">
|
||||
<title>Slackware UK: Search Results</title>
|
||||
</head>
|
||||
<body>
|
||||
<center>
|
||||
<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>
|
||||
</center>
|
||||
<hr width="90%">
|
||||
<table width="75%" cellspacing="0" align="center">
|
||||
<tr>
|
||||
<td align="center" valign="top">
|
||||
<b class="heading">Patronage & Donations</b>
|
||||
<br>
|
||||
If you use the Slackware UK services on a regular basis, and would like to contribute to running costs, make a continuing patronage (and receive special benefits), or make a one off PayPal payment, please use one of the following buttons:
|
||||
<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> -->
|
||||
<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>
|
||||
</tr>
|
||||
</table>
|
||||
All <a href="/html/donors.php" title="Donators">donations</a> will be gratefully received - thank you!
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
41
html/includes/search-header-light.html
Normal file
41
html/includes/search-header-light.html
Normal file
|
@ -0,0 +1,41 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="/html/light.css" type="text/css">
|
||||
<link rel="shortcut icon" href="/html/favicon.ico">
|
||||
<meta name="author" content="Darren 'Tadgy' Austin">
|
||||
<meta name="description" content="Search Results">
|
||||
<meta name="keywords" content="Slackware Linux, Slackware mirror, Slackware mirrors, Slackware hosting, Slackware, Slackware64, Slackware UK, Slackware64 UK">
|
||||
<meta name="google-site-verification" content="NrTA5svYU1fXFm6RMVkVvsCXF84mkwfKTckHfsTUyVM">
|
||||
<meta name="msvalidate.01" content="9E9AFC7E738EB5E9FF87F0EEBE1BDE8A">
|
||||
<title>Slackware UK: Search Results</title>
|
||||
</head>
|
||||
<body>
|
||||
<center>
|
||||
<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>
|
||||
</center>
|
||||
<hr width="90%">
|
||||
<table width="75%" cellspacing="0" align="center">
|
||||
<tr>
|
||||
<td align="center" valign="top">
|
||||
<b class="heading">Patronage & Donations</b>
|
||||
<br>
|
||||
If you use the Slackware UK services on a regular basis, and would like to contribute to running costs, make a continuing patronage (and receive special benefits), or make a one off PayPal payment, please use one of the following buttons:
|
||||
<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> -->
|
||||
<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>
|
||||
</tr>
|
||||
</table>
|
||||
All <a href="/html/donors.php" title="Donators">donations</a> will be gratefully received - thank you!
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
13
html/includes/sponsors.php
Normal file
13
html/includes/sponsors.php
Normal file
|
@ -0,0 +1,13 @@
|
|||
<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>
|
190
html/includes/vars.php
Normal file
190
html/includes/vars.php
Normal file
|
@ -0,0 +1,190 @@
|
|||
<?php
|
||||
$titleprefix = "Slackware UK: ";
|
||||
if ($_SERVER['REQUEST_URI'] == "/") {
|
||||
$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'])) {
|
||||
$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/errordocs/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "Error";
|
||||
$description = "Error";
|
||||
$keywords = "Slackware Linux, Slackware mirror, Slackware mirrors, Slackware hosting, Slackware, Slackware64, Slackware UK, Slackware64 UK";
|
||||
} elseif (preg_match (":^/html/donors\.php$:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "Project Supporters";
|
||||
$description = "The people who have made PayPal donations to the project.";
|
||||
$keywords = "Slackware Linux, Slackware mirror, Slackware mirrors, Slackware hosting, Slackware, Slackware64, Slackware UK, Slackware64 UK";
|
||||
} elseif (preg_match (":^/absolute/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "Absolute Linux";
|
||||
$description = "Absolute Linux";
|
||||
$keywords = "Absolute Linux, Absolute, Absolute Linux mirror, Absolute mirror";
|
||||
} elseif (preg_match (":^/csb/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "Cinnamon SlackBuild (CSB)";
|
||||
$description = "Cinnamon desktop environment for Slackware";
|
||||
$keywords = "Cinnamon SlackBuild, CSB, Cinnamon Slackware, Cinnamon desktop Slackware, Cinnamon desktop environment Slackware";
|
||||
} elseif (preg_match (":^/cumulative/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "Cumulative Archive";
|
||||
$description = "Cumulative archive of Slackware and alienBOB's multilib trees";
|
||||
$keywords = "Slackware cumulative, Slackware64 cumulative, multilib cumulative, Slackware archive, Slackware64 archive, multilib archive";
|
||||
} elseif (preg_match (":^/freeslack/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "Freeslack";
|
||||
$description = "Slackware with all proprietary components removed";
|
||||
$keywords = "Freeslack, Slackware freedom, Slackware unencumbered, Slackware non-proprietary";
|
||||
} elseif (preg_match (":^/gfs/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "GNOME From Scratch (GFS)";
|
||||
$description = "GNOME desktop environment for Slackware";
|
||||
$keywords = "GNOME Slackware, GFS, GNOME desktop Slackware, GNOME desktop environment Slackware";
|
||||
} elseif (preg_match (":^/gsb/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "GNOME SlackBuild (GSB)";
|
||||
$description = "GSB desktop environment for Slackware (abandoned)";
|
||||
$keywords = "GNOME SlackBuild, GSB, GNOME Slackware, GSB Slackware, GNOME desktop Slackware, GNOME desktop environment Slackware";
|
||||
} elseif (preg_match (":^/liveslak/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "AlienBOB's Liveslak (Slackware Live Edition)";
|
||||
$description = "A Slackware Linux 'live' environment";
|
||||
$keywords = "Liveslak, Slackware Live Edition, Slackware Live";
|
||||
} elseif (preg_match (":^/microlinux/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "Microlinux";
|
||||
$description = "Microlinux Enterprise Desktop and Server (abandoned)";
|
||||
$keywords = "Microlinux, Microlinux Enterprise, Microlinux Enterprise Desktop, Microlinux Enterprise Server, MLED, MLES, Microlinux Slackware";
|
||||
} elseif (preg_match (":^/msb/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "MATE SlackBuild (MSB)";
|
||||
$description = "MATE desktop environment for Slackware";
|
||||
$keywords = "MATE SlackBuild, MSB, MATE Slackware, MATE desktop Slackware, MATE desktop environment Slackware";
|
||||
} elseif ($_SERVER['REQUEST_URI'] == "/people/") {
|
||||
$title = "SlackBuilds and packages from people";
|
||||
$description = "SlackBuilds and packages from individual people";
|
||||
$keywords = "Slackware people, alienBOB Slackware, rworkman Slackware, rlworkman Slackware, alphageek Slackware, alienBOB, rworkman, rlworkman, alphageek";
|
||||
} elseif (preg_match (":^/people/alien/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "AlienBOB's SlackBuilds and Packages";
|
||||
$description = "AlienBOB's SlackBuilds and packages";
|
||||
$keywords = "alienBOB, alienBOB Slackware, AlienBOB SlackBuild, alienBOB SlackBuilds, AlienBOB packages";
|
||||
} elseif (preg_match (":^/people/alien-arm/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "AlienBOB's Slackware ARM Build";
|
||||
$description = "AlienBOB's Slackware ARM tree";
|
||||
$keywords = "alienBOB ARM, alienBOB Slackware ARM";
|
||||
} elseif (preg_match (":^/people/alien-current-iso/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "AlienBOB's Slackware-current ISOs";
|
||||
$description = "AlienBOB's Slackware-current ISOs";
|
||||
$keywords = "alienBOB current ISO, alienBOB Slackware current, alienBOB Slackware64 current, alienBOB Slackware-current, alienBOB Slackware64-current, alienBOB Slackware current ISO, alienBOB Slackware64 current ISO, alienBOB Slackware-current ISO, alienBOB Slackware64-current ISO, Slackware current ISO, Slackware64 current ISO, current ISO";
|
||||
} elseif (preg_match (":^/people/alien-kde/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "AlienBOB's 'Ktown' KDE Builds";
|
||||
$description = "AlienBOB's 'ktown' KDE builds for Slackware";
|
||||
$keywords = "alienBOB KDE, alienBOB ktown, alienBOB Slackware KDE, alienBOB Slackware ktown, Slackware KDE, Slackware ktown";
|
||||
} elseif (preg_match (":^/people/alien-openvz/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "AlienBOB's OpenVZ Container Template";
|
||||
$description = "AlienBOB's OpenVZ container template images (abandoned)";
|
||||
$keywords = "alienBOB OpenVZ, alienBOB Slackware OpenVZ, Slackware OpenVZ";
|
||||
} elseif (preg_match (":^/people/alien-slaklive/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "AlienBOB's Liveslak (Slackware Live Edition)";
|
||||
$description = "A Slackware Linux 'live' environment";
|
||||
$keywords = "Liveslak, Slackware Live Edition, Slackware Live";
|
||||
} elseif (preg_match (":^/people/alphageek/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "Alphageek's SlackBuilds and Packages";
|
||||
$description = "Alphageek's SlackBuilds and packages (abandoned)";
|
||||
$keywords = "alphageek, alphageek Slackware, alphageek SlackBuild, alphageek SlackBuilds, alphageek packages";
|
||||
} elseif (preg_match (":^/people/rworkman/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "rworkman's SlackBuilds and Packages";
|
||||
$description = "rworkman's SlackBuilds and packages";
|
||||
$keywords = "rworkman, rworkman Slackware, rworkman SlackBuild, rworkman SlackBuilds, rworkman packages";
|
||||
} elseif (preg_match (":^/porteus/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "Porteus";
|
||||
$description = "Porteus - Portable Linux";
|
||||
$keywords = "Porteus, portable Linux";
|
||||
} elseif (preg_match (":^/salix/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "Salix";
|
||||
$description = "Salix OS";
|
||||
$keywords = "Salix, Salix OS";
|
||||
} elseif (preg_match (":^/sarpi/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "SARPi";
|
||||
$description = "Slackware ARM for the Raspberry Pi";
|
||||
$keywords = "SARPi, Slackware Raspberry Pi, Slackware Pi";
|
||||
} elseif (preg_match (":^/sbosrcarch/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$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 (":^/slackbuilds.org/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "SlackBuilds.org (SBo)";
|
||||
$description = "The SlackBuilds.org (SBo) build scripts for Slackware";
|
||||
$keywords = "SlackBuilds.org, SBo";
|
||||
} elseif (preg_match (":^/slackintosh/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "Slackintosh";
|
||||
$description = "Slackware for Power PC (abandoned)";
|
||||
$keywords = "Slackware Mac, Slackware Power PC, Slackware PowerPC, Slackware PPC";
|
||||
} elseif (preg_match (":^/slackonly/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "SlackOnly";
|
||||
$description = "SlackOnly's pre-built packages based on the scripts from SBo";
|
||||
$keywords = "SlackOnly, Slackbuilds.org, SBo";
|
||||
} elseif (preg_match (":^/slackvirt/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "SlackVirt";
|
||||
$description = "SlackVirt's QEMU based virtualisation platform";
|
||||
$keywords = "SlackVirt, Slackware virtualisation, Slackware virtualization, Slackware QEMU";
|
||||
} elseif (preg_match (":^/slackware/slackware-iso/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "Slackware Linux ISOs";
|
||||
$description = "Slackware Linux ISOs";
|
||||
$keywords = "Slackware Linux, Slackware, Slackware Linux ISOs, Slackware ISOs";
|
||||
} elseif (preg_match (":^/slackware/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "Slackware Linux";
|
||||
$description = "The complete Slackware Linux version tree";
|
||||
$keywords = "Slackware Linux, Slackware";
|
||||
} elseif (preg_match (":^/slackwarearm/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "SlackwareARM";
|
||||
$description = "Slackware Linux for the ARM platform";
|
||||
$keywords = "SlackwareARM, ArmedSlack, Slackware ARM, Slackware Linux ARM";
|
||||
} elseif (preg_match (":^/slacky/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "Slacky";
|
||||
$description = "Slackware packages from the Italian Linux community";
|
||||
$keywords = "Slacky";
|
||||
} elseif (preg_match (":^/slamd64/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "Slamd64 Linux";
|
||||
$description = "The original Slackware 64bit distribution (abandoned)";
|
||||
$keywords = "Slamd64, Slackware 64";
|
||||
} elseif (preg_match (":^/slarm64/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "Slarm64";
|
||||
$description = "Unofficial Slackware port to the aarch64 / riscv64 architecture";
|
||||
$keywords = "Slarm64, Slackware aarch64, Slackware riscv64";
|
||||
} elseif (preg_match (":^/slaxbmc/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "SlaXBMC Project";
|
||||
$description = "A Slackware based media centre for the Xbox (abandoned)";
|
||||
$keywords = "SlaXBMC, Slackware Xbox";
|
||||
} elseif (preg_match (":^/slint/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "Slint Project";
|
||||
$description = "The Slint OS, originally derived from Slackware Linux";
|
||||
$keywords = "Slint, Slint OS";
|
||||
} elseif (preg_match (":^/sls/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "Softlanding Linux System (SLS)";
|
||||
$description = "The original Linux operating system (abandoned)";
|
||||
$keywords = "Softlanding Linux System, Softlanding Linux, SLS";
|
||||
} elseif (preg_match (":^/smlinux/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "Smlinux";
|
||||
$description = "A Slackware-like distribution based on musl-libc";
|
||||
$keywords = "Smlinux";
|
||||
} elseif (preg_match (":^/splack/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "Splack";
|
||||
$description = "Slackware Linux for the SPARC architecture (abandoned)";
|
||||
$keywords = "Splack, Slackware SPARC";
|
||||
} elseif (preg_match (":^/studioware/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "Studioware";
|
||||
$description = "Studoware packages for Slackware";
|
||||
$keywords = "Studioware";
|
||||
} elseif (preg_match (":^/truva/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "Truva Linux";
|
||||
$description = "Truva Linux";
|
||||
$keywords = "Truva, Truva Linux";
|
||||
} elseif (preg_match (":^/zenwalk/.*:", $_SERVER['REQUEST_URI'])) {
|
||||
$title = "Zenwalk";
|
||||
$description = "Zenwalk Linux";
|
||||
$keywords = "Zenwalk, Zenwalk Linux";
|
||||
} else {
|
||||
$title = "Index of " . $_SERVER['REQUEST_URI'];
|
||||
$description = "UK Slackware Linux and Slackware based project hosting & mirror service";
|
||||
$keywords = "Slackware Linux, Slackware mirror, Slackware mirrors, Slackware hosting, Slackware, Slackware64, Slackware UK, Slackware64 UK";
|
||||
}
|
||||
|
||||
if ($_COOKIE['theme'] == "light") {
|
||||
$light = true;
|
||||
} else {
|
||||
$light = false;
|
||||
}
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue