<?php

// Disable Cache ( used so that documents dont get cached)
// 20180821 - brand refresh 2018 - pj/r
header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");

$dod = "<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Frameset//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd'>
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>"; //alternatives, not used

echo "<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>

<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
   <title>". $this->headTitle() ."</title>
   <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1' />
   <link rel='shortcut icon' href='". $this->SystemSettings[BASE_URL] ."/images/icon.ico' />

   <link rel='stylesheet' type='text/css' href='". $this->SystemSettings[BASE_URL] ."/css/styles.css' />
   <link rel='stylesheet' type='text/css' href='". $this->SystemSettings[BASE_URL] ."/css/Redesign.2018.css' />
   <!--[if IE]>
   ". ($this->SystemSettings[SERVER_NAME] == "lamp"
      ?"<link rel='stylesheet' type='text/css' href='". $this->SystemSettings[BASE_URL] ."/css/ie.lamp.css' />"
      :"<link rel='stylesheet' type='text/css' href='". $this->SystemSettings[BASE_URL] ."/css/ie.live.css' />") ."
   <![endif]-->

   <link rel='stylesheet' type='text/css' href='". $this->SystemSettings[BASE_URL] ."/css/passwordstrength.css' />

   <link rel='stylesheet' href='". $this->SystemSettings[BASE_URL] ."/css/smoothness/jquery-ui-1.8.6.custom.css' type='text/css' />

   <script type='text/javascript' src='". $this->SystemSettings[BASE_URL] ."/js/jquery.js'></script>
   <script type='text/javascript' src='". $this->SystemSettings[BASE_URL] ."/js/passwordstrength.js'></script>
   <script type='text/javascript' src='". $this->SystemSettings[BASE_URL] ."/js/jquery.inputmask.js'></script>
   <script type='text/javascript' src='". $this->SystemSettings[BASE_URL] ."/js/jquery-ui-1.8.6.custom.min.js'></script>
   <script type='text/javascript' src='". $this->SystemSettings[BASE_URL] ."/js/scripts.js'></script>
   <script type='text/javascript' src='". $this->SystemSettings[BASE_URL] ."/js/maxlength.js'></script>
   <script type='text/javascript' src='". $this->SystemSettings[BASE_URL] ."/js/jquery.cycle/jquery.cycle.min.js'></script>"
   //<!-- <script src='". $this->SystemSettings[BASE_URL] ."/flowplayer/flowplayer-3.2.6.min.js'></script> -->
   ."<script>
      $(function()
      {
         $(function() {
            $('input[class*=datePicker]').datepicker({dateFormat: 'yy-mm-dd'});
         });
         $(document).ready(function() {
            $(function() {
                 $('.tblNemoList tr').hover(function() {
                     $(this).css('background-color', '#ffffdd');
                 },
                 function() {
                     $(this).css('background-color', '#FFFFFF');
                 });
             });
         });
      });
   </script>
   ". js(getJSRemoveAlpha()) ."

   ". ($this->SystemSettings[SERVER_NAME] == "lamp"
      ?""
      : $this->SystemSettings["Google Analytics"]) ."


</head>
";

//20151104 - Added force password change popup module -NOTE: this should be before user type
if($this->Modules["password.change.check.mod.inc.php"])
   include_once($this->Modules["password.change.check.mod.inc.php"]);

//20140526 - added user type check as a stand alone module.
if($this->Modules["user.type.check.mod.inc.php"])
   include_once($this->Modules["user.type.check.mod.inc.php"]);

?>