<!-- /* Copyright (c) 2011, David Morley. This file is licensed under the Affero General Public License version 3 or later. See the COPYRIGHT file. */ -->
<!-- /* Copyright (c) 2011, David Morley. This file is licensed under the Affero General Public License version 3 or later. See the COPYRIGHT file. */ -->
<thwidth="220px">Diaspora Pod<aclass="tipsy"title="A pod is a site for you to set up your account.">?</a></th>
<thstyle="width:220px">Diaspora Pod<aclass="tipsy"title="A pod is a site for you to set up your account.">?</a></th>
<th>Live Status<aclass="tipsy"title="Up or Down according to Pingdom">?</a></th>
<th>Live Status<aclass="tipsy"title="Up or Down according to Pingdom">?</a></th>
<th>Last Code Pull<aclass="tipsy"title="Because the alpha is updated everyday pods with old software will not work correcly with pods with new software. This is the date the p
<th>Last Code Pull<aclass="tipsy"title="Because the alpha is updated everyday pods with old software will not work correcly with pods with new software. This is the date the p
od last updated from the main Diaspora code.">?</a></th>
od last updated from the main Diaspora code.">?</a></th>
...
@@ -16,44 +16,65 @@ od last updated from the main Diaspora code.">?</a></th>
...
@@ -16,44 +16,65 @@ od last updated from the main Diaspora code.">?</a></th>
die("Error in SQL query: ".$dbConnection->errorInfo()[2]);
}
foreach($result->fetchAll()as$row){
if($row["secure"]=="true"){
$method="https://";$class="green";$tip="This pod uses SSL encryption for traffic.";
}else{
$method="http://";$class="red";$tip="This pod does not offer SSL";
}
}
$result=pg_query($dbh,$sql);
if(!$result){
die("Error in SQL query: ".pg_last_error());
}
while($row=pg_fetch_array($result)){
if($row["secure"]=="true"){$method="https://";$class="green";$tip="This pod uses SSL encryption for traffic.";}else{$method="http://";$class="red";$tip="This pod does not offer SSL";}