@@ -8,10 +8,10 @@ |
||
8 | 8 | <?php $__db_h = new db_helper(); ?> |
9 | 9 | <?php $__time_h = new time_helper(); ?> |
10 | 10 | <?php |
11 | - $__server->page_embeds->page_title = "SubRocks - My Videos"; |
|
12 | - $__server->page_embeds->page_description = "SubRocks is a site dedicated to bring back the 2012 layout of YouTube."; |
|
13 | - $__server->page_embeds->page_image = "/yt/imgbin/full-size-logo.png"; |
|
14 | - $__server->page_embeds->page_url = "https://subrock.rocks/"; |
|
11 | + $__server->page_embeds->page_title = "SubRocks - My Videos"; |
|
12 | + $__server->page_embeds->page_description = "SubRocks is a site dedicated to bring back the 2012 layout of YouTube."; |
|
13 | + $__server->page_embeds->page_image = "/yt/imgbin/full-size-logo.png"; |
|
14 | + $__server->page_embeds->page_url = "https://subrock.rocks/"; |
|
15 | 15 | ?> |
16 | 16 | <?php if(!isset($_SESSION['siteusername'])) { header("Location: /sign_in"); } ?> |
17 | 17 | <!DOCTYPE html> |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | $__server->page_embeds->page_image = "/yt/imgbin/full-size-logo.png"; |
14 | 14 | $__server->page_embeds->page_url = "https://subrock.rocks/"; |
15 | 15 | ?> |
16 | -<?php if(!isset($_SESSION['siteusername'])) { header("Location: /sign_in"); } ?> |
|
16 | +<?php if (!isset($_SESSION['siteusername'])) { header("Location: /sign_in"); } ?> |
|
17 | 17 | <!DOCTYPE html> |
18 | 18 | <html dir="ltr"> |
19 | 19 | <head> |
@@ -166,15 +166,15 @@ discard block |
||
166 | 166 | $stmt->execute(); |
167 | 167 | |
168 | 168 | $number_of_result = $stmt->rowCount(); |
169 | - $number_of_page = ceil ($number_of_result / $results_per_page); |
|
169 | + $number_of_page = ceil($number_of_result/$results_per_page); |
|
170 | 170 | |
171 | - if (!isset ($_GET['page']) ) { |
|
171 | + if (!isset ($_GET['page'])) { |
|
172 | 172 | $page = 1; |
173 | 173 | } else { |
174 | - $page = (int)$_GET['page']; |
|
174 | + $page = (int) $_GET['page']; |
|
175 | 175 | } |
176 | 176 | |
177 | - $page_first_result = ($page - 1) * $results_per_page; |
|
177 | + $page_first_result = ($page - 1)*$results_per_page; |
|
178 | 178 | ?> |
179 | 179 | <?php |
180 | 180 | $stmt6 = $__db->prepare("SELECT * FROM videos WHERE author = :search ORDER BY id DESC LIMIT :pfirst, :pper"); |
@@ -199,7 +199,7 @@ discard block |
||
199 | 199 | </tr> |
200 | 200 | |
201 | 201 | <?php |
202 | - while($video = $stmt->fetch(PDO::FETCH_ASSOC)) { |
|
202 | + while ($video = $stmt->fetch(PDO::FETCH_ASSOC)) { |
|
203 | 203 | $video['video_responses'] = $__video_h->get_video_responses($video['rid']); |
204 | 204 | $video['age'] = $__time_h->time_elapsed_string($video['publish']); |
205 | 205 | $video['duration'] = $__time_h->timestamp($video['duration']); |
@@ -208,19 +208,19 @@ discard block |
||
208 | 208 | $video['title'] = htmlspecialchars($video['title']); |
209 | 209 | $video['description'] = $__video_h->shorten_description($video['description'], 50); |
210 | 210 | |
211 | - if($video['thumbnail'] == ".png" && $video['filename'] == ".mp4") { |
|
211 | + if ($video['thumbnail'] == ".png" && $video['filename'] == ".mp4") { |
|
212 | 212 | $status = "Corrupted"; |
213 | - } else if($video['visibility'] == "v") { |
|
213 | + } else if ($video['visibility'] == "v") { |
|
214 | 214 | $status = "Approved"; |
215 | - } else if($video['visibility'] == "n") { |
|
215 | + } else if ($video['visibility'] == "n") { |
|
216 | 216 | $status = "Approved"; |
217 | - } else if($video['visibility'] == "o") { |
|
217 | + } else if ($video['visibility'] == "o") { |
|
218 | 218 | $status = "Disapproved"; |
219 | 219 | } else { |
220 | 220 | $status = "Unknown"; |
221 | 221 | } |
222 | 222 | |
223 | - if($video['commenting'] == "a") |
|
223 | + if ($video['commenting'] == "a") |
|
224 | 224 | $video['commentstatus'] = "Commenting allowed"; |
225 | 225 | else |
226 | 226 | $video['commentstatus'] = "Commenting disallowed"; |
@@ -284,7 +284,7 @@ discard block |
||
284 | 284 | </div> |
285 | 285 | </center> |
286 | 286 | |
287 | - <?php for($page = 1; $page<= $number_of_page; $page++) { ?> |
|
287 | + <?php for ($page = 1; $page <= $number_of_page; $page++) { ?> |
|
288 | 288 | <button class="yt-uix-button yt-uix-button-default" onclick="ajax_fetch_videomanager(<?php echo $page; ?>)"><?php echo $page; ?></button> |
289 | 289 | <?php } ?> |
290 | 290 | |
@@ -330,7 +330,7 @@ discard block |
||
330 | 330 | </script> |
331 | 331 | |
332 | 332 | <?php |
333 | - if($stmt6->rowCount() == 0) { echo " |
|
333 | + if ($stmt6->rowCount() == 0) { echo " |
|
334 | 334 | <br>Welcome to your Video Manager! You can manage your uploaded videos here.<br> |
335 | 335 | <a href=\"upload_video\"> |
336 | 336 | <button type=\"button\" class=\" yt-uix-button yt-uix-button-default\" role=\"button\"> |
@@ -37,10 +37,10 @@ |
||
37 | 37 | } |
38 | 38 | ?> |
39 | 39 | <?php |
40 | - $__server->page_embeds->page_title = "SubRocks - Your Playlists"; |
|
41 | - $__server->page_embeds->page_description = "SubRocks is a site dedicated to bring back the 2012 layout of YouTube."; |
|
42 | - $__server->page_embeds->page_image = "/yt/imgbin/full-size-logo.png"; |
|
43 | - $__server->page_embeds->page_url = "https://subrock.rocks/"; |
|
40 | + $__server->page_embeds->page_title = "SubRocks - Your Playlists"; |
|
41 | + $__server->page_embeds->page_description = "SubRocks is a site dedicated to bring back the 2012 layout of YouTube."; |
|
42 | + $__server->page_embeds->page_image = "/yt/imgbin/full-size-logo.png"; |
|
43 | + $__server->page_embeds->page_url = "https://subrock.rocks/"; |
|
44 | 44 | ?> |
45 | 45 | <!DOCTYPE html> |
46 | 46 | <html dir="ltr"> |
@@ -8,10 +8,10 @@ |
||
8 | 8 | <?php $__db_h = new db_helper(); ?> |
9 | 9 | <?php $__time_h = new time_helper(); ?> |
10 | 10 | <?php |
11 | - $__server->page_embeds->page_title = "SubRocks - Edit Playlist"; |
|
12 | - $__server->page_embeds->page_description = "SubRocks is a site dedicated to bring back the 2012 layout of YouTube."; |
|
13 | - $__server->page_embeds->page_image = "/yt/imgbin/full-size-logo.png"; |
|
14 | - $__server->page_embeds->page_url = "https://subrock.rocks/"; |
|
11 | + $__server->page_embeds->page_title = "SubRocks - Edit Playlist"; |
|
12 | + $__server->page_embeds->page_description = "SubRocks is a site dedicated to bring back the 2012 layout of YouTube."; |
|
13 | + $__server->page_embeds->page_image = "/yt/imgbin/full-size-logo.png"; |
|
14 | + $__server->page_embeds->page_url = "https://subrock.rocks/"; |
|
15 | 15 | ?> |
16 | 16 | <?php if(!isset($_SESSION['siteusername'])) { header("Location: /sign_in"); } ?> |
17 | 17 | <?php $_playlist = $__video_h->fetch_playlist_rid($_GET['id']); ?> |
@@ -9,10 +9,10 @@ discard block |
||
9 | 9 | <?php $__time_h = new time_helper(); error_reporting(E_ERROR | E_PARSE); ?> |
10 | 10 | <?php if(!isset($_SESSION['siteusername'])) { header("Location: /sign_in"); } ?> |
11 | 11 | <?php |
12 | - $__server->page_embeds->page_title = "SubRocks - Favorite Videos"; |
|
13 | - $__server->page_embeds->page_description = "SubRocks is a site dedicated to bring back the 2012 layout of YouTube."; |
|
14 | - $__server->page_embeds->page_image = "/yt/imgbin/full-size-logo.png"; |
|
15 | - $__server->page_embeds->page_url = "https://subrock.rocks/"; |
|
12 | + $__server->page_embeds->page_title = "SubRocks - Favorite Videos"; |
|
13 | + $__server->page_embeds->page_description = "SubRocks is a site dedicated to bring back the 2012 layout of YouTube."; |
|
14 | + $__server->page_embeds->page_image = "/yt/imgbin/full-size-logo.png"; |
|
15 | + $__server->page_embeds->page_url = "https://subrock.rocks/"; |
|
16 | 16 | ?> |
17 | 17 | <!DOCTYPE html> |
18 | 18 | <html dir="ltr"> |
@@ -178,7 +178,7 @@ discard block |
||
178 | 178 | ?> |
179 | 179 | <?php |
180 | 180 | $stmt6 = $__db->prepare("SELECT * FROM favorite_video WHERE sender = :search ORDER BY id DESC LIMIT :pfirst, :pper"); |
181 | - $stmt6->bindParam(":search", $search); |
|
181 | + $stmt6->bindParam(":search", $search); |
|
182 | 182 | $stmt6->bindParam(":pfirst", $page_first_result); |
183 | 183 | $stmt6->bindParam(":pper", $results_per_page); |
184 | 184 | $stmt6->execute(); |
@@ -195,32 +195,32 @@ discard block |
||
195 | 195 | |
196 | 196 | <?php |
197 | 197 | while($video = $stmt6->fetch(PDO::FETCH_ASSOC)) { |
198 | - if($__video_h->video_exists($video['reciever'])) { |
|
199 | - $_video = $__video_h->fetch_video_rid($video['reciever']); |
|
200 | - $_video['video_responses'] = $__video_h->get_video_responses($_video['rid']); |
|
201 | - $_video['age'] = $__time_h->time_elapsed_string($_video['publish']); |
|
202 | - $_video['duration'] = $__time_h->timestamp($_video['duration']); |
|
203 | - $_video['views'] = $__video_h->fetch_video_views($_video['rid']); |
|
204 | - $_video['author'] = htmlspecialchars($_video['author']); |
|
205 | - $_video['title'] = htmlspecialchars($_video['title']); |
|
206 | - $_video['description'] = $__video_h->shorten_description($_video['description'], 50); |
|
207 | - |
|
208 | - if($_video['thumbnail'] == ".png" && $_video['filename'] == ".mp4") { |
|
209 | - $status = "Corrupted"; |
|
210 | - } else if($_video['visibility'] == "v") { |
|
211 | - $status = "Approved"; |
|
212 | - } else if($_video['visibility'] == "n") { |
|
213 | - $status = "Approved"; |
|
214 | - } else if($_video['visibility'] == "o") { |
|
215 | - $status = "Disapproved"; |
|
216 | - } else { |
|
217 | - $status = "Unknown"; |
|
218 | - } |
|
198 | + if($__video_h->video_exists($video['reciever'])) { |
|
199 | + $_video = $__video_h->fetch_video_rid($video['reciever']); |
|
200 | + $_video['video_responses'] = $__video_h->get_video_responses($_video['rid']); |
|
201 | + $_video['age'] = $__time_h->time_elapsed_string($_video['publish']); |
|
202 | + $_video['duration'] = $__time_h->timestamp($_video['duration']); |
|
203 | + $_video['views'] = $__video_h->fetch_video_views($_video['rid']); |
|
204 | + $_video['author'] = htmlspecialchars($_video['author']); |
|
205 | + $_video['title'] = htmlspecialchars($_video['title']); |
|
206 | + $_video['description'] = $__video_h->shorten_description($_video['description'], 50); |
|
207 | + |
|
208 | + if($_video['thumbnail'] == ".png" && $_video['filename'] == ".mp4") { |
|
209 | + $status = "Corrupted"; |
|
210 | + } else if($_video['visibility'] == "v") { |
|
211 | + $status = "Approved"; |
|
212 | + } else if($_video['visibility'] == "n") { |
|
213 | + $status = "Approved"; |
|
214 | + } else if($_video['visibility'] == "o") { |
|
215 | + $status = "Disapproved"; |
|
216 | + } else { |
|
217 | + $status = "Unknown"; |
|
218 | + } |
|
219 | 219 | |
220 | - if($_video['commenting'] == "a") |
|
221 | - $_video['commentstatus'] = "Commenting allowed"; |
|
222 | - else |
|
223 | - $_video['commentstatus'] = "Commenting disallowed"; |
|
220 | + if($_video['commenting'] == "a") |
|
221 | + $_video['commentstatus'] = "Commenting allowed"; |
|
222 | + else |
|
223 | + $_video['commentstatus'] = "Commenting disallowed"; |
|
224 | 224 | ?> |
225 | 225 | <tr style="margin-top: 5px;" id="videoslist"> |
226 | 226 | <td class="video-manager-left"> |
@@ -7,7 +7,7 @@ discard block |
||
7 | 7 | <?php $__user_h = new user_helper($__db); ?> |
8 | 8 | <?php $__db_h = new db_helper(); ?> |
9 | 9 | <?php $__time_h = new time_helper(); error_reporting(E_ERROR | E_PARSE); ?> |
10 | -<?php if(!isset($_SESSION['siteusername'])) { header("Location: /sign_in"); } ?> |
|
10 | +<?php if (!isset($_SESSION['siteusername'])) { header("Location: /sign_in"); } ?> |
|
11 | 11 | <?php |
12 | 12 | $__server->page_embeds->page_title = "SubRocks - Favorite Videos"; |
13 | 13 | $__server->page_embeds->page_description = "SubRocks is a site dedicated to bring back the 2012 layout of YouTube."; |
@@ -166,15 +166,15 @@ discard block |
||
166 | 166 | $stmt->execute(); |
167 | 167 | |
168 | 168 | $number_of_result = $stmt->rowCount(); |
169 | - $number_of_page = ceil ($number_of_result / $results_per_page); |
|
169 | + $number_of_page = ceil($number_of_result/$results_per_page); |
|
170 | 170 | |
171 | - if (!isset ($_GET['page']) ) { |
|
171 | + if (!isset ($_GET['page'])) { |
|
172 | 172 | $page = 1; |
173 | 173 | } else { |
174 | - $page = (int)$_GET['page']; |
|
174 | + $page = (int) $_GET['page']; |
|
175 | 175 | } |
176 | 176 | |
177 | - $page_first_result = ($page - 1) * $results_per_page; |
|
177 | + $page_first_result = ($page - 1)*$results_per_page; |
|
178 | 178 | ?> |
179 | 179 | <?php |
180 | 180 | $stmt6 = $__db->prepare("SELECT * FROM favorite_video WHERE sender = :search ORDER BY id DESC LIMIT :pfirst, :pper"); |
@@ -194,8 +194,8 @@ discard block |
||
194 | 194 | </tr> |
195 | 195 | |
196 | 196 | <?php |
197 | - while($video = $stmt6->fetch(PDO::FETCH_ASSOC)) { |
|
198 | - if($__video_h->video_exists($video['reciever'])) { |
|
197 | + while ($video = $stmt6->fetch(PDO::FETCH_ASSOC)) { |
|
198 | + if ($__video_h->video_exists($video['reciever'])) { |
|
199 | 199 | $_video = $__video_h->fetch_video_rid($video['reciever']); |
200 | 200 | $_video['video_responses'] = $__video_h->get_video_responses($_video['rid']); |
201 | 201 | $_video['age'] = $__time_h->time_elapsed_string($_video['publish']); |
@@ -205,19 +205,19 @@ discard block |
||
205 | 205 | $_video['title'] = htmlspecialchars($_video['title']); |
206 | 206 | $_video['description'] = $__video_h->shorten_description($_video['description'], 50); |
207 | 207 | |
208 | - if($_video['thumbnail'] == ".png" && $_video['filename'] == ".mp4") { |
|
208 | + if ($_video['thumbnail'] == ".png" && $_video['filename'] == ".mp4") { |
|
209 | 209 | $status = "Corrupted"; |
210 | - } else if($_video['visibility'] == "v") { |
|
210 | + } else if ($_video['visibility'] == "v") { |
|
211 | 211 | $status = "Approved"; |
212 | - } else if($_video['visibility'] == "n") { |
|
212 | + } else if ($_video['visibility'] == "n") { |
|
213 | 213 | $status = "Approved"; |
214 | - } else if($_video['visibility'] == "o") { |
|
214 | + } else if ($_video['visibility'] == "o") { |
|
215 | 215 | $status = "Disapproved"; |
216 | 216 | } else { |
217 | 217 | $status = "Unknown"; |
218 | 218 | } |
219 | 219 | |
220 | - if($_video['commenting'] == "a") |
|
220 | + if ($_video['commenting'] == "a") |
|
221 | 221 | $_video['commentstatus'] = "Commenting allowed"; |
222 | 222 | else |
223 | 223 | $_video['commentstatus'] = "Commenting disallowed"; |
@@ -263,7 +263,7 @@ discard block |
||
263 | 263 | </div> |
264 | 264 | </center> |
265 | 265 | |
266 | - <?php for($page = 1; $page<= $number_of_page; $page++) { ?> |
|
266 | + <?php for ($page = 1; $page <= $number_of_page; $page++) { ?> |
|
267 | 267 | <button class="yt-uix-button yt-uix-button-default" onclick="ajax_fetch_videomanager(<?php echo $page; ?>)"><?php echo $page; ?></button> |
268 | 268 | <?php } ?> |
269 | 269 | |
@@ -309,7 +309,7 @@ discard block |
||
309 | 309 | </script> |
310 | 310 | |
311 | 311 | <?php |
312 | - if($stmt6->rowCount() == 0) { echo " |
|
312 | + if ($stmt6->rowCount() == 0) { echo " |
|
313 | 313 | <br>Welcome to your favorite videos page.<br> |
314 | 314 | You can add videos that you like and the video will be added here! |
315 | 315 | "; |
@@ -10,10 +10,10 @@ |
||
10 | 10 | <?php $__time_h = new time_helper(); ?> |
11 | 11 | <?php if(!isset($_SESSION['siteusername'])) { header("Location: /sign_in"); } ?> |
12 | 12 | <?php |
13 | - $__server->page_embeds->page_title = "SubRocks - Personal Messages"; |
|
14 | - $__server->page_embeds->page_description = "SubRocks is a site dedicated to bring back the 2012 layout of YouTube."; |
|
15 | - $__server->page_embeds->page_image = "/yt/imgbin/full-size-logo.png"; |
|
16 | - $__server->page_embeds->page_url = "https://subrock.rocks/"; |
|
13 | + $__server->page_embeds->page_title = "SubRocks - Personal Messages"; |
|
14 | + $__server->page_embeds->page_description = "SubRocks is a site dedicated to bring back the 2012 layout of YouTube."; |
|
15 | + $__server->page_embeds->page_image = "/yt/imgbin/full-size-logo.png"; |
|
16 | + $__server->page_embeds->page_url = "https://subrock.rocks/"; |
|
17 | 17 | ?> |
18 | 18 | <!DOCTYPE html> |
19 | 19 | <html dir="ltr"> |
@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | <?php $__user_u = new user_update($__db); ?> |
9 | 9 | <?php $__db_h = new db_helper(); ?> |
10 | 10 | <?php $__time_h = new time_helper(); ?> |
11 | -<?php if(!isset($_SESSION['siteusername'])) { header("Location: /sign_in"); } ?> |
|
11 | +<?php if (!isset($_SESSION['siteusername'])) { header("Location: /sign_in"); } ?> |
|
12 | 12 | <?php |
13 | 13 | $__server->page_embeds->page_title = "SubRocks - Personal Messages"; |
14 | 14 | $__server->page_embeds->page_description = "SubRocks is a site dedicated to bring back the 2012 layout of YouTube."; |
@@ -169,15 +169,15 @@ discard block |
||
169 | 169 | $stmt->execute(); |
170 | 170 | |
171 | 171 | $number_of_result = $stmt->rowCount(); |
172 | - $number_of_page = ceil ($number_of_result / $results_per_page); |
|
172 | + $number_of_page = ceil($number_of_result/$results_per_page); |
|
173 | 173 | |
174 | - if (!isset ($_GET['page']) ) { |
|
174 | + if (!isset ($_GET['page'])) { |
|
175 | 175 | $page = 1; |
176 | 176 | } else { |
177 | - $page = (int)$_GET['page']; |
|
177 | + $page = (int) $_GET['page']; |
|
178 | 178 | } |
179 | 179 | |
180 | - $page_first_result = ($page - 1) * $results_per_page; |
|
180 | + $page_first_result = ($page - 1)*$results_per_page; |
|
181 | 181 | |
182 | 182 | $stmt6 = $__db->prepare("SELECT * FROM pms WHERE touser = :search AND type = 'nm' ORDER BY id DESC LIMIT :pfirst, :pper"); |
183 | 183 | $stmt6->bindParam(":search", $search); |
@@ -202,8 +202,8 @@ discard block |
||
202 | 202 | </tr> |
203 | 203 | |
204 | 204 | <?php |
205 | - while($inbox = $stmt->fetch(PDO::FETCH_ASSOC)) { |
|
206 | - if($__video_h->video_exists($inbox['video_attribute'])) { |
|
205 | + while ($inbox = $stmt->fetch(PDO::FETCH_ASSOC)) { |
|
206 | + if ($__video_h->video_exists($inbox['video_attribute'])) { |
|
207 | 207 | $inbox['video'] = $__video_h->fetch_video_rid($inbox['video_attribute']); |
208 | 208 | $inbox['video_attr_exists'] = true; |
209 | 209 | |
@@ -217,7 +217,7 @@ discard block |
||
217 | 217 | ?> |
218 | 218 | <tr style="margin-top: 5px;" id="videoslist"> |
219 | 219 | <!-- |
220 | - <?php if($inbox['readed'] == "n") { ?> |
|
220 | + <?php if ($inbox['readed'] == "n") { ?> |
|
221 | 221 | <a style="position:relative;top:7px;color: white;text-decoration: none;background-color: #d54343;padding: 7px;padding-left: 10px;margin-right: 12px;display: inline;" href="/inbox/"> |
222 | 222 | NEW |
223 | 223 | </a> |
@@ -240,7 +240,7 @@ discard block |
||
240 | 240 | <td class="video-manager-stats" style="background: none;padding-left: 8px;"> |
241 | 241 | <h3><?php echo htmlspecialchars($inbox['subject']); ?></h3> |
242 | 242 | <?php echo $__video_h->shorten_description($inbox['message'], 300, true); ?> |
243 | - <?php if($inbox['video_attr_exists']) { ?> |
|
243 | + <?php if ($inbox['video_attr_exists']) { ?> |
|
244 | 244 | <hr> |
245 | 245 | <ul> |
246 | 246 | <li class="video-list-item "><a href="/watch?v=<?php echo $inbox['video']['rid']; ?>" class="video-list-item-link yt-uix-sessionlink" data-sessionlink="ei=CNLr3rbS3rICFSwSIQodSW397Q%3D%3D&feature=g-sptl%26cid%3Dinp-hs-ytg"><span class="ux-thumb-wrap contains-addto "><span class="video-thumb ux-thumb yt-thumb-default-120 "><span class="yt-thumb-clip"><span class="yt-thumb-clip-inner"><img src="http://s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt="<?php echo $inbox['video']['title']; ?>" data-thumb="/dynamic/thumbs/<?php echo $inbox['video']['thumbnail']; ?>" width="120"><span class="vertical-align"></span></span></span></span><span class="video-time"><?php echo $inbox['video']['duration']; ?></span> |
@@ -267,7 +267,7 @@ discard block |
||
267 | 267 | </div> |
268 | 268 | </center><br> |
269 | 269 | |
270 | - <?php for($page = 1; $page<= $number_of_page; $page++) { ?> |
|
270 | + <?php for ($page = 1; $page <= $number_of_page; $page++) { ?> |
|
271 | 271 | <button class="yt-uix-button yt-uix-button-default" onclick="ajax_fetch(<?php echo $page; ?>)"><?php echo $page; ?></button> |
272 | 272 | <?php } ?> |
273 | 273 | |
@@ -291,7 +291,7 @@ discard block |
||
291 | 291 | </script> |
292 | 292 | |
293 | 293 | <?php |
294 | - if($stmt6->rowCount() == 0) { echo " |
|
294 | + if ($stmt6->rowCount() == 0) { echo " |
|
295 | 295 | You currently have no personal messages in your inbox. |
296 | 296 | "; |
297 | 297 | } ?> |
@@ -9,10 +9,10 @@ |
||
9 | 9 | <?php $__db_h = new db_helper(); ?> |
10 | 10 | <?php $__time_h = new time_helper(); ?> |
11 | 11 | <?php |
12 | - $__server->page_embeds->page_title = "SubRocks - Notifications"; |
|
13 | - $__server->page_embeds->page_description = "SubRocks is a site dedicated to bring back the 2012 layout of YouTube."; |
|
14 | - $__server->page_embeds->page_image = "/yt/imgbin/full-size-logo.png"; |
|
15 | - $__server->page_embeds->page_url = "https://subrock.rocks/"; |
|
12 | + $__server->page_embeds->page_title = "SubRocks - Notifications"; |
|
13 | + $__server->page_embeds->page_description = "SubRocks is a site dedicated to bring back the 2012 layout of YouTube."; |
|
14 | + $__server->page_embeds->page_image = "/yt/imgbin/full-size-logo.png"; |
|
15 | + $__server->page_embeds->page_url = "https://subrock.rocks/"; |
|
16 | 16 | ?> |
17 | 17 | <?php if(!isset($_SESSION['siteusername'])) { header("Location: /sign_in"); } ?> |
18 | 18 | <!DOCTYPE html> |
@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | $__server->page_embeds->page_image = "/yt/imgbin/full-size-logo.png"; |
15 | 15 | $__server->page_embeds->page_url = "https://subrock.rocks/"; |
16 | 16 | ?> |
17 | -<?php if(!isset($_SESSION['siteusername'])) { header("Location: /sign_in"); } ?> |
|
17 | +<?php if (!isset($_SESSION['siteusername'])) { header("Location: /sign_in"); } ?> |
|
18 | 18 | <!DOCTYPE html> |
19 | 19 | <html dir="ltr"> |
20 | 20 | <head> |
@@ -169,15 +169,15 @@ discard block |
||
169 | 169 | $stmt->execute(); |
170 | 170 | |
171 | 171 | $number_of_result = $stmt->rowCount(); |
172 | - $number_of_page = ceil ($number_of_result / $results_per_page); |
|
172 | + $number_of_page = ceil($number_of_result/$results_per_page); |
|
173 | 173 | |
174 | - if (!isset ($_GET['page']) ) { |
|
174 | + if (!isset ($_GET['page'])) { |
|
175 | 175 | $page = 1; |
176 | 176 | } else { |
177 | - $page = (int)$_GET['page']; |
|
177 | + $page = (int) $_GET['page']; |
|
178 | 178 | } |
179 | 179 | |
180 | - $page_first_result = ($page - 1) * $results_per_page; |
|
180 | + $page_first_result = ($page - 1)*$results_per_page; |
|
181 | 181 | |
182 | 182 | $stmt6 = $__db->prepare("SELECT * FROM pms WHERE touser = :search AND type = 'nt' ORDER BY id DESC LIMIT :pfirst, :pper"); |
183 | 183 | $stmt6->bindParam(":search", $search); |
@@ -202,8 +202,8 @@ discard block |
||
202 | 202 | </tr> |
203 | 203 | |
204 | 204 | <?php |
205 | - while($inbox = $stmt->fetch(PDO::FETCH_ASSOC)) { |
|
206 | - if($__video_h->video_exists($inbox['video_attribute'])) { |
|
205 | + while ($inbox = $stmt->fetch(PDO::FETCH_ASSOC)) { |
|
206 | + if ($__video_h->video_exists($inbox['video_attribute'])) { |
|
207 | 207 | $inbox['video'] = $__video_h->fetch_video_rid($inbox['video_attribute']); |
208 | 208 | $inbox['video_attr_exists'] = true; |
209 | 209 | |
@@ -217,7 +217,7 @@ discard block |
||
217 | 217 | ?> |
218 | 218 | <tr style="margin-top: 5px;" id="videoslist"> |
219 | 219 | <!-- |
220 | - <?php if($inbox['readed'] == "n") { ?> |
|
220 | + <?php if ($inbox['readed'] == "n") { ?> |
|
221 | 221 | <a style="position:relative;top:7px;color: white;text-decoration: none;background-color: #d54343;padding: 7px;padding-left: 10px;margin-right: 12px;display: inline;" href="/inbox/"> |
222 | 222 | NEW |
223 | 223 | </a> |
@@ -240,7 +240,7 @@ discard block |
||
240 | 240 | <td class="video-manager-stats" style="background: none;padding-left: 8px;"> |
241 | 241 | <h3><?php echo htmlspecialchars($inbox['subject']); ?></h3> |
242 | 242 | <?php echo $__video_h->shorten_description($inbox['message'], 300, true); ?> |
243 | - <?php if($inbox['video_attr_exists']) { ?> |
|
243 | + <?php if ($inbox['video_attr_exists']) { ?> |
|
244 | 244 | <hr> |
245 | 245 | <ul> |
246 | 246 | <li class="video-list-item "><a href="/watch?v=<?php echo $inbox['video']['rid']; ?>" class="video-list-item-link yt-uix-sessionlink" data-sessionlink="ei=CNLr3rbS3rICFSwSIQodSW397Q%3D%3D&feature=g-sptl%26cid%3Dinp-hs-ytg"><span class="ux-thumb-wrap contains-addto "><span class="video-thumb ux-thumb yt-thumb-default-120 "><span class="yt-thumb-clip"><span class="yt-thumb-clip-inner"><img src="http://s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt="<?php echo $inbox['video']['title']; ?>" data-thumb="/dynamic/thumbs/<?php echo $inbox['video']['thumbnail']; ?>" width="120"><span class="vertical-align"></span></span></span></span><span class="video-time"><?php echo $inbox['video']['duration']; ?></span> |
@@ -267,7 +267,7 @@ discard block |
||
267 | 267 | </div> |
268 | 268 | </center><br> |
269 | 269 | |
270 | - <?php for($page = 1; $page<= $number_of_page; $page++) { ?> |
|
270 | + <?php for ($page = 1; $page <= $number_of_page; $page++) { ?> |
|
271 | 271 | <button class="yt-uix-button yt-uix-button-default" onclick="ajax_fetch(<?php echo $page; ?>)"><?php echo $page; ?></button> |
272 | 272 | <?php } ?> |
273 | 273 | |
@@ -291,7 +291,7 @@ discard block |
||
291 | 291 | </script> |
292 | 292 | |
293 | 293 | <?php |
294 | - if($stmt6->rowCount() == 0) { echo " |
|
294 | + if ($stmt6->rowCount() == 0) { echo " |
|
295 | 295 | You currently have no notifications in your inbox. |
296 | 296 | "; |
297 | 297 | } ?> |
@@ -10,10 +10,10 @@ |
||
10 | 10 | <?php $__time_h = new time_helper(); ?> |
11 | 11 | <?php if(!isset($_SESSION['siteusername'])) { header("Location: /sign_in"); } ?> |
12 | 12 | <?php |
13 | - $__server->page_embeds->page_title = "SubRocks - Compose"; |
|
14 | - $__server->page_embeds->page_description = "SubRocks is a site dedicated to bring back the 2012 layout of YouTube."; |
|
15 | - $__server->page_embeds->page_image = "/yt/imgbin/full-size-logo.png"; |
|
16 | - $__server->page_embeds->page_url = "https://subrock.rocks/"; |
|
13 | + $__server->page_embeds->page_title = "SubRocks - Compose"; |
|
14 | + $__server->page_embeds->page_description = "SubRocks is a site dedicated to bring back the 2012 layout of YouTube."; |
|
15 | + $__server->page_embeds->page_image = "/yt/imgbin/full-size-logo.png"; |
|
16 | + $__server->page_embeds->page_url = "https://subrock.rocks/"; |
|
17 | 17 | ?> |
18 | 18 | <?php |
19 | 19 | if($_SERVER['REQUEST_METHOD'] == 'POST') { |
@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | <?php $__user_u = new user_update($__db); ?> |
9 | 9 | <?php $__db_h = new db_helper(); ?> |
10 | 10 | <?php $__time_h = new time_helper(); ?> |
11 | -<?php if(!isset($_SESSION['siteusername'])) { header("Location: /sign_in"); } ?> |
|
11 | +<?php if (!isset($_SESSION['siteusername'])) { header("Location: /sign_in"); } ?> |
|
12 | 12 | <?php |
13 | 13 | $__server->page_embeds->page_title = "SubRocks - Compose"; |
14 | 14 | $__server->page_embeds->page_description = "SubRocks is a site dedicated to bring back the 2012 layout of YouTube."; |
@@ -16,16 +16,16 @@ discard block |
||
16 | 16 | $__server->page_embeds->page_url = "https://subrock.rocks/"; |
17 | 17 | ?> |
18 | 18 | <?php |
19 | - if($_SERVER['REQUEST_METHOD'] == 'POST') { |
|
19 | + if ($_SERVER['REQUEST_METHOD'] == 'POST') { |
|
20 | 20 | $error = array(); |
21 | 21 | |
22 | - if(!isset($_SESSION['siteusername'])){ $error['message'] = "You are not logged in"; $error['status'] = true; } |
|
23 | - if(!$_POST['contents']){ $error['message'] = "Your description cannot be blank"; $error['status'] = true; } |
|
24 | - if(empty(trim($_POST['subject']))){ $error['message'] = "Your subject cannot be blank"; $error['status'] = true; } |
|
25 | - if(strlen($_POST['contents']) > 1000){ $error['message'] = "Your description must be shorter than 1000 characters"; $error['status'] = true; } |
|
26 | - if($__user_h->if_cooldown($_SESSION['siteusername'])) { $error['message'] = "You are on a cooldown! Wait for a minute before sending a private message."; $error['status'] = true; } |
|
22 | + if (!isset($_SESSION['siteusername'])) { $error['message'] = "You are not logged in"; $error['status'] = true; } |
|
23 | + if (!$_POST['contents']) { $error['message'] = "Your description cannot be blank"; $error['status'] = true; } |
|
24 | + if (empty(trim($_POST['subject']))) { $error['message'] = "Your subject cannot be blank"; $error['status'] = true; } |
|
25 | + if (strlen($_POST['contents']) > 1000) { $error['message'] = "Your description must be shorter than 1000 characters"; $error['status'] = true; } |
|
26 | + if ($__user_h->if_cooldown($_SESSION['siteusername'])) { $error['message'] = "You are on a cooldown! Wait for a minute before sending a private message."; $error['status'] = true; } |
|
27 | 27 | |
28 | - if(!isset($error['message'])) { |
|
28 | + if (!isset($error['message'])) { |
|
29 | 29 | $stmt = $__db->prepare("INSERT INTO pms (touser, subject, message, owner) VALUES (:touser, :subject, :message, :owner)"); |
30 | 30 | $stmt->bindParam(":subject", $_POST['subject']); |
31 | 31 | $stmt->bindParam(":message", $_POST['contents']); |
@@ -11,10 +11,10 @@ |
||
11 | 11 | <?php $__time_h = new time_helper(); ?> |
12 | 12 | <?php if(!isset($_SESSION['siteusername'])) { header("Location: /sign_in"); } ?> |
13 | 13 | <?php |
14 | - $__server->page_embeds->page_title = "SubRocks - Inbox"; |
|
15 | - $__server->page_embeds->page_description = "SubRocks is a site dedicated to bring back the 2012 layout of YouTube."; |
|
16 | - $__server->page_embeds->page_image = "/yt/imgbin/full-size-logo.png"; |
|
17 | - $__server->page_embeds->page_url = "https://subrock.rocks/"; |
|
14 | + $__server->page_embeds->page_title = "SubRocks - Inbox"; |
|
15 | + $__server->page_embeds->page_description = "SubRocks is a site dedicated to bring back the 2012 layout of YouTube."; |
|
16 | + $__server->page_embeds->page_image = "/yt/imgbin/full-size-logo.png"; |
|
17 | + $__server->page_embeds->page_url = "https://subrock.rocks/"; |
|
18 | 18 | ?> |
19 | 19 | <!DOCTYPE html> |
20 | 20 | <html dir="ltr"> |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | <?php $__user_u = new user_update($__db); ?> |
10 | 10 | <?php $__db_h = new db_helper(); ?> |
11 | 11 | <?php $__time_h = new time_helper(); ?> |
12 | -<?php if(!isset($_SESSION['siteusername'])) { header("Location: /sign_in"); } ?> |
|
12 | +<?php if (!isset($_SESSION['siteusername'])) { header("Location: /sign_in"); } ?> |
|
13 | 13 | <?php |
14 | 14 | $__server->page_embeds->page_title = "SubRocks - Inbox"; |
15 | 15 | $__server->page_embeds->page_description = "SubRocks is a site dedicated to bring back the 2012 layout of YouTube."; |
@@ -170,15 +170,15 @@ discard block |
||
170 | 170 | $stmt->execute(); |
171 | 171 | |
172 | 172 | $number_of_result = $stmt->rowCount(); |
173 | - $number_of_page = ceil ($number_of_result / $results_per_page); |
|
173 | + $number_of_page = ceil($number_of_result/$results_per_page); |
|
174 | 174 | |
175 | - if (!isset ($_GET['page']) ) { |
|
175 | + if (!isset ($_GET['page'])) { |
|
176 | 176 | $page = 1; |
177 | 177 | } else { |
178 | - $page = (int)$_GET['page']; |
|
178 | + $page = (int) $_GET['page']; |
|
179 | 179 | } |
180 | 180 | |
181 | - $page_first_result = ($page - 1) * $results_per_page; |
|
181 | + $page_first_result = ($page - 1)*$results_per_page; |
|
182 | 182 | |
183 | 183 | $stmt6 = $__db->prepare("SELECT * FROM pms WHERE touser = :search ORDER BY id DESC LIMIT :pfirst, :pper"); |
184 | 184 | $stmt6->bindParam(":search", $search); |
@@ -203,8 +203,8 @@ discard block |
||
203 | 203 | </tr> |
204 | 204 | |
205 | 205 | <?php |
206 | - while($inbox = $stmt->fetch(PDO::FETCH_ASSOC)) { |
|
207 | - if($__video_h->video_exists($inbox['video_attribute'])) { |
|
206 | + while ($inbox = $stmt->fetch(PDO::FETCH_ASSOC)) { |
|
207 | + if ($__video_h->video_exists($inbox['video_attribute'])) { |
|
208 | 208 | $inbox['video'] = $__video_h->fetch_video_rid($inbox['video_attribute']); |
209 | 209 | $inbox['video_attr_exists'] = true; |
210 | 210 | |
@@ -218,7 +218,7 @@ discard block |
||
218 | 218 | ?> |
219 | 219 | <tr style="margin-top: 5px;" id="videoslist"> |
220 | 220 | <!-- |
221 | - <?php if($inbox['readed'] == "n") { ?> |
|
221 | + <?php if ($inbox['readed'] == "n") { ?> |
|
222 | 222 | <a style="position:relative;top:7px;color: white;text-decoration: none;background-color: #d54343;padding: 7px;padding-left: 10px;margin-right: 12px;display: inline;" href="/inbox/"> |
223 | 223 | NEW |
224 | 224 | </a> |
@@ -241,7 +241,7 @@ discard block |
||
241 | 241 | <td class="video-manager-stats" style="background: none;padding-left: 8px;"> |
242 | 242 | <h3><?php echo htmlspecialchars($inbox['subject']); ?></h3> |
243 | 243 | <?php echo $__video_h->shorten_description($inbox['message'], 300, true); ?> |
244 | - <?php if($inbox['video_attr_exists']) { ?> |
|
244 | + <?php if ($inbox['video_attr_exists']) { ?> |
|
245 | 245 | <hr> |
246 | 246 | <ul> |
247 | 247 | <li class="video-list-item "><a href="/watch?v=<?php echo $inbox['video']['rid']; ?>" class="video-list-item-link yt-uix-sessionlink" data-sessionlink="ei=CNLr3rbS3rICFSwSIQodSW397Q%3D%3D&feature=g-sptl%26cid%3Dinp-hs-ytg"><span class="ux-thumb-wrap contains-addto "><span class="video-thumb ux-thumb yt-thumb-default-120 "><span class="yt-thumb-clip"><span class="yt-thumb-clip-inner"><img src="http://s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt="<?php echo $inbox['video']['title']; ?>" data-thumb="/dynamic/thumbs/<?php echo $inbox['video']['thumbnail']; ?>" width="120"><span class="vertical-align"></span></span></span></span><span class="video-time"><?php echo $inbox['video']['duration']; ?></span> |
@@ -268,7 +268,7 @@ discard block |
||
268 | 268 | </div> |
269 | 269 | </center><br> |
270 | 270 | |
271 | - <?php for($page = 1; $page<= $number_of_page; $page++) { ?> |
|
271 | + <?php for ($page = 1; $page <= $number_of_page; $page++) { ?> |
|
272 | 272 | <button class="yt-uix-button yt-uix-button-default" onclick="ajax_fetch(<?php echo $page; ?>)"><?php echo $page; ?></button> |
273 | 273 | <?php } ?> |
274 | 274 | |
@@ -292,7 +292,7 @@ discard block |
||
292 | 292 | </script> |
293 | 293 | |
294 | 294 | <?php |
295 | - if($stmt6->rowCount() == 0) { echo " |
|
295 | + if ($stmt6->rowCount() == 0) { echo " |
|
296 | 296 | You currently have no messages in your inbox. |
297 | 297 | "; |
298 | 298 | } ?> |
@@ -10,10 +10,10 @@ |
||
10 | 10 | <?php $__time_h = new time_helper(); ?> |
11 | 11 | <?php if(!isset($_SESSION['siteusername'])) { header("Location: /sign_in"); } ?> |
12 | 12 | <?php |
13 | - $__server->page_embeds->page_title = "SubRocks - Sent Messages"; |
|
14 | - $__server->page_embeds->page_description = "SubRocks is a site dedicated to bring back the 2012 layout of YouTube."; |
|
15 | - $__server->page_embeds->page_image = "/yt/imgbin/full-size-logo.png"; |
|
16 | - $__server->page_embeds->page_url = "https://subrock.rocks/"; |
|
13 | + $__server->page_embeds->page_title = "SubRocks - Sent Messages"; |
|
14 | + $__server->page_embeds->page_description = "SubRocks is a site dedicated to bring back the 2012 layout of YouTube."; |
|
15 | + $__server->page_embeds->page_image = "/yt/imgbin/full-size-logo.png"; |
|
16 | + $__server->page_embeds->page_url = "https://subrock.rocks/"; |
|
17 | 17 | ?> |
18 | 18 | <!DOCTYPE html> |
19 | 19 | <html dir="ltr"> |
@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | <?php $__user_u = new user_update($__db); ?> |
9 | 9 | <?php $__db_h = new db_helper(); ?> |
10 | 10 | <?php $__time_h = new time_helper(); ?> |
11 | -<?php if(!isset($_SESSION['siteusername'])) { header("Location: /sign_in"); } ?> |
|
11 | +<?php if (!isset($_SESSION['siteusername'])) { header("Location: /sign_in"); } ?> |
|
12 | 12 | <?php |
13 | 13 | $__server->page_embeds->page_title = "SubRocks - Sent Messages"; |
14 | 14 | $__server->page_embeds->page_description = "SubRocks is a site dedicated to bring back the 2012 layout of YouTube."; |
@@ -169,15 +169,15 @@ discard block |
||
169 | 169 | $stmt->execute(); |
170 | 170 | |
171 | 171 | $number_of_result = $stmt->rowCount(); |
172 | - $number_of_page = ceil ($number_of_result / $results_per_page); |
|
172 | + $number_of_page = ceil($number_of_result/$results_per_page); |
|
173 | 173 | |
174 | - if (!isset ($_GET['page']) ) { |
|
174 | + if (!isset ($_GET['page'])) { |
|
175 | 175 | $page = 1; |
176 | 176 | } else { |
177 | - $page = (int)$_GET['page']; |
|
177 | + $page = (int) $_GET['page']; |
|
178 | 178 | } |
179 | 179 | |
180 | - $page_first_result = ($page - 1) * $results_per_page; |
|
180 | + $page_first_result = ($page - 1)*$results_per_page; |
|
181 | 181 | |
182 | 182 | $stmt6 = $__db->prepare("SELECT * FROM pms WHERE owner = :search ORDER BY id DESC LIMIT :pfirst, :pper"); |
183 | 183 | $stmt6->bindParam(":search", $search); |
@@ -202,8 +202,8 @@ discard block |
||
202 | 202 | </tr> |
203 | 203 | |
204 | 204 | <?php |
205 | - while($inbox = $stmt->fetch(PDO::FETCH_ASSOC)) { |
|
206 | - if($__video_h->video_exists($inbox['video_attribute'])) { |
|
205 | + while ($inbox = $stmt->fetch(PDO::FETCH_ASSOC)) { |
|
206 | + if ($__video_h->video_exists($inbox['video_attribute'])) { |
|
207 | 207 | $inbox['video'] = $__video_h->fetch_video_rid($inbox['video_attribute']); |
208 | 208 | $inbox['video_attr_exists'] = true; |
209 | 209 | |
@@ -217,7 +217,7 @@ discard block |
||
217 | 217 | ?> |
218 | 218 | <tr style="margin-top: 5px;" id="videoslist"> |
219 | 219 | <!-- |
220 | - <?php if($inbox['readed'] == "n") { ?> |
|
220 | + <?php if ($inbox['readed'] == "n") { ?> |
|
221 | 221 | <a style="position:relative;top:7px;color: white;text-decoration: none;background-color: #d54343;padding: 7px;padding-left: 10px;margin-right: 12px;display: inline;" href="/inbox/"> |
222 | 222 | NEW |
223 | 223 | </a> |
@@ -240,7 +240,7 @@ discard block |
||
240 | 240 | <td class="video-manager-stats" style="background: none;padding-left: 8px;"> |
241 | 241 | <h3><?php echo htmlspecialchars($inbox['subject']); ?></h3> |
242 | 242 | <?php echo $__video_h->shorten_description($inbox['message'], 300, true); ?> |
243 | - <?php if($inbox['video_attr_exists']) { ?> |
|
243 | + <?php if ($inbox['video_attr_exists']) { ?> |
|
244 | 244 | <hr> |
245 | 245 | <ul> |
246 | 246 | <li class="video-list-item "><a href="/watch?v=<?php echo $inbox['video']['rid']; ?>" class="video-list-item-link yt-uix-sessionlink" data-sessionlink="ei=CNLr3rbS3rICFSwSIQodSW397Q%3D%3D&feature=g-sptl%26cid%3Dinp-hs-ytg"><span class="ux-thumb-wrap contains-addto "><span class="video-thumb ux-thumb yt-thumb-default-120 "><span class="yt-thumb-clip"><span class="yt-thumb-clip-inner"><img src="http://s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt="<?php echo $inbox['video']['title']; ?>" data-thumb="/dynamic/thumbs/<?php echo $inbox['video']['thumbnail']; ?>" width="120"><span class="vertical-align"></span></span></span></span><span class="video-time"><?php echo $inbox['video']['duration']; ?></span> |
@@ -267,7 +267,7 @@ discard block |
||
267 | 267 | </div> |
268 | 268 | </center><br> |
269 | 269 | |
270 | - <?php for($page = 1; $page<= $number_of_page; $page++) { ?> |
|
270 | + <?php for ($page = 1; $page <= $number_of_page; $page++) { ?> |
|
271 | 271 | <button class="yt-uix-button yt-uix-button-default" onclick="ajax_fetch(<?php echo $page; ?>)"><?php echo $page; ?></button> |
272 | 272 | <?php } ?> |
273 | 273 | |
@@ -291,7 +291,7 @@ discard block |
||
291 | 291 | </script> |
292 | 292 | |
293 | 293 | <?php |
294 | - if($stmt6->rowCount() == 0) { echo " |
|
294 | + if ($stmt6->rowCount() == 0) { echo " |
|
295 | 295 | You currently have no sent messages in your inbox. |
296 | 296 | "; |
297 | 297 | } ?> |