Please Wait !!!!! LOADING...................
"; #Green Star Image Path $star1=""; #Blue Star Image Path $star2=""; #Red Star Image Path $star3=""; ?>
PrinterPrint

LEAGUE:

 
O/U:

Pitcher : ()
Vs.

Date:
Time:

 
O/U:


Pitcher :()
Star System : 35% or lower =  60%-79%=    80%-100%=

Navigation : Head To Head | ATS Matchups | Team Trends | Quick Stats | Smart Stats | SOS

You Are Here SMART STATS REPORT

"; $stats_qry1=mysqli_query($link,"select * from ats_smartstats where league_no='$lno' and game_date between '$startdate' and '$enddate' and (team_a='$newteam1_id' and game_number='$newteam1_gameno') order by random_id desc limit 10 "); $snum1=mysqli_num_rows($stats_qry1); if(!$snum1) { ?>
Trends System
Trends Not Found

"; #-------query to retrieve only team trends as road $stats_roadqry=mysqli_query($link,"select * from ats_smartstats where league_no='$lno' and game_date between '$startdate' and '$enddate' and (team_a='$newteam1_id' and game_number='$newteam1_gameno') order by random_id desc limit 10 "); $s_roadnum=mysqli_num_rows($stats_roadqry); if(!$s_roadnum) { ?>
Team Trends
Team Trends Not Found

Team System Trends
0 #--for red star=> 1 #--for green star=> 2 #--for blue star=> 3 switch($ats_stars) { case '0': $ats_star=""; break; case '1': $ats_star=$star3; break; case '2': $ats_star=$star1; break; case '3': $ats_star=$star2; break; } switch($su_stars) { case '0': $su_star=""; break; case '1': $su_star=$star3; break; case '2': $su_star=$star1; break; case '3': $su_star=$star2; break; } switch($ou_stars) { case '0': $ou_star=""; break; case '1': $ou_star=$star3; break; case '2': $ou_star=$star1; break; case '3': $ou_star=$star2; break; } /*------End of new code to chk star----------*/ $count_sum1=$stats_row1['count_sum']; $count_sum1=trim($count_sum1); $csum1=explode("~",$count_sum1); $ats_csum1=$csum1[0]; $su_csum1=$csum1[1]; $ou_csum1=$csum1[2]; #-----Check if the sum of w-l-t records is less than 3 then dont show it on userside if($su_csum1 >=3) { ?> =10) {?> =10) else {?> =10) }#-if($league!='MLB') #-----SUWinner if($su_csum1 >=10) { ?> =10) else { ?> =10) #-----Over/Under if($over_under1=='0-0-0') { ?> =10) { ?> =10) else { ?> =10) } ?> =3) }#end while ?>
Team Trends Team Trends
ATS SU O/U
Description Win-Loss-Push Win-Loss-Push Over-Under-Push


Trends System
Trends Not Found
Team Trends
Team Trends Not Found
Team System Trends
0 #--for red star=> 1 #--for green star=> 2 #--for blue star=> 3 switch($ats_stars2) { case '0': $ats_star2=""; break; case '1': $ats_star2=$star3; break; case '2': $ats_star2=$star1; break; case '3': $ats_star2=$star2; break; } switch($su_stars2) { case '0': $su_star2=""; break; case '1': $su_star2=$star3; break; case '2': $su_star2=$star1; break; case '3': $su_star2=$star2; break; } switch($ou_stars2) { case '0': $ou_star2=""; break; case '1': $ou_star2=$star3; break; case '2': $ou_star2=$star1; break; case '3': $ou_star2=$star2; break; } /*------End of new code to chk star----------*/ $count_sum2=$stats_row2['count_sum']; $count_sum2=trim($count_sum2); $csum2=explode("~",$count_sum2); $ats_csum2=$csum2[0]; $su_csum2=$csum2[1]; $ou_csum2=$csum2[2]; #-----Check if the sum of w-l-t records is less than 3 then dont show it on userside if($su_csum2 >=3) { ?> =10) { ?> =10) else { ?> =10) }#if($league!='MLB') #-----SUWinner if($su_csum2 >=10) { ?> =10) else { ?> =10) #-----Over/Under if($over_under2=='0-0-0') { ?> =10) { ?> =10) else { ?> =10) } ?> =3) }#end while ?>
Team Trends Team Trends
ATS SU O/U
Description Win-Loss-Push Win-Loss-Push Over-Under-Push