OK, first off you're calling time incorrectly:
$time = time("G-i");
makes no sense. the time function doesn't expect any arguments and will just return the current time, regardless of any arguments you pass in to it.
So when you then try to check:
6-00<$time
PHP compares 6-00 (which becomes 6 MINUS zero, which just becomes 6) with $time which will be a value something like 1123096706. 6 is a lot smaller than 1123096706, so this will always fail. In fact, all of your if's will fail for this reason.
You might want to try:
date("G-i", time());
But since you're only interested in the hour, why bother with the minutes? just use the hours...
date("G", time());
Now you have a simple integer which you can use as you like...
$time = date("G", time());
if (0 <= $time && $time<6)
{
echo '<script type="text/javascript" src="http://news.scotsman.com/international.cfm?format=js&num=10&hf=Verdana%2C%20Arial%2C%20Helvetica%2C%20sans%2Dserif&hs=2&hc=%23000000&abs=1&dpos=2&dfor=2"></script>';
}
elseif (6 <= $time && $time<12)
{
echo '<script language="Javascript" src="http://www.freenewsfeed.com/headlines/?javasc=1&default=1"></script>
';
}
elseif (12<= $time && $time<18)
{
echo '<script language="JavaScript" src="http://jade.mcli.dist.maricopa.edu/feed/feed2js.php?src=http%3A%2F%2Ftimesofindia.indiatimes.com%2Frssfeeds%2F-2128936835.cms&chan=y&desc=1&date=y" type="text/javascript"></script>
<noscript>
<a href="http://jade.mcli.dist.maricopa.edu/feed/feed2js.php?src=http%3A%2F%2Ftimesofindia.indiatimes.com%2Frssfeeds%2F-2128936835.cms&chan=y&desc=1&date=y&html=y">View RSS feed</a>
</noscript>
';
}
elseif (18<= $time && $time<24)
{
echo '<script language="JavaScript" src="http://jade.mcli.dist.maricopa.edu/feed/feed2js.php?src=http%3A%2F%2Fwww.sabcnews.com%2FSyndication%2FRSS%2FRSS_news_by_category_XML%2F0%2C2325%2CAfrica%2C00.xml&chan=y&desc=1&date=y" type="text/javascript"></script>
<noscript>
<a href="http://jade.mcli.dist.maricopa.edu/feed/feed2js.php?src=http%3A%2F%2Fwww.sabcnews.com%2FSyndication%2FRSS%2FRSS_news_by_category_XML%2F0%2C2325%2CAfrica%2C00.xml&chan=y&desc=1&date=y&html=y">View RSS feed</a>
</noscript>';
}
How's that?