
Untitled
By: a guest on
May 16th, 2012 | syntax:
None | size: 0.99 KB | hits: 15 | expires: Never
<?php
session_start();
?>
<html>
<head>
<title></title>
</head>
<body>
<div class="page">
<div class="header">
<div class="title">
<h1>LifePlace</h1>
</div>
<div class="loginDisplay">
<?php
if(session_is_registered(myusername))
{
echo('<p>Welcome <span class="bold">' . $_SESSION["myusername"] . '</span>!</p>');
}
else
{
echo('<a href="./Account/login.php" ID="HeadLoginStatus">Log In</a>');
}
?>
</div>
<div class="clear hideSkiplink">
..Nav menu code I can't be bothered porting, just use CSS styles and an unordered list..
</div>
<div class="main">
<?php
//Prob connect to DB and get content here, using loops and random stuff like that..
?>
</div>
<div class="clear">
</div>
</div>
<div class="footer">
<p>LifePlace © Nicks Computers 2012</p>
</div>
<p> </p>
<p>
<?php
echo(date(g:i a"));
?>
</p>
</body>
</html>