Thanks to

for Sponsoring the Prizes

The rules for scoring the contest are here.



= 10) ? 4 : $check ); switch($check) { case 1: return("st"); case 2: return("nd"); case 3: return("rd"); default: return("th"); } } $sql="select * from xcscore where login='$login';"; $result = mysql_query($sql) or die(mysql_error(). "test3"); if ($myrow = mysql_fetch_array($result)) { $team=$myrow["team"]; $ind=$myrow["ind"]; $indm=$myrow["indm"]; $indw=$myrow["indw"]; $total=$myrow["total"]; $a='total'; $sql2="select count(*) as totale from xcscore;"; $result2 = mysql_query($sql2) or die(mysql_error(). "test2"); $myrow = mysql_fetch_array($result2); $totale=$myrow["totale"]; $sql2="select count(*) as totalu from xcscore where $a>$total;"; $result2 = mysql_query($sql2) or die(mysql_error(). "test2"); $myrow = mysql_fetch_array($result2); $place=$myrow["totalu"]; $place=$place+1; echo "Welcome $login, in the Overall Contest you had $total points and are in $place".ordinal($place)." out of $totale"; echo "
Click Here to view your picks in our scorer
Click on any person below to view their picks
"; $sql5="select login, $a from xcscore order by $a desc limit 0, 30;"; $result5 = mysql_query($sql5) or die(mysql_error()); echo "
Top 30 Below"; $cols = 10; //This is the counter $i=0; print '
'; $x=0; $count=0; while ($myrow5 = mysql_fetch_array($result5)) { $ptotalpoints=$myrow5["$a"]; $login2=$myrow5["login"]; $count++; if (($myrow5["$tot"])!=$x) { $place=$count; } $x=($myrow5["$tot"]); if ((is_int($i / $cols)) and $i!=0) { echo "
LoginPoints
"; } else { echo ""; } $i++; } print '
LoginPoints
($count) $login2$ptotalpoints
($count) $login2$ptotalpoints

'; $sql2="select count(*) as totalu from xcscore where indm>$indm;"; $result2 = mysql_query($sql2) or die(mysql_error(). "test2"); $myrow = mysql_fetch_array($result2); $place=$myrow["totalu"]; $place=$place+1; echo "Welcome $login, in the Men's Contest you had $indm points and are in $place".ordinal($place)." out of $totale"; echo "
Click Here to view your picks in our scorer
Click on any person below to view their picks
"; $sql5="select login, indm from xcscore order by indm desc limit 0, 30;"; $result5 = mysql_query($sql5) or die(mysql_error()); echo "
Top 30 Below"; $cols = 10; //This is the counter $i=0; print '
'; $x=0; $count=0; while ($myrow5 = mysql_fetch_array($result5)) { $ptotalpoints=$myrow5["indm"]; $login2=$myrow5["login"]; $count++; if (($myrow5["$tot"])!=$x) { $place=$count; } $x=($myrow5["$tot"]); if ((is_int($i / $cols)) and $i!=0) { echo "
LoginPoints
"; } else { echo ""; } $i++; } print '
LoginPoints
($count) $login2$ptotalpoints
($count) $login2$ptotalpoints

'; $sql2="select count(*) as totalu from xcscore where indw>$indw;"; $result2 = mysql_query($sql2) or die(mysql_error(). "test2"); $myrow = mysql_fetch_array($result2); $place=$myrow["totalu"]; $place=$place+1; echo "Welcome $login, in the Women's Contest you had $indw points and are in $place".ordinal($place)." out of $totale"; echo "
Click Here to view your picks in our scorer
Click on any person below to view their picks
"; $sql5="select login, indw from xcscore order by indw desc limit 0, 30;"; $result5 = mysql_query($sql5) or die(mysql_error()); echo "
Top 30 Below"; $cols = 10; //This is the counter $i=0; print '
'; $x=0; $count=0; while ($myrow5 = mysql_fetch_array($result5)) { $ptotalpoints=$myrow5["indw"]; $login2=$myrow5["login"]; $count++; if (($myrow5["$tot"])!=$x) { $place=$count; } $x=($myrow5["$tot"]); if ((is_int($i / $cols)) and $i!=0) { echo "
LoginPoints
"; } else { echo ""; } $i++; } print '
LoginPoints
($count) $login2$ptotalpoints
($count) $login2$ptotalpoints

'; } else { echo "Sorry that login name is invalid. Please hit back and try again"; exit;} ?>