All pastes #498827 Raw Edit

index

public php v1 · immutable
·published 2007-05-20 18:15 UTC
rendered paste body
<?php include("/home/.joanie/nitrolinken/Main.NNet/includes/phptop.php"); ?><html><head><meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/><meta name="description" content="description"/><meta name="keywords" content="nitrolinken,thor,marius,personal,blog,beta,proxy"/> <meta name="author" content="Nitrolinken,Thor Marius K.H."/> <link rel="stylesheet" type="text/css" href="/styles/default.css" media="screen"/><title>Nitrolinken.Net - Snapshot</title><script src="SpryAssets/SpryCollapsiblePanel.js" type="text/javascript"></script><link href="SpryAssets/SpryCollapsiblePanel.css" rel="stylesheet" type="text/css"></head><body><div class="container">  <div class="navigation">		<div class="title">		  <h1>Nitrolinken.Net</h1>		  <h2><?php echo $subTitle; ?></h2>		</div><?php$linker = array(array($front, '/front/', 1),array($about, '/about-me/', 2));$serurl = $_SERVER['REQUEST_URI'];foreach($linker as $link) {if(preg_match('!'.$link[1].'!', $serurl))$class = "class=\"current\""; else$class = '';echo "<a href=\"${link[1]}\" ${class} tabindex=\"${link[2]}\">$link[0]</a>\n";}?></div>  <div class="holder_top"></div>  <div class="holder">    <?php$default	= "front";	$directory	= "includes/pages";$extension	= "php";$page = $_GET['page'];if (preg_match('/(http:\/\/|^\/|\.+?\/)/', $page)) echo "I'll h4x yuo!!1"; elseif (!empty($page))											{	if (file_exists("$directory/$page.$extension"))						include("$directory/$page.$extension");						else																echo "<h1>Error 404</h1>\n<p>I'm sorry, but you're definetly not viewing the page you hoped for. Wrong gate.</p>\n";}else	include("$directory/$default.$extension");?>    <div id="CollapsiblePanel1" class="CollapsiblePanel">      <div class="CollapsiblePanelTab" tabindex="0">Are you Norwegian, or maybe you'reEnglish? Click here for more info!</div>      <div class="CollapsiblePanelContent">Since I want to allow my visitors, both foreign, and not foreign ones to fully read my site, I've coded it in such a way, that you can easily switch!<br>          <a href="?language=no">Norwegian</a> - <a href="?language=en">English</a><br>      </div>    </div>  </div>  <div class="footer">&copy; 2007 <a href="beta-front/index.html">Website.com</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>. Thanks to Arcsin for a beautiful design.<a href="http://templates.arcsin.se"></a>	</div></div><script type="text/javascript"><!--var CollapsiblePanel1 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel1");//--></script></body></html>