// stop hackers defined('YACS') or exit('Script must be included'); // add language information, if known if (isset($context['page_language'])) { $language = ' xml:lang="' . $context['page_language'] . '" '; } else { $language = ''; } // start the page echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">' . "\n" . '<html ' . $language . ' xmlns="http://www.w3.org/1999/xhtml">' . "\n" . '<head>' . "\n"; // give the charset to the w3c validator... echo "\t" . '<meta http-equiv="Content-Type" content="' . $context['content_type'] . '; charset=' . $context['charset'] . '" />' . "\n"; // we have one style sheet for everything -- media="all" means it is not loaded by Netscape Navigator 4 echo "\t" . '<link rel="stylesheet" href="' . $context['url_to_root'] . 'skins/boxesandarrows/boxesandarrows.css" type="text/css" media="all" />' . "\n"; // implement the 'you are here' feature if ($focus = Page::top_focus()) { echo "\t" . '<style type="text/css" media="screen">' . "\n" . "\t\t" . 'div.tabs li#' . $focus . ' a {' . "\n" . "\t\t\t" . 'background-position: 0% -44px;' . "\n" . "\t\t\t" . 'border-bottom: 1px solid #fff;' . "\n" . "\t\t" . '}' . "\n" . "\t\t" . 'div.tabs li#' . $focus . ' a span {' . "\n" . "\t\t\t" . 'color: #039;' . "\n" . "\t\t\t" . 'background-position: 100% -44px;' . "\n" . "\t\t" . '}' . "\n" . "\t" . '</style>' . "\n"; } // set icons for this site if (!$context['site_icon']) { echo "\t" . '<link rel="shortcut icon" href="' . $context['url_to_root'] . 'skins/boxesandarrows/boxesandarrows.ico" type="image/x-icon" />' . "\n"; echo "\t" . '<link rel="icon" href="' . $context['url_to_root'] . 'skins/boxesandarrows/boxesandarrows.ico" type="image/x-icon" />' . "\n"; } // other head directives Page::meta(); // end of the header echo '</head>' . "\n"; // start the body Page::body(); // the default header panel Page::header_panel();