--- a/documents/disclogsList.php +++ b/documents/disclogsList.php @@ -34,10 +34,10 @@ if (isset($row->value->FOIDocumentsURL)) { $disclogs++; echo '<a href="' . $row->value->FOIDocumentsURL . '">' - . $row->value->FOIDocumentsURL . '</a>'; + . $row->value->FOIDocumentsURL . '</a>'; if ($ENV == "DEV") echo '<br><small>(<a href="viewDocument.php?hash=' . md5($row->value->FOIDocumentsURL) . '">' - . 'view local copy</a>)</small>'; + . 'view local copy</a>)</small>'; } else { echo "<font color='red'><abbr title='No'>✘</abbr></font>"; } @@ -49,11 +49,11 @@ } else if (file_exists("./scrapers/" . $row->id . '.txt')) { if (trim(file_get_contents("./scrapers/" . $row->id . '.txt')) == "no disclog") { echo "<font color='yellow'><abbr title='No log table exists at URL to scrape'><b>◎</b></abbr></font>"; - $yellow++; + $yellow++; } else { echo file_get_contents("./scrapers/" . $row->id . '.txt'); - echo "<font color='orange'><abbr title='Work in progress'><b>▬</b></abbr></font>"; - $orange++; + echo "<font color='orange'><abbr title='Work in progress'><b>▬</b></abbr></font>"; + $orange++; } } else { echo "<font color='red'><abbr title='No'>✘</abbr></font>"; @@ -69,7 +69,7 @@ } echo "</table>"; echo $agencies . " agencies, " . round(($disclogs / $agencies) * 100) . "% with disclosure logs; " - . round(($green / $disclogs) * 100) . "% logs with scrapers " . round(($red / $disclogs) * 100) . "% logs without scrapers " . round(($orange / $disclogs) * 100) . "% logs Work-In-Progress scrapers "; + . round(($green / $disclogs) * 100) . "% logs with scrapers " . round(($red / $disclogs) * 100) . "% logs without scrapers " . round(($orange / $disclogs) * 100) . "% logs Work-In-Progress scrapers "; include_footer_documents(); ?>