diligentcircle
Well-Known Member
Well, that didn't work for what I needed to do, but I remembered that I can just use the URL, so I'm doing that for now.
This is the code for the header right now, in a file called "header.php":
This is the code for the header right now, in a file called "header.php":
Code:
<div id="site_heading">
<h1>Onpon's Closet</h1>
<h2>Sharing is good.</h2>
</div><!--close site_heading-->
<div id="header">
<div id="menubar">
<ul id="menu">
<li<?php if($page == 'Home'){echo ' class="current"';} ?>><a href="http://onpon4.comule.com">Home</a></li>
<li<?php if($page == 'About'){echo ' class="current"';} ?>><a href="http://onpon4.comule.com/about/">About</a></li>
<li<?php if($page == 'Games'){echo ' class="current"';} ?>><a href="http://onpon4.comule.com/games/">Games</a></li>
<li<?php if($page == 'Apps'){echo ' class="current"';} ?>><a href="http://onpon4.comule.com/apps/">Apps</a></li>
<li<?php if($page == 'Projects'){echo ' class="current"';} ?>><a href="http://onpon4.comule.com/projects/">Projects</a></li>
<li<?php if($page == 'Other'){echo ' class="current"';} ?>><a href="http://onpon4.comule.com/other/">Other</a></li>
<li<?php if($page == 'Links'){echo ' class="current"';} ?>><a href="http://onpon4.comule.com/links/">Links</a></li>
<li<?php if($page == 'Contact'){echo ' class="current"';} ?>><a href="http://onpon4.comule.com/contact/">Contact</a></li>
</ul>
</div><!--close menubar-->
</div><!--close header-->