Update is_the_information_correct.php
[clinton/MarylandElectronicPetitionSignature.git] / admin / status.php
dissimilarity index 60%
index a0d021b..2afed88 100644 (file)
@@ -1,13 +1,14 @@
-<?PHP include_once('../header.php');  ?>
-<meta http-equiv="refresh" content="1">
-  <h1>
-  <?PHP
-  $expected = 4194252;
-  if ($result = $petition->query("SELECT VTRID FROM VoterList")) {
-    $row_cnt = $result->num_rows;
-    $c = $row_cnt / $expected;
-    $p = number_format($c,2)*100;
-    echo date('r').' '.number_format($row_cnt).' out of '.number_format($expected).' '.$p.'% done.';
-} ?>
-</h1>
-<?PHP include_once('../footer.php');  ?>
+<?PHP 
+include_once('security.php');
+include_once('header.php');
+?>
+<meta http-equiv="refresh" content="60">
+  <?PHP
+  $expected = 4313592; // old data file...
+  if ($result = $petition->query("SELECT VTRID FROM VoterList")) {
+    $row_cnt = $result->num_rows;
+    $c = $row_cnt / $expected;
+    $p = number_format($c,2)*100;
+    echo '<h1>'.date('r').'</h1><h1>'.number_format($row_cnt).' out of '.number_format($expected).' '.$p.'% done</h1><title>'.$p.'% loaded</title>';
+} 
+include_once('footer.php');  ?>