|
14 | 14 | $title_player_counts = $rpcn_stats->title_player_counts; |
15 | 15 | ?> |
16 | 16 | <!DOCTYPE html> |
17 | | -<head> |
18 | 17 | <html lang="en-US"> |
| 18 | +<head> |
19 | 19 | <title>RPCS3 - RPCN Browser</title> |
20 | 20 | <meta charset="utf-8"> |
21 | 21 | <meta name="description" content="Real-time stats for games currently being played online via RPCN."> |
|
68 | 68 | </div> |
69 | 69 | <div class="page-con-container"> |
70 | 70 | <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> |
75 | 82 | </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> |
82 | 83 | </div> |
83 | 84 | </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;"> |
102 | 90 | </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;"> |
105 | 92 | </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;"> |
126 | 102 | </div> |
127 | 103 | <div class='package-tx1-button'> |
128 | | - <span> |
129 | | - View Compatibility List |
130 | | - </span> |
| 104 | + <span>Read More</span> |
131 | 105 | </div> |
132 | 106 | </div> |
133 | | - </a> |
| 107 | + </a> |
| 108 | + </div> |
134 | 109 | </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'> |
156 | 128 | <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 |
160 | 130 | </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): ?> |
163 | 163 | <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; ?>"> |
165 | 165 | </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); ?> 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); ?> Online</span> |
| 174 | + </td> |
| 175 | + </tr> |
| 176 | + <?php endif; ?> |
| 177 | + <?php endforeach; ?> |
| 178 | + </tbody> |
| 179 | + </table> |
| 180 | + <?php endif; ?> |
| 181 | + </div> |
180 | 182 | </div> |
181 | | - <?php endif; ?> |
182 | 183 | </div> |
183 | 184 | </div> |
184 | 185 | <?php include 'lib/module/inc-footer.php';?> |
|
0 commit comments