Location: PHPKode > projects > Science Lab Inventory & Order Management > sciencelabinv/header.php
<?php
if (!isset($Language)) {
	include_once "ewcfg7.php";
	include_once "ewshared7.php";
	$Language = new cLanguage();
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title><?php echo $Language->ProjectPhrase("BodyTitle") ?></title>
<?php if (@$gsExport == "") { ?>
<link rel="stylesheet" type="text/css" href="yui280/build/tabview/assets/skins/sam/tabview.css">
<link rel="stylesheet" type="text/css" href="yui280/build/button/assets/skins/sam/button.css">
<link rel="stylesheet" type="text/css" href="yui280/build/container/assets/skins/sam/container.css">
<link rel="stylesheet" type="text/css" href="yui280/build/autocomplete/assets/skins/sam/autocomplete.css">
<?php } ?>
<?php if (@$gsExport == "" || @$gsExport == "print") { ?>
<link rel="stylesheet" type="text/css" href="<?php echo "css/".EW_PROJECT_STYLESHEET_FILENAME ?>">
<?php } ?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="Bluefish 1.0.7">
<link rel="stylesheet" type="text/css" media="screen,projection,print" href="css/mylab_setup.css" >
<link rel="stylesheet" type="text/css" media="screen,projection,print" href="css/mylab_text.css" >
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" >
</head>
<body class="yui-skin-sam">
<?php if (@$gsExport == "" || @$gsExport == "print") { ?>
<script type="text/javascript" src="yui280/build/utilities/utilities.js"></script>
<?php } ?>
<?php if (@$gsExport == "") { ?>
<script type="text/javascript" src="yui280/build/tabview/tabview-min.js"></script>
<script type="text/javascript" src="yui280/build/button/button-min.js"></script>
<script type="text/javascript" src="yui280/build/container/container-min.js"></script>
<script type="text/javascript" src="yui280/build/datasource/datasource-min.js"></script>
<script type="text/javascript">
<!--
var EW_LANGUAGE_ID = "<?php echo $gsLanguage ?>";
var EW_DATE_SEPARATOR = "/"; 
if (EW_DATE_SEPARATOR == "") EW_DATE_SEPARATOR = "/"; // Default date separator
var EW_UPLOAD_ALLOWED_FILE_EXT = "gif,jpg,jpeg,bmp,png,doc,xls,pdf,zip,txt,rtf"; // Allowed upload file extension
var EW_FIELD_SEP = ", "; // Default field separator
// Ajax settings
var EW_RECORD_DELIMITER = "\r";
var EW_FIELD_DELIMITER = "|";
var EW_LOOKUP_FILE_NAME = "ewlookup7.php"; // lookup file name
// Common JavaScript messages
var EW_ADDOPT_BUTTON_SUBMIT_TEXT = "<?php echo ew_JsEncode2(ew_BtnCaption($Language->Phrase("AddBtn"))) ?>";
var EW_EMAIL_EXPORT_BUTTON_SUBMIT_TEXT = "<?php echo ew_JsEncode2(ew_BtnCaption($Language->Phrase("SendEmailBtn"))) ?>";
var EW_BUTTON_CANCEL_TEXT = "<?php echo ew_JsEncode2(ew_BtnCaption($Language->Phrase("CancelBtn"))) ?>";
var ewTooltipDiv;
var ew_TooltipTimer = null;
var EW_MAX_EMAIL_RECIPIENT = <?php echo EW_MAX_EMAIL_RECIPIENT ?>;
//-->
</script>
<?php } ?>
<?php if (@$gsExport == "" || @$gsExport == "print") { ?>
<script type="text/javascript" src="js/ewp7.js"></script>
<?php } ?>
<?php if (@$gsExport == "") { ?>
<script type="text/javascript" src="js/userfn7.js"></script>
<script type="text/javascript">
<!--
<?php echo $Language->ToJSON() ?>
//-->
</script>
<script language="JavaScript" type="text/javascript">
<!--
// Write your client script here, no need to add script tags.
// To include another .js script, use:
// ew_ClientScriptInclude("my_javascript.js");
//-->
</script>
<?php } ?>
<?php if (@$gsExport == "") { ?>
<div class="page-container">
<div class="header">
  <!-- A.1 HEADER TOP -->
  <div class="header-top">
    <div class="round-border-topleft"></div>
    <div class="round-border-topright"></div>
    <!-- Sitelogo and sitename -->
    <a class="sitelogo" href="index.php" title="Home"></a>
    <div class="sitename">
      <h1><a href="index.php" title="Go to Start page">SCIENCELABINV&nbsp;&bull;&nbsp;2.0</a></h1>
      <h2>Science Laboratories Inventory &amp; Ordering Management</h2>
    </div>
    <!-- Navigation Level 0 -->
    <div class="nav0">
      <form class="ewForm" action="">
        <span class="phpmaker"><?php echo $Language->Phrase("Language") ?></span>
        <select id="language" name="language" class="phpmaker" onChange="ew_SubmitLanguageForm(this.form);">
          <?php foreach ($EW_LANGUAGE_FILE as $langfile) { ?>
          <option value="<?php echo $langfile[0] ?>"<?php if ($gsLanguage == $langfile[0]) echo " selected=\"selected\"" ?>><?php echo $langfile[1] ?></option>
          <?php } ?>
        </select>
      </form>
    </div>
    <!-- Navigation Level 1 -->
    <div class="nav1">
      <ul>
        <li><a href="about.php" title="Who we are">About</a></li>
        <li><a href="help.php" title="How to use Sciencelabinv">Help</a></li>
        <li><a href="download.php" title="Get your copy of Sciencelabinv">Download</a></li>
      </ul>
    </div>
  </div>
  <!-- A.3 HEADER BOTTOM -->
  <div class="header-bottom">
    <!-- Navigation Level 2 (Drop-down menus) -->
    <?php include "ewmenu.php" ?>
  </div>
</div>
<!--  END COPY here -->
<!-- B. MAIN -->
<div class="main">
<!-- B.1 MAIN CONTENT -->
<div class="main-content">
<h1 class="pagetitle">Welcome <i><?php echo ucwords(CurrentUserName())?></i> to <?php echo $Language->ProjectPhrase("BodyTitle") ?></h1>
<?php } ?>
Return current item: Science Lab Inventory & Order Management