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.2.min.js"></script>
+ <script type="text/javascript" src="<?php echo $GLOBALS['root']; ?>jsScuttle.php"></script>
+ <?php endif; ?>
</head>
<body>