All pastes #926804 Raw Edit

Anonymous

public text v1 · immutable
·published 2008-03-03 21:10 UTC
rendered paste body
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>FazeWire Web Services. We offer quality web hosting for everyone!</title>
<link type="text/css" rel="stylesheet" href="/style.css" />
</head>

<body>
<!-- WRAPPER begin -->
<div id="wrapper">
<script type="text/javascript" src="/cornerad/corner.js"></script>
<div style="position: absolute; top: 2%; right: 2%;"><script language="Javascript" src="http://www.fazewire.com/billing/livechat/visitor/index.php?_m=livesupport&_a=htmlcode&departmentid=0&fullname=&email="></script></div>
<!-- HEADER begin -->
<div id="header">
<?php
function formLink($string) {
  $link = $string;
  $link = strtolower($link);
  $link = ereg_replace("[[:punct:]]", "", $link);
  $link = ereg_replace("[[:space:]]", "-", $link);
  while(strpos($link, '--') > -1) {
    $link = str_replace('--', '-', $link);
  }
  return $link;
 }
 $allowedLinks = array(
 "Support",
 "About Us",
 "Terms of Service",
 "Privacy Policy",
 "<RESELLER>",
 "Hosting Plans");
 
 function formLinkArray($pages) {
  $temp = array();
    foreach($pages as $key => $value) {
    $temp[$key] = formLink($value);
  }
  return $temp;
}
 ?>
  <img src="/images/logo.png" alt="FazeWire" style="clear:both;" class="logo" />
  <a href="/billing/order.php" class="navbutton">Order Now!</a>
 <?php
foreach($allowedLinks as $key => $links) { 
   if($links != 'Privacy Policy' && $links != 'Terms of Service') { 
     if($_GET['id'] == formLink($links)) {  
       $active = " class=\"navselect\"";
     } else {
       $active = " class=\"navbutton\"";
     }
     echo "<a href=\"/".formLink($links)."\"".$active.">".$links."</a>\n";
   }
}
if($_GET['id'] == '' || $_GET['id'] == 'default') {
 ?>
  <a href="/" class="navselect">Home</a>
<? } else { ?>
  <a href="/" class="navbutton">Home</a>
<? } ?>
</div>
<!-- HEADER end -->
<!-- BANNER begin -->
<div id="banner"><?php
$dir = $_GET['id'];
$setup = array(
""=>"welcomebanner",
"home"=>"welcomebanner",
"hosting-plans"=>"plansbanner",
"about-us"=>"aboutus",
"support"=>"support",
"billing/order.php"=>"clientarea");
"reseller"=>"<RESELLER>");
foreach($setup as $k=>$v) {
	if($dir == $k) {
		echo "<img src=\"/images/".$v.".png\" alt=\"".$v."\">\n";
	}
}
?>
</div>
<!-- BANNER end -->

<!-- CONTENT begin -->
<div id="content">
<?php
if(isset($_GET['id'])) {	 
if(in_array($_GET['id'], formLinkArray($allowedLinks))) {		
include($_SERVER['DOCUMENT_ROOT']."/".$_GET['id'].".html");
	}
	else {
		include($_SERVER['DOCUMENT_ROOT']."/default.html");
	}
}
else {
	include($_SERVER['DOCUMENT_ROOT']."/default.html");
}
?>
</div>
<!-- CONTENT end -->

</div>
<!-- FOOTER begin -->
<div id="footer">
<p>| <a href="/" class="style13"><span class="style15">Home</span></a> | 
<a href="/hosting-plans" class="style13">
<span class="style15">Hosting Plans</span></a> | 
<a href="/about-us" class="style13"><span class="style15">About Us</span></a> |
<a href="/support" class="style13"><span class="style15">Support</span></a> | 
<a href="/billing/order.php" class="style13"><span class="style15">Order Now!</span></a> |
<a href="/billing/contact.php" class="style13"><span class="style15">Contact Us 
</span> </a>|
<a href="http://forums.fazewire.com" class="style13"><span class="style15">Forums</span> </a>|
<a href="/blog/index.php" class="style13"><span class="style15">Blog</span> </a>| <br />
Copyright 2007-2008 www.FazeWire.com, www.FazeWire.net. All Rights Reserved.<br />
<a href="/terms-of-service" class="style13"><span class="style15">Terms of Service</span></a> / 
<a href="/privacy-policy" class="style13"><span class="style15">Privacy Policy</span></a> 
| Call Us Now! (718) 815-6675</p>
</div>
<!-- FOOTER end -->
</body>
</html>