All pastes #732980 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-10-11 13:02 UTC
rendered paste body
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<META HTTP-EQUIV="Content-Language" CONTENT="en-au">
<meta name="description" content="description">
<meta name="keywords" content="keywords"> 
<meta name="author" content="author"> 
<link rel="stylesheet" type="text/css" href="default.css" media="screen">
<link rel="stylesheet" type="text/css" href="css/global.css" media="all">

<title>Dirtylicious</title>
<?php /*
<?php include('includes/javascript.php'); ?>
<?php include('includes/classes.php'); ?>
<?php include('includes/arrays.php'); ?>
<?php include('includes/functions.php'); ?>
<?php include('includes/db.php'); ?>
*/ ?>
</head>

<body>

<div class="outer-container">

<div class="inner-container">

	<div class="header">
		
		<div class="title">

			<span class="sitename"><a href="index.html"><?=$config['site_name'];?></a></span>
			<div class="slogan"><?=$config['slogan'];?></div>

		</div>

	</div>

	<div class="path">
			<div class="left"><a href="index.html">Home</a> &#8250;&#8250; <a href="index.html">Forums</a></div>
			<?php  $total = unread_messages($_COOKIE['username']); ?>
				<div align="right">Hello <?=$_COOKIE["username"];?>. You have <b><?=$total;?></b> new messages
			<?php }
			else { ?>
			<div align="right"><a href="?id=profile&page=register">Register</a> | <a href="?id=profile&page=login">Log in</a>
			<?php } ?>
	</div>
	</div>
	<div class="main">		
		
	  <div class="content">
	  <?php
	  		if(isset($_GET['page'], $_GET['id']) && file_exists('mods/'.$_GET['id'].'/'.$_GET['page'].'/index.php')) {
				include 'mods/'.$_GET[id].'/'.$_GET[page].'/index.php';
			}
			else {
				echo "<DIV class=\"box\" style=\"margin-left: 16px\">";
				echo "<h4>Error</h4>";
				echo "<p>Page Not Found</p>";
				echo '<p>mods/'.$_GET[id].'/'.$_GET[page].'/index.php';
				echo "</DIV>";
			}
	  ?>
	  </div>

		<div class="navigation">
		
			<!-- Navigation Menu -->
		  	<h2>Navigation</h2>
		    <ul>
				<li><a href="<?=$_SERVER['PHP_SELF']?>">- Home</a></li>
				<li><a href="index.php">- Members</a></li>
				<li><a href="index.php">- Staff</a></li>
			</ul>

			<!-- UserCP Menu -->
		  	<h2>User CP </h2>
			<ul>
				<li><a href="index.html">- View Profile </a></li>
				<li><a href="index.html">- Edit Profile </a></li>
				<li><a href="index.html">- Logout </a></li>
			</ul>
			
			
			<h2>Private Messaging</h2>
			<ul>
			<?php
					$query = "SELECT * FROM inbox WHERE Destination='compact'";
					$result = mysql_query($query);
					$total = mysql_numrows($result);
					if ($total == '') { $total = 0; }
			?>
				<li><a href="index.html">- Inbox (<?=$total;?>) </a></li>
			<?php
				$query = "SELECT * FROM outbox WHERE Destination='compact'";
				$result = mysql_query($query);
				$total = mysql_numrows($result);
				if ($total == '') { $total = 0; }
			?>
				<li><a href="index.html">- Outbox (<?=$total;?>) </a></li>
			<?php
				$query = "SELECT * FROM trashcan WHERE Destination='compact'";
				$result = mysql_query($query);
				$total = mysql_numrows($result);
				if ($total == '') { $total = 0; }
			?>
				<li><a href="index.html">- Trash Can (<?=$total;?>) </a></li>
				<li><a href="index.html">- Compose </a></li>
			</ul>
			
			<!-- Forums Menu -->
			<h2>Forums</h2>
			 <ul>
				<li><a href="index.html">- Latest Threads </a></li>
				<li><a href="index.html">- New Thread </a></li>
				<li><a href="index.html">- Unread Threads</a></li>
			</ul>
			
			<!-- Ladder Menu -->
			<h2>Ladder</h2>
    		<ul>
				<li><a href="index.html">- Rankings </a></li>
				<li><a href="index.html">- Control Panel </a></li>
				<li><a href="index.html">- Stats</a></li>
			</ul>

		</div>

		<div class="clearer">&nbsp;</div>

	</div>

	<div class="footer"><span class="left">

			&copy; 2007 <a href="index.html">site-will-be-here</a>. Valid <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a> &amp; <a href="http://validator.w3.org/check?uri=referer">XHTML</a>

		</span>

		<span class="right">

			<a href="http://templates.arcsin.se">Website created by compact </a><a href="http://arcsin.se"></a>

		</span>

		<div class="clearer"></div>

	</div>

</div>

</div>

</body>

</html>