File: 0.01.0a/skin/default/header.php (View as HTML)

  1: <?php 
  2: /* -------------------------------------------------------------
  3: This file is part of FreeDESK
  4: 
  5: FreeDESK is (C) Copyright 2012 David Cutting
  6: 
  7: FreeDESK is free software: you can redistribute it and/or modify
  8: it under the terms of the GNU General Public License as published by
  9: the Free Software Foundation, either version 3 of the License, or
 10: (at your option) any later version.
 11: 
 12: FreeDESK is distributed in the hope that it will be useful,
 13: but WITHOUT ANY WARRANTY; without even the implied warranty of
 14: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 15: GNU General Public License for more details.
 16: 
 17: You should have received a copy of the GNU General Public License
 18: along with FreeDESK.  If not, see www.gnu.org/licenses
 19: 
 20: For more information see www.purplepixie.org/freedesk/
 21: -------------------------------------------------------------- */
 22: 
 23: /**
 24:  * Default Skin Main Header
 25: **/
 26: 
 27: ?>
 28: <!DOCTYPE html>
 29: <html>
 30: <head>
 31: <?php
 32: if (isset($data['title'])) $title=$data['title'];
 33: else $title="FreeDESK";
 34: 
 35: echo "<title>".$title."</title>\n";
 36: 
 37: echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"".$DESK->Skin->GetWebLocation("css/main.css")."\" />\n";
 38: echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"".$DESK->Skin->GetWebLocation("css/menu.css")."\" />\n";
 39: echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"".$DESK->Skin->GetWebLocation("css/pane.css")."\" />\n";
 40: echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"".$DESK->Skin->GetWebLocation("css/request.css")."\" />\n";
 41: 
 42: $DESK->Skin->CommonHeader();
 43: ?>
 44: </head>
 45: <body>
 46: <?php
 47: $DESK->Skin->CommonBody();
 48: ?>
 49: <div class="pageframe" id="pageframe">
 50: 
 51: <div class="header" id="header">
 52: <a href="http://freedesk.purplepixie.org/" target="top">
 53: <?php
 54: echo "<img src=\"".$DESK->Skin->GetWebLocation("images/logo-white-120.png")."\" border=\"0\" />\n";
 55: ?>
 56: </a>
 57: </div>
 58: 
 59: <?php
 60: $DESK->Skin->IncludeFile("menu.php");
 61: ?>
 62: <div id="alert_pane"></div>
 63: <div class="content" id="content">
 64: