You are here

function getHeader in Production check & Production monitor 6

Same name and namespace in other branches
  1. 7 includes/prod_check.memcache.inc \getHeader()

File

includes/prod_check.memcache.inc, line 301

Code

function getHeader() {
  $header = <<<EOB
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><title>MEMCACHE INFO</title>
<style type="text/css"><!--
body { background:white; font-size:100.01%; margin:0; padding:0; }
body,p,td,th,input,submit { font-size:0.8em;font-family:arial,helvetica,sans-serif; }
* html body   {font-size:0.8em}
* html p      {font-size:0.8em}
* html td     {font-size:0.8em}
* html th     {font-size:0.8em}
* html input  {font-size:0.8em}
* html submit {font-size:0.8em}
td { vertical-align:top }
a { color:black; font-weight:none; text-decoration:none; }
a:hover { text-decoration:underline; }
div.content { padding:1em 1em 1em 1em; position:absolute; width:97%; z-index:100; }

h1.memcache { background:rgb(153,153,204); margin:0; padding:0.5em 1em 0.5em 1em; }
* html h1.memcache { margin-bottom:-7px; }
h1.memcache a:hover { text-decoration:none; color:rgb(90,90,90); }
h1.memcache span.logo {
\tbackground:rgb(119,123,180);
\tcolor:black;
\tborder-right: solid black 1px;
\tborder-bottom: solid black 1px;
\tfont-style:italic;
\tfont-size:1em;
\tpadding-left:1.2em;
\tpadding-right:1.2em;
\ttext-align:right;
\tdisplay:block;
\twidth:130px;
\t}
h1.memcache span.logo span.name { color:white; font-size:0.7em; padding:0 0.8em 0 2em; }
h1.memcache span.nameinfo { color:white; display:inline; font-size:0.4em; margin-left: 3em; }
h1.memcache div.copy { color:black; font-size:0.4em; position:absolute; right:1em; }
hr.memcache {
\tbackground:white;
\tborder-bottom:solid rgb(102,102,153) 1px;
\tborder-style:none;
\tborder-top:solid rgb(102,102,153) 10px;
\theight:12px;
\tmargin:0;
\tmargin-top:1px;
\tpadding:0;
}

ol,menu { margin:1em 0 0 0; padding:0.2em; margin-left:1em;}
ol.menu li { display:inline; margin-right:0.7em; list-style:none; font-size:85%}
ol.menu a {
\tbackground:rgb(153,153,204);
\tborder:solid rgb(102,102,153) 2px;
\tcolor:white;
\tfont-weight:bold;
\tmargin-right:0em;
\tpadding:0.1em 0.5em 0.1em 0.5em;
\ttext-decoration:none;
\tmargin-left: 5px;
\t}
ol.menu a.child_active {
\tbackground:rgb(153,153,204);
\tborder:solid rgb(102,102,153) 2px;
\tcolor:white;
\tfont-weight:bold;
\tmargin-right:0em;
\tpadding:0.1em 0.5em 0.1em 0.5em;
\ttext-decoration:none;
\tborder-left: solid black 5px;
\tmargin-left: 0px;
\t}
ol.menu span.active {
\tbackground:rgb(153,153,204);
\tborder:solid rgb(102,102,153) 2px;
\tcolor:black;
\tfont-weight:bold;
\tmargin-right:0em;
\tpadding:0.1em 0.5em 0.1em 0.5em;
\ttext-decoration:none;
\tborder-left: solid black 5px;
\t}
ol.menu span.inactive {
\tbackground:rgb(193,193,244);
\tborder:solid rgb(182,182,233) 2px;
\tcolor:white;
\tfont-weight:bold;
\tmargin-right:0em;
\tpadding:0.1em 0.5em 0.1em 0.5em;
\ttext-decoration:none;
\tmargin-left: 5px;
\t}
ol.menu a:hover {
\tbackground:rgb(193,193,244);
\ttext-decoration:none;
\t}


div.info {
\tbackground:rgb(204,204,204);
\tborder:solid rgb(204,204,204) 1px;
\tmargin-bottom:1em;
\t}
div.info h2 {
\tbackground:rgb(204,204,204);
\tcolor:black;
\tfont-size:1em;
\tmargin:0;
\tpadding:0.1em 1em 0.1em 1em;
\t}
div.info table {
\tborder:solid rgb(204,204,204) 1px;
\tborder-spacing:0;
\twidth:100%;
\t}
div.info table th {
\tbackground:rgb(204,204,204);
\tcolor:white;
\tmargin:0;
\tpadding:0.1em 1em 0.1em 1em;
\t}
div.info table th a.sortable { color:black; }
div.info table tr.tr-0 { background:rgb(238,238,238); }
div.info table tr.tr-1 { background:rgb(221,221,221); }
div.info table td { padding:0.3em 1em 0.3em 1em; }
div.info table td.td-0 { border-right:solid rgb(102,102,153) 1px; white-space:nowrap; }
div.info table td.td-n { border-right:solid rgb(102,102,153) 1px; }
div.info table td h3 {
\tcolor:black;
\tfont-size:1.1em;
\tmargin-left:-0.3em;
\t}
.td-0 a , .td-n a, .tr-0 a , tr-1 a {
    text-decoration:underline;
}
div.graph { margin-bottom:1em }
div.graph h2 { background:rgb(204,204,204);; color:black; font-size:1em; margin:0; padding:0.1em 1em 0.1em 1em; }
div.graph table { border:solid rgb(204,204,204) 1px; color:black; font-weight:normal; width:100%; }
div.graph table td.td-0 { background:rgb(238,238,238); }
div.graph table td.td-1 { background:rgb(221,221,221); }
div.graph table td { padding:0.2em 1em 0.4em 1em; }

div.div1,div.div2 { margin-bottom:1em; width:35em; }
div.div3 { position:absolute; left:40em; top:1em; width:580px; }
//div.div3 { position:absolute; left:37em; top:1em; right:1em; }

div.sorting { margin:1.5em 0em 1.5em 2em }
.center { text-align:center }
.aright { position:absolute;right:1em }
.right { text-align:right }
.ok { color:rgb(0,200,0); font-weight:bold}
.failed { color:rgb(200,0,0); font-weight:bold}

span.box {
\tborder: black solid 1px;
\tborder-right:solid black 2px;
\tborder-bottom:solid black 2px;
\tpadding:0 0.5em 0 0.5em;
\tmargin-right:1em;
}
span.green { background:#60F060; padding:0 0.5em 0 0.5em}
span.red { background:#D06030; padding:0 0.5em 0 0.5em }

div.authneeded {
\tbackground:rgb(238,238,238);
\tborder:solid rgb(204,204,204) 1px;
\tcolor:rgb(200,0,0);
\tfont-size:1.2em;
\tfont-weight:bold;
\tpadding:2em;
\ttext-align:center;
\t}

input {
\tbackground:rgb(153,153,204);
\tborder:solid rgb(102,102,153) 2px;
\tcolor:white;
\tfont-weight:bold;
\tmargin-right:1em;
\tpadding:0.1em 0.5em 0.1em 0.5em;
\t}
//-->
</style>
</head>
<body>
<div class="head">
\t<h1 class="memcache">
\t\t<span class="logo"><a href="http://pecl.php.net/package/memcache">memcache</a></span>
\t\t<span class="nameinfo">memcache.php by <a href="http://livebookmark.net">Harun Yayli</a></span>
\t</h1>
\t<hr class="memcache">
</div>
<div class=content>
EOB;
  return $header;
}