First commit of current staging content.

This commit is contained in:
Darren 'Tadgy' Austin 2022-09-01 12:49:15 +01:00
commit d72e9b623a
55 changed files with 2217 additions and 0 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
files/htpasswd
logs/

174
cgi-bin/search.cgi Executable file
View file

@ -0,0 +1,174 @@
#!/bin/bash
# Configuration options
BASE_DIR="/data/sites"
STORAGE_PREFIX="/storage/md0"
IGNORE_REGEXES=('^/\.sandbox.*' '^/\.lftp.*' '^/dead\.letter' '.*\.rsync-tmp.*')
HEADER_DARK="$BASE_DIR/${SERVER_NAME:-slackware.uk}/html/includes/search-header-dark.html"
FOOTER_DARK="$BASE_DIR/${SERVER_NAME:-slackware.uk}/html/includes/search-footer-dark.html"
HEADER_LIGHT="$BASE_DIR/${SERVER_NAME:-slackware.uk}/html/includes/search-header-light.html"
FOOTER_LIGHT="$BASE_DIR/${SERVER_NAME:-slackware.uk}/html/includes/search-footer-light.html"
LOCATEDB="/tmp/mirrors.db"
LIMIT=1000
MAX_CONCURRENT=5
# Extglob is required.
shopt -s extglob
# Output an error in processing.
die() {
# $1 = The error message to output.
# $2 = Whether to include the retry link ("false" to disable inclusion, everything else is true).
cat <<EOF
<br><br>
<center>
<table class="header" align="center">
<tr>
<td align="center">
<b class="subheading">Error: $1</b>$([[ "${2,,}" != "false" ]] && printf "<br>\n Please click <a href=\"%s\" title=\"Retry Search\">here</a> to retry your search." "${REQUEST_SCHEME:-https}://${SERVER_NAME:-slackware.uk}/search?$QUERY_STRING")
</td>
</tr>
</table>
</center>
</body>
</html>
EOF
exit 1
}
# Initial headers.
printf "%s: %s\\n" "Content-type" "text/html"
printf "%s: %s\\n" "Cache-Control" "no-cache, no-store, must-revalidate"
printf "%s: %s\\n" "Pragma" "no-cache"
printf "%s: %s\\n\\n" "Expires" "1"
# Extract cookies.
while read -r -d " " RAW; do
KEY="${RAW%%=*}"
VALUE="${RAW#*=}"
declare -A COOKIES+=( ["${KEY,,}"]="${VALUE,,}" )
done <<<"$HTTP_COOKIE " # The space at the end is required.
# Include the themed header.
if [[ "${COOKIES['theme']}" == "dark" ]]; then
cat "$HEADER_DARK"
else
cat "$HEADER_LIGHT"
fi
# Limit the number of concurrent searches to avoid DoS.
if (( $(lsof -t "$LOCATEDB" | wc -l) > (MAX_CONCURRENT - 1) )); then
die "too many concurrent searches!"
else
exec 9<"$LOCATEDB" && flock -s -E 10 -w 2 9 || die "too many concurrent searches!"
while read -r -d '&' QUERY; do
# If the read returned an empty string, skip.
[[ -z "$QUERY" ]] && continue
# Extract the key and value to temporary variables.
KEY="${QUERY%%=*}"
VALUE="${QUERY#*=}"
# Check the key is valid as a variable name.
[[ ! "$KEY" =~ ^[[:digit:]_]*[[:alnum:]_]*$ ]] && die "invalid query - don't try to be clever :)" "false"
# Remove spaces from beginning and end of value.
: "${VALUE/#+(+)}"
: "${_/%+(+)}"
# Squash multiple spaces in value.
: "${_//+(+)/+}"
# Convert values from %-encoded form.
: "${_//%/\\x}"
# Define the variable from the key name.
declare "X_$KEY"="$(printf "%b" "${_//+/ }")"
done <<<"${QUERY_STRING,,}&" # The & at the end is required.
# Take a copy of q before it's modified, for the heading.
Q_COPY="${X_q:-(empty)}"
# Adjust 'X_q' for the locate command by wrapping search elements in *s.
: "*${X_q// /* *}*"
X_q="${_//\/*/*}"
# HTML boilerplate.
cat <<EOF
<center>
<table class="header" align="center">
<tr>
<td align="center">
<b class="heading">Search Results</b><br><br>
<b class="subheading">Search query: $Q_COPY</b><br>
Searches may contain multiple terms, include (basic) globs,<br>
and descend down from the current directory.
</td>
</tr>
</table>
</center>
<table width="90%" align="center" cellspacing="15">
<tr>
<td class="search" align="right" valign="center">
<form action="/search">
<input type="hidden" name="p" value="$X_p">
<input class="searchinput" title="Search" alt="Search Box" type="text" name="q" value="$Q_COPY" 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" alt="Toggle Theme"><img src="/html/toggletheme.png" title="Toggle Theme" alt="Toggle Theme"></a>
</td>
</tr>
<tr>
<td class="searchresults" colspan="3">
<hr>
<code>
EOF
I=1
COUNT=0
while read -r ITEM; do
# Only show 1000 items to prevent long load times.
(( I == LIMIT + 1 )) && break
# Remove paths we don't want the user to see.
while read -r -d " " REGEX; do
[[ "${ITEM/$STORAGE_PREFIX}" =~ $REGEX ]] && continue 2
done <<<"${IGNORE_REGEXES[@]}"
# List the item.
printf " &bull; <a href=\"%s\" title=\"%s\">%s</a><br>\\n" "${ITEM/$STORAGE_PREFIX}" "${ITEM/$STORAGE_PREFIX}" "${ITEM/$STORAGE_PREFIX}"
(( I++ ))
(( COUNT++ ))
done < <(locate -A -d "$LOCATEDB" -i -l "$(( LIMIT * 2 ))" "$STORAGE_PREFIX/${X_p##/}" $X_q | sort)
# Tell the user about the results.
if (( COUNT == 0 )); then
printf " %s" "No results - try to widen your search."
elif (( COUNT == LIMIT )); then
printf " %s" "Maximum $LIMIT items shown - try to refine your search."
else
printf " %s" "$COUNT items found."
fi
# HTML boilerplate.
cat <<EOF
</code>
<hr>
</td>
</tr>
</table>
EOF
# Include footer.
if [[ "${COOKIES['theme']}" == "dark" ]]; then
cat "$FOOTER_DARK"
else
cat "$FOOTER_LIGHT"
fi
fi

80
files/CSS-examples.txt Normal file
View file

@ -0,0 +1,80 @@
.bookmark a.digg {
background:url(/images/icons/digg.gif) no-repeat 0 50%;
}
body {
background: #fff;
color: #000;
font-family: "Lucida Grande", "Bitstream Vera Sans", Verdana, Helvetica, Arial, sans-serif;
margin: 0;
padding: 0;
font-size: 95%;
text-align: center;
}
hr {
color: white;
background-color: #ddd;
height: 1px;
border: 0px;
}
pre {
background-color: #eee;
color: inherit;
padding: 0.3em 1em 1em 1em;
border: 1px dotted #999;
overflow: auto;
margin: 1em 0 1em 1.5em;
}
a .donatethumb:hover {
background: #ccc;
color: inherit;
}
a .introthumb:hover {
background: #ccc;
color: inherit;
}
#main-body a {
color: #147;
background-color: inherit;
text-decoration: underline;
}
#main-body a:hover {
text-decoration: none;
color: #06c;
background-color: inherit;
}
#footer a:hover {
text-decoration: none;
}
a {
outline: none;
}
a:active {
outline: none;
}
img.screenthumb {
vertical-align: middle;
background-color: #eee;
color: inherit;
border-bottom: 1px solid #a9a9a9;
border-right: 1px solid #a9a9a9;
padding: 8px;
margin: 25px 25px 0 0;
}
a img.screenthumb:hover {
background: #ccc;
color: inherit;
}
img {
border: 0 none;
}

1
files/README Normal file
View file

@ -0,0 +1 @@
This directory is for storage of any files which should NOT be directly accessible via the web.

55
files/banner.txt Normal file
View file

@ -0,0 +1,55 @@
_ _
__ |``: __ ___. | , __ __ __ _ ___
(__` |`` __) / ` |.( | | __) |'` /___)
| .__) _|_ (__|_ '.__. _| \_ \_/\_/ (__|_ _|_ '.__.
|
|__________________________________________________ | | |_/
\_/ | \
is kindly sponsored by:
*** _ _ _ _ **********
***** | | | | | | / | **' _ '.**
;'. ******* | | | | | !.' / ***`-' ) :**
.' `-,*** | | | | | | ******,' .'**
,~ ~\, ,, | !__! | | |'. \ ***.' :****
.~ ~-._ .' ~. '-.__.-' |_| \_| **:______:*
.' File Away Limited `-' `-. A THG Company **********
http://www.file-away.co.uk/ http://www.uk2.net/
Please take a moment to visit these sponsors using the links above!
- --------------------------------------------------------------------------- -
ACCESS: This service can be accessed via:
HTTP: http://slackware.uk/
HTTPS: https://slackware.uk/
FTP: ftp://slackware.uk/
Rsync: rsync://slackware.uk/
NOTICE: All connections and transfers are logged. By accessing this
service you implicitly agree to our collecting your IP address for
analytics purposes. We do not collect or hold any user identifying data.
Do not use multiple concurrent connections or "make your downloads
faster" applications.
Access to this service is a privilege, not a right - abusive users will
be firewalled without warning.
NOTICE TO MIRRORS: If you are running a mirroring service and pulling data
from multiple repositories on a regular basis, please email for access
to the top-level repo - so you can pull everything in one go.
We do not operate any blacklisting or whitelisting on access to
repositories at this time.
MIRRORING REQUESTS: This service is primarily intended to provide a
mirror service for Slackware Linux based projects. If you run a
Slackware based project or have a suggestion for a project which may
benefit from being mirrored here, please email with full details.
DONATIONS: If you use this service on a regular basis, and would like to
make a one-off or recurring donation towards the ongoing running costs,
please Paypal an amount you feel is appropriate to: <donate (at)
slackware.uk>. All donations will be gratefully received - thank you!
Darren 'Tadgy' Austin
Email: <mirrors (at) slackware.uk>
IRC: On Libera.Chat, join #slackware.uk channel or PM 'Tadgy'
- --------------------------------------------------------------------------- -

1
html/bwbar-dark.png Symbolic link
View file

@ -0,0 +1 @@
/run/bwbar-dark.png

1
html/bwbar-light.png Symbolic link
View file

@ -0,0 +1 @@
/run/bwbar-light.png

1
html/bwbar.txt Symbolic link
View file

@ -0,0 +1 @@
/run/bwbar.txt

BIN
html/circuit-dark.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

BIN
html/circuit-light.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

123
html/dark.css Normal file
View file

@ -0,0 +1,123 @@
a:link {
color: #4255ff;
text-decoration: none;
}
a:visited {
color: #943cc3;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
body {
background-image: url("/html/circuit-dark.png");
background-color: #000000;
color: #aeaeae;
margin-left: 15px;
margin-right: 15px;
}
form {
margin-left: 0;
margin-right: 0;
margin-top: 0;
margin-bottom: 0;
}
hr {
height: 2px;
border-width: 0;
color: #888888;
background-color: #888888;
}
pre {
background: #060606;
border: 2px solid #aaaaaa;
padding-left: 20;
padding-right: 20;
box-shadow: 10px 10px 10px -5px rgba(128,128,128,0.5);
}
.heading {
font-size: 200%;
}
.subheading {
font-size: 125%;
}
.breadcrumbs {
font-size: 150%;
background: #060606;
border: 2px solid #aaaaaa;
padding-left: 10;
padding-top: 2;
padding-right: 10;
padding-bottom: 2;
box-shadow: 10px 10px 10px -5px rgba(128,128,128,0.5);
}
.header {
background: #060606;
border: 2px solid #aaaaaa;
margin: 20;
padding-left: 10;
padding-top: 10;
padding-right: 10;
padding-bottom: 10;
box-shadow: 10px 10px 10px -5px rgba(128,128,128,0.5);
}
.navbar {
width: 100%;
text-align: center;
}
.search {
background: #060606;
border: 2px solid #aaaaaa;
box-shadow: 10px 10px 10px -5px rgba(128,128,128,0.5);
}
.searchinput {
border: none;
background: #060606;
outline: none;
color: #888888;
font-size: 11px;
box-sizing: border-box;
padding-left: 10;
padding-top: 2;
padding-right: 10;
padding-bottom: 2;
background-color: #060606;
background-image: url('/html/search-white.png');
background-size: 15px 15px;
background-position: 2px 2px;
background-repeat: no-repeat;
padding-left: 20px;
}
.searchresults {
background: #060606;
border: 2px solid #aaaaaa;
padding-left: 20;
padding-right: 20;
box-shadow: 10px 10px 10px -5px rgba(128,128,128,0.5);
}
.sponsorslist {
background: #060606;
border: 2px solid #777;
margin: 20;
padding-left: 10;
padding-top: 10;
padding-right: 10;
padding-bottom: 10;
box-shadow: 10px 10px 10px -5px rgba(128,128,128,0.5);
}

660
html/donors.php Normal file
View file

@ -0,0 +1,660 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<?php
require ("includes/breadcrumbs.php");
require ("includes/vars.php");
?>
<html>
<?php require ("includes/head.php"); ?>
<body>
<center>
<?php require ("includes/logo.php"); ?>
<hr width="90%">
<table width="75%" cellspacing="0" align="center">
<tr>
<td align="center">
<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:
<?php require ("includes/donate.php"); ?>
</td>
</tr>
</table>
<br>
<table class="header" border="0" align="center" id="title">
<tr>
<td align="center">
<b class="heading">Project Supporters</b><br>
<b class="subheading">The following people have kindly donated to <a href="https://slackware.uk/">slackware.uk</a>.<br>
Thank you very much for your support! :)</b>
</td>
</tr>
</table>
<table class="sponsorslist" width="60%" border="1" cellspacing="0" cellpadding="2" align="center">
<tr>
<td width="25%" align="left">
21st July 2022
</td>
<td align="left">
David Woodfall
</td>
</tr>
<tr>
<td width="25%" align="left">
18th July 2022
</td>
<td align="left">
Luke Dedek
</td>
</tr>
<tr>
<td width="25%" align="left">
14th July 2022
</td>
<td align="left">
Jack Leong
</td>
</tr>
<tr>
<td width="25%" align="left">
10th July 2022
</td>
<td align="left">
Charles Coffee
</td>
</tr>
<tr>
<td width="25%" align="left">
8th July 2022
</td>
<td align="left">
Randall Robinson
</td>
</tr>
<tr>
<td width="25%" align="left">
20th June 2022
</td>
<td align="left">
Richard Hoyle
</td>
</tr>
<tr>
<td width="25%" align="left">
7th June 2022
</td>
<td align="left">
Richard Hanser
</td>
</tr>
<tr>
<td width="25%" align="left">
7th June 2022
</td>
<td align="left">
Abehinichi
</td>
</tr>
<tr>
<td width="25%" align="left">
6th June 2022
</td>
<td align="left">
Keith Burnett
</td>
</tr>
<tr>
<td width="25%" align="left">
6th June 2022
</td>
<td align="left">
David Ian Allen
</td>
</tr>
<tr>
<td width="25%" align="left">
6th June 2022
</td>
<td align="left">
Duncan Wood
</td>
</tr>
<tr>
<td width="25%" align="left">
6th June 2022
</td>
<td align="left">
Robert Bresaz
</td>
</tr>
<tr>
<td width="25%" align="left">
4th June 2022
</td>
<td align="left">
Barry Grundy
</td>
</tr>
<tr>
<td width="25%" align="left">
4th June 2022
</td>
<td align="left">
Antoine Dierstein
</td>
</tr>
<tr>
<td width="25%" align="left">
4th June 2022
</td>
<td align="left">
Karl Gunnar Hammarlund
</td>
</tr>
<tr>
<td width="25%" align="left">
4th June 2022
</td>
<td align="left">
Matthew Dinslage
</td>
</tr>
<tr>
<td width="25%" align="left">
4th June 2022
</td>
<td align="left">
David Hall
</td>
</tr>
<tr>
<td width="25%" align="left">
27th April 2022
</td>
<td align="left">
Matthew Dinslage
</td>
</tr>
<tr>
<td width="25%" align="left">
4th April 2022
</td>
<td align="left">
Edward Rosenberg
</td>
</tr>
<tr>
<td width="25%" align="left">
2nd April 2022
</td>
<td align="left">
Matthew Dinslage
</td>
</tr>
<tr>
<td width="25%" align="left">
21th March 2022
</td>
<td align="left">
Theodore Allen
</td>
</tr>
<tr>
<td width="25%" align="left">
18th March 2022
</td>
<td align="left">
George Nielsen
</td>
</tr>
<tr>
<td width="25%" align="left">
18th March 2022
</td>
<td align="left">
Ioannis Anagnostakis
</td>
</tr>
<tr>
<td width="25%" align="left">
18th March 2022
</td>
<td align="left">
Karl Gunnar Hammarlund
</td>
</tr>
<tr>
<td width="25%" align="left">
18th March 2022
</td>
<td align="left">
Brian Lawrence
</td>
</tr>
<tr>
<td width="25%" align="left">
18th March 2022
</td>
<td align="left">
Dane Jensen
</td>
</tr>
<tr>
<td width="25%" align="left">
18th March 2022
</td>
<td align="left">
Matthew Dinslage
</td>
</tr>
<tr>
<td width="25%" align="left">
9th March 2022
</td>
<td align="left">
David Trudgian
</td>
</tr>
<tr>
<td width="25%" align="left">
7th March 2022
</td>
<td align="left">
Robert Bresaz
</td>
</tr>
<tr>
<td width="25%" align="left">
13th January 2022
</td>
<td align="left">
Rod Ziemski
</td>
</tr>
<tr>
<td width="25%" align="left">
21st December 2021
</td>
<td align="left">
Eric Trimmer
</td>
</tr>
<tr>
<td width="25%" align="left">
30th September 2021
</td>
<td align="left">
Brian Lawrence
</td>
</tr>
<tr>
<td width="25%" align="left">
17th August 2021
</td>
<td align="left">
Christoph Willing
</td>
</tr>
<tr>
<td width="25%" align="left">
14th July 2021
</td>
<td align="left">
Brian Lawrence
</td>
</tr>
<tr>
<td width="25%" align="left">
11th July 2021
</td>
<td align="left">
Don Boots
</td>
</tr>
<tr>
<td width="25%" align="left">
6th June 2021
</td>
<td align="left">
Cleverson Casarin Uliana
</td>
</tr>
<tr>
<td width="25%" align="left">
30th May 2021
</td>
<td align="left">
Klaus Gretland
</td>
</tr>
<tr>
<td width="25%" align="left">
25th May 2021
</td>
<td align="left">
Matthew Dinslage
</td>
</tr>
<tr>
<td width="25%" align="left">
25th May 2021
</td>
<td align="left">
Karl Bruns
</td>
</tr>
<tr>
<td width="25%" align="left">
18th May 2021
</td>
<td align="left">
Karl Gunnar Hammarlund
</td>
</tr>
<tr>
<td width="25%" align="left">
15th May 2021
</td>
<td align="left">
Christoph Koernig
</td>
</tr>
<tr>
<td width="25%" align="left">
20th April 2021
</td>
<td align="left">
Anthony McKenzie
</td>
</tr>
<tr>
<td width="25%" align="left">
18th April 2021
</td>
<td align="left">
Marcin Wolcendorf
</td>
</tr>
<tr>
<td width="25%" align="left">
10th April 2021
</td>
<td align="left">
Christoph Kühne
</td>
</tr>
<tr>
<td width="25%" align="left">
8th April 2021
</td>
<td align="left">
Patrick Volkerding
</td>
</tr>
<tr>
<td width="25%" align="left">
29th March 2021
</td>
<td align="left">
Anthony McKenzie
</td>
</tr>
<tr>
<td width="25%" align="left">
7th March 2021
</td>
<td align="left">
James Scott
</td>
</tr>
<tr>
<td width="25%" align="left">
2nd March 2021
</td>
<td align="left">
Alain Detal
</td>
</tr>
<tr>
<td width="25%" align="left">
15th February 2021
</td>
<td align="left">
Diniz Fernando Bortolotto Ferreira
</td>
</tr>
<tr>
<td width="25%" align="left">
22nd December 2020
</td>
<td align="left">
Peter Christy
</td>
</tr>
<tr>
<td width="25%" align="left">
22nd December 2020
</td>
<td align="left">
Karl Gunnar Hammarlund
</td>
</tr>
<tr>
<td width="25%" align="left">
15th December 2020
</td>
<td align="left">
Karol Jurica
</td>
</tr>
<tr>
<td width="25%" align="left">
14th December 2020
</td>
<td align="left">
Stanley Garvey
</td>
</tr>
<tr>
<td width="25%" align="left">
2nd October 2020
</td>
<td align="left">
Corby Roberts
</td>
</tr>
<tr>
<td width="25%" align="left">
24th August 2020
</td>
<td align="left">
Weber Kai
</td>
</tr>
<tr>
<td width="25%" align="left">
7th August 2020
</td>
<td align="left">
Brian Lawrence
</td>
</tr>
<tr>
<td width="25%" align="left">
6th August 2020
</td>
<td align="left">
Marcin Słodkiewicz
</td>
</tr>
<tr>
<td width="25%" align="left">
30th May 2020
</td>
<td align="left">
Ahmed Abbas
</td>
</tr>
<tr>
<td width="25%" align="left">
23rd May 2020
</td>
<td align="left">
Adam Purkrt
</td>
</tr>
<tr>
<td width="25%" align="left">
5th May 2020
</td>
<td align="left">
Clemens Sauerzopf
</td>
</tr>
<tr>
<td width="25%" align="left">
30th April 2020
</td>
<td align="left">
Gerard Lally
</td>
</tr>
<tr>
<td width="25%" align="left">
6th April 2020
</td>
<td align="left">
Peter Christy
</td>
</tr>
<tr>
<td width="25%" align="left">
3rd April 2020
</td>
<td align="left">
Tom Kosir
</td>
</tr>
<tr>
<td width="25%" align="left">
30th March 2020
</td>
<td align="left">
jwc1936
</td>
</tr>
<tr>
<td width="25%" align="left">
13th March 2020
</td>
<td align="left">
Gregory Guy Rozan
</td>
</tr>
<tr>
<td width="25%" align="left">
6th March 2020
</td>
<td align="left">
Brian Lawrence
</td>
</tr>
<tr>
<td width="25%" align="left">
5th March 2020
</td>
<td align="left">
Karl Gunnar Hammarlund
</td>
</tr>
<tr>
<td width="25%" align="left">
5th March 2020
</td>
<td align="left">
Pierre-Philipp Braun
</td>
</tr>
<tr>
<td width="25%" align="left">
4th March 2020
</td>
<td align="left">
Christoph Kühne
</td>
</tr>
<tr>
<td width="25%" align="left">
22nd February 2020
</td>
<td align="left">
Aaditya Bagga
</td>
</tr>
<tr>
<td width="25%" align="left">
20th October 2019
</td>
<td align="left">
Shuaidu Yang
</td>
</tr>
<tr>
<td width="25%" align="left">
12th October 2019
</td>
<td align="left">
Andrew Macks
</td>
</tr>
<tr>
<td width="25%" align="left">
9th October 2019
</td>
<td align="left">
Tapio Pätilä
</td>
</tr>
<tr>
<td width="25%" align="left">
30th August 2019
</td>
<td align="left">
Nora's Portal
</td>
</tr>
<tr>
<td width="25%" align="left">
18th July 2019
</td>
<td align="left">
Karl Gunnar Hammarlund
</td>
</tr>
<tr>
<td width="25%" align="left">
21st May 2019
</td>
<td align="left">
Brian Lawrence
</td>
</tr>
<tr>
<td width="25%" align="left">
16th May 2019
</td>
<td align="left">
Daniel Bowling
</td>
</tr>
<tr>
<td width="25%" align="left">
27th April 2019
</td>
<td align="left">
Antoniazzi Leonardo
</td>
</tr>
</table>
</center>
<?php require ("includes/bwbar.php"); ?>
</body>
</html>

32
html/errordocs/400.php Normal file
View file

@ -0,0 +1,32 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<?php require ("../includes/vars.php"); ?>
<html>
<?php require ("../includes/head.php"); ?>
<body>
<center>
<?php require ("../includes/logo.php"); ?>
</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:
<?php require ("../includes/donate.php"); ?>
All <a href="/html/donors.php" title="Donors">donations</a> will be gratefully received - thank you!
</td>
</tr>
</table>
<br>
<center>
<table class="header" border="0" align="center">
<tr>
<td align="center">
<b class="heading">400 - Bad Request</b><br>
The server could not understand the request.
</td>
</tr>
</table>
</center>
</body>
</html>

54
html/errordocs/400.shtml Normal file
View file

@ -0,0 +1,54 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<title>Slackware UK: 400</title>
<link rel="stylesheet" href="/html/index.css" type="text/css">
<link rel="shortcut icon" href="/html/favicon.ico">
<meta name="author" content="Darren 'Tadgy' Austin">
<meta name="description" content="Slackware UK: Search Results">
<meta name="keywords" content="Linux, mirror, mirrors, hosting, Slackware, Slackware64, Slackware UK, Slackware64 UK">
<meta name="google-site-verification" content="NrTA5svYU1fXFm6RMVkVvsCXF84mkwfKTckHfsTUyVM">
<meta name="msvalidate.01" content="9E9AFC7E738EB5E9FF87F0EEBE1BDE8A">
</head>
<body>
<center><p><a href="/" title="Slackware UK" alt="** Slackware UK **"><img src="/html/slackwareuk.png" alt="** Slackware UK **" title="Slackware UK" border=0 align=center></a></p></center>
<hr width="90%">
<table width="75%" cellspacing="0" align="center">
<tr>
<td align="center" valign="top">
<font size="+2"><b>Patronage & donations</b></font><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"><img src="/html/gofundme.png" alt="GoFundMe Campaign" title="GoFundMe"></a>
</td>
<td align="center" valign="center">
<a href="https://www.patreon.com/slackwareUK"><img src="/html/patreon.png" alt="Patreon Page" title="Patreon"></a>
</td>
<td align="center" valign="center">
<a href="https://paypal.me/DonateToSlackwareUK"><img src="/html/paypal.png" alt="PayPal Donation" title="PayPal"></a>
</td>
</tr>
</table>
All <a href="/html/project_supporters.html" title="Donations" alt="Donations">donations</a> will be gratefully received - thank you!
</td>
</tr>
</table>
<br>
<center>
<table class="header" border="0" align="center" id="title">
<tr>
<td align="center">
<h1>400 - Bad Request</h1>
The server could not understand the request.
</td>
</tr>
</table>
</center>
<br>
<hr width="90%">
<center>
<b>Mirror server bandwidth utilisation</b><br>
<img src="/html/bwbar.png" title="<!--#include virtual='/html/bwbar.txt' -->" alt="<!--#include virtual='/html/bwbar.txt' -->" border=0>
</center>

32
html/errordocs/401.php Normal file
View file

@ -0,0 +1,32 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<?php require ("../includes/vars.php"); ?>
<html>
<?php require ("../includes/head.php"); ?>
<body>
<center>
<?php require ("../includes/logo.php"); ?>
</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:
<?php require ("../includes/donate.php"); ?>
All <a href="/html/donors.php" title="Donors">donations</a> will be gratefully received - thank you!
</td>
</tr>
</table>
<br>
<center>
<table class="header" border="0" align="center">
<tr>
<td align="center">
<b class="heading">401 - Unauthorised</b><br>
Authentication is required.
</td>
</tr>
</table>
</center>
</body>
</html>

54
html/errordocs/401.shtml Normal file
View file

@ -0,0 +1,54 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<title>Slackware UK: 401</title>
<link rel="stylesheet" href="/html/index.css" type="text/css">
<link rel="shortcut icon" href="/html/favicon.ico">
<meta name="author" content="Darren 'Tadgy' Austin">
<meta name="description" content="Slackware UK: Search Results">
<meta name="keywords" content="Linux, mirror, mirrors, hosting, Slackware, Slackware64, Slackware UK, Slackware64 UK">
<meta name="google-site-verification" content="NrTA5svYU1fXFm6RMVkVvsCXF84mkwfKTckHfsTUyVM">
<meta name="msvalidate.01" content="9E9AFC7E738EB5E9FF87F0EEBE1BDE8A">
</head>
<body>
<center><p><a href="/" title="Slackware UK" alt="** Slackware UK **"><img src="/html/slackwareuk.png" alt="** Slackware UK **" title="Slackware UK" border=0 align=center></a></p></center>
<hr width="90%">
<table width="75%" cellspacing="0" align="center">
<tr>
<td align="center" valign="top">
<font size="+2"><b>Patronage & donations</b></font><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"><img src="/html/gofundme.png" alt="GoFundMe Campaign" title="GoFundMe"></a>
</td>
<td align="center" valign="center">
<a href="https://www.patreon.com/slackwareUK"><img src="/html/patreon.png" alt="Patreon Page" title="Patreon"></a>
</td>
<td align="center" valign="center">
<a href="https://paypal.me/DonateToSlackwareUK"><img src="/html/paypal.png" alt="PayPal Donation" title="PayPal"></a>
</td>
</tr>
</table>
All <a href="/html/project_supporters.html" title="Donations" alt="Donations">donations</a> will be gratefully received - thank you!
</td>
</tr>
</table>
<br>
<center>
<table class="header" border="0" align="center" id="title">
<tr>
<td align="center">
<h1>401 - Unauthorised</h1>
Authentication is required.
</td>
</tr>
</table>
</center>
<br>
<hr width="90%">
<center>
<b>Mirror server bandwidth utilisation</b><br>
<img src="/html/bwbar.png" title="<!--#include virtual='/html/bwbar.txt' -->" alt="<!--#include virtual='/html/bwbar.txt' -->" border=0>
</center>

32
html/errordocs/403.php Normal file
View file

@ -0,0 +1,32 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<?php require ("../includes/vars.php"); ?>
<html>
<?php require ("../includes/head.php"); ?>
<body>
<center>
<?php require ("../includes/logo.php"); ?>
</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:
<?php require ("../includes/donate.php"); ?>
All <a href="/html/donors.php" title="Donors">donations</a> will be gratefully received - thank you!
</td>
</tr>
</table>
<br>
<center>
<table class="header" border="0" align="center">
<tr>
<td align="center">
<b class="heading">403 - Forbidden</b><br>
You do not have permission to access this resource.
</td>
</tr>
</table>
</center>
</body>
</html>

54
html/errordocs/403.shtml Normal file
View file

@ -0,0 +1,54 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<title>Slackware UK: 403</title>
<link rel="stylesheet" href="/html/index.css" type="text/css">
<link rel="shortcut icon" href="/html/favicon.ico">
<meta name="author" content="Darren 'Tadgy' Austin">
<meta name="description" content="Slackware UK: Search Results">
<meta name="keywords" content="Linux, mirror, mirrors, hosting, Slackware, Slackware64, Slackware UK, Slackware64 UK">
<meta name="google-site-verification" content="NrTA5svYU1fXFm6RMVkVvsCXF84mkwfKTckHfsTUyVM">
<meta name="msvalidate.01" content="9E9AFC7E738EB5E9FF87F0EEBE1BDE8A">
</head>
<body>
<center><p><a href="/" title="Slackware UK" alt="** Slackware UK **"><img src="/html/slackwareuk.png" alt="** Slackware UK **" title="Slackware UK" border=0 align=center></a></p></center>
<hr width="90%">
<table width="75%" cellspacing="0" align="center">
<tr>
<td align="center" valign="top">
<font size="+2"><b>Patronage & donations</b></font><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"><img src="/html/gofundme.png" alt="GoFundMe Campaign" title="GoFundMe"></a>
</td>
<td align="center" valign="center">
<a href="https://www.patreon.com/slackwareUK"><img src="/html/patreon.png" alt="Patreon Page" title="Patreon"></a>
</td>
<td align="center" valign="center">
<a href="https://paypal.me/DonateToSlackwareUK"><img src="/html/paypal.png" alt="PayPal Donation" title="PayPal"></a>
</td>
</tr>
</table>
All <a href="/html/project_supporters.html" title="Donations" alt="Donations">donations</a> will be gratefully received - thank you!
</td>
</tr>
</table>
<br>
<center>
<table class="header" border="0" align="center" id="title">
<tr>
<td align="center">
<h1>403 - Forbidden</h1>
You do not have permission to access this resource.
</td>
</tr>
</table>
</center>
<br>
<hr width="90%">
<center>
<b>Mirror server bandwidth utilisation</b><br>
<img src="/html/bwbar.png" title="<!--#include virtual='/html/bwbar.txt' -->" alt="<!--#include virtual='/html/bwbar.txt' -->" border=0>
</center>

32
html/errordocs/404.php Normal file
View file

@ -0,0 +1,32 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<?php require ("../includes/vars.php"); ?>
<html>
<?php require ("../includes/head.php"); ?>
<body>
<center>
<?php require ("../includes/logo.php"); ?>
</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:
<?php require ("../includes/donate.php"); ?>
All <a href="/html/donors.php" title="Donors">donations</a> will be gratefully received - thank you!
</td>
</tr>
</table>
<br>
<center>
<table class="header" border="0" align="center">
<tr>
<td align="center">
<b class="heading">404 - Not Found</b><br>
The requested page or file is not found.
</td>
</tr>
</table>
</center>
</body>
</html>

54
html/errordocs/404.shtml Normal file
View file

@ -0,0 +1,54 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<title>Slackware UK: 404</title>
<link rel="stylesheet" href="/html/index.css" type="text/css">
<link rel="shortcut icon" href="/html/favicon.ico">
<meta name="author" content="Darren 'Tadgy' Austin">
<meta name="description" content="Slackware UK: Search Results">
<meta name="keywords" content="Linux, mirror, mirrors, hosting, Slackware, Slackware64, Slackware UK, Slackware64 UK">
<meta name="google-site-verification" content="NrTA5svYU1fXFm6RMVkVvsCXF84mkwfKTckHfsTUyVM">
<meta name="msvalidate.01" content="9E9AFC7E738EB5E9FF87F0EEBE1BDE8A">
</head>
<body>
<center><p><a href="/" title="Slackware UK" alt="** Slackware UK **"><img src="/html/slackwareuk.png" alt="** Slackware UK **" title="Slackware UK" border=0 align=center></a></p></center>
<hr width="90%">
<table width="75%" cellspacing="0" align="center">
<tr>
<td align="center" valign="top">
<font size="+2"><b>Patronage & donations</b></font><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"><img src="/html/gofundme.png" alt="GoFundMe Campaign" title="GoFundMe"></a>
</td>
<td align="center" valign="center">
<a href="https://www.patreon.com/slackwareUK"><img src="/html/patreon.png" alt="Patreon Page" title="Patreon"></a>
</td>
<td align="center" valign="center">
<a href="https://paypal.me/DonateToSlackwareUK"><img src="/html/paypal.png" alt="PayPal Donation" title="PayPal"></a>
</td>
</tr>
</table>
All <a href="/html/project_supporters.html" title="Donations" alt="Donations">donations</a> will be gratefully received - thank you!
</td>
</tr>
</table>
<br>
<center>
<table class="header" border="0" align="center" id="title">
<tr>
<td align="center">
<h1>404 - Not Found</h1>
The requested page or file is not found.
</td>
</tr>
</table>
</center>
<br>
<hr width="90%">
<center>
<b>Mirror server bandwidth utilisation</b><br>
<img src="/html/bwbar.png" title="<!--#include virtual='/html/bwbar.txt' -->" alt="<!--#include virtual='/html/bwbar.txt' -->" border=0>
</center>

32
html/errordocs/405.php Normal file
View file

@ -0,0 +1,32 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<?php require ("../includes/vars.php"); ?>
<html>
<?php require ("../includes/head.php"); ?>
<body>
<center>
<?php require ("../includes/logo.php"); ?>
</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:
<?php require ("../includes/donate.php"); ?>
All <a href="/html/donors.php" title="Donors">donations</a> will be gratefully received - thank you!
</td>
</tr>
</table>
<br>
<center>
<table class="header" border="0" align="center">
<tr>
<td align="center">
<b class="heading">405 - Method Forbidden</b><br>
Access method is not authorised.
</td>
</tr>
</table>
</center>
</body>
</html>

54
html/errordocs/405.shtml Normal file
View file

@ -0,0 +1,54 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<title>Slackware UK: 405</title>
<link rel="stylesheet" href="/html/index.css" type="text/css">
<link rel="shortcut icon" href="/html/favicon.ico">
<meta name="author" content="Darren 'Tadgy' Austin">
<meta name="description" content="Slackware UK: Search Results">
<meta name="keywords" content="Linux, mirror, mirrors, hosting, Slackware, Slackware64, Slackware UK, Slackware64 UK">
<meta name="google-site-verification" content="NrTA5svYU1fXFm6RMVkVvsCXF84mkwfKTckHfsTUyVM">
<meta name="msvalidate.01" content="9E9AFC7E738EB5E9FF87F0EEBE1BDE8A">
</head>
<body>
<center><p><a href="/" title="Slackware UK" alt="** Slackware UK **"><img src="/html/slackwareuk.png" alt="** Slackware UK **" title="Slackware UK" border=0 align=center></a></p></center>
<hr width="90%">
<table width="75%" cellspacing="0" align="center">
<tr>
<td align="center" valign="top">
<font size="+2"><b>Patronage & donations</b></font><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"><img src="/html/gofundme.png" alt="GoFundMe Campaign" title="GoFundMe"></a>
</td>
<td align="center" valign="center">
<a href="https://www.patreon.com/slackwareUK"><img src="/html/patreon.png" alt="Patreon Page" title="Patreon"></a>
</td>
<td align="center" valign="center">
<a href="https://paypal.me/DonateToSlackwareUK"><img src="/html/paypal.png" alt="PayPal Donation" title="PayPal"></a>
</td>
</tr>
</table>
All <a href="/html/project_supporters.html" title="Donations" alt="Donations">donations</a> will be gratefully received - thank you!
</td>
</tr>
</table>
<br>
<center>
<table class="header" border="0" align="center" id="title">
<tr>
<td align="center">
<h1>405 - Method Forbidden</h1>
Access method is not authorised.
</td>
</tr>
</table>
</center>
<br>
<hr width="90%">
<center>
<b>Mirror server bandwidth utilisation</b><br>
<img src="/html/bwbar.png" title="<!--#include virtual='/html/bwbar.txt' -->" alt="<!--#include virtual='/html/bwbar.txt' -->" border=0>
</center>

BIN
html/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

7
html/footer.shtml Normal file
View file

@ -0,0 +1,7 @@
</td>
</tr>
</table>
</center>
<?php require ("includes/bwbar.php"); ?>
</body>
</html>

119
html/header.php Normal file
View file

@ -0,0 +1,119 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<?php
require ("includes/breadcrumbs.php");
require ("includes/vars.php");
?>
<html>
<?php require ("includes/head.php"); ?>
<body>
<?php if ($_SERVER['REQUEST_URI'] == "/") { ?>
<center>
<?php require ("includes/logo.php"); ?>
<?php require ("includes/sponsors.php"); ?>
<hr width="90%">
<table width="90%" cellspacing="5">
<tr>
<td align="left" valign="top" width="15%">
<b>Access:</b>
</td>
<td align="left" valign="top">
This service can be accessed via:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;HTTP:&nbsp;&nbsp;<a href="http://slackware.uk/" title="HTTP" alt="HTTP">http://slackware.uk/</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;HTTPS:&nbsp;&nbsp;<a href="https://slackware.uk/" title="HTTPS" alt="HTTPS">https://slackware.uk/</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FTP:&nbsp;&nbsp;<a href="ftp://slackware.uk/" title="FTP" alt="FTP">ftp://slackware.uk/</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Rsync:&nbsp;&nbsp;<a href="rsync://slackware.uk/" title="Rsync" alt="Rsync">rsync://slackware.uk/</a>
</td>
</tr>
<tr>
<td align="left" valign="top" width="15%">
<b>Notice:</b>
</td>
<td align="left" valign="top">
All connections and transfers are logged. By accessing this service you implicitly agree to our collecting your IP address for analytics purposes.<br>
We do not collect or hold any user identifying data, but do set a cookie in your browser for your choice of theme.<br>
Do not use multiple concurrent connections or "make your downloads faster" applications.<br>
Access to this service is a privilege, not a right - abusive users will be firewalled without warning.
</td>
</tr>
<!-- <tr>
<td align="left" valign="top" width="15%">
<b>Notice to mirrors:</b>
</td>
<td align="left" valign="top">
If you are running a mirroring service and pulling data from multiple repositories on a regular basis, please email for access to the top-level repo - so you can pull everything in one go. We do not operate any blacklisting or whitelisting on access to repositories at this time.
</td>
</tr> -->
<tr>
<td align="left" valign="top" width="15%">
<b>Mirroring requests:</b>
</td>
<td align="left" valign="top">
This service is primarily intended to provide a mirror service for <a href="http://www.slackware.com/" title="Slackware Linux" alt="Slackware Linux">Slackware Linux</a> based projects. If you run a Slackware based project, or have a suggestion for a project which may benefit from being mirrored here, please message with full details.
</td>
</tr>
<tr>
<td align="left" valign="top" width="15%">
<b>Patronage & Donations:</b>
</td>
<td align="left" valign="top">
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:
</td>
</tr>
<tr>
<td>
<!-- This cell is intentionally empty -->
</td>
<td>
<?php require ("includes/donate.php"); ?>
</td>
</tr>
<tr>
<td>
<!-- This cell is intentionally empty -->
</td>
<td align="left" valign="top">
All <a href="/html/donors.php" title="Donors">donations</a> will be gratefully received - thank you!
</td>
</tr>
<tr>
<td align="right" valign="top" colspan="2">
<b>Darren 'Tadgy' Austin</b><br>
<b>Email:</b> <a href="mailto:mirrors (at) slackware.uk" title="Send email">mirrors (at) slackware.uk</a><br>
<b>IRC:</b> On <a href="http://libera.chat/" title="Libera.Chat IRC Network">Libera.Chat</a>, join #slackware.uk channel or PM 'Tadgy'
</td>
</tr>
</table>
</center>
<br>
<?php } else { ?>
<center>
<?php require ("includes/logo.php"); ?>
</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:
<?php require ("includes/donate.php"); ?>
All <a href="/html/donors.php" title="Donors">donations</a> will be gratefully received - thank you!
</td>
</tr>
<?php if (preg_match (":^/slackware/slackware-iso/.*:", $_SERVER['REQUEST_URI'])) { ?>
<tr>
<td align="center" valign="top">
<hr width="100%">
<!-- <font size="+2"><b>A Faster Way to Download Slackware Linux ISOs</b></font><br> -->
<b class="heading">A Faster Way to Download Slackware Linux ISOs</b><br>
Slackware UK now offers a <a href="https://seedbox.slackware.uk/" title="Bittorrent seeding service">Bittorrent seeding service</a> which may allow you to download the Slackware ISOs at a much faster speed (<b>especially immediately following a new stable release</b>) - all that is required is a Bittorrent client.
</td>
</tr>
<?php } ?>
</table>
<br><br>
<?php } ?>
<?php require ("includes/breadcrumbs-search-theme.php"); ?>
<center>
<table width="90%" cellspacing="5">
<tr>
<td>

View 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(' &raquo; ', '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>

View 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 = ' &raquo; ', $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
View 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
View 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
View 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
View 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 } ?>

View 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>

View 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>

View 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>

View 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>

View 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
View 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;
}
?>

122
html/light.css Normal file
View file

@ -0,0 +1,122 @@
a:link {
color: #2c199c;
text-decoration: none;
}
a:visited {
color: #943cc3;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
body {
background-image: url("/html/circuit-light.png");
background-color: #ffffff;
color: #000000;
margin-left: 15px;
margin-right: 15px;
}
form {
margin-left: 0;
margin-right: 0;
margin-top: 0;
margin-bottom: 0;
}
hr {
height: 2px;
border-width: 0;
color: #070707;
background-color: #070707;
}
pre {
background: #f0f0f0;
border: 2px solid #070707;
padding-left: 20;
padding-right: 20;
box-shadow: 10px 10px 10px -5px rgba(0,0,0,0.5);
}
.heading {
font-size: 200%;
}
.subheading {
font-size: 125%;
}
.breadcrumbs {
font-size: 150%;
background: #f0f0f0;
border: 2px solid #070707;
padding-left: 10;
padding-top: 2;
padding-right: 10;
padding-bottom: 2;
box-shadow: 10px 10px 10px -5px rgba(0,0,0,0.5);
}
.header {
background: #F0F0F0;
border: 2px solid #777;
margin: 20;
padding-left: 10;
padding-top: 10;
padding-right: 10;
padding-bottom: 10;
box-shadow: 10px 10px 10px -5px rgba(0,0,0,0.5);
}
.navbar {
width: 100%;
text-align: center;
}
.search {
background: #f0f0f0;
border: 2px solid #070707;
box-shadow: 10px 10px 10px -5px rgba(0,0,0,0.5);
}
.searchinput {
border: none;
background: #f0f0f0;
outline: none;
color: #000000;
font-size: 11px;
box-sizing: border-box;
padding-left: 10;
padding-top: 2;
padding-right: 10;
padding-bottom: 2;
background-color: #f0f0f0;
background-image: url('/html/search-black.png');
background-size: 15px 15px;
background-position: 2px 2px;
background-repeat: no-repeat;
padding-left: 20px;
}
.searchresults {
background: #f0f0f0;
border: 2px solid #070707;
padding-left: 20;
padding-right: 20;
box-shadow: 10px 10px 10px -5px rgba(0,0,0,0.5);
}
.sponsorslist {
background: #F0F0F0;
border: 2px solid #777;
margin: 20;
padding-left: 10;
padding-top: 10;
padding-right: 10;
padding-bottom: 10;
box-shadow: 10px 10px 10px -5px rgba(0,0,0,0.5);
}

BIN
html/old/binary.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

BIN
html/old/fileaway.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
html/old/gofundme.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

BIN
html/patreon-black.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
html/patreon-white.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
html/paypal-black.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
html/paypal-white.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

2
html/robots.txt Normal file
View file

@ -0,0 +1,2 @@
User-agent: *
Allow: /

BIN
html/search-black.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

BIN
html/search-white.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

BIN
html/slackwareuk-black.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

BIN
html/slackwareuk-white.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

21
html/toggletheme.php Normal file
View file

@ -0,0 +1,21 @@
<?php
require ("includes/vars.php");
$cookie_data = array(
"expires" => "Tue, 31 Dec 2069 23:59:59 GMT",
"domain" => ".slackware.uk",
"path" => "/",
"httponly" => true,
"samesite" => "Lax"
);
if (!$light) {
$theme = "light";
} else {
$theme = "dark";
}
setcookie ("theme", $theme, $cookie_data);
if (isset ($_SERVER['HTTP_REFERER'])) {
header ("Location: " . $_SERVER['HTTP_REFERER'], true, 302);
} else {
header ("Location: /", true, 302);
}
?>

BIN
html/toggletheme.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
html/uk2-black.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

BIN
html/uk2-white.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

BIN
html/ukservers.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB