Member Total Predictions : Correct Predictions : Percentage Correct : Points : Club :'; $q=db("SELECT * FROM members_predictions WHERE id>1 and pred>0 ORDER by points DESC,pred DESC"); while($a=mysql_fetch_array($q)){ extract($a); $percentage=number_format((($perc/$pred)*100),0); $q1=db("SELECT lid,username FROM members WHERE id=$id LIMIT 1"); $a1=mysql_fetch_array($q1); extract($a1); $q2=db("SELECT ab FROM clubs WHERE lid=$lid LIMIT 1"); $a2=mysql_fetch_array($q2); extract($a2); $results.=' '.$username.' '.$pred.' '.$perc.' '.$percentage.'% '.$points.' '.$ab.' '; } $results.=''; return $results; } //////////////////////////////////////////////////////////////////////////////////////////// if(isset($_GET['DATE']))$DATE=$_GET['DATE']; /* if((isset($_SESSION['id']))&&($_SESSION['id']>1)){ $q=db("SELECT * FROM football WHERE lid='".$_SESSION['lid']."' LIMIT 1"); $a=mysql_fetch_array($q); extract($a); $URL='http://'.$football_url.'.'.$SITE; $menu=menu($SITE,$URL,$lid,$l2,$name,$ab,$today); } */ if((isset($_SESSION['id']))&&($_SESSION['id']>1)){ $q=db("SELECT lid,l2,domain,ab FROM clubs WHERE lid='".$_SESSION['lid']."' LIMIT 1"); $a=mysql_fetch_array($q); extract($a); $URL='http://'.$domain.'.'.$SITE; } $TITLE='Football Prediction Game'; $DESCRIPTION.='Football Fixture Lists and Prediction Game'; $kw='+ fixtures, + fixture list, + games, + fixtures '.date("Y").', + fixture list '.date("Y").', + games '.date("Y").', + fixtures '.date("Y"); $keywords=str_replace('+',$name,$kw); if($name!=$ab)$keywords.=', '.str_replace('+',$ab,$kw); $keywords=strtolower($keywords); if($_GET['PREDICTIONS']==0)$username=''; else{ $q=db("SELECT id,username FROM members WHERE login='".$_GET['PREDICTIONS']."' LIMIT 1"); $a=mysql_fetch_array($q); extract($a); $username.='\'s '; } $results='
'.$username.$TITLE.' League Table !!

To be completed. It is very exciting !!

'; if($_GET['PREDICTIONS']==0)$results.=get_predictions_table(); $viewing='Prediction Game'; tracking($viewing,0,0,0,0,0); ?> Notice: Undefined variable: results in /var/www/clients/client1/web5/web/template.php on line 209 FFSReferee Football Fans

FFSReferee Football Fans

Welcome to FFSReferee's

FFSReferee Football Fans Website

FFSReferee Football Fans
FFSReferee Football Fans
Hull City v West Ham September 15th 2014 Football Forums | Hull City v West Ham September 15th 2014   | 14/09 10:19 by rednekst
Hull City v West Ham September 15th 2014 Match Threads | Hull City v West Ham September 15th 2014   | 14/09 10:19 by rednekst
New FFSReferee Off Topic Chat | New FFSReferee   | 14/09 16:09 by Nutcase
Forum:
Search : for :
Thread:

 
Logged On (0)
 


Viewing (256)
Germany (13)
France (1)
United Kingdom (4)
United States (238)

facebook

twitter

Blogger

Blog.com

Premier Posters :
Admin 32403
Nutcase 26784
rednekst 19300
topgun... 17473
NLS 14173
Nutty4... 7381
Dailly_7 5450
ooobub... 3659
EastEa... 611
ror 544
pompey1 512
Goatygav 315
frogiron 297
BillyB... 229
McHammer 224
Mr sofa 143
herbie... 129
Harry 122
HH 89
Gregor1 69


Valid HTML 4.01 Transitional



0.1362 Powered by Pamscom Free Classified Ads UK
Copyright, © 2009-2014 FFSReferee

FFSReferee Football Fans