'.substr($row['Name'], 0, 50).'
Online: '.$row['OnlineCount'].'
'.substr($row['Description'], 0, 300).'
';
}
+
+function getGridInfo($homeURL)
+{
+ $optionen = stream_context_create(array('http' => array('timeout' => 2, 'method' => 'GET')));
+ $result = file_get_contents($homeURL."/get_grid_info", false, $optionen);
+ $returnData = array();
+
+ $servers = new SimpleXMLElement($result);
+
+ $returnData['platform'] = $servers['platform'];
+ $returnData['gridname'] = $servers['gridname'];
+
+ return $returnData;
+}
+
+
+function getUserServiceURL($homeURL, $userID)
+{
+ $xml = '