-8); //$pacific_time = time() + ($tz['PST'] * 3600); $tz = array ( 'EST' => -5); $pacific_time = time() + ($tz['EST'] * 3600); $lt = localtime($pacific_time, TRUE); if ($lt['tm_isdst']) $pacific_time += 3600; $pacific_date=gmstrftime('%Y-%m-%d', $pacific_time); list($y2, $m2, $d2) = split("-", $pacific_date); $month=gmstrftime('%A', $pacific_time); $pacific_time=gmstrftime('%T', $pacific_time); $startdate=$enddate=$pacific_date; // $startdate=$enddate='2010-02-27'; $leaguename='NBA'; if($team=='') { $sel=mysqli_query($link,"select * from new_asp_schedule where game_date between '$startdate' and '$enddate' and league_no='3' and (team1 not like '%Teams%' or team2 not like '%Teams%') order by game_date,game_no1 limit 1"); while($selrow=mysqli_fetch_array($sel)) { $game_date=$selrow['game_date']; $game_no1=$selrow['game_no1']; $game_no2=$selrow['game_no2']; $team11=$selrow['team1']; $team22=$selrow['team2']; $game_time=$selrow['game_time']; $sel_xml1=mysqli_query($link,"select team_name,team_id,new_teamname from nba_teams where (new_teamname like '%$team11%' or team_name like '%$team11%')"); list($team1_name,$team1_id,$new_teamname11)=mysqli_fetch_array($sel_xml1); $sel_xml2=mysqli_query($link,"select team_name,team_id,new_teamname from nba_teams where (new_teamname like '%$team22%' or team_name like '%$team22%')"); list($team2_name,$team2_id,$new_teamname22)=mysqli_fetch_array($sel_xml2); } $team=$leaguename.'~'.$game_date.'~'.$game_time.'~'.$team1_id.'~'.$team1_name.'~'.$team2_id.'~'.$team2_name.'~'.$game_no1.'~'.$game_no2; } $teamarray=explode("~",$team); $leaguename=$teamarray[0]; $gamedate=$teamarray[1]; $gametime=$teamarray[2]; $roadid=$teamarray[3]; $roadteam=$teamarray[4]; $homeid=$teamarray[5]; $hometeam=$teamarray[6]; $gameno1=$teamarray[7]; $gameno2=$teamarray[8]; $newdate=formatdates11($gamedate); $sel_xml1=mysqli_query($link,"select new_teamname from nba_teams where (new_teamname like '%$roadteam%' or team_name like '%$roadteam%')"); list($roadteam11)=mysqli_fetch_array($sel_xml1); $sel_xml2=mysqli_query($link,"select new_teamname from nba_teams where (new_teamname like '%$hometeam%' or team_name like '%$hometeam%')"); list($hometeam11)=mysqli_fetch_array($sel_xml2); function formatdates11($date) { $dates=explode("-",$date); $year=$dates[0]; $month=$dates[1]; $day=$dates[2]; switch($month) { case '1': $newmonth='Jan'; break; case '2': $newmonth='Feb'; break; case '3': $newmonth='Mar'; break; case '4': $newmonth='Apr'; break; case '5': $newmonth='May'; break; case '6': $newmonth='June'; break; case '7': $newmonth='July'; break; case '8': $newmonth='Aug'; break; case '9': $newmonth='Sep'; break; case '10': $newmonth='Oct'; break; case '11': $newmonth='Nov'; break; case '12': $newmonth='Dec'; break; } if($day=='2' || $day=='22') { $suffix=' nd'; } elseif($day=='3' || $day=='23') { $suffix=' rd'; } elseif($day=='1' || $day=='21' || $day=='31') { $suffix=' st'; } else { $suffix=' th'; } $newdate=$newmonth.' '.$day.' '.$suffix.' '.$year; return $newdate; } #---- create expiry date $rrteamval=$leaguename.'~'.$gamedate.'~'.$gametime.'~'.$roadid.'~'.$roadteam.'~'.$homeid.'~'.$hometeam.'~'.$gameno1.'~'.$gameno2; $rrlink="new_nba_raymondreport.php?team=".$rrteamval; $newdesctags=explode(",",$desctags);$newdesctags1=''; for($a=0;$a$newdesctags[$a]"; } } $newkeywordstags=explode(",",$keywordstags);$newkeywordstags1=''; for($b=0;$b$newkeywordstags[$b]"; } } $ateamname=$roadteam; $bteamname=$hometeam; ?>

Jump to Game



RAYMOND REPORT FOR NBA


Game Date -
Road Team :- ()
Home Team :- ( )

"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "
$roadteamTeam Name: $roadtoppart_array[0]
Line: $roadtoppart_array[1]
O/U: $roadtoppart_array[2]
Game Date: $roadtoppart_array[3]
Last Game: $roadtoppart_array[4]
Current Game: $roadtoppart_array[5]
Next Game: $roadtoppart_array[6]
Stats & Trends: $roadteam vs. $hometeam
PVI Rating on $team1 Winning: $roadtoppart_array[7]%
PVI Rating on game going UNDER: $roadtoppart_array[8]%
Road Teams Strength of Schedule last 7 games: $roadtoppart_array[9]%
Streaks: $roadtoppart_array[10]
Road Teams % covering the spread: $roadtoppart_array[11]%
Road Teams % of this game going UNDER: $roadtoppart_array[12]%
Road Teams Predicted Points For: $roadtoppart_array[13]
Road Teams Predicted Points Against: $roadtoppart_array[14]

"; ?>
"; echo ""; for($bb='0';$bb='3' && $totrr22>='3' && $roadreportval[6]>'80' ) {$bgcolor='#FFFF00'; } elseif($roadper<$leagueper) { $bgcolor='#FF0000'; } elseif($roadper>$leagueper) { $bgcolor='#009933'; } else { $bgcolor='#FFFFFF'; }*/ if($roadreportval[6]>='0' && $roadreportval[6]<'50') { $bgcolor='red'; } elseif($roadreportval[6]>='50' && $roadreportval[6]<'80') { $bgcolor='green'; } elseif($roadreportval[6]>='80') { $bgcolor='yellow'; } if($roadreportval[6]!='0') { $totrr='0';$totrr2='0'; $rr=explode("-",$roadreportval[7]); $totrr=$rr[0]+$rr[1]+$rr[2]; $rr2=explode("-",$roadreportval[9]); $totrr2=$rr2[0]+$rr2[1]+$rr2[2]; if($totrr>='3' && $totrr2>='3' && $roadreportval[11]>'80' ) {$bgcolor1='#FFFF00'; }else {$bgcolor1='#FFFFFF'; } echo ""; } } ?>
Road Team
()
When is a Road Team When Any NBA Team is a Road Team Differential % When is a Road Team,the O/U When Any NBA Team is a Road Team,the O/U Differential % on game going UNDER
SituationsCurrent Season Current Season Differential %Current Season Current Season Differential %
ATSATS O/U/PO/U/P
$roadreportval[0] $roadreportval[1] $roadreportval[2] $roadreportval[4] $roadreportval[6] $roadreportval[7] $roadreportval[9] $roadreportval[11]


TEAM: TEAM:
  Offensive Stats Defensive Stats
All Games Avg
Home Games Avg
Road Games Avg
Last 3 Games Avg
Last 5 Games Avg
Last 10 Games Avg
vs. Division Games Avg
vs. Conference Games Avg
vs. Non Conference Games Avg
vs. Top Ranked Games Avg
vs. Middle Ranked Games Avg
vs. Bottom Ranked Games Avg
After a Win Games Avg
After a Lost Games Avg
After a SU Road Win Games Avg
After a SU Road Lost Games Avg
After a SU Home Win Games Avg
After a SU Home Lost Games Avg
After an Over Games Avg
After an Under Games Avg
After a Push Games Avg
After 0 day off Avg
After 1 day off Avg
After 2 day off Avg
After 3 day off Avg
After 4 or more days off Avg

"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "
$hometeamTeam Name: $hometoppart_array[0]
Line: $hometoppart_array[1]
O/U: $hometoppart_array[2]
Game Date: $hometoppart_array[3]
Last Game: $hometoppart_array[4]
Current Game: $hometoppart_array[5]
Next Game: $hometoppart_array[6]
Stats & Trends: $hometeam vs. $roadteam
PVI Rating on $team1 Winning: $hometoppart_array[7]%
PVI Rating on game going UNDER: $hometoppart_array[8]%
Home Teams Strength of Schedule last 7 games: $hometoppart_array[9]%
Streaks: $hometoppart_array[10]
Home Teams % covering the spread: $hometoppart_array[11]%
Home Teams % of this game going UNDER: $hometoppart_array[12]%
Home Teams Predicted Points For: $hometoppart_array[13]
Home Teams Predicted Points Against: $hometoppart_array[14]

"; ?>
"; echo ""; for($bb='0';$bb='3' && $tothh22>='3' && $homereportval[6]>'80' ) {$bgcolor='#FFFF00'; } elseif($homeper<$leagueper) { $bgcolor='#FF0000'; } elseif($homeper>$leagueper) { $bgcolor='#009933'; } else { $bgcolor='#FFFFFF'; }*/ if($homereportval[6]>='0' && $homereportval[6]<'50') { $bgcolor='red'; } elseif($homereportval[6]>='50' && $homereportval[6]<'80') { $bgcolor='green'; } elseif($homereportval[6]>='80') { $bgcolor='yellow'; } if($homereportval[6]!='0') {$tothh='0';$tothh2='0'; $hh=explode("-",$homereportval[7]); $tothh=$hh[0]+$hh[1]+$hh[2]; $hh2=explode("-",$homereportval[9]); $tothh2=$hh2[0]+$hh2[1]+$hh2[2]; if($tothh>='3' && $tothh2>='3' && $homereportval[11]>'80' ) {$bgcolor1='#FFFF00'; }else {$bgcolor1='#FFFFFF'; } echo ""; } } ?>
Home Team
()
When is a Home Team When Any NBA Team is a Home Team Differential % When is a Home Team,the O/U When Any NBA Team is a Home Team,the O/U Differential % on game going UNDER
$road SituationsCurrent Season Current Season Differential %Current SeasonCurrent SeasonDifferential %
ATSATS O/U/PO/U/P
$homereportval[0] $homereportval[1] $homereportval[2] $homereportval[4] $homereportval[6] $homereportval[7] $homereportval[9] $homereportval[11]


TEAM: TEAM:
  Offensive Stats Defensive Stats
All Games Avg
Home Games Avg
Road Games Avg
Last 3 Games Avg
Last 5 Games Avg
Last 10 Games Avg
vs. Division Games Avg
vs. Conference Games Avg
vs. Non Conference Games Avg
vs. Top Ranked Games Avg
vs. Middle Ranked Games Avg
vs. Bottom Ranked Games Avg
After a Win Games Avg
After a Lost Games Avg
After a SU Road Win Games Avg
After a SU Road Lost Games Avg
After a SU Home Win Games Avg
After a SU Home Lost Games Avg
After an Over Games Avg
After an Under Games Avg
After a Push Games Avg
After 0 day off Avg
After 1 day off Avg
After 2 day off Avg
After 3 day off Avg
After 4 or more days off Avg