Initial Commit

This commit is contained in:
Lutchy Horace 2023-10-24 07:08:56 -04:00
parent 453f51afb5
commit 69f90c9534
4 changed files with 79 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
webchat/

BIN
imgs/my_pic.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

75
index.php Normal file
View File

@ -0,0 +1,75 @@
<?php
$plaintext=(@$_GET['plaintext'] == 'true') ? 'true' : 'false';
if ($plaintext != 'true') {
header('Link: <data:text/css,html,body,svg{background:%23222%20!important;color:beige}a:link{color:%237af}a:active,a:hover,a:focus{color:%239cf}a:visited{color:%23c9f}a:visited:hover,a:visited:active,a:visited:focus{color:%23eaf}svg{filter:invert(1)hue-rotate(180deg)}body%20*{background:none!important}>; rel="alternate stylesheet"; title="Dark Mode", <data:text/css,html,body,svg{background:%23222%20!important;color:beige}a:link{color:%237af}a:active,a:hover,a:focus{color:%239cf}a:visited{color:%23c9f}a:visited:hover,a:visited:active,a:visited:focus{color:%23eaf}svg{filter:invert(1)hue-rotate(180deg)}body%20*{background:none!important}>; rel="stylesheet"; media="(prefers-color-scheme:dark)"');
?>
<!DOCTYPE html>
<meta charset=utf-8>
<meta name=viewport content="width=device-width, initial-scale=1">
<style>body{max-width:50em;margin:auto;padding:1em;line-height:1.5em}
.div1::before{content:"\0040";font-size:initial}.div2::before{content:".";font-size:initial}.div1,.div2{font-size:0}
section[name="projects"] p{margin: .5em 0}
</style>
<title>Bugzbunny - IRC Server</title>
<?php
} else {
header('Content-Type: text/html; charset=utf-8');
}
?>
<?php echo ($plaintext != 'true') ? '<pre>' : null; ?>
________ ___ ___ ________ ________ ________ ___ ___ ________ ________ ___ ___
|\ __ \|\ \|\ \|\ ____\|\_____ \|\ __ \|\ \|\ \|\ ___ \|\ ___ \ |\ \ / /|
\ \ \|\ /\ \ \\\ \ \ \___| \|___/ /\ \ \|\ /\ \ \\\ \ \ \\ \ \ \ \\ \ \ \ \ \/ / /
\ \ __ \ \ \\\ \ \ \ ___ / / /\ \ __ \ \ \\\ \ \ \\ \ \ \ \\ \ \ \ \ / /
\ \ \|\ \ \ \\\ \ \ \|\ \ / /_/__\ \ \|\ \ \ \\\ \ \ \\ \ \ \ \\ \ \ \/ / /
\ \_______\ \_______\ \_______\\________\ \_______\ \_______\ \__\\ \__\ \__\\ \__\__/ / /
\|_______|\|_______|\|_______|\|_______|\|_______|\|_______|\|__| \|__|\|__| \|__|\___/ /
\|___|/
<?php echo ($plaintext != 'true') ? '</pre>' : null; ?>
<?php echo ($plaintext != 'true') ? '<p>' : null; ?>Welcome to the International Freedom Network.
<?php echo ($plaintext != 'true') ? '<p>' : null; ?> Main site: <?php echo ($plaintext != 'true') ? '<a href="#" rel="me">' : null; ?>https://irc.bugzbunny.net<?php echo ($plaintext != 'true') ? '</a><br>' : "\r\n"; ?>
About us: <?php echo ($plaintext != 'true') ? '<a href="https://www.bugzbunny.net" rel="me">' : null; ?>https://www.bugzbunny.net<?php echo ($plaintext != 'true') ? '</a><br>' : "\r\n"; ?>
Webchat: <?php echo ($plaintext != 'true') ? '<a href="https://www.bugzbunny.net/webchat">' : null; ?>https://www.bugzbunny.net/webchat<?php echo ($plaintext != 'true') ? '</a></p>' : null; ?>
<?php echo ($plaintext != 'true') ? '<p>' : null; ?> My name is L. Horace (aka bugzbunny). The owner of this network. A crass, honest, and friendly person.
The primary purpose of this IRC network is to provide real-time support for Bugzbunny's services. However,
this doesn't mean this network is not open to anyone (13 years and older) who wants to join a small community
of tech nerds, weebs, gamers, programmers, and sysadmins.<?php echo ($plaintext != 'true') ? '</p>' : null; ?>
<?php echo ($plaintext != 'true') ? '<p>' : null; ?> Network Channels:<?php echo ($plaintext != 'true') ? '<br>' : "\r\n"; ?>
<?php echo ($plaintext != 'true') ? '&nbsp;&nbsp;' : null; ?> <?=($plaintext != 'true')?'<a href="https://irc.bugzbunny.net/webchat/?channels=%23bugzbunny" target="_blank" rel="noopener noreferrer">':null?>#bugzbunny<?=($plaintext != 'true')?'</a>':null;?> Support and Offtopic chatter<?php echo ($plaintext != 'true') ? '</p>' : null; ?>
<?php echo ($plaintext != 'true') ? '<p>' : null; ?> Main Channels:<?php echo ($plaintext != 'true') ? '<br>' : "\r\n"; ?>
<?php echo ($plaintext != 'true') ? '&nbsp;&nbsp;' : null; ?> <?=($plaintext != 'true')?'<a href="https://irc.bugzbunny.net/webchat/?channels=%23cc2" target="_blank" rel="noopener noreferrer">':null?>#cc2<?=($plaintext != 'true')?'</a>':null;?> Carrier Commander 2<?php echo ($plaintext != 'true') ? '<br>' : "\r\n"; ?>
<?php echo ($plaintext != 'true') ? '&nbsp;&nbsp;' : null; ?> <?=($plaintext != 'true')?'<a href="https://irc.bugzbunny.net/webchat/?channels=%23se" target="_blank" rel="noopener noreferrer">':null?>#se<?=($plaintext != 'true')?'</a>':null;?> Space Engineers<?php echo ($plaintext != 'true') ? '<br>' : "\r\n"; ?>
<?php echo ($plaintext != 'true') ? '&nbsp;&nbsp;' : null; ?> <?=($plaintext != 'true')?'<a href="https://irc.bugzbunny.net/webchat/?channels=%23nsfw" target="_blank" rel="noopener noreferrer">':null?>#nsfw<?=($plaintext != 'true')?'</a>':null;?> Not safe for work chatter (Join at your own risk)<?php echo ($plaintext != 'true') ? '<br>' : "\r\n"; ?>
<?php echo ($plaintext != 'true') ? '&nbsp;&nbsp;' : null; ?> <?=($plaintext != 'true')?'<a href="https://irc.bugzbunny.net/webchat/?channels=%23php" target="_blank" rel="noopener noreferrer">':null?>#php<?=($plaintext != 'true')?'</a>':null;?> PHP is the best<?php echo ($plaintext != 'true') ? '</p>' : null; ?>
<?php if ($plaintext != 'true') { ?>
<h1>RULES</h1>
<p>While I do my best to protect free speech. Some forms of speech are more valuable than others. Such as political speech,
religion, and freedom of expression. Disrespectfulness and impoliteness aren't part of free speech here.
<p>Legal Sheet:
<p>* Absolutely no wares, piracy content, etc.
<p>* Absolutely no spam and/or DDoS
<p>* Absolutely no inciting violence towards anyone
<?php } else { ?>
Check /RULES for the rules of this network.<?php
}
if ($plaintext != 'true') { ?>
<p><img src="imgs/my_pic.jpg" title="Yeah, that's me" alt="Do I look pretty in text" width=230 style="display:block;margin:2em auto">
<?php } ?>

3
readme.md Normal file
View File

@ -0,0 +1,3 @@
# IRC website
This repo will keep track of changes to the IRC website that is hosted at http://irc.bugzbunny.net.