Sports Bet Provides National Association 2004 Kentucky Derby - Odds to win 2004-05-01
$Donehost = $HTTP_SERVER_VARS["HTTP_HOST"];
preg_match("/^(www\.)?([^\/]+)/i","$Donehost", $matches);
$Host = $matches[2];
if(!isset($Template)){$Template = $Host;}
$Home="/home2/sportsbook";
$SitePath ="/home2/sportsbook/$Host/inc/";
Include ("$Home/conf/MainGate.V1.inc");
Include ("$Home/conf/class.US.V1.inc");
Include ("$Home/conf/samp_dbOLD.inc");
//$sport="NBA";
$sport = eregi_replace(" ", "%20", $sport);
$Query = $_SERVER["QUERY_STRING"];
$QueryLast = "Page=BuildEvent&SubLicenseeID=303&Sport=$sport";
//ECHO $QueryLast;
$URIdisplay2 = "http://sportsbook.$Host/servlet/sportsbook.user?Page=SportList&AutoScroll=on";
//if sports
if($O == "basketball"){$GrabStart="
Basketball
"; $GrabEnd="
Hockey
";}
//echo $O;
$GrabStart=""; $GrabEnd="";
//end if sports
$Content = UpdateNew($sport,$URIdisplay2,$GrabStart,$GrabEnd);
if(!isset($Content)){$Content="Horse Racing Odds
Currently no Events at this time!
";}
$Content = cleanup($Content,"sportsbook.user\?Page=LiveScores","http://$Host/sportslines/get.php?Page=LiveScores");
$Content = cleanup($Content,"sportsbook.user\?","http://$Host/sportslines/lines.php?");
$Content = cleanup($Content,"target=\"Main\"","target=\"_top\"");
$Content = cleanup($Content,"http://www.worldwidesupport.com/sportsbook/game_tips.php\?","http://$Host/sportslines/game_tips.php?");
$Content = cleanup($Content,"http://www.worldwidesupport.com/sportsbook/news.php\?","http://$Host/sportslines/sportsnews.php?");
//$Content = cleanup($Content,"sportsbook.user\?","http://sportsbook.roundersclubsportsbook.com/servlet/sportsbook.user?");
//$Ticket = UpdateAgain($sport,$URIdisplay,$GrabStart,$GrabEnd);
//$Content = cleanup($Content,"sportsbook.user\?Page=LiveScores","http://$Host/sportslines/get.php?Page=LiveScores");
//$Content = cleanup($Content,"sportsbook.user\?","http://$Host/sportslines/lines.php?");
//$Ticket = cleanup($Ticket,"sportsbook.user\?","http://$Host/signup.htm?sport=$sport&");
//$Content = cleanup($Content,"target=\"Main\"","target=\"_top\"");
$Content = cleanup($Content,"HEIGHT\=\"25\"","");
$Content = cleanup($Content,"(HEIGHT|height)\=\"2\"","");
$Content = cleanup($Content,"]+","");
$Content = cleanup($Content,"]+
","");
$Content = cleanup($Content,"\' \+ winHeight \+ \'","50");
//$Content = cleanup($Content,"","");
$Ticket = cleanup($Ticket,"
","");
//$Content = cleanup($Content,"]+>","");
//$Content = cleanup($Content,"
]+>","");
$Template = $Host;
//ParSing ("$Home/conf/pitboss/class.FT.pit",$Template,$Content,$SitePath,$Host);
$PathHome ="$Home/conf/pitboss/class.FT.pit";
ParSingContent ($PathHome,$Template,"horseindex",$SitePath,$Host,$Content);
//ParSingSport ($SitePath,"worldonlinegambling.com",$Content,$Locations,$Host,$Ticket);
//ParSingSport ($PathHome,$Template,$Content,$SitePath,$Host,$Ticket);
?>