SAINTS HERITAGE SOCIETY CUSTOM PAGE. | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Matches (Unofficial) | |||||||||||||||||||||||||||||||||
echo '
echo '
$hresult = mysqli_query("select *,date_format(matchdate,'%W %D %b %Y') as newmatchdate from fusion_shs_matches where official='N' order by $order,matchdate ");
while ($data = mysqli_fetch_array($hresult))
{
$counting++;
$compalter = $data['comp'];
$abresult = mysqli_query("select * from shs_abb where current = '$compalter' ");
while ($abdata = mysqli_fetch_array($abresult))
{
$newcomp=$abdata['new'];
}
if ($data['opponents']=='Hull') {$data['opponents']='Hull FC}
if ($data['opponents']=='Hull.K.R') {$data['opponents']='Hull KR}
if ( $data['venue'] == A ) {
echo '
if ($userdata['user_name']=="Sadfish" or $userdata['user_name']=="Legendary Supporter"
or $userdata['user_name']=="Alex Service" or $userdata['user_name']=="Arthur Bitter")
{
echo '
}
echo '
}
else
{
echo '
echo '
}
If ( $data['venue'] == H && $data['fulltime_saints'] > $data['fulltime_opponents'] ) {$totalhomewins=$totalhomewins+1 ;}
If ( $data['venue'] == A && $data['fulltime_saints'] > $data['fulltime_opponents'] ) {$totalawaywins=$totalawaywins+1 ;}
If ( $data['venue'] == H && $data['fulltime_saints'] < $data['fulltime_opponents'] ) {$totalhomeloss=$totalhomeloss+1 ;}
If ( $data['venue'] == A && $data['fulltime_saints'] < $data['fulltime_opponents'] ) {$totalawayloss=$totalawayloss+1 ;}
If ( $data['venue'] == N && $data['fulltime_saints'] > $data['fulltime_opponents'] ) {$totalneutwins=$totalneutwins+1 ;}
If ( $data['venue'] == N && $data['fulltime_saints'] < $data['fulltime_opponents'] ) {$totalneutloss=$totalneutloss+1 ;}
If ( $data['comp'] == 'SL' ) {$totalleague=$totalleague+$data['attendance'];$matchesleague = $matchesleague+1;}
If ( $data['comp'] == 'SL' && $data['venue'] == 'H' ) {$totalleagueh=$totalleagueh+$data['attendance'];$matchesleagueh = $matchesleagueh+1;}
If ( $data['comp'] == 'Fr' ) {$totalfr=$totalfr+$data['attendance']; $matchesfr = $matchesfr+1;}
If ( $data['comp'] == 'CC' ) {$totalcc=$totalcc+$data['attendance'];}
If ( $data['comp'] == 'L') {$totalleague=$totalleague+$data['attendance']; $matchesleague = $matchesleague+1;}
If ( $data['comp'] == 'L' && $data['venue'] == 'H') {$totalleagueh=$totalleagueh+$data['attendance'];$matchesleagueh = $matchesleagueh+1;}
}
echo '
echo ""; echo ""; echo '
| |||||||||||||||||||||||||||||||||
echo 'If you would like to link to this page please use the following URL : '.$_SERVER['HTTP_REFERER'].' echo "&season=$season";