$sql="SELECT * FROM pods WHERE hidden <> 'no' ORDER BY active_users_halfyear DESC NULLS LAST, uptimelast7 DESC NULLS LAST";
}else{
$sql="SELECT * FROM pods WHERE adminrating <> -1 AND hidden <> 'yes' ORDER BY active_users_halfyear DESC NULLS LAST, uptimelast7 DESC NULLS LAST";
$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){
...
...
@@ -21,24 +21,17 @@ echo $numrows;
echo" #Diaspora Pods listed, Come see the privacy aware social network.' />";
echo$numrows;
?>
pods tracked right now. Click column names to sort and find a pod. Show as: <aonClick="map();">Map</a><aonClick="nomap();">Table</a>
pods that are open for signup now. Click column names to sort and find a pod. Show as: <aonClick="map();">Map</a><aonClick="nomap();">Table</a>
<metacharset="utf-8">
<!-- /* Copyright (c) 2011, David Morley. This file is licensed under the Affero General Public License version 3 or later. See the COPYRIGHT file. */ -->
echo"<td class='$classver'><div title='{$pre} codename: {$row["longversion"]} master version is: {$row["masterversion"]}' class='tipsy'>{$version}</div></td>";
echo"<td class='tipsy' title='active six months: ".$row["active_users_halfyear"].", active one month: ".$row["active_users_monthly"]."'>".$row["active_users_halfyear"]."</td>";
echo"<td><a rel=\"facebox\" href=\"rate.php?domain=".$row["domain"]."\"><div class='tipsy rating ".$userratingclass."' title='User rating is ".$row["userrating"]."/10 Auto Score is: ".$row["score"]."/20'>";