diff --git a/css/newstyle.css b/css/newstyle.css index 98783371ce83ecf11dac0b7c18fb08caecfaf09c..1bd914db148a80336b9288ef1fe2e45c14fdaa35 100644 --- a/css/newstyle.css +++ b/css/newstyle.css @@ -19,6 +19,8 @@ font-size:9px; margin-left: 2px !important; width: 99%; } +.tfont { +} #results { width: 750px; } diff --git a/index.php b/index.php index 8578ef4c12b6468898d882e5b7a2120793e0c655..cbc780a7a6edd5f097da4bd0ae8c15a45afde522 100644 --- a/index.php +++ b/index.php @@ -1,17 +1,11 @@ -Federated Pod Uptime Status - Find your new social home on a hosted pod - +Diaspora Pod Uptime Status - Find your new social home on a hosted pod + - - - - - - - - - + + + @@ -22,121 +16,87 @@ $lastfile = 'db/last.data'; $advancedview = isset($_GET['advancedview'])?$_GET['advancedview']:null; $mapview = isset($_GET['mapview'])?$_GET['mapview']:null; $cleanup = isset($_GET['cleanup'])?$_GET['cleanup']:null; +$podmin = isset($_GET['podmin'])?$_GET['podmin']:null; +$podminedit = isset($_GET['podminedit'])?$_GET['podminedit']:null; ?> - - + + + -
- -
-
-
-
- - - - - -
-EOF; -} elseif ($cleanup) {echo ""; -} else { -echo <<
-EOF; -} -?> -
- NOTICE: This view shows all pods in all states, some offline, click here to go to list of pods open for signup
"; - include("showfull.php"); - } elseif ($mapview) { - include("showmap.php"); + + + + +
+ Data last refreshed:
EST +
+
+ Confused? Auto pick a pod for you. +
+
+
+ Confused and just want to sign up?? Click Here and we will pick one for you
"; include("show.php"); - } - ?> -
-
- Pod Host? Click here to add/edit your listing.
-
-
- Data last refreshed at: Pacific Time
- Want more stats? https://the-federation.info/ | https://diapod.net/active/
- Poduptime is open source on GitHub Feel free to contribute with pull requests or bug reports!
- Questions on how this site works? Wiki | Contact
- More about Diaspora
More about Friendica
More about Hubzilla(redmatrix) -
- +
- - - + + + + + + + diff --git a/podmin.php b/podmin.php new file mode 100644 index 0000000000000000000000000000000000000000..234a78a8b93b9d75ca928d043683ccbd5f3c3fde --- /dev/null +++ b/podmin.php @@ -0,0 +1,10 @@ +
+ Want your pod listed?
+ Its easy start monitoring on your pod with a free Uptime Robot account.
+ Create a monitor for your pod, then in "My Settings" create a monitor-specific API key and paste below.
+
+ Monitor API Key: (don't copy the period on the end)
+ Pod domainname:
+ Your Email:
+ +
diff --git a/podminedit.php b/podminedit.php new file mode 100644 index 0000000000000000000000000000000000000000..da1b549379ff485ddd4639f8f6f57ac75c3fcac7 --- /dev/null +++ b/podminedit.php @@ -0,0 +1 @@ +
Pod Domainname:Registered Email:
diff --git a/rate.php b/rate.php index 9ed69761922adf1e7863bd68bfcd1b702b6dfdff..0d07f0f65ebeacabdfaab69884d787be45ced900 100644 --- a/rate.php +++ b/rate.php @@ -1,7 +1,7 @@ - - - - -EOF; -} } pg_free_result($result); pg_close($dbh); diff --git a/showfull.php b/showfull.php index 93e0c7de648add7822f24ea745d7abcb834f6d51..068cf4dbe4ed09531f5322f4cd7253db16241251 100644 --- a/showfull.php +++ b/showfull.php @@ -19,37 +19,28 @@ $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 | Simple Table | Advanced Table - - +
+ - - - + + + - - - - - - - - - - + + + + + + + + + + @@ -70,7 +61,7 @@ $pod_name = htmlentities($row["name"], ENT_QUOTES); $tip.="\n This {$row["softwarename"]} pod {$pod_name} has been watched for {$row["monthsmonitored"]} months with an uptime of {$row["uptimelast7"]}% this month and a response time average today of {$row["responsetimelast7"]}ms was last checked on {$row["dateupdated"]}. "; $tip.="On a scale of 100 this pod is a {$row["score"]} right now"; - echo ""; + echo ""; ""; if (stristr($row["shortversion"],'head')) @@ -81,7 +72,7 @@ unknown code";} else {$version=$row["shortversion"];$pre="This pod runs production code";} if ($row["shortversion"] == $row["masterversion"] && $row["shortversion"] != "") {$classver = "green";} elseif ($verdiff > 6) {$classver = "red";} else {$classver = "black";} - echo ""; + echo ""; echo ""; echo ""; echo ""; @@ -93,20 +84,11 @@ if ($row["signup"] == 1) {$signup="Open";} else {$signup="Closed";} echo ""; echo ""; if (strpos($row["pingdomurl"], "pingdom.com")) {$moreurl = $row["pingdomurl"];} else {$moreurl = "/db/showuptimerobot.php?domain=".$row["domain"];} - echo ""; -if ($row["userrating"] >6) {$userratingclass="green";} elseif ($row["userrating"] <7) {$userratingclass="yellow";} elseif ($row["userrating"] <3) {$userratingclass="red";} - echo ""; + + echo ""; + echo ""; echo "\n"; echo "\n"; echo "\n"; -if ($tt == 5) { -echo << - - - - - -EOF; -} } pg_free_result($result); pg_close($dbh); -$country_code = $_SERVER["HTTP_CF_IPCOUNTRY"]; -//echo $country_code; ?>
Federated Pod?Version?Uptime.">?PodVersion.">Uptime IPv6 Response Time SignupsTotal Users?Active Last 6?Active Last 1?Posts?Comments?Months?Rating?Score?Country?Services?UsersActive Users 6Active Users 1PostsCommentsMonthsRatingScoreCountryServices
" . $row["domain"] . "
?
" . $row["domain"] . "
{$version}
{$version}
" . $row["uptimelast7"] . "%" . $row["ipv6"] . "" . $row["responsetimelast7"] . "" . $row["local_posts"] . "" . $row["comment_counts"] . "
"; -if ($row["userrating"] == 0) {echo "no rating yet";} -for ($i = 0; $i < $row["userrating"]; $i++) { -echo "✪"; -} -if ($row["adminrating"] >6) {$adminratingclass="green";} elseif ($row["adminrating"] <7) {$adminratingclass="yellow";} elseif ($row["adminrating"] <3) {$adminratingclass="red";} - echo "

"; -for ($iw = 0; $iw < $row["adminrating"]; $iw++) { -echo "✪"; -} + echo "
" . $row["monthsmonitored"] . "
".$row["userrating"]."/10"; - echo "" . $row["score"] . "/100" . $row["country"] . ""; @@ -116,26 +98,9 @@ echo "✪"; if ($row["service_wordpress"] == "t") {echo "";} if ($row["xmpp"] == "t") {echo "
XMPP chat server
";} echo "
diff --git a/showmap.php b/showmap.php index f987d6e9f0beb5238dceeb596c692fedd225d712..ac2749a64648ca93fc2ae61b6ad48fafdeb6686a 100644 --- a/showmap.php +++ b/showmap.php @@ -1,4 +1,3 @@ -Show as: Map Simple Table Advanced Table