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
cfd2f89c
Commit
cfd2f89c
authored
Dec 20, 2016
by
David Morley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes for new version
parent
df4fc54d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
css/newstyle.css
css/newstyle.css
+1
-0
show.php
show.php
+3
-3
showfull.php
showfull.php
+2
-2
No files found.
css/newstyle.css
View file @
cfd2f89c
...
...
@@ -20,6 +20,7 @@ margin-left: 2px !important;
width
:
99%
;
}
.tfont
{
font-size
:
12px
;
}
#results
{
width
:
750px
;
...
...
show.php
View file @
cfd2f89c
...
...
@@ -8,9 +8,9 @@ if (!$dbh) {
}
$hidden
=
isset
(
$_GET
[
'hidden'
])
?
$_GET
[
'hidden'
]
:
null
;
if
(
$hidden
==
"true"
)
{
$sql
=
"SELECT * FROM pods WHERE hidden <> 'no' ORDER BY
weightedscore
DESC"
;
$sql
=
"SELECT * FROM pods WHERE hidden <> 'no' ORDER BY
uptimelast7
DESC"
;
}
else
{
$sql
=
"SELECT * FROM pods WHERE adminrating <> -1 AND hidden <> 'yes' AND signup = 1 ORDER BY
weightedscore
DESC"
;
$sql
=
"SELECT * FROM pods WHERE adminrating <> -1 AND hidden <> 'yes' AND signup = 1 ORDER BY
uptimelast7
DESC"
;
}
$result
=
pg_query
(
$dbh
,
$sql
);
if
(
!
$result
)
{
...
...
@@ -22,7 +22,7 @@ echo $numrows;
echo
" Federated Pods listed, Come see the privacy aware social networks.' />"
;
?>
<div
class=
"hidden-sm-up"
>
Scroll right or rotate device for more
</div>
<table
class=
"table table-striped table-sm tablesorter table-hover
tfont
"
id=
"myTable"
>
<table
class=
"table table-striped table-sm tablesorter table-hover"
id=
"myTable"
>
<thead
class=
"thead-inverse"
>
<tr>
<th><a
data-toggle=
'tooltip'
data-placement=
'bottom'
title=
"A pod is a site for you to set up your account."
>
Pod
</a></th>
...
...
showfull.php
View file @
cfd2f89c
...
...
@@ -7,9 +7,9 @@ if (!$dbh) {
}
$hidden
=
isset
(
$_GET
[
'hidden'
])
?
$_GET
[
'hidden'
]
:
null
;
if
(
$hidden
==
"true"
)
{
$sql
=
"SELECT * FROM pods WHERE hidden <> 'no' ORDER BY
weightedscore
DESC"
;
$sql
=
"SELECT * FROM pods WHERE hidden <> 'no' ORDER BY
uptimelast7
DESC"
;
}
else
{
$sql
=
"SELECT * FROM pods ORDER BY
weightedscore
DESC"
;
$sql
=
"SELECT * FROM pods ORDER BY
uptimelast7
DESC"
;
}
$result
=
pg_query
(
$dbh
,
$sql
);
if
(
!
$result
)
{
...
...
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