-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathheader.php
122 lines (96 loc) · 3.39 KB
/
header.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<?php
/*
* top.php
*
*/
include 'config.php';
if (!isset($page_title)) $page_title = '';
if (!isset($page_css )) $page_css = 'page';
$title_devel = '';
if ( preg_match( "/_devel/", $class_dir ) )
$title_devel = ' [Development]';
echo<<<HTML
<!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" xml:lang="en" lang="en">
<!--
Description : Website designed and implemented by Dan Zollars
and Borries Demeler, 2010
Copyright : Copyright (c), 2011
Bioinformatics Core Facility
Department of Biochemistry
UTHSCSA
All Rights Reserved
Website : http://bioinformatics.uthscsa.edu
Version : beta
Released : 6/30/2011
-->
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>$page_title -
$org_name $title_devel</title>
<meta name="Author" content="$site_author" />
<meta name="keywords" content="$site_keywords" />
<meta name="description" content="$site_desc" />
<meta name="robots" content="index, follow" />
<meta name="verify-v1" content="+TIfXSnY08mlIGLtDJVkQxTV4kDYMoWu2GLfWLI7VBE=" />
<link rel="shortcut icon" href="images/favicon.ico" />
<link href="css/common.css" rel="stylesheet" type="text/css" />
<script src="js/main.js" type="text/javascript"></script>
<script type='text/javascript' src='js/jquery.js'></script>
<script type='text/javascript' src='js/jquery-ui.js'></script>
<link rel='stylesheet' type='text/css' href='css/slider.css' />
HTML;
if ( isset( $css ) )
{
$css_files = explode(",", $css);
foreach ($css_files as $css_file)
echo " <link rel='stylesheet' type='text/css' href='$css_file' />\n";
}
if ( isset( $js ) )
{
$javascripts = explode(",", $js);
foreach ($javascripts as $javascript)
echo " <script src='$javascript' type='text/javascript'></script>\n";
}
if ( ! isset( $onload ) )
$onload = '';
echo<<<HTML
</head>
<body $onload>
<!-- begin header -->
<div id="header" style='text-align:center;'>
<table class='noborder'>
<tr><td><img src='images/USLIMS3-banner.png' alt='USLims 3 banner' /></td>
<td style='vertical-align:middle;width:400px;'>
<!--
<div id="cse-search-form">Loading</div>
<script src="https://www.google.com/jsapi" type="text/javascript"></script>
<script type="text/javascript">
// <![CDATA[ // escape validation errors
google.load('search', '1', {language : 'en', style : google.loader.themes.MINIMALIST});
google.setOnLoadCallback(function() {
var customSearchControl = new google.search.CustomSearchControl('007201445830912588415:jg05a0rix7y');
customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
var options = new google.search.DrawOptions();
options.enableSearchboxOnly("https://$org_site/search.php");
customSearchControl.draw('cse-search-form', options);
}, true);
// ]]>
</script>
-->
</td>
</tr>
</table>
<span style='font-size:20px;font-weight:bold;color:white;padding:0 1em;'>
$org_name ($dbname)$title_devel</span>
HTML;
include 'topmenu.php';
echo<<<HTML
</div>
<!-- Begin page content -->
<div id='$page_css'>
HTML;
if ( ! isset( $nolinks ) )
include_once 'links.php';
?>