irc/index.php

87 lines
6.3 KiB
PHP

<?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 Network</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
if ($plaintext == 'true') {
?>
Main site: https://irc.bugzbunny.net
<?php } ?>
<?=($plaintext != 'true')?'<p>':null?>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://irc.bugzbunny.net/webchat">' : null; ?>https://www.bugzbunny.net/webchat<?php echo ($plaintext != 'true') ? '</a><br>' : "\r\n"; ?>
<?php
if ($plaintext != 'true' ) {
?>
IRC Server: <a href="ircs://irc.bugzbunny.net">ircs://irc.bugzbunny.net</a></p>
<?php } ?>
<?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') ? '<br>' : "\r\n"; ?>
<?=($plaintext != 'true')?'&nbsp;&nbsp;':null;?> <?=($plaintext != 'true')?'<a href="https://irc.bugzbunny.net/webchat/?channels=%23social" target="_blank" rel="noopener noreferrer">':null?>#social<?=($plaintext != 'true')?'</a>':null;?> Network socialize channel<?=($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
<p>* Absolutely no unauthorized bots on network and main channels
<?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">
<p><small>Sister Network: <a href="irc://irc.ircnow.org">irc://irc.ircnow.org</a><small>
<?php } ?>