the-real-sumsome /
subrocks-2012
| 1 | |||
| 2 | |||
| 3 | <?php require_once($_SERVER['DOCUMENT_ROOT'] . "/s/classes/config.inc.php"); ?> |
||
| 4 | <?php require_once($_SERVER['DOCUMENT_ROOT'] . "/s/classes/db_helper.php"); ?> |
||
| 5 | <?php require_once($_SERVER['DOCUMENT_ROOT'] . "/s/classes/time_manip.php"); ?> |
||
| 6 | <?php require_once($_SERVER['DOCUMENT_ROOT'] . "/s/classes/user_helper.php"); ?> |
||
| 7 | <?php require_once($_SERVER['DOCUMENT_ROOT'] . "/s/classes/video_helper.php"); ?> |
||
| 8 | <?php $__server->page_title = "test"; ?> |
||
| 9 | <?php $__video_h = new video_helper($__db); ?> |
||
| 10 | <?php $__user_h = new user_helper($__db); ?> |
||
|
0 ignored issues
–
show
|
|||
| 11 | <?php $__db_h = new db_helper(); ?> |
||
| 12 | <?php $__time_h = new time_helper(); ?> |
||
| 13 | <!DOCTYPE html> |
||
| 14 | <html dir="ltr"> |
||
| 15 | <head> |
||
| 16 | <title><?php echo $__server->page_title; ?> - SubRocks</title> |
||
| 17 | <meta property="og:title" content="<?php echo $__server->page_embeds->page_title; ?>" /> |
||
| 18 | <meta property="og:url" content="<?php echo $__server->page_embeds->page_url; ?>" /> |
||
| 19 | <meta property="og:description" content="<?php echo $__server->page_embeds->page_description; ?>" /> |
||
| 20 | <meta property="og:image" content="<?php echo $__server->page_embeds->page_image; ?>" /> |
||
| 21 | <script> |
||
| 22 | var yt = yt || {};yt.timing = yt.timing || {};yt.timing.tick = function(label, opt_time) {var timer = yt.timing['timer'] || {};if(opt_time) {timer[label] = opt_time;}else {timer[label] = new Date().getTime();}yt.timing['timer'] = timer;};yt.timing.info = function(label, value) {var info_args = yt.timing['info_args'] || {};info_args[label] = value;yt.timing['info_args'] = info_args;};yt.timing.info('e', "904821,919006,922401,920704,912806,913419,913546,913556,919349,919351,925109,919003,920201,912706");if (document.webkitVisibilityState == 'prerender') {document.addEventListener('webkitvisibilitychange', function() {yt.timing.tick('start');}, false);}yt.timing.tick('start');yt.timing.info('li','0');try {yt.timing['srt'] = window.gtbExternal && window.gtbExternal.pageT() ||window.external && window.external.pageT;} catch(e) {}if (window.chrome && window.chrome.csi) {yt.timing['srt'] = Math.floor(window.chrome.csi().pageT);}if (window.msPerformance && window.msPerformance.timing) {yt.timing['srt'] = window.msPerformance.timing.responseStart - window.msPerformance.timing.navigationStart;} |
||
| 23 | </script> |
||
| 24 | <link id="www-core-css" rel="stylesheet" href="/yt/cssbin/www-core-vfluMRDnk.css"> |
||
| 25 | <link rel="stylesheet" href="/yt/cssbin/www-guide-vflx0V5Tq.css"> |
||
| 26 | <link rel="stylesheet" href="/yt/cssbin/www-videos-nav-vflYGt27y.css"> |
||
| 27 | <script src="//s.ytimg.com/yt/jsbin/www-browse-vflu1nggJ.js" data-loaded="true"></script> |
||
| 28 | <script> |
||
| 29 | if (window.yt.timing) {yt.timing.tick("ct");} |
||
| 30 | </script> |
||
| 31 | </head> |
||
| 32 | <body id="" class="date-20120930 en_US ltr ytg-old-clearfix guide-feed-v2 " dir="ltr"> |
||
| 33 | <form name="logoutForm" method="POST" action="/logout"> |
||
| 34 | <input type="hidden" name="action_logout" value="1"> |
||
| 35 | </form> |
||
| 36 | <!-- begin page --> |
||
| 37 | <div id="page" class="browse-base"> |
||
| 38 | <!-- begin pagetop --> |
||
| 39 | <div id="masthead-container"><?php require($_SERVER['DOCUMENT_ROOT'] . "/s/mod/header.php"); ?></div> |
||
| 40 | <!-- end pagetop --> |
||
| 41 | <!-- begin pagemiddle --> |
||
| 42 | <div id="content-container"> |
||
| 43 | <div id="baseDiv" class="date-20120930 video-info browse-base browse-videos"> |
||
| 44 | <div id="alerts"></div> |
||
| 45 | <div id="masthead-subnav" class="yt-nav yt-nav-dark "> |
||
| 46 | <ul> |
||
| 47 | <li class=" selected"> |
||
| 48 | <span class="yt-nav-item"> |
||
| 49 | Videos |
||
| 50 | </span> |
||
| 51 | </li> |
||
| 52 | </ul> |
||
| 53 | </div> |
||
| 54 | <div class="browse-container ytg-wide ytg-box no-stage browse-bg-gradient"> |
||
| 55 | <div class="ytg-fl browse-content"> |
||
| 56 | <div id="browse-side-column" class="ytg-2col ytg-last"> |
||
| 57 | <ol class="navigation-menu"> |
||
| 58 | <li class="menu-item"> |
||
| 59 | <a class="" href="/videos"> |
||
| 60 | All Categories |
||
| 61 | </a> |
||
| 62 | </li> |
||
| 63 | <li class="menu-item"> |
||
| 64 | <a class="" href="/recommended"> |
||
| 65 | Recommended for You |
||
| 66 | </a> |
||
| 67 | </li> |
||
| 68 | <li class="menu-item"> |
||
| 69 | <a class="selected" href="/autos"> |
||
| 70 | Autos & Vehicles |
||
| 71 | </a> |
||
| 72 | </li> |
||
| 73 | <li class="menu-item"> |
||
| 74 | <a class="" href="/comedy"> |
||
| 75 | Comedy |
||
| 76 | </a> |
||
| 77 | </li> |
||
| 78 | <li class="menu-item"> |
||
| 79 | <a class="" href="/entertainment"> |
||
| 80 | Entertainment |
||
| 81 | </a> |
||
| 82 | </li> |
||
| 83 | <li class="menu-item"> |
||
| 84 | <a class="" href="/film"> |
||
| 85 | Film & Animation |
||
| 86 | </a> |
||
| 87 | </li> |
||
| 88 | <li class="menu-item"> |
||
| 89 | <a class="" href="/gaming"> |
||
| 90 | Gaming |
||
| 91 | </a> |
||
| 92 | </li> |
||
| 93 | <li class="menu-item"> |
||
| 94 | <a class="" href="/howto"> |
||
| 95 | Howto & Style |
||
| 96 | </a> |
||
| 97 | </li> |
||
| 98 | <li class="menu-item"> |
||
| 99 | <a class="" href="/activism"> |
||
| 100 | Nonprofits & Activism |
||
| 101 | </a> |
||
| 102 | </li> |
||
| 103 | <li class="menu-item"> |
||
| 104 | <a class="" href="/people"> |
||
| 105 | People & Blogs |
||
| 106 | </a> |
||
| 107 | </li> |
||
| 108 | <li class="menu-item"> |
||
| 109 | <a class="" href="/pets"> |
||
| 110 | Pets & Animals |
||
| 111 | </a> |
||
| 112 | </li> |
||
| 113 | <li class="menu-item"> |
||
| 114 | <a class="" href="/science"> |
||
| 115 | Science & Technology |
||
| 116 | </a> |
||
| 117 | </li> |
||
| 118 | <li class="menu-item"> |
||
| 119 | <a class="" href="/travel"> |
||
| 120 | Travel & Events |
||
| 121 | </a> |
||
| 122 | </li> |
||
| 123 | </ol> |
||
| 124 | </div> |
||
| 125 | <div id="browse-main-column" style="float: right;margin: 0px 0 0 14px;" class="ytg-4col"> |
||
| 126 | <div class="browse-collection has-box-ad"> |
||
| 127 | <div class="ytg-box collection-header with-icon"> |
||
| 128 | <a class="heading ytg-box" href="/recommended"> |
||
| 129 | <img class="header-icon autos" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt=""> |
||
| 130 | <div class="header-container"> |
||
| 131 | <h2>Autos & Vehicles »</h2> |
||
| 132 | </div> |
||
| 133 | </a> |
||
| 134 | <a class="yt-playall-link yt-playall-link-default yt-uix-sessionlink " style="display: none;" href="/watch_videos?more_url=&video_ids=rLHU-_OhT8g%2CZR6Cw_3q1Pg%2Cf6ZSZbNfSpk%2CCayMeza487M%2CaLxsLbl16IM%2CDkaUsBwe0fo%2CZg6iMDfOl9E%2CV-fRuoMIfpw&type=0&title=Most+Popular" data-sessionlink="ei=CPjwu5ji3bICFS4RIQod9j-M-A%3D%3D"> |
||
| 135 | <img class="small-arrow" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt=""> |
||
| 136 | Play all |
||
| 137 | </a> |
||
| 138 | </div> |
||
| 139 | <div class="browse-item-row ytg-box"> |
||
| 140 | <?php |
||
| 141 | $stmt = $__db->prepare("SELECT * FROM videos WHERE category = 'Autos & Vehicles' ORDER BY rand() LIMIT 4"); |
||
| 142 | $stmt->execute(); |
||
| 143 | while($video = $stmt->fetch(PDO::FETCH_ASSOC)) { |
||
| 144 | $video['age'] = $__time_h->time_elapsed_string($video['publish']); |
||
| 145 | $video['duration'] = $__time_h->timestamp($video['duration']); |
||
| 146 | $video['views'] = $__video_h->fetch_video_views($video['rid']); |
||
| 147 | $video['author'] = htmlspecialchars($video['author']); |
||
| 148 | $video['title'] = htmlspecialchars($video['title']); |
||
| 149 | $video['description'] = $__video_h->shorten_description($video['description'], 50); |
||
| 150 | ?> |
||
| 151 | <div class="browse-item yt-tile-default "> |
||
| 152 | <a href="/watch?v=<?php echo $video['rid']; ?>" class="ux-thumb-wrap yt-uix-sessionlink yt-uix-contextlink contains-addto " data-sessionlink="ei=CPjwu5ji3bICFS4RIQod9j-M-A%3D%3D&feature=b-mv"><span class="video-thumb ux-thumb yt-thumb-default-194 "><span class="yt-thumb-clip"><span class="yt-thumb-clip-inner"><img src="http://s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt="Thumbnail" data-thumb="/dynamic/thumbs/<?php echo $video['thumbnail']; ?>" width="194"><span class="vertical-align"></span></span></span></span><span class="video-time"><?php echo $video['duration']; ?></span> |
||
| 153 | <button onclick=";return false;" title="Watch Later" type="button" class="addto-button video-actions addto-watch-later-button-sign-in yt-uix-button yt-uix-button-default yt-uix-button-short yt-uix-tooltip" data-button-menu-id="shared-addto-watch-later-login" data-video-ids="rLHU-_OhT8g" role="button"><span class="yt-uix-button-content"> <img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt="Watch Later"> |
||
| 154 | </span><img class="yt-uix-button-arrow" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt=""></button> |
||
| 155 | </a> |
||
| 156 | <div class="browse-item-content"> |
||
| 157 | <h3 dir="ltr"> |
||
| 158 | <a href="/watch?v=<?php echo $video['rid']; ?>" title="<?php echo $video['title']; ?>" class="yt-uix-sessionlink " data-sessionlink="ei=CPjwu5ji3bICFS4RIQod9j-M-A%3D%3D&feature=b-mv"> |
||
| 159 | <?php echo $video['title']; ?> |
||
| 160 | </a> |
||
| 161 | </h3> |
||
| 162 | <div class="browse-item-info"> |
||
| 163 | <div class="metadata-line"> |
||
| 164 | <span class="viewcount"><?php echo $video['views']; ?> views</span> |
||
| 165 | <span class="metadata-separator">|</span> |
||
| 166 | <span class="video-date-added"><?php echo $video['age']; ?></span> |
||
| 167 | </div> |
||
| 168 | <a href="/user/<?php echo $video['author']; ?>" class="yt-uix-sessionlink yt-user-name " data-sessionlink="ei=CPjwu5ji3bICFS4RIQod9j-M-A%3D%3D" dir="ltr"><?php echo $video['author']; ?></a> |
||
| 169 | </div> |
||
| 170 | </div> |
||
| 171 | </div> |
||
| 172 | <?php } ?> |
||
| 173 | </div> |
||
| 174 | <div class="browse-item-row ytg-box"> |
||
| 175 | <?php |
||
| 176 | $stmt = $__db->prepare("SELECT * FROM videos WHERE category = 'Autos & Vehicles' ORDER BY rand() LIMIT 4"); |
||
| 177 | $stmt->execute(); |
||
| 178 | while($video = $stmt->fetch(PDO::FETCH_ASSOC)) { |
||
| 179 | $video['age'] = $__time_h->time_elapsed_string($video['publish']); |
||
| 180 | $video['duration'] = $__time_h->timestamp($video['duration']); |
||
| 181 | $video['views'] = $__video_h->fetch_video_views($video['rid']); |
||
| 182 | $video['author'] = htmlspecialchars($video['author']); |
||
| 183 | $video['title'] = htmlspecialchars($video['title']); |
||
| 184 | $video['description'] = $__video_h->shorten_description($video['description'], 50); |
||
| 185 | ?> |
||
| 186 | <div class="browse-item yt-tile-default "> |
||
| 187 | <a href="/watch?v=<?php echo $video['rid']; ?>" class="ux-thumb-wrap yt-uix-sessionlink yt-uix-contextlink contains-addto " data-sessionlink="ei=CPjwu5ji3bICFS4RIQod9j-M-A%3D%3D&feature=b-mv"><span class="video-thumb ux-thumb yt-thumb-default-194 "><span class="yt-thumb-clip"><span class="yt-thumb-clip-inner"><img src="http://s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt="Thumbnail" data-thumb="/dynamic/thumbs/<?php echo $video['thumbnail']; ?>" width="194"><span class="vertical-align"></span></span></span></span><span class="video-time"><?php echo $video['duration']; ?></span> |
||
| 188 | <button onclick=";return false;" title="Watch Later" type="button" class="addto-button video-actions addto-watch-later-button-sign-in yt-uix-button yt-uix-button-default yt-uix-button-short yt-uix-tooltip" data-button-menu-id="shared-addto-watch-later-login" data-video-ids="rLHU-_OhT8g" role="button"><span class="yt-uix-button-content"> <img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt="Watch Later"> |
||
| 189 | </span><img class="yt-uix-button-arrow" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt=""></button> |
||
| 190 | </a> |
||
| 191 | <div class="browse-item-content"> |
||
| 192 | <h3 dir="ltr"> |
||
| 193 | <a href="/watch?v=<?php echo $video['rid']; ?>" title="<?php echo $video['title']; ?>" class="yt-uix-sessionlink " data-sessionlink="ei=CPjwu5ji3bICFS4RIQod9j-M-A%3D%3D&feature=b-mv"> |
||
| 194 | <?php echo $video['title']; ?> |
||
| 195 | </a> |
||
| 196 | </h3> |
||
| 197 | <div class="browse-item-info"> |
||
| 198 | <div class="metadata-line"> |
||
| 199 | <span class="viewcount"><?php echo $video['views']; ?> views</span> |
||
| 200 | <span class="metadata-separator">|</span> |
||
| 201 | <span class="video-date-added"><?php echo $video['age']; ?></span> |
||
| 202 | </div> |
||
| 203 | <a href="/user/<?php echo $video['author']; ?>" class="yt-uix-sessionlink yt-user-name " data-sessionlink="ei=CPjwu5ji3bICFS4RIQod9j-M-A%3D%3D" dir="ltr"><?php echo $video['author']; ?></a> |
||
| 204 | </div> |
||
| 205 | </div> |
||
| 206 | </div> |
||
| 207 | <?php } ?> |
||
| 208 | </div> |
||
| 209 | <div class="browse-item-row ytg-box"> |
||
| 210 | <?php |
||
| 211 | $stmt = $__db->prepare("SELECT * FROM videos WHERE category = 'Autos & Vehicles' ORDER BY rand() LIMIT 4"); |
||
| 212 | $stmt->execute(); |
||
| 213 | while($video = $stmt->fetch(PDO::FETCH_ASSOC)) { |
||
| 214 | $video['age'] = $__time_h->time_elapsed_string($video['publish']); |
||
| 215 | $video['duration'] = $__time_h->timestamp($video['duration']); |
||
| 216 | $video['views'] = $__video_h->fetch_video_views($video['rid']); |
||
| 217 | $video['author'] = htmlspecialchars($video['author']); |
||
| 218 | $video['title'] = htmlspecialchars($video['title']); |
||
| 219 | $video['description'] = $__video_h->shorten_description($video['description'], 50); |
||
| 220 | ?> |
||
| 221 | <div class="browse-item yt-tile-default "> |
||
| 222 | <a href="/watch?v=<?php echo $video['rid']; ?>" class="ux-thumb-wrap yt-uix-sessionlink yt-uix-contextlink contains-addto " data-sessionlink="ei=CPjwu5ji3bICFS4RIQod9j-M-A%3D%3D&feature=b-mv"><span class="video-thumb ux-thumb yt-thumb-default-194 "><span class="yt-thumb-clip"><span class="yt-thumb-clip-inner"><img src="http://s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt="Thumbnail" data-thumb="/dynamic/thumbs/<?php echo $video['thumbnail']; ?>" width="194"><span class="vertical-align"></span></span></span></span><span class="video-time"><?php echo $video['duration']; ?></span> |
||
| 223 | <button onclick=";return false;" title="Watch Later" type="button" class="addto-button video-actions addto-watch-later-button-sign-in yt-uix-button yt-uix-button-default yt-uix-button-short yt-uix-tooltip" data-button-menu-id="shared-addto-watch-later-login" data-video-ids="rLHU-_OhT8g" role="button"><span class="yt-uix-button-content"> <img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt="Watch Later"> |
||
| 224 | </span><img class="yt-uix-button-arrow" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt=""></button> |
||
| 225 | </a> |
||
| 226 | <div class="browse-item-content"> |
||
| 227 | <h3 dir="ltr"> |
||
| 228 | <a href="/watch?v=<?php echo $video['rid']; ?>" title="<?php echo $video['title']; ?>" class="yt-uix-sessionlink " data-sessionlink="ei=CPjwu5ji3bICFS4RIQod9j-M-A%3D%3D&feature=b-mv"> |
||
| 229 | <?php echo $video['title']; ?> |
||
| 230 | </a> |
||
| 231 | </h3> |
||
| 232 | <div class="browse-item-info"> |
||
| 233 | <div class="metadata-line"> |
||
| 234 | <span class="viewcount"><?php echo $video['views']; ?> views</span> |
||
| 235 | <span class="metadata-separator">|</span> |
||
| 236 | <span class="video-date-added"><?php echo $video['age']; ?></span> |
||
| 237 | </div> |
||
| 238 | <a href="/user/<?php echo $video['author']; ?>" class="yt-uix-sessionlink yt-user-name " data-sessionlink="ei=CPjwu5ji3bICFS4RIQod9j-M-A%3D%3D" dir="ltr"><?php echo $video['author']; ?></a> |
||
| 239 | </div> |
||
| 240 | </div> |
||
| 241 | </div> |
||
| 242 | <?php } ?> |
||
| 243 | </div> |
||
| 244 | <div class="browse-item-row ytg-box"> |
||
| 245 | <?php |
||
| 246 | $stmt = $__db->prepare("SELECT * FROM videos WHERE category = 'Autos & Vehicles' ORDER BY rand() LIMIT 4"); |
||
| 247 | $stmt->execute(); |
||
| 248 | while($video = $stmt->fetch(PDO::FETCH_ASSOC)) { |
||
| 249 | $video['age'] = $__time_h->time_elapsed_string($video['publish']); |
||
| 250 | $video['duration'] = $__time_h->timestamp($video['duration']); |
||
| 251 | $video['views'] = $__video_h->fetch_video_views($video['rid']); |
||
| 252 | $video['author'] = htmlspecialchars($video['author']); |
||
| 253 | $video['title'] = htmlspecialchars($video['title']); |
||
| 254 | $video['description'] = $__video_h->shorten_description($video['description'], 50); |
||
| 255 | ?> |
||
| 256 | <div class="browse-item yt-tile-default "> |
||
| 257 | <a href="/watch?v=<?php echo $video['rid']; ?>" class="ux-thumb-wrap yt-uix-sessionlink yt-uix-contextlink contains-addto " data-sessionlink="ei=CPjwu5ji3bICFS4RIQod9j-M-A%3D%3D&feature=b-mv"><span class="video-thumb ux-thumb yt-thumb-default-194 "><span class="yt-thumb-clip"><span class="yt-thumb-clip-inner"><img src="http://s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt="Thumbnail" data-thumb="/dynamic/thumbs/<?php echo $video['thumbnail']; ?>" width="194"><span class="vertical-align"></span></span></span></span><span class="video-time"><?php echo $video['duration']; ?></span> |
||
| 258 | <button onclick=";return false;" title="Watch Later" type="button" class="addto-button video-actions addto-watch-later-button-sign-in yt-uix-button yt-uix-button-default yt-uix-button-short yt-uix-tooltip" data-button-menu-id="shared-addto-watch-later-login" data-video-ids="rLHU-_OhT8g" role="button"><span class="yt-uix-button-content"> <img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt="Watch Later"> |
||
| 259 | </span><img class="yt-uix-button-arrow" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt=""></button> |
||
| 260 | </a> |
||
| 261 | <div class="browse-item-content"> |
||
| 262 | <h3 dir="ltr"> |
||
| 263 | <a href="/watch?v=<?php echo $video['rid']; ?>" title="<?php echo $video['title']; ?>" class="yt-uix-sessionlink " data-sessionlink="ei=CPjwu5ji3bICFS4RIQod9j-M-A%3D%3D&feature=b-mv"> |
||
| 264 | <?php echo $video['title']; ?> |
||
| 265 | </a> |
||
| 266 | </h3> |
||
| 267 | <div class="browse-item-info"> |
||
| 268 | <div class="metadata-line"> |
||
| 269 | <span class="viewcount"><?php echo $video['views']; ?> views</span> |
||
| 270 | <span class="metadata-separator">|</span> |
||
| 271 | <span class="video-date-added"><?php echo $video['age']; ?></span> |
||
| 272 | </div> |
||
| 273 | <a href="/user/<?php echo $video['author']; ?>" class="yt-uix-sessionlink yt-user-name " data-sessionlink="ei=CPjwu5ji3bICFS4RIQod9j-M-A%3D%3D" dir="ltr"><?php echo $video['author']; ?></a> |
||
| 274 | </div> |
||
| 275 | </div> |
||
| 276 | </div> |
||
| 277 | <?php } ?> |
||
| 278 | </div> |
||
| 279 | <div class="browse-item-row ytg-box"> |
||
| 280 | <?php |
||
| 281 | $stmt = $__db->prepare("SELECT * FROM videos WHERE category = 'Autos & Vehicles' ORDER BY rand() LIMIT 4"); |
||
| 282 | $stmt->execute(); |
||
| 283 | while($video = $stmt->fetch(PDO::FETCH_ASSOC)) { |
||
| 284 | $video['age'] = $__time_h->time_elapsed_string($video['publish']); |
||
| 285 | $video['duration'] = $__time_h->timestamp($video['duration']); |
||
| 286 | $video['views'] = $__video_h->fetch_video_views($video['rid']); |
||
| 287 | $video['author'] = htmlspecialchars($video['author']); |
||
| 288 | $video['title'] = htmlspecialchars($video['title']); |
||
| 289 | $video['description'] = $__video_h->shorten_description($video['description'], 50); |
||
| 290 | ?> |
||
| 291 | <div class="browse-item yt-tile-default "> |
||
| 292 | <a href="/watch?v=<?php echo $video['rid']; ?>" class="ux-thumb-wrap yt-uix-sessionlink yt-uix-contextlink contains-addto " data-sessionlink="ei=CPjwu5ji3bICFS4RIQod9j-M-A%3D%3D&feature=b-mv"><span class="video-thumb ux-thumb yt-thumb-default-194 "><span class="yt-thumb-clip"><span class="yt-thumb-clip-inner"><img src="http://s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt="Thumbnail" data-thumb="/dynamic/thumbs/<?php echo $video['thumbnail']; ?>" width="194"><span class="vertical-align"></span></span></span></span><span class="video-time"><?php echo $video['duration']; ?></span> |
||
| 293 | <button onclick=";return false;" title="Watch Later" type="button" class="addto-button video-actions addto-watch-later-button-sign-in yt-uix-button yt-uix-button-default yt-uix-button-short yt-uix-tooltip" data-button-menu-id="shared-addto-watch-later-login" data-video-ids="rLHU-_OhT8g" role="button"><span class="yt-uix-button-content"> <img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt="Watch Later"> |
||
| 294 | </span><img class="yt-uix-button-arrow" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt=""></button> |
||
| 295 | </a> |
||
| 296 | <div class="browse-item-content"> |
||
| 297 | <h3 dir="ltr"> |
||
| 298 | <a href="/watch?v=<?php echo $video['rid']; ?>" title="<?php echo $video['title']; ?>" class="yt-uix-sessionlink " data-sessionlink="ei=CPjwu5ji3bICFS4RIQod9j-M-A%3D%3D&feature=b-mv"> |
||
| 299 | <?php echo $video['title']; ?> |
||
| 300 | </a> |
||
| 301 | </h3> |
||
| 302 | <div class="browse-item-info"> |
||
| 303 | <div class="metadata-line"> |
||
| 304 | <span class="viewcount"><?php echo $video['views']; ?> views</span> |
||
| 305 | <span class="metadata-separator">|</span> |
||
| 306 | <span class="video-date-added"><?php echo $video['age']; ?></span> |
||
| 307 | </div> |
||
| 308 | <a href="/user/<?php echo $video['author']; ?>" class="yt-uix-sessionlink yt-user-name " data-sessionlink="ei=CPjwu5ji3bICFS4RIQod9j-M-A%3D%3D" dir="ltr"><?php echo $video['author']; ?></a> |
||
| 309 | </div> |
||
| 310 | </div> |
||
| 311 | </div> |
||
| 312 | <?php } ?> |
||
| 313 | </div> |
||
| 314 | </div> |
||
| 315 | </div> |
||
| 316 | </div> |
||
| 317 | </div> |
||
| 318 | <div class="clear"></div> |
||
| 319 | </div> |
||
| 320 | </div> |
||
| 321 | <!-- end pagemiddle --> |
||
| 322 | <!-- begin pagebottom --> |
||
| 323 | <div id="footer-container"><?php require($_SERVER['DOCUMENT_ROOT'] . "/s/mod/footer.php"); ?></div> |
||
| 324 | <div id="playlist-bar" class="hid passive editable" data-video-url="/watch?v=&feature=BFql&playnext=1&list=QL" data-list-id="" data-list-type="QL"> |
||
| 325 | <div id="playlist-bar-bar-container"> |
||
| 326 | <div id="playlist-bar-bar"> |
||
| 327 | <div class="yt-alert yt-alert-naked yt-alert-success hid " id="playlist-bar-notifications"> |
||
| 328 | <div class="yt-alert-icon"> |
||
| 329 | <img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" class="icon master-sprite" alt="Alert icon"> |
||
| 330 | </div> |
||
| 331 | <div class="yt-alert-content" role="alert"></div> |
||
| 332 | </div> |
||
| 333 | <span id="playlist-bar-info"><span class="playlist-bar-active playlist-bar-group"><button onclick=";return false;" title="Previous video" type="button" id="playlist-bar-prev-button" class="yt-uix-tooltip yt-uix-tooltip-masked yt-uix-button yt-uix-button-default yt-uix-tooltip yt-uix-button-empty" role="button"><span class="yt-uix-button-icon-wrapper"><img class="yt-uix-button-icon yt-uix-button-icon-playlist-bar-prev" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt="Previous video"><span class="yt-valign-trick"></span></span></button><span class="playlist-bar-count"><span class="playing-index">0</span> / <span class="item-count">0</span></span><button type="button" class="yt-uix-tooltip yt-uix-tooltip-masked yt-uix-button yt-uix-button-default yt-uix-button-empty" onclick=";return false;" id="playlist-bar-next-button" role="button"><span class="yt-uix-button-icon-wrapper"><img class="yt-uix-button-icon yt-uix-button-icon-playlist-bar-next" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt=""><span class="yt-valign-trick"></span></span></button></span><span class="playlist-bar-active playlist-bar-group"><button type="button" class="yt-uix-tooltip yt-uix-tooltip-masked yt-uix-button yt-uix-button-default yt-uix-button-empty" onclick=";return false;" id="playlist-bar-autoplay-button" data-button-toggle="true" role="button"><span class="yt-uix-button-icon-wrapper"><img class="yt-uix-button-icon yt-uix-button-icon-playlist-bar-autoplay" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt=""><span class="yt-valign-trick"></span></span></button><button type="button" class="yt-uix-tooltip yt-uix-tooltip-masked yt-uix-button yt-uix-button-default yt-uix-button-empty" onclick=";return false;" id="playlist-bar-shuffle-button" data-button-toggle="true" role="button"><span class="yt-uix-button-icon-wrapper"><img class="yt-uix-button-icon yt-uix-button-icon-playlist-bar-shuffle" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt=""><span class="yt-valign-trick"></span></span></button></span><span class="playlist-bar-passive playlist-bar-group"><button onclick=";return false;" title="Play videos" type="button" id="playlist-bar-play-button" class="yt-uix-tooltip yt-uix-tooltip-masked yt-uix-button yt-uix-button-default yt-uix-tooltip yt-uix-button-empty" role="button"><span class="yt-uix-button-icon-wrapper"><img class="yt-uix-button-icon yt-uix-button-icon-playlist-bar-play" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt="Play videos"><span class="yt-valign-trick"></span></span></button><span class="playlist-bar-count"><span class="item-count">0</span></span></span><span id="playlist-bar-title" class="yt-uix-button-group"><span class="playlist-title">Unsaved Playlist</span></span></span> |
||
| 334 | <a id="playlist-bar-lists-back" href="#"> |
||
| 335 | Return to active list |
||
| 336 | </a> |
||
| 337 | <span id="playlist-bar-controls"><span class="playlist-bar-group"><button type="button" class="yt-uix-tooltip yt-uix-tooltip-masked yt-uix-button yt-uix-button-text yt-uix-button-empty" onclick=";return false;" id="playlist-bar-toggle-button" role="button"><span class="yt-uix-button-icon-wrapper"><img class="yt-uix-button-icon yt-uix-button-icon-playlist-bar-toggle" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt=""><span class="yt-valign-trick"></span></span></button></span><span class="playlist-bar-group"><button type="button" class="yt-uix-tooltip yt-uix-tooltip-masked yt-uix-button-reverse flip yt-uix-button yt-uix-button-text" onclick=";return false;" data-button-menu-id="playlist-bar-options-menu" data-button-has-sibling-menu="true" role="button"><span class="yt-uix-button-content">Options </span><img class="yt-uix-button-arrow" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt=""></button></span></span> |
||
| 338 | </div> |
||
| 339 | </div> |
||
| 340 | <div id="playlist-bar-tray-container"> |
||
| 341 | <div id="playlist-bar-tray" class="yt-uix-slider yt-uix-slider-fluid"> |
||
| 342 | <button class="yt-uix-button playlist-bar-tray-button yt-uix-button-default yt-uix-slider-prev" onclick="return false;"><img class="yt-uix-slider-prev-arrow" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt="Previous video"></button><button class="yt-uix-button playlist-bar-tray-button yt-uix-button-default yt-uix-slider-next" onclick="return false;"><img class="yt-uix-slider-next-arrow" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt="Next video"></button> |
||
| 343 | <div class="yt-uix-slider-body"> |
||
| 344 | <div id="playlist-bar-tray-content" class="yt-uix-slider-slide"> |
||
| 345 | <ol class="video-list"></ol> |
||
| 346 | <ol id="playlist-bar-help"> |
||
| 347 | <li class="empty playlist-bar-help-message">Your queue is empty. Add videos to your queue using this button: <img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" class="addto-button-help"><br> or <a href="https://accounts.google.com/ServiceLogin?passive=true&continue=http%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26feature%3Dplaylist%26nomobiletemp%3D1%26hl%3Den_US%26next%3D%252Fvideos%253Ffeature%253Dmh&uilel=3&hl=en_US&service=youtube">sign in</a> to load a different list.</li> |
||
| 348 | </ol> |
||
| 349 | </div> |
||
| 350 | <div class="yt-uix-slider-shade-left"></div> |
||
| 351 | <div class="yt-uix-slider-shade-right"></div> |
||
| 352 | </div> |
||
| 353 | </div> |
||
| 354 | <div id="playlist-bar-save"></div> |
||
| 355 | <div id="playlist-bar-lists" class="dark-lolz"></div> |
||
| 356 | <div id="playlist-bar-loading"><img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt="Loading..."><span id="playlist-bar-loading-message">Loading...</span><span id="playlist-bar-saving-message" class="hid">Saving...</span></div> |
||
| 357 | <div id="playlist-bar-template" style="display: none;" data-video-thumb-url="//i4.ytimg.com/vi/__video_encrypted_id__/default.jpg"> |
||
| 358 | <!--<li class="playlist-bar-item yt-uix-slider-slide-unit __classes__" data-video-id="__video_encrypted_id__"><a href="__video_url__" title="__video_title__" class="yt-uix-sessionlink" data-sessionlink="ei=CPjwu5ji3bICFS4RIQod9j-M-A%3D%3D&feature=BFa"><span class="video-thumb ux-thumb yt-thumb-default-106 "><span class="yt-thumb-clip"><span class="yt-thumb-clip-inner"><img src="http://s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt="__video_title__" data-thumb-manual="true" data-thumb="__video_thumb_url__" width="106" ><span class="vertical-align"></span></span></span></span><span class="screen"></span><span class="count"><strong>__list_position__</strong></span><span class="play"><img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif"></span><span class="yt-uix-button yt-uix-button-default delete"><img class="yt-uix-button-icon-playlist-bar-delete" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt="Delete"></span><span class="now-playing">Now playing</span><span dir="ltr" class="title"><span>__video_title__ <span class="uploader">by __video_display_name__</span> |
||
| 359 | </span></span><span class="dragger"></span></a></li>--> |
||
| 360 | </div> |
||
| 361 | <div id="playlist-bar-next-up-template" style="display: none;"> |
||
| 362 | <!--<div class="playlist-bar-next-thumb"><span class="video-thumb ux-thumb yt-thumb-default-74 "><span class="yt-thumb-clip"><span class="yt-thumb-clip-inner"><img src="//i4.ytimg.com/vi/__video_encrypted_id__/default.jpg" alt="Thumbnail" width="74" ><span class="vertical-align"></span></span></span></span></div>--> |
||
| 363 | </div> |
||
| 364 | </div> |
||
| 365 | <div id="playlist-bar-options-menu" class="hid"> |
||
| 366 | <div id="playlist-bar-extras-menu"> |
||
| 367 | <ul> |
||
| 368 | <li><span class="yt-uix-button-menu-item" data-action="clear"> |
||
| 369 | Clear all videos from this list |
||
| 370 | </span> |
||
| 371 | </li> |
||
| 372 | </ul> |
||
| 373 | </div> |
||
| 374 | <ul> |
||
| 375 | <li><span class="yt-uix-button-menu-item" onclick="window.location.href='//support.google.com/youtube/bin/answer.py?answer=146749&hl=en-US'">Learn more</span></li> |
||
| 376 | </ul> |
||
| 377 | </div> |
||
| 378 | </div> |
||
| 379 | <div id="shared-addto-watch-later-login" class="hid"> |
||
| 380 | <a href="https://accounts.google.com/ServiceLogin?passive=true&continue=http%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26feature%3Dplaylist%26nomobiletemp%3D1%26hl%3Den_US%26next%3D%252Fvideos%253Ffeature%253Dmh&uilel=3&hl=en_US&service=youtube" class="sign-in-link">Sign in</a> to add this to a playlist |
||
| 381 | </div> |
||
| 382 | <div id="shared-addto-menu" style="display: none;" class="hid sign-in"> |
||
| 383 | <div class="addto-menu"> |
||
| 384 | <div id="addto-list-panel" class="menu-panel active-panel"> |
||
| 385 | <span class="yt-uix-button-menu-item yt-uix-tooltip sign-in" data-possible-tooltip="" data-tooltip-show-delay="750"><a href="https://accounts.google.com/ServiceLogin?passive=true&continue=http%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26feature%3Dplaylist%26nomobiletemp%3D1%26hl%3Den_US%26next%3D%252Fvideos%253Ffeature%253Dmh&uilel=3&hl=en_US&service=youtube" class="sign-in-link">Sign in</a> to add this to a playlist |
||
| 386 | </span> |
||
| 387 | </div> |
||
| 388 | <div id="addto-list-saved-panel" class="menu-panel"> |
||
| 389 | <div class="panel-content"> |
||
| 390 | <div class="yt-alert yt-alert-naked yt-alert-success "> |
||
| 391 | <div class="yt-alert-icon"> |
||
| 392 | <img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" class="icon master-sprite" alt="Alert icon"> |
||
| 393 | </div> |
||
| 394 | <div class="yt-alert-content" role="alert"> |
||
| 395 | <span class="yt-alert-vertical-trick"></span> |
||
| 396 | <div class="yt-alert-message"> |
||
| 397 | <span class="message">Added to <span class="addto-title yt-uix-tooltip yt-uix-tooltip-reverse" title="More information about this playlist" data-tooltip-show-delay="750"></span></span> |
||
| 398 | </div> |
||
| 399 | </div> |
||
| 400 | </div> |
||
| 401 | </div> |
||
| 402 | </div> |
||
| 403 | <div id="addto-list-error-panel" class="menu-panel"> |
||
| 404 | <div class="panel-content"> |
||
| 405 | <img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif"> |
||
| 406 | <span class="error-details"></span> |
||
| 407 | <a class="show-menu-link">Back to list</a> |
||
| 408 | </div> |
||
| 409 | </div> |
||
| 410 | <div id="addto-note-input-panel" class="menu-panel"> |
||
| 411 | <div class="panel-content"> |
||
| 412 | <div class="yt-alert yt-alert-naked yt-alert-success "> |
||
| 413 | <div class="yt-alert-icon"> |
||
| 414 | <img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" class="icon master-sprite" alt="Alert icon"> |
||
| 415 | </div> |
||
| 416 | <div class="yt-alert-content" role="alert"> |
||
| 417 | <span class="yt-alert-vertical-trick"></span> |
||
| 418 | <div class="yt-alert-message"> |
||
| 419 | <span class="message">Added to playlist:</span> |
||
| 420 | <span class="addto-title yt-uix-tooltip" title="More information about this playlist" data-tooltip-show-delay="750"></span> |
||
| 421 | </div> |
||
| 422 | </div> |
||
| 423 | </div> |
||
| 424 | </div> |
||
| 425 | <div class="yt-uix-char-counter" data-char-limit="150"> |
||
| 426 | <div class="addto-note-box addto-text-box"><textarea id="addto-note" class="addto-note yt-uix-char-counter-input" maxlength="150"></textarea><label for="addto-note" class="addto-note-label">Add an optional note</label></div> |
||
| 427 | <span class="yt-uix-char-counter-remaining">150</span> |
||
| 428 | </div> |
||
| 429 | <button disabled="disabled" type="button" class="playlist-save-note yt-uix-button yt-uix-button-default" onclick=";return false;" role="button"><span class="yt-uix-button-content">Add note </span></button> |
||
| 430 | </div> |
||
| 431 | <div id="addto-note-saving-panel" class="menu-panel"> |
||
| 432 | <div class="panel-content loading-content"> |
||
| 433 | <img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif"> |
||
| 434 | <span>Saving note...</span> |
||
| 435 | </div> |
||
| 436 | </div> |
||
| 437 | <div id="addto-note-saved-panel" class="menu-panel"> |
||
| 438 | <div class="panel-content"> |
||
| 439 | <img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif"> |
||
| 440 | <span class="message">Note added to:</span> |
||
| 441 | </div> |
||
| 442 | </div> |
||
| 443 | <div id="addto-note-error-panel" class="menu-panel"> |
||
| 444 | <div class="panel-content"> |
||
| 445 | <img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif"> |
||
| 446 | <span class="message">Error adding note:</span> |
||
| 447 | <ul class="error-details"></ul> |
||
| 448 | <a class="add-note-link">Click to add a new note</a> |
||
| 449 | </div> |
||
| 450 | </div> |
||
| 451 | <div class="close-note hid"> |
||
| 452 | <img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" class="close-button"> |
||
| 453 | </div> |
||
| 454 | </div> |
||
| 455 | </div> |
||
| 456 | <!-- end pagebottom --> |
||
| 457 | </div> |
||
| 458 | <!-- end page --> |
||
| 459 | <script>yt.www.thumbnaildelayload.init(0);</script> |
||
| 460 | <script> |
||
| 461 | yt.setMsg({ |
||
| 462 | 'LIST_CLEARED': "List cleared", |
||
| 463 | 'PLAYLIST_VIDEO_DELETED': "Video deleted.", |
||
| 464 | 'ERROR_OCCURRED': "Sorry, an error occurred.", |
||
| 465 | 'NEXT_VIDEO_TOOLTIP': "Next video:\u003cbr\u003e \u0026#8220;${next_video_title}\u0026#8221;", |
||
| 466 | 'NEXT_VIDEO_NOTHUMB_TOOLTIP': "Next video", |
||
| 467 | 'SHOW_PLAYLIST_TOOLTIP': "Show playlist", |
||
| 468 | 'HIDE_PLAYLIST_TOOLTIP': "Hide playlist", |
||
| 469 | 'AUTOPLAY_ON_TOOLTIP': "Turn autoplay off", |
||
| 470 | 'AUTOPLAY_OFF_TOOLTIP': "Turn autoplay on", |
||
| 471 | 'SHUFFLE_ON_TOOLTIP': "Turn shuffle off", |
||
| 472 | 'SHUFFLE_OFF_TOOLTIP': "Turn shuffle on", |
||
| 473 | 'PLAYLIST_BAR_PLAYLIST_SAVED': "Playlist saved!", |
||
| 474 | 'PLAYLIST_BAR_ADDED_TO_FAVORITES': "Added to favorites", |
||
| 475 | 'PLAYLIST_BAR_ADDED_TO_PLAYLIST': "Added to playlist", |
||
| 476 | 'PLAYLIST_BAR_ADDED_TO_QUEUE': "Added to queue", |
||
| 477 | 'AUTOPLAY_WARNING1': "Next video starts in 1 second...", |
||
| 478 | 'AUTOPLAY_WARNING2': "Next video starts in 2 seconds...", |
||
| 479 | 'AUTOPLAY_WARNING3': "Next video starts in 3 seconds...", |
||
| 480 | 'AUTOPLAY_WARNING4': "Next video starts in 4 seconds...", |
||
| 481 | 'AUTOPLAY_WARNING5': "Next video starts in 5 seconds...", |
||
| 482 | 'UNDO_LINK': "Undo" }); |
||
| 483 | |||
| 484 | |||
| 485 | yt.setConfig({ |
||
| 486 | 'DRAGDROP_BINARY_URL': "\/\/s.ytimg.com\/yt\/jsbin\/www-dragdrop-vflWKaUyg.js", |
||
| 487 | 'PLAYLIST_BAR_PLAYING_INDEX': -1 }); |
||
| 488 | |||
| 489 | yt.setAjaxToken('addto_ajax_logged_out', "rmWO31ZGdmAjKQm23MH57ZskA6Z8MTM0OTExMDQ0NkAxMzQ5MDI0MDQ2"); |
||
| 490 | |||
| 491 | yt.pubsub.subscribe('init', yt.www.lists.init); |
||
| 492 | |||
| 493 | |||
| 494 | |||
| 495 | |||
| 496 | |||
| 497 | |||
| 498 | |||
| 499 | |||
| 500 | |||
| 501 | yt.setConfig({'SBOX_JS_URL': "\/\/s.ytimg.com\/yt\/jsbin\/www-searchbox-vflsHyn9f.js",'SBOX_SETTINGS': {"CLOSE_ICON_URL": "\/\/s.ytimg.com\/yt\/img\/icons\/close-vflrEJzIW.png", "SHOW_CHIP": false, "PSUGGEST_TOKEN": null, "REQUEST_DOMAIN": "us", "EXPERIMENT_ID": -1, "SESSION_INDEX": null, "HAS_ON_SCREEN_KEYBOARD": false, "CHIP_PARAMETERS": {}, "REQUEST_LANGUAGE": "en"},'SBOX_LABELS': {"SUGGESTION_DISMISS_LABEL": "Dismiss", "SUGGESTION_DISMISSED_LABEL": "Suggestion dismissed"}}); |
||
| 502 | |||
| 503 | |||
| 504 | |||
| 505 | |||
| 506 | |||
| 507 | </script> |
||
| 508 | <script> |
||
| 509 | yt.setMsg({ |
||
| 510 | 'ADDTO_WATCH_LATER_ADDED': "Added", |
||
| 511 | 'ADDTO_WATCH_LATER_ERROR': "Error" |
||
| 512 | }); |
||
| 513 | </script> |
||
| 514 | </body> |
||
| 515 | </html> |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths