--- a/getAgency.php
+++ b/getAgency.php
@@ -5,11 +5,11 @@
function displayValue($key, $value, $mode) {
global $db, $schemas;
if ($mode == "view") {
- if (strpos($key, "_") === 0 || $key == "metadata")
+ if (strpos($key, "_") === 0 || $key == "metadata" || $key == "metaTags" || $key == "statistics")
return;
echo "
";
- echo "";
+ echo " | ";
if (isset($schemas['agency']["properties"][$key])) {
echo $schemas['agency']["properties"][$key]['x-title'] . " " . $schemas['agency']["properties"][$key]['description'] . "";
}
@@ -202,8 +202,10 @@
try {
$rows = $db->get_view("app", "byCanonicalName")->rows;
//print_r($rows);
+ $rowCount = count($rows);
echo '';
- foreach ($rows as $row) {
+ foreach ($rows as $i => $row) {
+ if ($i % ($rowCount/3) == 0 && $i != 0 && $i != $rowCount -2 ) echo " ";
// print_r($row);
echo '-
' .
|