All pastes #957017 Raw Edit

Someone

public text v1 · immutable
#957017 ·published 2008-03-25 18:51 UTC
rendered paste body
<?php

/**
 * header.php - this file will contain the top
 * navigation section for the website
 */
 
include("session.php");

?>



<html>
<link rel="stylesheet" type="text/css" href="include/stylesheet.css">
<title>Broadway Equipment Internal Site</title>
<body bgcolor="#6e9294">


<script language="javascript" type="text/javascript">
<!--
if (document.images){
mastnew = new Image
mastorg = new Image

mastnew.src = "images/masthead_new.gif"
mastorg.src = "images/masthead.gif"
}
else {
mastnew = ""
mastorg = ""

document.roll = ""
}


//-->
</script>

<!-- OLD NAVIGATION BAR HERE
<map NAME="roll_map">
<area href="../default.asp" onMouseover="document.roll.src=mastnew.src" onMouseout="document.roll.src=mastorg.src" shape="rect" coords="23, 2, 171, 84" alt="Home Page">
<area href="../carwash_systems/default.asp" onMouseover="document.roll.src=mastnew.src" onMouseout="document.roll.src=mastorg.src" shape="rect" coords="228, 42, 325, 52" alt="Car Wash Systems">
<area href="../autocar_polish/default.asp" onMouseover="document.roll.src=mastnew.src" onMouseout="document.roll.src=mastorg.src" shape="rect" coords="336, 42, 463, 52" alt="Automated Car Polishers">
<area href="../cardry_equip/default.asp" onMouseover="document.roll.src=mastnew.src" onMouseout="document.roll.src=mastorg.src" shape="rect" coords="475, 42, 590, 52" alt="Car Drying Equipment">
<area href="../wt_systems/default.asp" onMouseover="document.roll.src=mastnew.src" onMouseout="document.roll.src=mastorg.src" shape="rect" coords="598, 42, 731, 52" alt="Water Treatment Systems">
<area href="../messagebd/default.asp" onMouseover="document.roll.src=mastnew.src" onMouseout="document.roll.src=mastorg.src" shape="rect" coords="379, 66, 462, 78" alt="Message Board">
<area href="../chemicals/default.asp" onMouseover="document.roll.src=mastnew.src" onMouseout="document.roll.src=mastorg.src" shape="rect" coords="484, 66, 540, 78" alt="Chemicals">
<area href="../contact_us/default.asp" onMouseover="document.roll.src=mastnew.src" onMouseout="document.roll.src=mastorg.src" shape="rect" coords="558, 66, 618, 78" alt="Contact Us">
<area href="login.php" onMouseover="document.roll.src=mastnew.src" onMouseout="document.roll.src=mastorg.src" shape="rect" coords="578, 66, 668, 78" alt="Login">
</map>

<div id="navbar">
	<table><tr>
			<td><img src="images/masthead.gif"></td>
		</tr>
		<tr>
			<td><h2>SWEET</h2></td>
		</tr>
	</table>
</div>


<center>
<table width="725" cellpadding="0" cellspacing="0" border="0">
	<tr>
		<td><img SRC="images/masthead.gif" alt usemap="#roll_map" border="0" ISMAP name="roll"></td>
	</tr>
</table>
</center>-->

<!-- QUINNS NAVIGATION BAR STARTS HERE -->

<!-- <?php
// maybe you need to add the directory names too
      $items = array(
          array("link"=>"main.php", "label"=>"Main"),
          array("link"=>"products.php", "label"=>"Products"),
          array("link"=>"chemicals.php", "label"=>"Chemicals"),
          array("link"=>"store.php", "label"=>"Store"));
           
      $menu = '';
      foreach ($items as $val) {
          $menu .= '<li><a href="'.$val['link'].'"';
          if ($_SERVER['SCRIPT_NAME'] == $val['link'])
              $menu .= ' class="current"';
          $menu .= '>'.$val['label'].'</a></li>';
      }
      echo $menu;
?> -->
<!--

//-->
<table align="center">
<tr>
<td>
<center>
  <div id="container">
    <ul id="navbar">
      	  <li><a href="#" id="current">Home</a></li>
	  <li><a href="#">Products</a></li>
	  <li><a href="#">Links</a></li>
	  <li><a href="#">Contact</a></li>
    </ul>
  </div>
</center>
</tr>
</td>
</table>

<!-- MAIN CONTENT STARTS HERE / ALSO END OF HEADER -->