This commit is contained in:
kaylee 2024-07-08 04:54:47 +01:00
parent d44f322dea
commit 6dbc350063
No known key found for this signature in database
GPG Key ID: 84EB2D9600AD856C
4 changed files with 62 additions and 54 deletions

1
includes/.htaccess Normal file
View File

@ -0,0 +1 @@
Redirect 404

2
includes/footer.php Normal file
View File

@ -0,0 +1,2 @@
</body>
</html>

51
includes/header.php Normal file
View File

@ -0,0 +1,51 @@
<!doctype html>
<html>
<head>
<title>My 32-Bit Cafe | <?= $curPage ?></title>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" type="text/css" href="css/themes/DEV_macchiato.css" />
</head>
<body>
<div class="sidebar">
<div class='logo_holder'><a href="/"><img src="css/themes/macchiato_assets/my32bc.png" /></a></div>
<div class="link_group">
<input type="radio" name="sidebar_links" id="rad_services" value="0" checked />
<label for="rad_services">services</label>
<ul>
<a target="_blank" href="https://discourse.32bit.cafe"><li>discourse forum</li></a>
<a target="_blank" href="https://discord.com"><li>discord server</li></a>
<a target="_blank" href="https://mail.32bit.cafe"><li>webmail</li></a>
<a target="_blank" href="https://mail.32bit.cafe"><li>dns management</li></a>
<a target="_blank" href="https://tilde.32bit.cafe"><li>tilde server</li></a>
</ul>
</div>
<div class="link_group">
<input type="radio" name="sidebar_links" id="rad_manage" value="1" />
<label for="rad_manage">manage</label>
<ul>
<a href="domains/"><li>domains</li></a>
<a href="webspace/"><li>webspace</li></a>
<a href="gemini/"><li>gemini capsule</li></a>
<a href="email/"><li>email account</li></a>
</ul>
</div>
<div class="link_group">
<input type="radio" name="sidebar_links" id="rad_account" value="2" />
<label for="rad_account">account</label>
<ul>
<a href="password/"><li>edit settings</li></a>
<a href="gemini/"><li>log out</li></a>
</ul>
</div>
<div class="link_group">
<input type="radio" name="sidebar_links" id="rad_help" value="3" />
<label for="rad_help">help</label>
<ul>
<a href="guides/"><li>getting started guides</li></a>
<a href="advanced/"><li>more advanced guides</li></a>
<a href="contact/"><li>contact admins</li></a>
</ul>
</div>
</form>
</div>

View File

@ -1,54 +1,7 @@
<!doctype html> <?php
<html> $cur_page = "Dashboard";
<head> require_once('includes/header.php');
<title>My 32-Bit Cafe</title> ?>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" type="text/css" href="css/themes/DEV_macchiato.css" />
</head>
<body>
<div class="sidebar">
<div class='logo_holder'><a href="/"><img src="css/themes/macchiato_assets/my32bc.png" /></a></div>
<div class="link_group">
<input type="radio" name="sidebar_links" id="rad_services" value="0" checked />
<label for="rad_services">services</label>
<ul>
<a target="_blank" href="https://discourse.32bit.cafe"><li>discourse forum</li></a>
<a target="_blank" href="https://discord.com"><li>discord server</li></a>
<a target="_blank" href="https://mail.32bit.cafe"><li>webmail</li></a>
<a target="_blank" href="https://mail.32bit.cafe"><li>dns management</li></a>
<a target="_blank" href="https://tilde.32bit.cafe"><li>tilde server</li></a>
</ul>
</div>
<div class="link_group">
<input type="radio" name="sidebar_links" id="rad_manage" value="1" />
<label for="rad_manage">manage</label>
<ul>
<a href="domains/"><li>domains</li></a>
<a href="webspace/"><li>webspace</li></a>
<a href="gemini/"><li>gemini capsule</li></a>
<a href="email/"><li>email account</li></a>
</ul>
</div>
<div class="link_group">
<input type="radio" name="sidebar_links" id="rad_account" value="2" />
<label for="rad_account">account</label>
<ul>
<a href="password/"><li>edit settings</li></a>
<a href="gemini/"><li>log out</li></a>
</ul>
</div>
<div class="link_group">
<input type="radio" name="sidebar_links" id="rad_help" value="3" />
<label for="rad_help">help</label>
<ul>
<a href="guides/"><li>getting started guides</li></a>
<a href="advanced/"><li>more advanced guides</li></a>
<a href="contact/"><li>contact admins</li></a>
</ul>
</div>
</form>
</div>
<div class="main_frame"> <div class="main_frame">
<div class='page_title'><h1>my 32-bit cafe dashboard</h1></div> <div class='page_title'><h1>my 32-bit cafe dashboard</h1></div>
<h2>Welcome, {user}!</h1> <h2>Welcome, {user}!</h1>
@ -69,5 +22,6 @@
<h2>Want to get involved?</h2> <h2>Want to get involved?</h2>
<p>If you'd like to help us with running and expanding our free services, please join our <a href="#">technomancers group</a>! No matter what your skillset, we would love for you to take part!</p> <p>If you'd like to help us with running and expanding our free services, please join our <a href="#">technomancers group</a>! No matter what your skillset, we would love for you to take part!</p>
</div> </div>
</body> <?php
</html> require_once('includes/footer.php');
?>