Due to the ever changing configurations of notebook, the winner will receive the newer Compaq X1015 model (versus the X1010). I believe most of the configuration items stay the same as before, I will look into any changes.
The first round of selections for the Compaq Widescreen notebook are:
There were 16,346 total posts made during July
The number of members eligable for this drawing is: 103
$query = "SELECT b.B_PosterId,u.U_Totalposts,u.U_Number,u.U_Usernam e FROM w3t_Posts b
LEFT JOIN w3t_Users u ON u.U_Number=b.B_PosterId
WHERE MONTH(FROM_UNIXTIME(b.B_Posted))=8 AND u.U_Status != 'Banned' AND u.U_Extra2 = ''
AND MONTH(FROM_UNIXTIME(u.U_Registered)) < 8 AND MONTH(FROM_UNIXTIME(u.U_LastOn)) > 7";
$sth = $dbh -> do_query($query);
$totalusers = $dbh -> total_rows($sth);
print "<body><font size=\"1\" face=\"MS Sans Serif, Geneva\">";
print "There were " . number_format($totalusers) . " total posts made during July<br>";
$entries=array();
for( $x=0; $x < $totalusers; $x++ ) {
list ($PosterId,$totalposts,$number,$username) = $dbh -> fetch_array($sth);
// Excluded members are packetjunkie and Administrator
if ( $PosterId != 2 && $PosterId != 3 && $totalposts > 75 ) $entries[$PosterId] = $username;
}
print "The number of members eligable for this drawing is: " . count($entries) . "<br><br>";
I was hoping SB would have been in there - that would have been "hilar" - as he would have said... But at the very least - I was expecting an inclusion of "confrontational" in the code...
Note to self: send another donation prior to any giveaways... [img]/images/graemlins/supergrin.gif[/img]
Just kidding... Can we do more smaller give aways to hopefully get some of us less fortunate people to be included... Like signed MP autographs or something... [img]/images/graemlins/supergrin.gif[/img]
Can we do more smaller give aways to hopefully get some of us less fortunate people to be included... Like signed MP autographs or something... [img]/images/graemlins/supergrin.gif[/img]
I have identified why I am never in the running..... see highlighted code below........
Quote:
Originally Posted by packetjunkie
<?
require ("configfile");
$query = "SELECT b.B_PosterId,u.U_Totalposts,u.U_Number,u.U_Usernam e FROM w3t_Posts b
LEFT JOIN w3t_Users u ON u.U_Number=b.B_PosterId
WHERE MONTH(FROM_UNIXTIME(b.B_Posted))=8 AND u.U_Status != 'Banned' AND u.U_Extra2 = ''
AND MONTH(FROM_UNIXTIME(u.U_Registered)) < 8 AND MONTH(FROM_UNIXTIME(u.U_LastOn)) > 7";
$sth = $dbh -> do_query($query);
print "<body><font size=\"1\" face=\"MS Sans Serif, Geneva\">";
print "There were " . number_format($totalusers) . " total posts made during July<br>";
$entries=array();
for( $x=0; $x < $totalusers; $x++ ) PREGNANT CHADS COUNTED FOR SERIOUS ERIC TWICE {
list ($PosterId,$totalposts,$number,$username) = $dbh -> fetch_array($sth);
// Excluded members are packetjunkie and Administrator
if ( $PosterId != 2 && $PosterId != 3 && $totalposts > 75 ) $entries[$PosterId] = $username;
}
print "The number of members eligable for this drawing is: " . count($entries) . "<br><br>" LEAVE OUT MYDRMKR ;
$winners = array();
for ( $x = 1; $x < 11; $x++ ) {
$winner = array_rand($entries);
if ( in_array($winner, $winners) ) {
$x--;
}
else AL GORE SHOULD HAVE WON FLORIDA {
print "Pick #$x: <font size=\"5\"><b>" . $entries[$winner] . "</b></font><br />";
$winners[] = $winner;
}
}
print "</font></body>";
?>
I demand a recount!!!! This is clearly a liberal attempt to keep me down!