c756a3645c29f9f16228c4d2be88f6265702a313
[clinton/MarylandElectronicPetitionSignature.git] / admin / status.php
1 <?PHP
2 include_once('security.php');
3 include_once('header.php');
4 ?>
5 <meta http-equiv="refresh" content="60">
6 <?PHP
7 $expected = 4313592; // old data file...
8 if ($result = $petition->query("SELECT VTRID FROM VoterList2")) {
9 $row_cnt = $result->num_rows;
10 $c = $row_cnt / $expected;
11 $p = number_format($c,2)*100;
12 echo '<h1>'.date('r').'</h1><h1>'.number_format($row_cnt).' out of '.number_format($expected).' '.$p.'% done</h1><title>'.$p.'% loaded</title>';
13 }
14 include_once('footer.php'); ?>