1 <?php header('Content-Type: text/html; charset=utf-8'); ?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
5 <title><?php echo filter($GLOBALS['sitename'] . (isset($pagetitle) ? ': ' . $pagetitle : '')); ?></title>
6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7 <link rel="icon" type="image/png" href="<?php echo $GLOBALS['root']; ?>icon.png" />
8 <link rel="stylesheet" type="text/css" href="<?php echo $GLOBALS['root']; ?>scuttle.css" />
9 <link rel="stylesheet" type="text/css" href="<?php echo $GLOBALS['root']; ?>jquery-ui-1.8.9.autocomplete.css" />
11 $size = count($rsschannels);
12 for ($i = 0; $i < $size; $i++) {
13 echo '<link rel="alternate" type="application/rss+xml" title="'. $rsschannels[$i][0] .'" href="'. $rsschannels[$i][1] .'" />';
16 <?php if ($loadjs): ?>
17 <script type="text/javascript" src="<?php echo $GLOBALS['root']; ?>includes/jquery-1.4.4.min.js"></script>
18 <script type="text/javascript" src="<?php echo $GLOBALS['root']; ?>includes/jquery-ui-1.8.9.autocomplete.min.js"></script>
19 <script type="text/javascript" src="<?php echo $GLOBALS['root']; ?>jsScuttle.php"></script>
26 if (isset($_GET['popup'])) {
27 $headerstyle = ' class="popup"';
31 <div id="header"<?php echo $headerstyle; ?>>
32 <h1><a href="<?php echo $GLOBALS['root']; ?>"><?php echo $GLOBALS['sitename']; ?></a></h1>
34 if (!isset($_GET['popup'])) {
35 $this->includeTemplate('toolbar.inc');
41 if (isset($subtitle)) {
42 echo '<h2>'. $subtitle;
44 echo " (" . $total . ")";
49 echo '<p class="error">'. $error ."</p>\n";
52 echo '<p class="success">'. $msg ."</p>\n";