Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Poduptime
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
diasporg
Poduptime
Commits
60742952
Unverified
Commit
60742952
authored
Jan 14, 2017
by
dmorley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WordPress!
parent
affea934
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
10 deletions
+10
-10
cleanup.php
cleanup.php
+1
-1
db/pull.php
db/pull.php
+1
-1
show.php
show.php
+3
-3
showfull.php
showfull.php
+4
-4
showmap.php
showmap.php
+1
-1
No files found.
cleanup.php
View file @
60742952
...
...
@@ -28,7 +28,7 @@ $numrows = pg_num_rows($result);
<th>
Comm
<a
class=
"tipsy"
title=
"Number of total comments on this pod."
>
?
</a></th>
<th>
Month
<a
class=
"tipsy"
title=
"How many months has this pod been online? Click number for more history."
>
?
</a>
</th>
<th>
Sc
<a
class=
"tipsy"
title=
"System Score on a 100 scale"
>
?
</a></th>
<th>
Sc
<a
class=
"tipsy"
title=
"System Score on a 100 scale
.
"
>
?
</a></th>
<th>
conn
<a
class=
"tipsy"
title=
""
>
?
</a></th>
<th>
Delete?
<a
class=
"tipsy"
title=
"Delete this pod from DB?"
>
?
</a></th>
</tr>
...
...
db/pull.php
View file @
60742952
...
...
@@ -292,7 +292,7 @@ while ($row = pg_fetch_all($result)) {
$status
=
'Down'
;
}
if
(
$uptr
)
{
$statslastdate
=
date
(
'Y-m-d H:i:s'
);
$statslastdate
=
date
(
'Y-m-d H:i:s'
);
}
if
(
$uptimerobotstat
==
'fail'
||
$status
<>
'Up'
)
{
$score
=
$score
-
2
;
...
...
show.php
View file @
60742952
...
...
@@ -24,8 +24,8 @@ $numrows = pg_num_rows($result);
<th><a
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"A pod is a site for you to set up your account."
>
Pod
</a></th>
<th><a
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Percent of the time the pod is online."
>
Uptime %
</a></th>
<th><a
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Number of users active last 6 months on this pod."
>
Active Users
</a></th>
<th><a
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Pod location, based on IP Geolocation"
>
Location
</a></th>
<th><a
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"External Social Networks this pod can post to"
>
Services Offered
</a></th>
<th><a
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Pod location, based on IP Geolocation
.
"
>
Location
</a></th>
<th><a
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"External Social Networks this pod can post to
.
"
>
Services Offered
</a></th>
</tr>
</thead>
<tbody>
...
...
@@ -55,7 +55,7 @@ $numrows = pg_num_rows($result);
$row
[
'service_facebook'
]
===
't'
&&
print
'<div class="smlogo smlogo-facebook" title="Publish to Facebook" alt="Publish to Facebook"></div>'
;
$row
[
'service_twitter'
]
===
't'
&&
print
'<div class="smlogo smlogo-twitter" title="Publish to Twitter" alt="Publish to Twitter"></div>'
;
$row
[
'service_tumblr'
]
===
't'
&&
print
'<div class="smlogo smlogo-tumblr" title="Publish to Tumblr" alt="Publish to Tumblr"></div>'
;
$row
[
'service_wordpress'
]
===
't'
&&
print
'<div class="smlogo smlogo-wordpress" title="Publish to Word
press" alt="Publish to Wordp
ress"></div>'
;
$row
[
'service_wordpress'
]
===
't'
&&
print
'<div class="smlogo smlogo-wordpress" title="Publish to Word
Press" alt="Publish to WordP
ress"></div>'
;
$row
[
'service_xmpp'
]
===
't'
&&
print
'<div class="smlogo smlogo-xmpp"><img src="/images/icon-xmpp.png" width="16" height="16" title="XMPP chat server" alt="XMPP chat server"></div>'
;
echo
'</td></tr>'
;
}
...
...
showfull.php
View file @
60742952
...
...
@@ -34,9 +34,9 @@ $numrows = pg_num_rows($result);
<th><a
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Number of total comments on this pod."
>
Comments
</a></th>
<th><a
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"How many months has this pod been online? Click number for more history."
>
Months
</a></th>
<th><a
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"User rating for this pod."
>
Rating
</a></th>
<th><a
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"System Score on a 100 point scale"
>
Score
</a></th>
<th><a
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Pod location, based on IP Geolocation"
>
Country
</a></th>
<th><a
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"External Social Networks this pod can post to"
>
Services
</a></th>
<th><a
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"System Score on a 100 point scale
.
"
>
Score
</a></th>
<th><a
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Pod location, based on IP Geolocation
.
"
>
Country
</a></th>
<th><a
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"External Social Networks this pod can post to
.
"
>
Services
</a></th>
</tr>
</thead>
<tbody>
...
...
@@ -89,7 +89,7 @@ $numrows = pg_num_rows($result);
$row
[
'service_facebook'
]
===
't'
&&
print
'<div class="smlogo smlogo-facebook" title="Publish to Facebook" alt="Publish to Facebook"></div>'
;
$row
[
'service_twitter'
]
===
't'
&&
print
'<div class="smlogo smlogo-twitter" title="Publish to Twitter" alt="Publish to Twitter"></div>'
;
$row
[
'service_tumblr'
]
===
't'
&&
print
'<div class="smlogo smlogo-tumblr" title="Publish to Tumblr" alt="Publish to Tumblr"></div>'
;
$row
[
'service_wordpress'
]
===
't'
&&
print
'<div class="smlogo smlogo-wordpress" title="Publish to Word
press" alt="Publish to Wordp
ress"></div>'
;
$row
[
'service_wordpress'
]
===
't'
&&
print
'<div class="smlogo smlogo-wordpress" title="Publish to Word
Press" alt="Publish to WordP
ress"></div>'
;
$row
[
'service_xmpp'
]
===
't'
&&
print
'<div class="smlogo smlogo-xmpp"><img src="/images/icon-xmpp.png" width="16" height="16" title="XMPP chat server" alt="XMPP chat server"></div>'
;
echo
'</td></tr>'
;
}
...
...
showmap.php
View file @
60742952
...
...
@@ -43,7 +43,7 @@ foreach ($csv as $cords) {
$row
[
'service_facebook'
]
===
't'
&&
$feat
.=
'<div class="smlogo smlogo-facebook" title="Publish to Facebook" alt="Publish to Facebook"></div>'
;
$row
[
'service_twitter'
]
===
't'
&&
$feat
.=
'<div class="smlogo smlogo-twitter" title="Publish to Twitter" alt="Publish to Twitter"></div>'
;
$row
[
'service_tumblr'
]
===
't'
&&
$feat
.=
'<div class="smlogo smlogo-tumblr" title="Publish to Tumblr" alt="Publish to Tumblr"></div>'
;
$row
[
'service_wordpress'
]
===
't'
&&
$feat
.=
'<div class="smlogo smlogo-wordpress" title="Publish to Word
press" alt="Publish to Wordp
ress"></div>'
;
$row
[
'service_wordpress'
]
===
't'
&&
$feat
.=
'<div class="smlogo smlogo-wordpress" title="Publish to Word
Press" alt="Publish to WordP
ress"></div>'
;
$row
[
'service_xmpp'
]
===
't'
&&
$feat
.=
'<div class="smlogo smlogo-xmpp"><img src="/images/icon-xmpp.png" width="16" height="16" title="XMPP chat server" alt="XMPP chat server"></div>'
;
$pod_name
=
htmlentities
(
$row
[
'name'
],
ENT_QUOTES
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment