tr { margin-top: 10px; td { margin: 0px 5px 0px 5px; } '; $o .= '

Friendica Public Portals

'; $o .= '

Sites running Friendica that you can join. (Please check current registration status.)

'; $o .= '

Friendica is experiencing very rapid growth and we need more public portals - as some of our primary servers are reaching capacity. Friendica is a decentralised and distributed network. Help us share the load. If you can provide a Friendica server for public use, please send the URL to info at friendica dot com. We will include you in our list.

'; $r = q("select * from site where url != '' and version != '' and not addons like '%%testdrive%%' order by rand()"); $policy = array ( 'REGISTER_CLOSED' => 'closed', 'REGISTER_OPEN' => 'open', 'REGISTER_APPROVE' => 'requires approval'); $results = false; if(count($r)) { $results = true; $o .= ''; $o .= ''; $o .= ''; $o .= ''; $o .= ''; $o .= ''; $o .= ''; $o .= ''; $o .= ''; $o .= ''; foreach($r as $rr) { if(! $rr['version']) continue; $o .= ''; $o .= ''; $o .= ''; $o .= ''; $o .= ''; $o .= ''; $o .= ''; $o .= ''; $o .= ''; } } $r = q("select * from site where url != '' and version != '' and addons like '%%testdrive%%' order by rand()"); if(count($r)) { $o .= ''; foreach($r as $rr) { if(! $rr['version']) continue; $o .= ''; $o .= ''; $o .= ''; $o .= ''; $o .= ''; $o .= ''; $o .= ''; $o .= ''; $o .= ''; } } if($results) $o .= '
' . t('Site Name') . '' . t('Registration') . '' . t('Additional Info') . '' . t('Version') . '' . t('Addons Installed') . '' . t('Site Administrator') . '' . t('Record Updated (UTC)') . '
' . '' . $rr['name'] . '
' . $rr['url'] . '
' . '
' . $policy[$rr['reg_policy']] . '' . $rr['info'] . '' . $rr['version'] . '' . str_replace(',',', ',$rr['addons']) . '' . '' . $rr['admin_name'] . '' . '' . $rr['updated'] . '
-- Demo and test sites -- Limited account duration with expiration --
' . '' . $rr['name'] . '
' . $rr['url'] . '
' . '
' . $policy[$rr['reg_policy']] . '' . $rr['info'] . '' . $rr['version'] . '' . str_replace(',',', ',$rr['addons']) . '' . '' . $rr['admin_name'] . '' . '' . $rr['updated'] . '
'; // $r = q("select * from site where url != '' and version = '' order by name asc"); // if(count($r)) { // $o .= '

Sites that could not be verified. May be running older versions.

'; // foreach($r as $rr) { // $o .= '' . $rr['url'] . '
'; // } // } return $o; }