'no' ORDER BY active_users_halfyear DESC NULLS LAST, uptimelast7 DESC NULLS LAST"; } else { $sql = "SELECT * FROM pods WHERE adminrating <> -1 AND hidden <> 'yes' AND signup = 1 ORDER BY active_users_halfyear DESC NULLS LAST, uptimelast7 DESC NULLS LAST"; } $result = pg_query($dbh, $sql); if (!$result) { die("Error in SQL query: " . pg_last_error()); } $numrows = pg_num_rows($result); echo ""; echo $numrows; ?> pods that are open for signup now. Click column names to sort and find a pod. Show as: Map Table
Diaspora Pod? | Uptime %.">? | Active Users? | Location? | Services Offered? | " . $row["domain"] . " ? | ";
"";
if (stristr($row["shortversion"],'head'))
{$version=".dev";$pre = "This pod runs pre release
development code";} elseif (!$row["shortversion"])
{$version="0";$pre = "This pod runs
unknown code";}
else
echo "" . $row["uptimelast7"] . "% | "; echo "" . $row["active_users_halfyear"] . " | "; echo "" . $row["country"] . " | \n"; echo ""; if ($row["service_facebook"] == "t") {echo "";} if ($row["service_twitter"] == "t") {echo "";} if ($row["service_tumblr"] == "t") {echo "";} if ($row["service_wordpress"] == "t") {echo "";} echo " | \n"; if ($tt == 5) { echo <<
---|