Skip to content

Commit ea71822

Browse files
committed
site: Fix more HTML spec errors
1 parent 8e7e322 commit ea71822

5 files changed

Lines changed: 101 additions & 100 deletions

File tree

public_html/about.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,5 @@
174174
</div>
175175
</div>
176176
<?php include 'lib/module/inc-footer.php';?>
177-
</div>
178177
</body>
179178
</html>

public_html/download.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@
295295
</div>
296296
</div>
297297
</div>
298-
<?php include 'lib/module/inc-footer.php';?>
299298
</div>
299+
<?php include 'lib/module/inc-footer.php';?>
300300
</body>
301301
</html>

public_html/lib/css/debug.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@
386386
display: flex;
387387
padding: 8px 0px;
388388
}
389-
.rpcn-list-title span {
389+
.rpcn-list-title-container {
390390
display: flex;
391391
align-items: center;
392392
justify-content: center;

public_html/quickstart.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@
110110
<div class="page-con-container">
111111
<div class="page-in-container">
112112
<?php include 'lib/module/quickstart/inc-quickstart-software-dirs.php';?>
113+
</div>
113114
</div>
114115
</div>
115116
<div class="page-con-content darkmode-slimbar" style="background:#f7f7f7">

public_html/rpcn.php

Lines changed: 98 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
$title_player_counts = $rpcn_stats->title_player_counts;
1515
?>
1616
<!DOCTYPE html>
17-
<head>
1817
<html lang="en-US">
18+
<head>
1919
<title>RPCS3 - RPCN Browser</title>
2020
<meta charset="utf-8">
2121
<meta name="description" content="Real-time stats for games currently being played online via RPCN.">
@@ -68,117 +68,118 @@
6868
</div>
6969
<div class="page-con-container">
7070
<div class="page-in-container">
71-
<div class='container-con-block darkmode-block'>
72-
<div class='container-con-wrapper'>
73-
<div class='container-tx1-block darkmode-txt'>
74-
<div class='container-emp-block'>
71+
<div class='container-con-block darkmode-block'>
72+
<div class='container-con-wrapper'>
73+
<div class='container-tx1-block darkmode-txt'>
74+
<div class='container-emp-block'>
75+
</div>
76+
<h2>RPCN Browser</h2>
77+
</div>
78+
<div class='container-tx2-block darkmode-txt'>
79+
<p>
80+
RPCN is a netplay service that allows you to play revived PlayStation 3 games. See real-time statistics of currently active players, popular games, and ongoing multiplayer sessions.
81+
</p>
7582
</div>
76-
<h2>RPCN Browser</h2>
77-
</div>
78-
<div class='container-tx2-block darkmode-txt'>
79-
<p>
80-
RPCN is a netplay service that allows you to play revived PlayStation 3 games. See real-time statistics of currently active players, popular games, and ongoing multiplayer sessions.
81-
</p>
8283
</div>
8384
</div>
84-
</div>
85-
<?php include 'lib/module/rpcn/inc-rpcn-playerbase.php';?>
86-
<div class='rpcn-infopane-con-container'>
87-
<div class='rpcn-infopane-con-outer'>
88-
<div class='rpcn-infopane-con-inner-a'>
89-
<div class='rpcn-infopane-con-graphic' style="background: url(/img/graphics/rpcn/get-started.png) center top no-repeat; right: -52px; bottom: -38px;">
90-
</div>
91-
<div class='rpcn-infopane-con-image' style="background: url(/img/icons/rpcn/psn.png) center left / 42px no-repeat;">
92-
</div>
93-
<div class='rpcn-infopane-tx1-title darkmode-txt'>
94-
<span>Get Started</span>
95-
</div>
96-
<div class='rpcn-infopane-tx2-desc darkmode-txt'>
97-
<span>Get started by reading our comprehensive setup guide to learn how to connect your RPCS3 installation.<br><br><br><br></span>
98-
</div>
99-
<a href="https://wiki.rpcs3.net/index.php?title=Help:Netplay" target="_blank">
100-
<div class='package-con-button'>
101-
<div class='package-ico-button' style="background: url(/img/icons/buttons/docs-h.png) center / 22px no-repeat;">
85+
<?php include 'lib/module/rpcn/inc-rpcn-playerbase.php';?>
86+
<div class='rpcn-infopane-con-container'>
87+
<div class='rpcn-infopane-con-outer'>
88+
<div class='rpcn-infopane-con-inner-a'>
89+
<div class='rpcn-infopane-con-graphic' style="background: url(/img/graphics/rpcn/get-started.png) center top no-repeat; right: -52px; bottom: -38px;">
10290
</div>
103-
<div class='package-tx1-button'>
104-
<span>Read More</span>
91+
<div class='rpcn-infopane-con-image' style="background: url(/img/icons/rpcn/psn.png) center left / 42px no-repeat;">
10592
</div>
106-
</div>
107-
</a>
108-
</div>
109-
</div>
110-
<div class='rpcn-infopane-con-outer' style="width: 66.6666666666%;">
111-
<div class='rpcn-infopane-con-inner-a'>
112-
<div class='rpcn-infopane-con-graphic' style="background: url(/img/graphics/rpcn/compat.png) right bottom no-repeat; right: -52px; bottom: 0; height: 150px; width: 420px;">
113-
</div>
114-
<div class='rpcn-infopane-con-image darkmode-invert' style="background: url(/img/icons/buttons/compat.png) center left / 42px no-repeat;">
115-
</div>
116-
<div class='rpcn-infopane-tx1-title darkmode-txt'>
117-
<span>Netplay Compatibility</span>
118-
</div>
119-
<div class='rpcn-infopane-tx2-desc darkmode-txt'>
120-
<span>Check games that support netplay with our compatibility list. From beloved fighting games to racing and cooperative adventures, explore a growing collection of PlayStation 3 games revived with netplay.<br><br>For game compatibility, see the <a href="http://localhost/compatibility" target="_blank">compatibility list</a>.</span>
121-
<br><br>
122-
</div>
123-
<a href="https://wiki.rpcs3.net/index.php?title=RPCN_Compatibility_List" target="_blank">
124-
<div class='package-con-button' style="width: 225px;">
125-
<div class='package-ico-button' style="background: url(/img/icons/buttons/compat-h.png) center / 22px no-repeat;">
93+
<div class='rpcn-infopane-tx1-title darkmode-txt'>
94+
<span>Get Started</span>
95+
</div>
96+
<div class='rpcn-infopane-tx2-desc darkmode-txt'>
97+
<span>Get started by reading our comprehensive setup guide to learn how to connect your RPCS3 installation.<br><br><br><br></span>
98+
</div>
99+
<a href="https://wiki.rpcs3.net/index.php?title=Help:Netplay" target="_blank">
100+
<div class='package-con-button'>
101+
<div class='package-ico-button' style="background: url(/img/icons/buttons/docs-h.png) center / 22px no-repeat;">
126102
</div>
127103
<div class='package-tx1-button'>
128-
<span>
129-
View Compatibility List
130-
</span>
104+
<span>Read More</span>
131105
</div>
132106
</div>
133-
</a>
107+
</a>
108+
</div>
134109
</div>
135-
</div>
136-
</div>
137-
<div class='container-tx1-block darkmode-txt'>
138-
<div class='container-emp-block'>
139-
</div>
140-
<h2>Active Games</h2>
141-
</div>
142-
<?php if ($has_error): ?>
143-
<div class="error-message">
144-
RPCN stats are currently unavailable. Please check later.
145-
</div>
146-
<?php endif; ?>
147-
<div class="rpcn-list-con-container">
148-
<?php if (!$has_error): ?>
149-
<table>
150-
<tbody>
151-
<?php foreach ($title_player_counts as $game_title => $count): ?>
152-
<?php if ($count > 0): ?>
153-
<tr class='darkmode-txt'>
154-
<td>
155-
<div class='rpcn-list-title'>
110+
<div class='rpcn-infopane-con-outer' style="width: 66.6666666666%;">
111+
<div class='rpcn-infopane-con-inner-a'>
112+
<div class='rpcn-infopane-con-graphic' style="background: url(/img/graphics/rpcn/compat.png) right bottom no-repeat; right: -52px; bottom: 0; height: 150px; width: 420px;">
113+
</div>
114+
<div class='rpcn-infopane-con-image darkmode-invert' style="background: url(/img/icons/buttons/compat.png) center left / 42px no-repeat;">
115+
</div>
116+
<div class='rpcn-infopane-tx1-title darkmode-txt'>
117+
<span>Netplay Compatibility</span>
118+
</div>
119+
<div class='rpcn-infopane-tx2-desc darkmode-txt'>
120+
<span>Check games that support netplay with our compatibility list. From beloved fighting games to racing and cooperative adventures, explore a growing collection of PlayStation 3 games revived with netplay.<br><br>For game compatibility, see the <a href="http://localhost/compatibility" target="_blank">compatibility list</a>.</span>
121+
<br><br>
122+
</div>
123+
<a href="https://wiki.rpcs3.net/index.php?title=RPCN_Compatibility_List" target="_blank">
124+
<div class='package-con-button' style="width: 225px;">
125+
<div class='package-ico-button' style="background: url(/img/icons/buttons/compat-h.png) center / 22px no-repeat;">
126+
</div>
127+
<div class='package-tx1-button'>
156128
<span>
157-
<div class='rpcn-list-ico-status'></div>
158-
<?php echo htmlspecialchars(!empty($game_title) ? $game_title : 'Unknown'); ?>
159-
<?php if (!empty($rpcn_stats->title_regions[$game_title])): ?>
129+
View Compatibility List
160130
</span>
161-
<div class='rpcn-list-regions'>
162-
<?php foreach ($rpcn_stats->title_regions[$game_title] as $region): ?>
131+
</div>
132+
</div>
133+
</a>
134+
</div>
135+
</div>
136+
</div>
137+
<div class='container-tx1-block darkmode-txt'>
138+
<div class='container-emp-block'>
139+
</div>
140+
<h2>Active Games</h2>
141+
</div>
142+
<?php if ($has_error): ?>
143+
<div class="error-message">
144+
RPCN stats are currently unavailable. Please check later.
145+
</div>
146+
<?php endif; ?>
147+
<div class="rpcn-list-con-container">
148+
<?php if (!$has_error): ?>
149+
<table>
150+
<tbody>
151+
<?php foreach ($title_player_counts as $game_title => $count): ?>
152+
<?php if ($count > 0): ?>
153+
<tr class='darkmode-txt'>
154+
<td>
155+
<div class='rpcn-list-title'>
156+
<div class='rpcn-list-title-container'>
157+
<div class='rpcn-list-ico-status'></div>
158+
<?php echo htmlspecialchars(!empty($game_title) ? $game_title : 'Unknown'); ?>
159+
</div>
160+
<?php if (!empty($rpcn_stats->title_regions[$game_title])): ?>
161+
<div class='rpcn-list-regions'>
162+
<?php foreach ($rpcn_stats->title_regions[$game_title] as $region): ?>
163163
<div class='rpcn-list-flags'>
164-
<img src="/img/icons/compat/<?php echo strtoupper($region); ?>.png" alt="<?php echo $region; ?>">
164+
<img src="/img/icons/compat/<?php echo strtoupper($region); ?>.png" alt="<?php echo $region; ?>">
165165
</div>
166-
<?php endforeach; ?>
167-
</div>
168-
<?php endif; ?>
169-
</div>
170-
</td>
171-
<td>
172-
<div class='rpcn-list-ico-player' style="background: url(/img/icons/rpcn/user.png) center / 20px no-repeat;"></div>
173-
<span><?php echo htmlspecialchars($count); ?>&nbsp;Online</span>
174-
</td>
175-
</tr>
176-
<?php endif; ?>
177-
<?php endforeach; ?>
178-
</tbody>
179-
</table>
166+
<?php endforeach; ?>
167+
</div>
168+
<?php endif; ?>
169+
</div>
170+
</td>
171+
<td>
172+
<div class='rpcn-list-ico-player' style="background: url(/img/icons/rpcn/user.png) center / 20px no-repeat;"></div>
173+
<span><?php echo htmlspecialchars($count); ?>&nbsp;Online</span>
174+
</td>
175+
</tr>
176+
<?php endif; ?>
177+
<?php endforeach; ?>
178+
</tbody>
179+
</table>
180+
<?php endif; ?>
181+
</div>
180182
</div>
181-
<?php endif; ?>
182183
</div>
183184
</div>
184185
<?php include 'lib/module/inc-footer.php';?>

0 commit comments

Comments
 (0)