HCoop
/
clinton
/
MarylandElectronicPetitionSignature.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da07596
)
Create status.php
author
Patrick McGuire
<insidenothing@gmail.com>
Wed, 6 May 2020 05:12:41 +0000
(
01:12
-0400)
committer
GitHub
<noreply@github.com>
Wed, 6 May 2020 05:12:41 +0000
(
01:12
-0400)
admin/status.php
[new file with mode: 0644]
patch
|
blob
diff --git a/admin/status.php
b/admin/status.php
new file mode 100644
(file)
index 0000000..
a0d021b
--- /dev/null
+++ b/
admin/status.php
@@ -0,0
+1,13
@@
+<?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'); ?>