include('shared/connect.inc');
include('shared/convertdate.inc');
$sport = "vollb";
//Query for latest story
$Query = "SELECT created, head, abstract, image, head_id, html, caption ";
$Query .= "FROM headline ";
$Query .= "WHERE sport = 'vollb' AND (created > '20000824240000' AND created < '20000828000000') ";
$Query .= "ORDER BY created DESC limit 1 ";
$story = mysql_query($Query, $mysql_link);
if (!mysql_num_rows($story) == 0){
//Query for list of headlines
$Query = "SELECT created, head, head_id, html ";
$Query .= "FROM headline ";
$Query .= "WHERE sport = 'vollb' AND (created > '20000824240000' AND created < '20000828000000') ";
$Query .= "ORDER BY created DESC LIMIT 1,10 ";
$lines = mysql_query($Query, $mysql_link);
require ("news2.php");
}
else {
require ("news.html");
}?>