<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="icon" type="image/png" href="<?php echo $GLOBALS['root']; ?>icon.png" />
<link rel="stylesheet" type="text/css" href="<?php echo $GLOBALS['root']; ?>scuttle.css" />
+ <link rel="stylesheet" type="text/css" href="<?php echo $GLOBALS['root']; ?>jquery-ui-1.8.9.autocomplete.css" />
<?php
$size = count($rsschannels);
for ($i = 0; $i < $size; $i++) {
echo '<link rel="alternate" type="application/rss+xml" title="'. $rsschannels[$i][0] .'" href="'. $rsschannels[$i][1] .'" />';
}
- if ($loadjs) {
- echo '<script type="text/javascript" src="'. $GLOBALS['root'] .'jsScuttle.php"></script>';
- }
?>
+ <?php if ($loadjs): ?>
+ <script type="text/javascript" src="<?php echo $GLOBALS['root']; ?>includes/jquery-1.4.4.min.js"></script>
+ <script type="text/javascript" src="<?php echo $GLOBALS['root']; ?>includes/jquery-ui-1.8.9.autocomplete.min.js"></script>
+ <script type="text/javascript" src="<?php echo $GLOBALS['root']; ?>jsScuttle.php"></script>
+ <?php endif; ?>
</head>
<body>
<?php
$headerstyle = '';
-if(isset($_GET['popup'])) {
+if (isset($_GET['popup'])) {
$headerstyle = ' class="popup"';
}
?>
<div id="header"<?php echo $headerstyle; ?>>
<h1><a href="<?php echo $GLOBALS['root']; ?>"><?php echo $GLOBALS['sitename']; ?></a></h1>
<?php
- if(!isset($_GET['popup'])) {
+ if (!isset($_GET['popup'])) {
$this->includeTemplate('toolbar.inc');
}
?>