MS-Tropical/app/templates/supernav.php
2025-04-13 22:33:14 -05:00

35 lines
1.4 KiB
PHP
Executable File

<section id="SuperNav">
<?php if (!empty($_COOKIE['MadSplashUser'])) { ?>
<div>
Heyas, <a href="#">{$user[1]}</a>! You can go to your <a href="#">User CP</a> or <a href="http://localhost:8888/Resources/Scripts/PHP/Hubs/CommunityHub.php?user={$user[0]}&action=logout">logout</a>.
</div>
<?php } else { ?>
<div>
Hey there, Guest. You can <a href="http://localhost:8888/community/index.php?page=login">login</a>
or <a href="http://localhost:8888/community/index.php?page=register">register</a> here.
</div>
<?php } ?>
<div class="socials">
<a class="YouTube" href="http://youtube.com/User/MadSplashTV" target="_blank">&nbsp;</a>
<a class="Twitter" href="http://twitter.com/MadSplashStudio" target="_blank">&nbsp;</a>
<div class="CrossNav">
<img src="/assets/images/Icons/General/CrossNavDark.png" style="width: 28px; height: 28px;" />
<ul>
<a href="http://therpg.madsplash.net/" target="_blank">
<li class="RPG">
<img src="/assets/images/Logos/TheRPG.jpg" style="width: 38px;">
<p>
<a class="RPGLink">The RPG</a> <br>
Our up-and-coming web-and-text-based RPG. Play!
</p>
</li>
</a>
</ul>
</div>
</div>
</section>