|
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 require_once($_SERVER['DOCUMENT_ROOT'] . "/s/classes/user_update.php"); ?> |
|
9
|
|
|
<?php require_once($_SERVER['DOCUMENT_ROOT'] . "/s/classes/user_insert.php"); ?> |
|
10
|
|
|
<?php $__server->page_title = "test"; ?> |
|
11
|
|
|
<?php $__video_h = new video_helper($__db); ?> |
|
12
|
|
|
<?php $__user_h = new user_helper($__db); ?> |
|
|
|
|
|
|
13
|
|
|
<?php $__user_u = new user_update($__db); ?> |
|
14
|
|
|
<?php $__user_i = new user_insert($__db); ?> |
|
15
|
|
|
<?php $__db_h = new db_helper(); ?> |
|
16
|
|
|
<?php $__time_h = new time_helper(); ?> |
|
17
|
|
|
<?php |
|
18
|
|
|
if(isset($_SESSION['siteusername'])) |
|
19
|
|
|
$_user_hp = $__user_h->fetch_user_username($_SESSION['siteusername']); |
|
20
|
|
|
|
|
21
|
|
|
if(!$__user_h->user_exists($_GET['n'])) |
|
22
|
|
|
header("Location: /?userdoesntexist"); |
|
23
|
|
|
|
|
24
|
|
|
$_user = $__user_h->fetch_user_username($_GET['n']); |
|
25
|
|
|
|
|
26
|
|
|
function clean($string) { |
|
27
|
|
|
$string = str_replace(' ', '-', $string); // Replaces all spaces with hyphens. |
|
28
|
|
|
|
|
29
|
|
|
return preg_replace('/[^A-Za-z0-9\-]/', '', $string); // Removes special chars. |
|
30
|
|
|
} |
|
31
|
|
|
|
|
32
|
|
|
function addhttp($url) { |
|
33
|
|
|
if (!preg_match("~^(?:f|ht)tps?://~i", $url)) { |
|
34
|
|
|
$url = "http://" . $url; |
|
35
|
|
|
} |
|
36
|
|
|
return $url; |
|
37
|
|
|
} |
|
38
|
|
|
|
|
39
|
|
|
function check_valid_colorhex($colorCode) { |
|
40
|
|
|
// If user accidentally passed along the # sign, strip it off |
|
41
|
|
|
$colorCode = ltrim($colorCode, '#'); |
|
42
|
|
|
|
|
43
|
|
|
if ( |
|
44
|
|
|
ctype_xdigit($colorCode) && |
|
45
|
|
|
(strlen($colorCode) == 6 || strlen($colorCode) == 3)) |
|
46
|
|
|
return true; |
|
47
|
|
|
|
|
48
|
|
|
else return false; |
|
49
|
|
|
} |
|
50
|
|
|
|
|
51
|
|
|
$_user['subscribed'] = $__user_h->if_subscribed(@$_SESSION['siteusername'], $_user['username']); |
|
52
|
|
|
$_user['subscribers'] = $__user_h->fetch_subs_count($_user['username']); |
|
53
|
|
|
$_user['videos'] = $__user_h->fetch_user_videos($_user['username']); |
|
54
|
|
|
$_user['favorites'] = $__user_h->fetch_user_favorites($_user['username']); |
|
55
|
|
|
$_user['subscriptions'] = $__user_h->fetch_subscriptions($_user['username']); |
|
56
|
|
|
$_user['views'] = $__user_h->get_channel_views($_user['username']); |
|
57
|
|
|
$_user['friends'] = $__user_h->fetch_friends_accepted($_user['username']); |
|
58
|
|
|
|
|
59
|
|
|
$_user['s_2009_user_left'] = $_user['2009_user_left']; |
|
60
|
|
|
$_user['s_2009_user_right'] = $_user['2009_user_right']; |
|
61
|
|
|
$_user['2009_user_left'] = explode(";", $_user['2009_user_left']); |
|
62
|
|
|
$_user['2009_user_right'] = explode(";", $_user['2009_user_right']); |
|
63
|
|
|
|
|
64
|
|
|
$_user['primary_color'] = substr($_user['primary_color'], 0, 7); |
|
65
|
|
|
$_user['secondary_color'] = substr($_user['secondary_color'], 0, 7); |
|
66
|
|
|
$_user['third_color'] = substr($_user['third_color'], 0, 7); |
|
67
|
|
|
$_user['text_color'] = substr($_user['text_color'], 0, 7); |
|
68
|
|
|
$_user['primary_color_text'] = substr($_user['primary_color_text'], 0, 7); |
|
69
|
|
|
$_user['2009_bgcolor'] = substr($_user['2009_bgcolor'], 0, 7); |
|
70
|
|
|
|
|
71
|
|
|
$_user['genre'] = strtolower($_user['genre']); |
|
72
|
|
|
|
|
73
|
|
|
if(!check_valid_colorhex($_user['primary_color']) && strlen($_user['primary_color']) != 6) { $_user['primary_color'] = ""; } |
|
74
|
|
|
if(!check_valid_colorhex($_user['secondary_color']) && strlen($_user['secondary_color']) != 6) { $_user['secondary_color'] = ""; } |
|
75
|
|
|
if(!check_valid_colorhex($_user['third_color']) && strlen($_user['third_color']) != 6) { $_user['third_color'] = ""; } |
|
76
|
|
|
if(!check_valid_colorhex($_user['text_color']) && strlen($_user['text_color']) != 6) { $_user['text_color'] = ""; } |
|
77
|
|
|
if(!check_valid_colorhex($_user['primary_color_text']) && strlen($_user['primary_color_text']) != 6) { $_user['primary_color_text'] = ""; } |
|
78
|
|
|
if(!check_valid_colorhex($_user['2009_bgcolor']) && strlen($_user['2009_bgcolor']) != 6) { $_user['2009_bgcolor'] = ""; } |
|
79
|
|
|
|
|
80
|
|
|
if(isset($_SESSION['siteusername'])) |
|
81
|
|
|
$__user_i->check_view_channel($_user['username'], @$_SESSION['siteusername']); |
|
82
|
|
|
|
|
83
|
|
|
if($_SERVER['REQUEST_METHOD'] == 'POST') { |
|
84
|
|
|
$error = array(); |
|
85
|
|
|
|
|
86
|
|
|
if(!isset($_SESSION['siteusername'])){ $error['message'] = "you are not logged in"; $error['status'] = true; } |
|
87
|
|
|
if(!$_POST['comment']){ $error['message'] = "your comment cannot be blank"; $error['status'] = true; } |
|
88
|
|
|
if(strlen($_POST['comment']) > 1000){ $error['message'] = "your comment must be shorter than 1000 characters"; $error['status'] = true; } |
|
89
|
|
|
//if(!isset($_POST['g-recaptcha-response'])){ $error['message'] = "captcha validation failed"; $error['status'] = true; } |
|
90
|
|
|
//if(!$_user_insert_utils->validateCaptcha($config['recaptcha_secret'], $_POST['g-recaptcha-response'])) { $error['message'] = "captcha validation failed"; $error['status'] = true; } |
|
91
|
|
|
if($__user_h->if_cooldown($_SESSION['siteusername'])) { $error['message'] = "You are on a cooldown! Wait for a minute before posting another comment."; $error['status'] = true; } |
|
92
|
|
|
//if(ifBlocked(@$_SESSION['siteusername'], $user['username'], $__db)) { $error = "This user has blocked you!"; $error['status'] = true; } |
|
93
|
|
|
|
|
94
|
|
|
if(!isset($error['message'])) { |
|
95
|
|
|
$text = $_POST['comment']; |
|
96
|
|
|
$stmt = $__db->prepare("INSERT INTO profile_comments (toid, author, comment) VALUES (:id, :username, :comment)"); |
|
97
|
|
|
$stmt->bindParam(":id", $_user['username']); |
|
98
|
|
|
$stmt->bindParam(":username", $_SESSION['siteusername']); |
|
99
|
|
|
$stmt->bindParam(":comment", $text); |
|
100
|
|
|
$stmt->execute(); |
|
101
|
|
|
|
|
102
|
|
|
$_user_update_utils->update_comment_cooldown_time($_SESSION['siteusername']); |
|
103
|
|
|
|
|
104
|
|
|
if(@$_SESSION['siteusername'] != $_user['username']) { |
|
105
|
|
|
$_user_insert_utils->send_message($_user['username'], "New comment", 'I commented "' . $_POST['comment'] . '" on your profile!', $_SESSION['siteusername']); |
|
106
|
|
|
} |
|
107
|
|
|
} |
|
108
|
|
|
} |
|
109
|
|
|
?> |
|
110
|
|
|
<!DOCTYPE html> |
|
111
|
|
|
<html dir="ltr" xmlns:og="http://opengraphprotocol.org/schema/" lang="en"> |
|
112
|
|
|
<!-- machid: sNW5tN3Z2SWdXaDRqNGxuNEF5MFBxM1BxWXd0VGo0Rkg3UXNTTTNCUGRDWjR0WGpHR3R1YzFR --> |
|
113
|
|
|
<head> |
|
114
|
|
|
<title><?php echo $__server->page_title; ?> - SubRocks</title> |
|
115
|
|
|
<meta property="og:title" content="<?php echo $__server->page_embeds->page_title; ?>" /> |
|
116
|
|
|
<meta property="og:url" content="<?php echo $__server->page_embeds->page_url; ?>" /> |
|
117
|
|
|
<meta property="og:description" content="<?php echo $__server->page_embeds->page_description; ?>" /> |
|
118
|
|
|
<meta property="og:image" content="<?php echo $__server->page_embeds->page_image; ?>" /> |
|
119
|
|
|
<script> |
|
120
|
|
|
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;} |
|
121
|
|
|
</script> |
|
122
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js" integrity="sha512-894YE6QWD5I59HgZOGReFYm4dnWc1Qt5NtvYSaNcOP+u1T9qYdvdihz0PPSiiqn/+/3e7Jo4EaG7TubfWGUrMQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script> |
|
123
|
|
|
<link id="www-core-css" rel="stylesheet" href="/yt/cssbin/www-core-vfluMRDnk.css"> |
|
124
|
|
|
<link rel="stylesheet" href="/yt/cssbin/www-guide-vflx0V5Tq.css"> |
|
125
|
|
|
<link rel="stylesheet" href="/yt/cssbin/www-channels3-vfl-wJB5W.css"> |
|
126
|
|
|
<link rel="stylesheet" href="/yt/cssbin/www-the-rest-vflNb6rAI.css"> |
|
127
|
|
|
<link rel="stylesheet" href="/yt/cssbin/www-extra.css"> |
|
128
|
|
|
<style> |
|
129
|
|
|
#content-container { |
|
130
|
|
|
background-color: <?php echo $_user['primary_color']; ?>; |
|
131
|
|
|
background-image: url(/d/banners/<?php echo $_user['2009_bg']; ?>); |
|
132
|
|
|
background-repeat: repeat; |
|
133
|
|
|
background-position: center top; |
|
134
|
|
|
} |
|
135
|
|
|
</style> |
|
136
|
|
|
</head> |
|
137
|
|
|
<body id="" class="date-20120614 en_US ltr ytg-old-clearfix " dir="ltr"> |
|
138
|
|
|
<form name="logoutForm" method="POST" action="/logout"> |
|
139
|
|
|
<input type="hidden" name="action_logout" value="1"> |
|
140
|
|
|
</form> |
|
141
|
|
|
<!-- begin page --> |
|
142
|
|
|
<div id="page" class=" branded-page channel "> |
|
143
|
|
|
<div id="masthead-container"><?php echo require($_SERVER['DOCUMENT_ROOT'] . "/s/mod/header.php"); ?></div> |
|
144
|
|
|
<div id="content-container"> |
|
145
|
|
|
<!-- begin content --> |
|
146
|
|
|
<div id="content"> |
|
147
|
|
|
<?php if(isset($_SESSION['siteusername']) && $_user['username'] == $_SESSION['siteusername']) { ?> |
|
148
|
|
|
<div class="channel_customization"><?php echo require($_SERVER['DOCUMENT_ROOT'] . "/s/mod/channel_customization.php"); ?></div> |
|
149
|
|
|
<?php } ?> |
|
150
|
|
|
|
|
151
|
|
|
<div class="subscription-menu-expandable subscription-menu-expandable-channels3 yt-rounded ytg-wide hid"> |
|
152
|
|
|
<div class="content" id="recommended-channels-list"></div> |
|
153
|
|
|
<button class="close" type="button">close</button> |
|
154
|
|
|
</div> |
|
155
|
|
|
<div class="hid"> |
|
156
|
|
|
<div class="yt-alert yt-alert-default yt-alert-success " id="success-template"> |
|
157
|
|
|
<div class="yt-alert-icon"><img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" class="icon master-sprite" alt="Alert icon"></div> |
|
158
|
|
|
<div class="yt-alert-buttons"> <button type="button" class="close yt-uix-close yt-uix-button yt-uix-button-close" onclick=";return false;" data-close-parent-class="yt-alert" role="button"><span class="yt-uix-button-content">Close </span></button></div> |
|
159
|
|
|
<div class="yt-alert-content" role="alert"></div> |
|
160
|
|
|
</div> |
|
161
|
|
|
<div class="yt-alert yt-alert-default yt-alert-error " id="error-template"> |
|
162
|
|
|
<div class="yt-alert-icon"><img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" class="icon master-sprite" alt="Alert icon"></div> |
|
163
|
|
|
<div class="yt-alert-buttons"> <button type="button" class="close yt-uix-close yt-uix-button yt-uix-button-close" onclick=";return false;" data-close-parent-class="yt-alert" role="button"><span class="yt-uix-button-content">Close </span></button></div> |
|
164
|
|
|
<div class="yt-alert-content" role="alert"></div> |
|
165
|
|
|
</div> |
|
166
|
|
|
<div class="yt-alert yt-alert-default yt-alert-warn " id="warn-template"> |
|
167
|
|
|
<div class="yt-alert-icon"><img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" class="icon master-sprite" alt="Alert icon"></div> |
|
168
|
|
|
<div class="yt-alert-buttons"> <button type="button" class="close yt-uix-close yt-uix-button yt-uix-button-close" onclick=";return false;" data-close-parent-class="yt-alert" role="button"><span class="yt-uix-button-content">Close </span></button></div> |
|
169
|
|
|
<div class="yt-alert-content" role="alert"></div> |
|
170
|
|
|
</div> |
|
171
|
|
|
<div class="yt-alert yt-alert-default yt-alert-info " id="info-template"> |
|
172
|
|
|
<div class="yt-alert-icon"><img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" class="icon master-sprite" alt="Alert icon"></div> |
|
173
|
|
|
<div class="yt-alert-buttons"> <button type="button" class="close yt-uix-close yt-uix-button yt-uix-button-close" onclick=";return false;" data-close-parent-class="yt-alert" role="button"><span class="yt-uix-button-content">Close </span></button></div> |
|
174
|
|
|
<div class="yt-alert-content" role="alert"></div> |
|
175
|
|
|
</div> |
|
176
|
|
|
<div class="yt-alert yt-alert-default yt-alert-status " id="status-template"> |
|
177
|
|
|
<div class="yt-alert-icon"><img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" class="icon master-sprite" alt="Alert icon"></div> |
|
178
|
|
|
<div class="yt-alert-buttons"> <button type="button" class="close yt-uix-close yt-uix-button yt-uix-button-close" onclick=";return false;" data-close-parent-class="yt-alert" role="button"><span class="yt-uix-button-content">Close </span></button></div> |
|
179
|
|
|
<div class="yt-alert-content" role="alert"></div> |
|
180
|
|
|
</div> |
|
181
|
|
|
</div> |
|
182
|
|
|
<div class="hid"> |
|
183
|
|
|
<div id="message-container-template" class="message-container"></div> |
|
184
|
|
|
</div> |
|
185
|
|
|
<div id="branded-page-default-bg" class="ytg-base"> |
|
186
|
|
|
<div id="branded-page-body-container" class="ytg-base clearfix"> |
|
187
|
|
|
<div id="branded-page-header-container" class="ytg-wide banner-displayed-mode"> |
|
188
|
|
|
<div id="branded-page-header" class="ytg-wide"> |
|
189
|
|
|
<div id="channel-header-main"> |
|
190
|
|
|
<div class="upper-section clearfix"> |
|
191
|
|
|
<a href="/user/<?php echo htmlspecialchars($_user['username']); ?>"> |
|
192
|
|
|
<span class="profile-thumb"> |
|
193
|
|
|
<span class="centering-wrap"> |
|
194
|
|
|
<img src="/d/pfp/<?php echo htmlspecialchars($_user['pfp']); ?>" title="<?php echo htmlspecialchars($_user['username']); ?>" alt="<?php echo htmlspecialchars($_user['username']); ?>"> |
|
195
|
|
|
</span> |
|
196
|
|
|
</span> |
|
197
|
|
|
</a> |
|
198
|
|
|
<div class="upper-left-section "> |
|
199
|
|
|
<h1><?php echo htmlspecialchars($_user['username']); ?></h1> |
|
200
|
|
|
</div> |
|
201
|
|
|
<div class="upper-left-section enable-fancy-subscribe-button"> |
|
202
|
|
|
<?php if($_user['username'] != @$_SESSION['siteusername']) { ?> |
|
203
|
|
|
<div class="yt-subscription-button-hovercard yt-uix-hovercard"> |
|
204
|
|
|
<button href="https://accounts.google.com/ServiceLogin?uilel=3&service=youtube&passive=true&continue=http%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26feature%3Dsubscribe%26nomobiletemp%3D1%26hl%3Den_US%26next%3D%252Fuser%252F<?php echo htmlspecialchars($_user['username']); ?>%253Ffeature%253Dg-logo-xit&hl=en_US&ltmpl=sso" onclick=";window.location.href=this.getAttribute('href');return false;" title="" type="button" class="yt-subscription-button subscription-button-with-recommended-channels yt-uix-button yt-uix-button-subscription yt-uix-tooltip" data-enable-hovercard="true" data-subscription-value="UCIwFjwMjI0y7PDBVEO9-bkQ" data-force-position="" data-position="" data-subscription-feature="channels3" data-subscription-type="channel" role="button"><span class="yt-uix-button-icon-wrapper"><img class="yt-uix-button-icon yt-uix-button-icon-subscribe" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt=""></span><span class="yt-uix-button-content"> <span class="subscribe-label">Subscribe</span> |
|
205
|
|
|
<span class="subscribed-label">Subscribed</span> |
|
206
|
|
|
<span class="unsubscribe-label">Unsubscribe</span> |
|
207
|
|
|
</span></button> |
|
208
|
|
|
<div class="yt-uix-hovercard-content hid"> |
|
209
|
|
|
<p class="loading-spinner"> |
|
210
|
|
|
<img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt=""> |
|
211
|
|
|
Loading... |
|
212
|
|
|
</p> |
|
213
|
|
|
</div> |
|
214
|
|
|
</div> |
|
215
|
|
|
<?php } else { ?> |
|
216
|
|
|
<div class="yt-uix-hovercard"> |
|
217
|
|
|
<button href="#" onclick=";dropdownchannel();return false;" title="" type="button" class="yt-subscription-button subscription-button-with-recommended-channels yt-uix-button yt-uix-button-subscription yt-uix-tooltip" data-enable-hovercard="true" data-subscription-value="UCIwFjwMjI0y7PDBVEO9-bkQ" data-force-position="" data-position="" data-subscription-feature="channels3" data-subscription-type="channel" role="button"><span class="yt-uix-button-icon-wrapper"><img class="yt-uix-button-icon yt-uix-button-icon-edit" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt=""></span><span class="yt-uix-button-content"> <span class="subscribe-label">Edit Channel</span> |
|
218
|
|
|
<span class="subscribed-label">Edit Channel</span> |
|
219
|
|
|
</span></button> |
|
220
|
|
|
<div class="yt-uix-hovercard-content hid"> |
|
221
|
|
|
<p class="loading-spinner"> |
|
222
|
|
|
<img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt=""> |
|
223
|
|
|
Loading... |
|
224
|
|
|
</p> |
|
225
|
|
|
</div> |
|
226
|
|
|
</div> |
|
227
|
|
|
<?php } ?> |
|
228
|
|
|
</div> |
|
229
|
|
|
<div class="upper-right-section"> |
|
230
|
|
|
<div class="header-stats"> |
|
231
|
|
|
<div class="stat-entry"> |
|
232
|
|
|
<span class="stat-value"><?php echo $_user['subscribers']; ?></span> |
|
233
|
|
|
<span class="stat-name">subscribers</span> |
|
234
|
|
|
</div> |
|
235
|
|
|
<div class="stat-entry"> |
|
236
|
|
|
<span class="stat-value"><?php echo $_user['views']; ?></span> |
|
237
|
|
|
<span class="stat-name">video views</span> |
|
238
|
|
|
</div> |
|
239
|
|
|
</div> |
|
240
|
|
|
<span class="valign-shim"></span> |
|
241
|
|
|
</div> |
|
242
|
|
|
</div> |
|
243
|
|
|
<div class="channel-horizontal-menu clearfix"> |
|
244
|
|
|
<ul> |
|
245
|
|
|
<li class="selected"> |
|
246
|
|
|
<a href="/user/<?php echo htmlspecialchars($_user['username']); ?>/featured" class="gh-tab-100"> |
|
247
|
|
|
Featured |
|
248
|
|
|
</a> |
|
249
|
|
|
</li> |
|
250
|
|
|
<li> |
|
251
|
|
|
<a href="/user/<?php echo htmlspecialchars($_user['username']); ?>/feed" class="gh-tab-102"> |
|
252
|
|
|
Feed |
|
253
|
|
|
</a> |
|
254
|
|
|
</li> |
|
255
|
|
|
<li> |
|
256
|
|
|
<a href="/user/<?php echo htmlspecialchars($_user['username']); ?>/videos" class="gh-tab-101"> |
|
257
|
|
|
Videos |
|
258
|
|
|
</a> |
|
259
|
|
|
</li> |
|
260
|
|
|
</ul> |
|
261
|
|
|
<form id="channel-search" action="/user/<?php echo htmlspecialchars($_user['username']); ?>/videos"> |
|
262
|
|
|
<input name="query" type="text" maxlength="100" class="search-field" placeholder="Search Channel" value=""> |
|
263
|
|
|
<button class="search-btn" type="submit"> |
|
264
|
|
|
<span class="search-btn-content"> |
|
265
|
|
|
Search |
|
266
|
|
|
</span> |
|
267
|
|
|
</button> |
|
268
|
|
|
<a class="search-dismiss-btn" href="/user/<?php echo htmlspecialchars($_user['username']); ?>/videos?view=0"> |
|
269
|
|
|
<span class="search-btn-content"> |
|
270
|
|
|
Clear |
|
271
|
|
|
</span> |
|
272
|
|
|
</a> |
|
273
|
|
|
</form> |
|
274
|
|
|
</div> |
|
275
|
|
|
</div> |
|
276
|
|
|
</div> |
|
277
|
|
|
</div> |
|
278
|
|
|
<?php if($_user['featured'] != "None") { $video = $__video_h->fetch_video_rid($_user['featured']); } else { $_user['featured'] = false; } ?> |
|
279
|
|
|
<div id="branded-page-body"> |
|
280
|
|
|
<div class="channel-tab-content channel-layout-two-column selected blogger-template"> |
|
281
|
|
|
<div class="tab-content-body"> |
|
282
|
|
|
<div class="primary-pane"> |
|
283
|
|
|
<?php if($_user['featured'] != false && $__video_h->video_exists($_user['featured'])) { ?> |
|
284
|
|
|
<div class="channels-featured-video channel-module yt-uix-c3-module-container has-visible-edge"> |
|
285
|
|
|
<div class="module-view featured-video-view-module"> |
|
286
|
|
|
<div class="channels-video-player " data-swf-config="{"assets": {"html": "\/html5_player_template", "css": "http:\/\/s.ytimg.com\/yt\/cssbin\/www-player-vfllhw7HB.css", "js": "http:\/\/s.ytimg.com\/yt\/jsbin\/html5player-vflzTrRqK.js"}, "url": "http:\/\/s.ytimg.com\/yt\/swfbin\/watch_as3-vflbPspVE.swf", "min_version": "8.0.0", "args": {"ttsurl": "http:\/\/www.youtube.com\/api\/timedtext?sparams=asr_langs%2Ccaps%2Cv%2Cexpire\u0026asr_langs=en%2Cko%2Cja%2Ces\u0026v=/watch?v=<?php echo $video['rid']; ?>\u0026caps=asr\u0026expire=1339746882\u0026key=yttt1\u0026signature=A1B858FF427B45672676C7403417ED1F4091A806.C347A6021C0F843E46F2056AEBA38FC93A0A47B8\u0026hl=en_US", "el": "profilepage", "fexp": "904001,907342,904824,910206,908620,907217,907335,921602,919306,922600,919316,920704,912804,913542,919324,912706", "url_encoded_fmt_stream_map": "url=http%3A%2F%2Fo-o.preferred.nuq04s10.v1.lscache4.c.youtube.com%2Fvideoplayback%3Fupn%3D_7WL7XeDtjs%26sparams%3Dcp%252Cid%252Cip%252Cipbits%252Citag%252Cratebypass%252Csource%252Cupn%252Cexpire%26fexp%3D904001%252C907342%252C904824%252C910206%252C908620%252C907217%252C907335%252C921602%252C919306%252C922600%252C919316%252C920704%252C912804%252C913542%252C919324%252C912706%26ms%3Dau%26itag%3D44%26ip%3D207.0.0.0%26signature%3D9B9B5ECF02F2F66BDCCB0ACED26D3406F9F83241.1B2CC833461E3D2C4D081B7DFBC65B0948C61FB9%26sver%3D3%26mt%3D1339721111%26ratebypass%3Dyes%26source%3Dyoutube%26expire%3D1339743583%26key%3Dyt1%26ipbits%3D8%26cp%3DU0hSTldPUV9NTUNOMl9PSVVGOmdTcVlPRFNNTEdM%26id%3D56ffd0bfee85d71f\u0026quality=large\u0026fallback_host=tc.v1.cache4.c.youtube.com\u0026type=video%2Fwebm%3B+codecs%3D%22vp8.0%2C+vorbis%22\u0026itag=44,url=http%3A%2F%2Fo-o.preferred.nuq04s10.v14.lscache1.c.youtube.com%2Fvideoplayback%3Fupn%3D_7WL7XeDtjs%26sparams%3Dalgorithm%252Cburst%252Ccp%252Cfactor%252Cid%252Cip%252Cipbits%252Citag%252Csource%252Cupn%252Cexpire%26fexp%3D904001%252C907342%252C904824%252C910206%252C908620%252C907217%252C907335%252C921602%252C919306%252C922600%252C919316%252C920704%252C912804%252C913542%252C919324%252C912706%26mt%3D1339721111%26ms%3Dau%26algorithm%3Dthrottle-factor%26itag%3D35%26ip%3D207.0.0.0%26burst%3D40%26sver%3D3%26signature%3DB702D7CA72653169BDC2C945B5A35F4A23A3FEBF.ACC660CDAB11901FF8D3DA8D384D61F0AB0F0125%26source%3Dyoutube%26expire%3D1339743583%26key%3Dyt1%26ipbits%3D8%26factor%3D1.25%26cp%3DU0hSTldPUV9NTUNOMl9PSVVGOmdTcVlPRFNNTEdM%26id%3D56ffd0bfee85d71f\u0026quality=large\u0026fallback_host=tc.v14.cache1.c.youtube.com\u0026type=video%2Fx-flv\u0026itag=35,url=http%3A%2F%2Fo-o.preferred.nuq04s10.v24.lscache3.c.youtube.com%2Fvideoplayback%3Fupn%3D_7WL7XeDtjs%26sparams%3Dcp%252Cid%252Cip%252Cipbits%252Citag%252Cratebypass%252Csource%252Cupn%252Cexpire%26fexp%3D904001%252C907342%252C904824%252C910206%252C908620%252C907217%252C907335%252C921602%252C919306%252C922600%252C919316%252C920704%252C912804%252C913542%252C919324%252C912706%26ms%3Dau%26itag%3D43%26ip%3D207.0.0.0%26signature%3D9FABDD8C013AA137B87DF2D154D1B90E6827A2A3.880FECDEC066236D85FCF223CF472B62B8F9B3A4%26sver%3D3%26mt%3D1339721111%26ratebypass%3Dyes%26source%3Dyoutube%26expire%3D1339743583%26key%3Dyt1%26ipbits%3D8%26cp%3DU0hSTldPUV9NTUNOMl9PSVVGOmdTcVlPRFNNTEdM%26id%3D56ffd0bfee85d71f\u0026quality=medium\u0026fallback_host=tc.v24.cache3.c.youtube.com\u0026type=video%2Fwebm%3B+codecs%3D%22vp8.0%2C+vorbis%22\u0026itag=43,url=http%3A%2F%2Fo-o.preferred.nuq04s10.v3.lscache7.c.youtube.com%2Fvideoplayback%3Fupn%3D_7WL7XeDtjs%26sparams%3Dalgorithm%252Cburst%252Ccp%252Cfactor%252Cid%252Cip%252Cipbits%252Citag%252Csource%252Cupn%252Cexpire%26fexp%3D904001%252C907342%252C904824%252C910206%252C908620%252C907217%252C907335%252C921602%252C919306%252C922600%252C919316%252C920704%252C912804%252C913542%252C919324%252C912706%26mt%3D1339721111%26ms%3Dau%26algorithm%3Dthrottle-factor%26itag%3D34%26ip%3D207.0.0.0%26burst%3D40%26sver%3D3%26signature%3D1BA326B784DAA9F62FD789CBB5C2FABFCD5D351C.C4618E3AB2AB08C61C6A982A36F405DA886B5D5A%26source%3Dyoutube%26expire%3D1339743583%26key%3Dyt1%26ipbits%3D8%26factor%3D1.25%26cp%3DU0hSTldPUV9NTUNOMl9PSVVGOmdTcVlPRFNNTEdM%26id%3D56ffd0bfee85d71f\u0026quality=medium\u0026fallback_host=tc.v3.cache7.c.youtube.com\u0026type=video%2Fx-flv\u0026itag=34,url=http%3A%2F%2Fo-o.preferred.nuq04s10.v14.lscache1.c.youtube.com%2Fvideoplayback%3Fupn%3D_7WL7XeDtjs%26sparams%3Dcp%252Cid%252Cip%252Cipbits%252Citag%252Cratebypass%252Csource%252Cupn%252Cexpire%26fexp%3D904001%252C907342%252C904824%252C910206%252C908620%252C907217%252C907335%252C921602%252C919306%252C922600%252C919316%252C920704%252C912804%252C913542%252C919324%252C912706%26ms%3Dau%26itag%3D18%26ip%3D207.0.0.0%26signature%3D8806EA8FAE16557A2F9732068442133EA0A0760F.D91694A47E6B0BF627965CDA46010F36105A28FE%26sver%3D3%26mt%3D1339721111%26ratebypass%3Dyes%26source%3Dyoutube%26expire%3D1339743583%26key%3Dyt1%26ipbits%3D8%26cp%3DU0hSTldPUV9NTUNOMl9PSVVGOmdTcVlPRFNNTEdM%26id%3D56ffd0bfee85d71f\u0026quality=medium\u0026fallback_host=tc.v14.cache1.c.youtube.com\u0026type=video%2Fmp4%3B+codecs%3D%22avc1.42001E%2C+mp4a.40.2%22\u0026itag=18,url=http%3A%2F%2Fo-o.preferred.nuq04s10.v4.lscache1.c.youtube.com%2Fvideoplayback%3Fupn%3D_7WL7XeDtjs%26sparams%3Dalgorithm%252Cburst%252Ccp%252Cfactor%252Cid%252Cip%252Cipbits%252Citag%252Csource%252Cupn%252Cexpire%26fexp%3D904001%252C907342%252C904824%252C910206%252C908620%252C907217%252C907335%252C921602%252C919306%252C922600%252C919316%252C920704%252C912804%252C913542%252C919324%252C912706%26mt%3D1339721111%26ms%3Dau%26algorithm%3Dthrottle-factor%26itag%3D5%26ip%3D207.0.0.0%26burst%3D40%26sver%3D3%26signature%3D011CB6739AB60ED79D032DE2F62EB016D8A8E462.C2C0ABE42F26DBA18F2BC6E0D074EB99A95C0DF0%26source%3Dyoutube%26expire%3D1339743583%26key%3Dyt1%26ipbits%3D8%26factor%3D1.25%26cp%3DU0hSTldPUV9NTUNOMl9PSVVGOmdTcVlPRFNNTEdM%26id%3D56ffd0bfee85d71f\u0026quality=small\u0026fallback_host=tc.v4.cache1.c.youtube.com\u0026type=video%2Fx-flv\u0026itag=5,url=http%3A%2F%2Fo-o.preferred.nuq04s10.v12.lscache3.c.youtube.com%2Fvideoplayback%3Fupn%3D_7WL7XeDtjs%26sparams%3Dalgorithm%252Cburst%252Ccp%252Cfactor%252Cid%252Cip%252Cipbits%252Citag%252Csource%252Cupn%252Cexpire%26fexp%3D904001%252C907342%252C904824%252C910206%252C908620%252C907217%252C907335%252C921602%252C919306%252C922600%252C919316%252C920704%252C912804%252C913542%252C919324%252C912706%26mt%3D1339721111%26ms%3Dau%26algorithm%3Dthrottle-factor%26itag%3D36%26ip%3D207.0.0.0%26burst%3D40%26sver%3D3%26signature%3D988FDD37CBA8DB74C1148EE17921D8549434297C.A2C1796F2BA0427C9FE370BFB6B3B09BA1D81B07%26source%3Dyoutube%26expire%3D1339743583%26key%3Dyt1%26ipbits%3D8%26factor%3D1.25%26cp%3DU0hSTldPUV9NTUNOMl9PSVVGOmdTcVlPRFNNTEdM%26id%3D56ffd0bfee85d71f\u0026quality=small\u0026fallback_host=tc.v12.cache3.c.youtube.com\u0026type=video%2F3gpp\u0026itag=36", "allow_embed": 1, "vq": "auto", "account_playback_token": "", "allow_ratings": 1, "keywords": "Rehearsal,Dance,justin,bieber,believe,as,long,you,love,me,rodney,jerkins,pattie,mallette,jeremy,dad,mom,scooter,braun,island,def,jam,usher,rbmg,making,of,the,album,webisode,june,19th,19,new,amazing,song,big,sean,hit,record,<?php echo htmlspecialchars($_user['username']); ?>,always,still,studio,singing,kuk,harrell,producer,sing,boy,guy,man,smash,single,nick,demoura,dancers,sweat,beliebers,hard,work,tour,band", "cc3_module": "http:\/\/s.ytimg.com\/yt\/swfbin\/subtitles3_module-vflu_Qeod.swf", "track_embed": 0, "is_purchased": false, "ps": "default", "fmt_list": "44\/854x480\/99\/0\/0,35\/854x480\/9\/0\/115,43\/640x360\/99\/0\/0,34\/640x360\/9\/0\/115,18\/640x360\/9\/0\/115,5\/320x240\/7\/0\/0,36\/320x240\/99\/0\/0", "author": "<?php echo htmlspecialchars($_user['username']); ?>", "muted": "0", "cc_module": "http:\/\/s.ytimg.com\/yt\/swfbin\/subtitle_module-vflq8KnSi.swf", "length_seconds": 82, "feature": "g-logo-xit", "enablejsapi": 1, "rel": 0, "plid": "AATCeEL9eg3Ls9t-", "cc_font": "Arial Unicode MS, arial, verdana, _sans", "ftoken": "", "sdetail": "f:g-logo-xit,p:\/", "status": "ok", "cc_asr": 1, "watermark": ",http:\/\/s.ytimg.com\/yt\/img\/watermark\/youtube_watermark-vflHX6b6E.png,http:\/\/s.ytimg.com\/yt\/img\/watermark\/youtube_hd_watermark-vflAzLcD6.png", "sourceid": "y", "timestamp": 1339721682, "has_cc": true, "view_count": 2600, "quality_cap": "highres", "hl": "en_US", "tmi": "1", "no_get_video_log": "1", "eurl": "http:\/\/www.youtube.com\/user\/<?php echo htmlspecialchars($_user['username']); ?>", "iurl": "http:\/\/i3.ytimg.com\/vi\//watch?v=<?php echo $video['rid']; ?>\/hqdefault.jpg", "endscreen_module": "http:\/\/s.ytimg.com\/yt\/swfbin\/endscreen-vflJBKwqC.swf", "referrer": "http:\/\/www.youtube.com\/", "avg_rating": 4.97805486284, "video_id": "/watch?v=<?php echo $video['rid']; ?>", "sendtmp": "1", "sk": "bwv_lGOGF4u1g0p7puy7ERICN8NZ5cVFC", "is_video_preview": false, "token": "vjVQa1PpcFMSYb-unvOiIgSL8pW9tObJUMfrEc1mxfE=", "thumbnail_url": "http:\/\/i3.ytimg.com\/vi\//watch?v=<?php echo $video['rid']; ?>\/default.jpg", "iurlsd": "http:\/\/i3.ytimg.com\/vi\//watch?v=<?php echo $video['rid']; ?>\/sddefault.jpg", "autoplay": "1"}, "url_v9as2": "http:\/\/s.ytimg.com\/yt\/swfbin\/cps-vflhvG6F4.swf", "params": {"allowscriptaccess": "always", "allowfullscreen": "true", "bgcolor": "#000000"}, "attrs": {"width": "640", "id": "movie_player", "height": "390"}, "url_v8": "http:\/\/s.ytimg.com\/yt\/swfbin\/cps-vflhvG6F4.swf", "html5": false}" data-video-id="/watch?v=<?php echo $video['rid']; ?>"> |
|
287
|
|
|
</div> |
|
288
|
|
|
<div class="channels-featured-video-details yt-tile-visible clearfix"> |
|
289
|
|
|
<h3 class="title"> |
|
290
|
|
|
<a href="/watch?v=<?php echo $video['rid']; ?>"> |
|
291
|
|
|
<?php echo htmlspecialchars($video['title']); ?> |
|
292
|
|
|
</a> |
|
293
|
|
|
<div class="view-count-and-actions"> |
|
294
|
|
|
<div class="view-count"> |
|
295
|
|
|
<span class="count"> |
|
296
|
|
|
2,600 |
|
297
|
|
|
</span> |
|
298
|
|
|
views |
|
299
|
|
|
</div> |
|
300
|
|
|
</div> |
|
301
|
|
|
</h3> |
|
302
|
|
|
<p class="channels-featured-video-metadata"> |
|
303
|
|
|
<span>by <?php echo htmlspecialchars($_user['username']); ?></span> |
|
304
|
|
|
<span class="created-date"><?php echo $__time_h->time_elapsed_string($video['publish']); ?></span> |
|
305
|
|
|
</p> |
|
306
|
|
|
</div> |
|
307
|
|
|
</div> |
|
308
|
|
|
</div> |
|
309
|
|
|
<?php } ?> |
|
310
|
|
|
<div class="single-playlist channel-module yt-uix-c3-module-container"> |
|
311
|
|
|
<div class="module-view single-playlist-view-module"> |
|
312
|
|
|
<div class="blogger-playall"> |
|
313
|
|
|
<!-- |
|
314
|
|
|
<a class="yt-playall-link yt-playall-link-default " href="/watch?v=<?php echo $video['rid']; ?>&list=UUIwFjwMjI0y7PDBVEO9-bkQ&feature=plcp"> |
|
315
|
|
|
<img class="small-arrow" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt=""> |
|
316
|
|
|
Play all |
|
317
|
|
|
</a> |
|
318
|
|
|
--> |
|
319
|
|
|
</div> |
|
320
|
|
|
<div class="playlist-info"> |
|
321
|
|
|
<h2>Uploaded videos</h2> |
|
322
|
|
|
<div class="yt-horizontal-rule "><span class="first"></span><span class="second"></span><span class="third"></span></div> |
|
323
|
|
|
</div> |
|
324
|
|
|
<ul class="gh-single-playlist"> |
|
325
|
|
|
<?php |
|
326
|
|
|
$stmt = $__db->prepare("SELECT * FROM videos WHERE author = :username ORDER BY id DESC LIMIT 20"); |
|
327
|
|
|
$stmt->bindParam(":username", $_user['username']); |
|
328
|
|
|
$stmt->execute(); |
|
329
|
|
|
while($video = $stmt->fetch(PDO::FETCH_ASSOC)) { |
|
330
|
|
|
?> |
|
331
|
|
|
<li class="blogger-video"> |
|
332
|
|
|
<div class="video yt-tile-visible"> |
|
333
|
|
|
<a href="/watch?v=<?php echo $video['rid']; ?>"> |
|
334
|
|
|
<span class="ux-thumb-wrap contains-addto "><span class="video-thumb ux-thumb yt-thumb-default-288 "><span class="yt-thumb-clip"><span class="yt-thumb-clip-inner"><img src="/dynamic/thumbs/<?php echo $video['thumbnail']; ?>" alt="Thumbnail" width="288"><span class="vertical-align"></span></span></span></span><span class="video-time"><?php echo $__time_h->timestamp($video['duration']); ?></span> |
|
335
|
|
|
<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="/watch?v=<?php echo $video['rid']; ?>" role="button"><span class="yt-uix-button-content"> <span class="addto-label"> |
|
336
|
|
|
Watch Later |
|
337
|
|
|
</span> |
|
338
|
|
|
<span class="addto-label-error"> |
|
339
|
|
|
Error |
|
340
|
|
|
</span> |
|
341
|
|
|
<img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif"> |
|
342
|
|
|
</span><img class="yt-uix-button-arrow" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt=""></button> |
|
343
|
|
|
</span> |
|
344
|
|
|
<span class="video-item-content"> |
|
345
|
|
|
<span class="video-overview"> |
|
346
|
|
|
<span class="title video-title" title="<?php echo htmlspecialchars($video['title']); ?>"><?php echo htmlspecialchars($video['title']); ?></span> |
|
347
|
|
|
</span> |
|
348
|
|
|
<span class="video-details"> |
|
349
|
|
|
<span class="yt-user-name video-owner" dir="ltr"><?php echo htmlspecialchars($_user['username']); ?></span> |
|
350
|
|
|
<span class="video-view-count"> |
|
351
|
|
|
<?php echo $__video_h->fetch_video_views($video['rid']); ?> views |
|
352
|
|
|
</span> |
|
353
|
|
|
<span class="video-time-published"><?php echo $__time_h->time_elapsed_string($video['publish']); ?></span> |
|
354
|
|
|
<span class="video-item-description"><?php echo $__video_h->shorten_description($video['description'], 100); ?></span> |
|
355
|
|
|
</span> |
|
356
|
|
|
</span> |
|
357
|
|
|
</a> |
|
358
|
|
|
</div> |
|
359
|
|
|
</li> |
|
360
|
|
|
<?php } ?> |
|
361
|
|
|
</ul> |
|
362
|
|
|
</div> |
|
363
|
|
|
</div> |
|
364
|
|
|
</div> |
|
365
|
|
|
<div class="secondary-pane"> |
|
366
|
|
|
<div id="watch-longform-ad" style="display:none;"> |
|
367
|
|
|
<div id="watch-longform-text"> |
|
368
|
|
|
Advertisement |
|
369
|
|
|
</div> |
|
370
|
|
|
<div id="watch-longform-ad-placeholder"><img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" width="300" height="60"></div> |
|
371
|
|
|
<div id="instream_google_companion_ad_div"></div> |
|
372
|
|
|
</div> |
|
373
|
|
|
<div id="watch-channel-brand-div" class="companion-ads has-visible-edge channel-module yt-uix-c3-module-container hid"> |
|
374
|
|
|
<div id="ad300x250"></div> |
|
375
|
|
|
<div id="google_companion_ad_div"></div> |
|
376
|
|
|
<div class="ad-label-text"> |
|
377
|
|
|
Advertisement |
|
378
|
|
|
</div> |
|
379
|
|
|
</div> |
|
380
|
|
|
<div class="user-profile channel-module yt-uix-c3-module-container "> |
|
381
|
|
|
<div class="module-view profile-view-module" data-owner-external-id="IwFjwMjI0y7PDBVEO9-bkQ"> |
|
382
|
|
|
<h2>About <?php echo htmlspecialchars($_user['username']); ?></h2> |
|
383
|
|
|
<div class="section first"> |
|
384
|
|
|
<div class="user-profile-item profile-description"> |
|
385
|
|
|
<p><?php echo $__video_h->shorten_description($_user['bio'], 5000); ?></p> |
|
386
|
|
|
</div> |
|
387
|
|
|
<div class="user-profile-item"> |
|
388
|
|
|
</div> |
|
389
|
|
|
<div class="user-profile-item"> |
|
390
|
|
|
<!-- |
|
391
|
|
|
<div class="yt-c3-profile-custom-url field-container "> |
|
392
|
|
|
<a href="http://smarturl.it/boyfriend?IQid=youtube" rel="me nofollow" target="_blank" title="Get "Boyfriend" on iTunes" class="yt-uix-redirect-link"> |
|
393
|
|
|
<img src="//s2.googleusercontent.com/s2/favicons?domain=smarturl.it&feature=youtube_channel" class="favicon" alt=""> |
|
394
|
|
|
<span class="link-text"> |
|
395
|
|
|
Get "Boyfriend" on iTunes |
|
396
|
|
|
</span> |
|
397
|
|
|
</a> |
|
398
|
|
|
</div> |
|
399
|
|
|
<div class="yt-c3-profile-custom-url field-container "> |
|
400
|
|
|
<a href="http://bieberfever.com/" rel="me nofollow" target="_blank" title="Bieber Fever" class="yt-uix-redirect-link"> |
|
401
|
|
|
<img src="//s2.googleusercontent.com/s2/favicons?domain=bieberfever.com&feature=youtube_channel" class="favicon" alt=""> |
|
402
|
|
|
<span class="link-text"> |
|
403
|
|
|
Bieber Fever |
|
404
|
|
|
</span> |
|
405
|
|
|
</a> |
|
406
|
|
|
</div> |
|
407
|
|
|
--> |
|
408
|
|
|
</div> |
|
409
|
|
|
<hr class="yt-horizontal-rule "> |
|
410
|
|
|
</div> |
|
411
|
|
|
<?php if(!empty($_user['website'])) { ?> |
|
412
|
|
|
<div class="user-profile-item"> |
|
413
|
|
|
<div class="yt-c3-profile-custom-url field-container "> |
|
414
|
|
|
<a href="<?php echo addhttp(htmlspecialchars($_user['website'])); ?>" rel="me nofollow" target="_blank" title="<?php echo htmlspecialchars($_user['website']); ?>" class="yt-uix-redirect-link"> |
|
415
|
|
|
<img src="/yt/imgbin/custom_site.png" class="favicon" alt=""> |
|
416
|
|
|
<span class="link-text"> |
|
417
|
|
|
<?php echo htmlspecialchars($_user['website']); ?> |
|
418
|
|
|
</span> |
|
419
|
|
|
</a> |
|
420
|
|
|
</div> |
|
421
|
|
|
</div> |
|
422
|
|
|
<div class="user-profile-item"> |
|
423
|
|
|
<!-- |
|
424
|
|
|
<div class="yt-c3-profile-custom-url field-container "> |
|
425
|
|
|
<a href="http://smarturl.it/boyfriend?IQid=youtube" rel="me nofollow" target="_blank" title="Get "Boyfriend" on iTunes" class="yt-uix-redirect-link"> |
|
426
|
|
|
<img src="//s2.googleusercontent.com/s2/favicons?domain=smarturl.it&feature=youtube_channel" class="favicon" alt=""> |
|
427
|
|
|
<span class="link-text"> |
|
428
|
|
|
Get "Boyfriend" on iTunes |
|
429
|
|
|
</span> |
|
430
|
|
|
</a> |
|
431
|
|
|
</div> |
|
432
|
|
|
<div class="yt-c3-profile-custom-url field-container "> |
|
433
|
|
|
<a href="http://bieberfever.com/" rel="me nofollow" target="_blank" title="Bieber Fever" class="yt-uix-redirect-link"> |
|
434
|
|
|
<img src="//s2.googleusercontent.com/s2/favicons?domain=bieberfever.com&feature=youtube_channel" class="favicon" alt=""> |
|
435
|
|
|
<span class="link-text"> |
|
436
|
|
|
Bieber Fever |
|
437
|
|
|
</span> |
|
438
|
|
|
</a> |
|
439
|
|
|
</div> |
|
440
|
|
|
--> |
|
441
|
|
|
</div> |
|
442
|
|
|
<hr class="yt-horizontal-rule "> |
|
443
|
|
|
<?php } ?> |
|
444
|
|
|
<div class="section created-by-section"> |
|
445
|
|
|
<div class="user-profile-item"> |
|
446
|
|
|
by <span class="yt-user-name " dir="ltr"><?php echo htmlspecialchars($_user['username']); ?></span> |
|
447
|
|
|
</div> |
|
448
|
|
|
<div class="user-profile-item "> |
|
449
|
|
|
<h5>Latest Activity</h5> |
|
450
|
|
|
<span class="value"><?php echo date("M d, Y", strtotime($_user['lastlogin'])); ?></span> |
|
451
|
|
|
</div> |
|
452
|
|
|
<div class="user-profile-item "> |
|
453
|
|
|
<h5>Date Joined</h5> |
|
454
|
|
|
<span class="value"><?php echo date("M d, Y", strtotime($_user['created'])); ?></span> |
|
455
|
|
|
</div> |
|
456
|
|
|
<div class="user-profile-item "> |
|
457
|
|
|
<h5>Country</h5> |
|
458
|
|
|
<span class="value"><?php echo htmlspecialchars($_user['country']); ?></span> |
|
459
|
|
|
</div> |
|
460
|
|
|
<?php if($_user['genre'] != "none") { ?> |
|
461
|
|
|
<div class="user-profile-item "> |
|
462
|
|
|
<h5>Channel Genre</h5> |
|
463
|
|
|
<span class="value"><?php echo htmlspecialchars($_user['genre']); ?></span> |
|
464
|
|
|
</div> |
|
465
|
|
|
<?php } ?> |
|
466
|
|
|
</div> |
|
467
|
|
|
<hr class="yt-horizontal-rule "> |
|
468
|
|
|
</div> |
|
469
|
|
|
</div> |
|
470
|
|
|
<div class="playlists-narrow channel-module yt-uix-c3-module-container"> |
|
471
|
|
|
<div class="module-view gh-featured"> |
|
472
|
|
|
<h2>Featured Playlists</h2> |
|
473
|
|
|
<div class="playlist yt-tile-visible yt-uix-tile"> |
|
474
|
|
|
<a href="/watch?v=<?php echo $video['rid']; ?>&list=UUIwFjwMjI0y7PDBVEO9-bkQ&feature=plcp" class="play-all yt-uix-sessionlink" data-sessionlink="context=C424914aFDvjVQa1PpcFOAKrjXCvPIPfXhqt8nxQclzwafVRdM4CE%3D"> |
|
475
|
|
|
<span class="playlist-thumb-strip playlist-thumb-strip-252"><span class="videos videos-4 horizontal-cutoff"><span class="clip"><span class="centering-offset"><span class="centering"><span class="ie7-vertical-align-hack"> </span><img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" data-thumb="//i3.ytimg.com/vi//watch?v=<?php echo $video['rid']; ?>/default.jpg" alt="" class="thumb"></span></span></span><span class="clip"><span class="centering-offset"><span class="centering"><span class="ie7-vertical-align-hack"> </span><img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" data-thumb="//i3.ytimg.com/vi/2juCJKaOpik/default.jpg" alt="" class="thumb"></span></span></span><span class="clip"><span class="centering-offset"><span class="centering"><span class="ie7-vertical-align-hack"> </span><img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" data-thumb="//i2.ytimg.com/vi/yDupj8TWDPc/default.jpg" alt="" class="thumb"></span></span></span><span class="clip"><span class="centering-offset"><span class="centering"><span class="ie7-vertical-align-hack"> </span><img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" data-thumb="//i1.ytimg.com/vi/PejZ7qR3qQo/default.jpg" alt="" class="thumb"></span></span></span></span><span class="resting-overlay"><img src="//s.ytimg.com/yt/img/channels/play-icon-resting-vflXxuFB8.png" class="play-button" alt="Play all"> <span class="video-count-box"> |
|
476
|
|
|
88 videos |
|
477
|
|
|
</span> |
|
478
|
|
|
</span><span class="hover-overlay"><span class="play-all-container"><strong><img src="//s.ytimg.com/yt/img/channels/mini-play-all-vflZu1SBs.png" alt="">Play all</strong></span></span></span> |
|
479
|
|
|
</a> |
|
480
|
|
|
<h3> |
|
481
|
|
|
<a href="/playlist?list=UUIwFjwMjI0y7PDBVEO9-bkQ&feature=plcp" title="See all videos in playlist." class="yt-uix-tile-link"> |
|
482
|
|
|
Uploaded videos |
|
483
|
|
|
</a> |
|
484
|
|
|
</h3> |
|
485
|
|
|
<span class="playlist-author-attribution"> |
|
486
|
|
|
by <?php echo htmlspecialchars($_user['username']); ?> |
|
487
|
|
|
</span> |
|
488
|
|
|
</div> |
|
489
|
|
|
<div class="playlist yt-tile-visible yt-uix-tile"> |
|
490
|
|
|
<a href="/watch?v=v-FVihIlU2g&list=PL1396648D817B4D99&feature=plcp" class="play-all yt-uix-sessionlink" data-sessionlink="context=C4c91af9FDvjVQa1PpcFOAKrjXCvPIPaqwvOSDQbQNPN0VK1tztfU%3D"> |
|
491
|
|
|
<span class="playlist-thumb-strip playlist-thumb-strip-252"><span class="videos videos-4 horizontal-cutoff"><span class="clip"><span class="centering-offset"><span class="centering"><span class="ie7-vertical-align-hack"> </span><img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" data-thumb="//i3.ytimg.com/vi/v-FVihIlU2g/default.jpg" alt="" class="thumb"></span></span></span><span class="clip"><span class="centering-offset"><span class="centering"><span class="ie7-vertical-align-hack"> </span><img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" data-thumb="//i4.ytimg.com/vi/wlAw48HucqY/default.jpg" alt="" class="thumb"></span></span></span><span class="clip"><span class="centering-offset"><span class="centering"><span class="ie7-vertical-align-hack"> </span><img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" data-thumb="//i1.ytimg.com/vi/PejZ7qR3qQo/default.jpg" alt="" class="thumb"></span></span></span><span class="clip"><span class="centering-offset"><span class="centering"><span class="ie7-vertical-align-hack"> </span><img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" data-thumb="//i1.ytimg.com/vi/4GuqB1BQVr4/default.jpg" alt="" class="thumb"></span></span></span></span><span class="resting-overlay"><img src="//s.ytimg.com/yt/img/channels/play-icon-resting-vflXxuFB8.png" class="play-button" alt="Play all"> <span class="video-count-box"> |
|
492
|
|
|
35 videos |
|
493
|
|
|
</span> |
|
494
|
|
|
</span><span class="hover-overlay"><span class="play-all-container"><strong><img src="//s.ytimg.com/yt/img/channels/mini-play-all-vflZu1SBs.png" alt="">Play all</strong></span></span></span> |
|
495
|
|
|
</a> |
|
496
|
|
|
<h3> |
|
497
|
|
|
<a href="/playlist?list=PL1396648D817B4D99&feature=plcp" title="See all videos in playlist." class="yt-uix-tile-link"> |
|
498
|
|
|
<?php echo htmlspecialchars($_user['username']); ?> Official Videos |
|
499
|
|
|
</a> |
|
500
|
|
|
</h3> |
|
501
|
|
|
<span class="playlist-author-attribution"> |
|
502
|
|
|
by <?php echo htmlspecialchars($_user['username']); ?> |
|
503
|
|
|
</span> |
|
504
|
|
|
</div> |
|
505
|
|
|
<div class="playlist yt-tile-visible yt-uix-tile"> |
|
506
|
|
|
<a href="/watch?v=eQOFRZ1wNLw&list=PL15BF557DC3915ECA&feature=plcp" class="play-all yt-uix-sessionlink" data-sessionlink="context=C4dd4e83FDvjVQa1PpcFOAKrjXCvPIPZdCjKuSxZzS2tiIY-EqUm0%3D"> |
|
507
|
|
|
<span class="playlist-thumb-strip playlist-thumb-strip-252"><span class="videos videos-4 horizontal-cutoff"><span class="clip"><span class="centering-offset"><span class="centering"><span class="ie7-vertical-align-hack"> </span><img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" data-thumb="//i2.ytimg.com/vi/eQOFRZ1wNLw/default.jpg" alt="" class="thumb"></span></span></span><span class="clip"><span class="centering-offset"><span class="centering"><span class="ie7-vertical-align-hack"> </span><img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" data-thumb="//i4.ytimg.com/vi/KJWZSEkCrAM/default.jpg" alt="" class="thumb"></span></span></span><span class="clip"><span class="centering-offset"><span class="centering"><span class="ie7-vertical-align-hack"> </span><img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" data-thumb="//i3.ytimg.com/vi/zXBAGCPvrqc/default.jpg" alt="" class="thumb"></span></span></span><span class="clip"><span class="centering-offset"><span class="centering"><span class="ie7-vertical-align-hack"> </span><img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" data-thumb="//i4.ytimg.com/vi/ko8gepM8MBU/default.jpg" alt="" class="thumb"></span></span></span></span><span class="resting-overlay"><img src="//s.ytimg.com/yt/img/channels/play-icon-resting-vflXxuFB8.png" class="play-button" alt="Play all"> <span class="video-count-box"> |
|
508
|
|
|
9 videos |
|
509
|
|
|
</span> |
|
510
|
|
|
</span><span class="hover-overlay"><span class="play-all-container"><strong><img src="//s.ytimg.com/yt/img/channels/mini-play-all-vflZu1SBs.png" alt="">Play all</strong></span></span></span> |
|
511
|
|
|
</a> |
|
512
|
|
|
<h3> |
|
513
|
|
|
<a href="/playlist?list=PL15BF557DC3915ECA&feature=plcp" title="See all videos in playlist." class="yt-uix-tile-link"> |
|
514
|
|
|
Most Popular (18 mins) |
|
515
|
|
|
</a> |
|
516
|
|
|
</h3> |
|
517
|
|
|
<span class="playlist-author-attribution"> |
|
518
|
|
|
by <?php echo htmlspecialchars($_user['username']); ?> |
|
519
|
|
|
</span> |
|
520
|
|
|
</div> |
|
521
|
|
|
<div class="playlist yt-tile-visible yt-uix-tile"> |
|
522
|
|
|
<a href="/watch?v=OoGC2R8PhYw&list=PLB6EC88546A801537&feature=plcp" class="play-all yt-uix-sessionlink" data-sessionlink="context=C4e61a22FDvjVQa1PpcFOAKrjXCvPIPcNgMqYlMTZVmWrsMjXmUoQ%3D"> |
|
523
|
|
|
<span class="playlist-thumb-strip playlist-thumb-strip-252"><span class="videos videos-4 horizontal-cutoff"><span class="clip"><span class="centering-offset"><span class="centering"><span class="ie7-vertical-align-hack"> </span><img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" data-thumb="//i4.ytimg.com/vi/OoGC2R8PhYw/default.jpg" alt="" class="thumb"></span></span></span><span class="clip"><span class="centering-offset"><span class="centering"><span class="ie7-vertical-align-hack"> </span><img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" data-thumb="//i1.ytimg.com/vi/hwRWsewRZJo/default.jpg" alt="" class="thumb"></span></span></span><span class="clip"><span class="centering-offset"><span class="centering"><span class="ie7-vertical-align-hack"> </span><img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" data-thumb="//i2.ytimg.com/vi/MFZ2s_ulXiM/default.jpg" alt="" class="thumb"></span></span></span><span class="clip"><span class="centering-offset"><span class="centering"><span class="ie7-vertical-align-hack"> </span><img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" data-thumb="//i1.ytimg.com/vi/lXOWt524IQM/default.jpg" alt="" class="thumb"></span></span></span></span><span class="resting-overlay"><img src="//s.ytimg.com/yt/img/channels/play-icon-resting-vflXxuFB8.png" class="play-button" alt="Play all"> <span class="video-count-box"> |
|
524
|
|
|
13 videos |
|
525
|
|
|
</span> |
|
526
|
|
|
</span><span class="hover-overlay"><span class="play-all-container"><strong><img src="//s.ytimg.com/yt/img/channels/mini-play-all-vflZu1SBs.png" alt="">Play all</strong></span></span></span> |
|
527
|
|
|
</a> |
|
528
|
|
|
<h3> |
|
529
|
|
|
<a href="/playlist?list=PLB6EC88546A801537&feature=plcp" title="See all videos in playlist." class="yt-uix-tile-link"> |
|
530
|
|
|
Non-singing Vids |
|
531
|
|
|
</a> |
|
532
|
|
|
</h3> |
|
533
|
|
|
<span class="playlist-author-attribution"> |
|
534
|
|
|
by <?php echo htmlspecialchars($_user['username']); ?> |
|
535
|
|
|
</span> |
|
536
|
|
|
</div> |
|
537
|
|
|
<a class="view-all-link" href="/user/<?php echo htmlspecialchars($_user['username']); ?>/videos?view=1"> |
|
538
|
|
|
view all |
|
539
|
|
|
<img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt=""> |
|
540
|
|
|
</a> |
|
541
|
|
|
</div> |
|
542
|
|
|
</div> |
|
543
|
|
|
</div> |
|
544
|
|
|
</div> |
|
545
|
|
|
</div> |
|
546
|
|
|
</div> |
|
547
|
|
|
</div> |
|
548
|
|
|
</div> |
|
549
|
|
|
</div> |
|
550
|
|
|
<!-- end content --> |
|
551
|
|
|
</div> |
|
552
|
|
|
<div id="footer-container"> |
|
553
|
|
|
<!-- begin footer --> |
|
554
|
|
|
<script> |
|
555
|
|
|
if (window.yt.timing) {yt.timing.tick("foot_begin");} |
|
556
|
|
|
</script> |
|
557
|
|
|
<div id="footer"><?php require($_SERVER['DOCUMENT_ROOT'] . "/s/mod/footer.php"); ?></div> |
|
558
|
|
|
<script> |
|
559
|
|
|
if (window.yt.timing) {yt.timing.tick("foot_end");} |
|
560
|
|
|
</script> |
|
561
|
|
|
<!-- end footer --> |
|
562
|
|
|
</div> |
|
563
|
|
|
<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"> |
|
564
|
|
|
<div id="playlist-bar-bar-container"> |
|
565
|
|
|
<div id="playlist-bar-bar"> |
|
566
|
|
|
<div class="yt-alert yt-alert-naked yt-alert-success hid " id="playlist-bar-notifications"> |
|
567
|
|
|
<div class="yt-alert-icon"><img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" class="icon master-sprite" alt="Alert icon"></div> |
|
568
|
|
|
<div class="yt-alert-content" role="alert"></div> |
|
569
|
|
|
</div> |
|
570
|
|
|
<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></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></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></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></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></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> |
|
571
|
|
|
<a id="playlist-bar-lists-back" href="#"> |
|
572
|
|
|
Return to active list |
|
573
|
|
|
</a> |
|
574
|
|
|
<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></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> |
|
575
|
|
|
</div> |
|
576
|
|
|
</div> |
|
577
|
|
|
<div id="playlist-bar-tray-container"> |
|
578
|
|
|
<div id="playlist-bar-tray" class="yt-uix-slider yt-uix-slider-fluid"> |
|
579
|
|
|
<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> |
|
580
|
|
|
<div class="yt-uix-slider-body"> |
|
581
|
|
|
<div id="playlist-bar-tray-content" class="yt-uix-slider-slide"> |
|
582
|
|
|
<ol class="video-list"></ol> |
|
583
|
|
|
<ol id="playlist-bar-help"> |
|
584
|
|
|
<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?uilel=3&service=youtube&passive=true&continue=http%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26feature%3Dplaylist%26nomobiletemp%3D1%26hl%3Den_US%26next%3D%252Fuser%252F<?php echo htmlspecialchars($_user['username']); ?>%253Ffeature%253Dg-logo-xit&hl=en_US&ltmpl=sso">sign in</a> to load a different list.</li> |
|
585
|
|
|
</ol> |
|
586
|
|
|
</div> |
|
587
|
|
|
<div class="yt-uix-slider-shade-left"></div> |
|
588
|
|
|
<div class="yt-uix-slider-shade-right"></div> |
|
589
|
|
|
</div> |
|
590
|
|
|
</div> |
|
591
|
|
|
<div id="playlist-bar-save"></div> |
|
592
|
|
|
<div id="playlist-bar-lists" class="dark-lolz"></div> |
|
593
|
|
|
<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> |
|
594
|
|
|
<div id="playlist-bar-template" style="display: none;" data-video-thumb-url="//i4.ytimg.com/vi/__video_encrypted_id__/default.jpg"> |
|
595
|
|
|
<!--<li class="playlist-bar-item yt-uix-slider-slide-unit __classes__" data-video-id="__video_encrypted_id__"><a href="__video_url__" title="__video_title__"><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> |
|
596
|
|
|
</span></span><span class="dragger"></span></a></li>--> |
|
597
|
|
|
</div> |
|
598
|
|
|
<div id="playlist-bar-next-up-template" style="display: none;"> |
|
599
|
|
|
<!--<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>--> |
|
600
|
|
|
</div> |
|
601
|
|
|
</div> |
|
602
|
|
|
<div id="playlist-bar-options-menu" class="hid"> |
|
603
|
|
|
<div id="playlist-bar-extras-menu"> |
|
604
|
|
|
<ul> |
|
605
|
|
|
<li><span class="yt-uix-button-menu-item" data-action="clear"> |
|
606
|
|
|
Clear all videos from this list |
|
607
|
|
|
</span> |
|
608
|
|
|
</li> |
|
609
|
|
|
</ul> |
|
610
|
|
|
</div> |
|
611
|
|
|
<ul> |
|
612
|
|
|
<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> |
|
613
|
|
|
</ul> |
|
614
|
|
|
</div> |
|
615
|
|
|
</div> |
|
616
|
|
|
<div id="shared-addto-watch-later-login" class="hid"> |
|
617
|
|
|
<a href="https://accounts.google.com/ServiceLogin?uilel=3&service=youtube&passive=true&continue=http%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26feature%3Dplaylist%26nomobiletemp%3D1%26hl%3Den_US%26next%3D%252Fuser%252F<?php echo htmlspecialchars($_user['username']); ?>%253Ffeature%253Dg-logo-xit&hl=en_US&ltmpl=sso" class="sign-in-link">Sign in</a> to add this to a playlist |
|
618
|
|
|
</div> |
|
619
|
|
|
<div id="shared-addto-menu" style="display: none;" class="hid sign-in"> |
|
620
|
|
|
<div class="addto-menu"> |
|
621
|
|
|
<div id="addto-list-panel" class="menu-panel active-panel"> |
|
622
|
|
|
<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?uilel=3&service=youtube&passive=true&continue=http%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26feature%3Dplaylist%26nomobiletemp%3D1%26hl%3Den_US%26next%3D%252Fuser%252F<?php echo htmlspecialchars($_user['username']); ?>%253Ffeature%253Dg-logo-xit&hl=en_US&ltmpl=sso" class="sign-in-link">Sign in</a> to add this to a playlist |
|
623
|
|
|
</span> |
|
624
|
|
|
</div> |
|
625
|
|
|
<div id="addto-list-saved-panel" class="menu-panel"> |
|
626
|
|
|
<div class="panel-content"> |
|
627
|
|
|
<div class="yt-alert yt-alert-naked yt-alert-success "> |
|
628
|
|
|
<div class="yt-alert-icon"><img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" class="icon master-sprite" alt="Alert icon"></div> |
|
629
|
|
|
<div class="yt-alert-content" role="alert"> |
|
630
|
|
|
<span class="yt-alert-vertical-trick"></span> |
|
631
|
|
|
<div class="yt-alert-message"> |
|
632
|
|
|
<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> |
|
633
|
|
|
</div> |
|
634
|
|
|
</div> |
|
635
|
|
|
</div> |
|
636
|
|
|
</div> |
|
637
|
|
|
</div> |
|
638
|
|
|
<div id="addto-list-error-panel" class="menu-panel"> |
|
639
|
|
|
<div class="panel-content"> |
|
640
|
|
|
<img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif"> |
|
641
|
|
|
<span class="error-details"></span> |
|
642
|
|
|
<a class="show-menu-link">Back to list</a> |
|
643
|
|
|
</div> |
|
644
|
|
|
</div> |
|
645
|
|
|
<div id="addto-note-input-panel" class="menu-panel"> |
|
646
|
|
|
<div class="panel-content"> |
|
647
|
|
|
<div class="yt-alert yt-alert-naked yt-alert-success "> |
|
648
|
|
|
<div class="yt-alert-icon"><img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" class="icon master-sprite" alt="Alert icon"></div> |
|
649
|
|
|
<div class="yt-alert-content" role="alert"> |
|
650
|
|
|
<span class="yt-alert-vertical-trick"></span> |
|
651
|
|
|
<div class="yt-alert-message"> |
|
652
|
|
|
<span class="message">Added to playlist:</span> |
|
653
|
|
|
<span class="addto-title yt-uix-tooltip" title="More information about this playlist" data-tooltip-show-delay="750"></span> |
|
654
|
|
|
</div> |
|
655
|
|
|
</div> |
|
656
|
|
|
</div> |
|
657
|
|
|
</div> |
|
658
|
|
|
<div class="yt-uix-char-counter" data-char-limit="150"> |
|
659
|
|
|
<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> |
|
660
|
|
|
<span class="yt-uix-char-counter-remaining">150</span> |
|
661
|
|
|
</div> |
|
662
|
|
|
<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> |
|
663
|
|
|
</div> |
|
664
|
|
|
<div id="addto-note-saving-panel" class="menu-panel"> |
|
665
|
|
|
<div class="panel-content loading-content"> |
|
666
|
|
|
<img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif"> |
|
667
|
|
|
<span>Saving note...</span> |
|
668
|
|
|
</div> |
|
669
|
|
|
</div> |
|
670
|
|
|
<div id="addto-note-saved-panel" class="menu-panel"> |
|
671
|
|
|
<div class="panel-content"> |
|
672
|
|
|
<img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif"> |
|
673
|
|
|
<span class="message">Note added to:</span> |
|
674
|
|
|
</div> |
|
675
|
|
|
</div> |
|
676
|
|
|
<div id="addto-note-error-panel" class="menu-panel"> |
|
677
|
|
|
<div class="panel-content"> |
|
678
|
|
|
<img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif"> |
|
679
|
|
|
<span class="message">Error adding note:</span> |
|
680
|
|
|
<ul class="error-details"></ul> |
|
681
|
|
|
<a class="add-note-link">Click to add a new note</a> |
|
682
|
|
|
</div> |
|
683
|
|
|
</div> |
|
684
|
|
|
<div class="close-note hid"> |
|
685
|
|
|
<img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" class="close-button"> |
|
686
|
|
|
</div> |
|
687
|
|
|
</div> |
|
688
|
|
|
</div> |
|
689
|
|
|
</div> |
|
690
|
|
|
<!-- end page --> |
|
691
|
|
|
<script id="www-core-js" src="//s.ytimg.com/yt/jsbin/www-core-vfl-1JTp7.js" data-loaded="true"></script> |
|
692
|
|
|
<script> |
|
693
|
|
|
yt.setConfig({ |
|
694
|
|
|
'XSRF_TOKEN': 'HxVja_B7VM4N8Luf5v0rMCobR658MTMzOTgwODA4MkAxMzM5NzIxNjgy', |
|
695
|
|
|
'XSRF_FIELD_NAME': 'session_token' |
|
696
|
|
|
}); |
|
697
|
|
|
yt.pubsub.subscribe('init', yt.www.xsrf.populateSessionToken); |
|
698
|
|
|
|
|
699
|
|
|
yt.setConfig('XSRF_REDIRECT_TOKEN', 'DsikobgaHVx4FiaLsFlCk4-dGCt8MTMzOTgwODA4MkAxMzM5NzIxNjgy'); |
|
700
|
|
|
|
|
701
|
|
|
yt.setConfig('LOGGED_IN', false); |
|
702
|
|
|
yt.setConfig('SESSION_INDEX', null); |
|
703
|
|
|
|
|
704
|
|
|
yt.setConfig('FEEDBACK_LOCALE_LANGUAGE', "en"); |
|
705
|
|
|
yt.setConfig('FEEDBACK_LOCALE_EXTRAS', {"experiments": "904001,907342,904824,910206,908620,907217,907335,921602,919306,922600,919316,920704,912804,913542,919324,912706", "accept_language": null}); |
|
706
|
|
|
</script> |
|
707
|
|
|
<script> |
|
708
|
|
|
if (window.yt.timing) {yt.timing.tick("js_head");} |
|
709
|
|
|
</script> |
|
710
|
|
|
<script src="//s.ytimg.com/yt/jsbin/www-channels3-vflCdEY9I.js" data-loaded="true"></script> |
|
711
|
|
|
<script> |
|
712
|
|
|
yt.setConfig('CHANNEL_ID', "IwFjwMjI0y7PDBVEO9-bkQ"); |
|
713
|
|
|
yt.setAjaxToken('channel_ajax', ""); |
|
714
|
|
|
|
|
715
|
|
|
yt.setMsg({ |
|
716
|
|
|
'UNBLOCK_USER': "Are you sure you want to unblock this user?", |
|
717
|
|
|
'BLOCK_USER': "Are you sure you want to block this user?" |
|
718
|
|
|
}); |
|
719
|
|
|
yt.setConfig('BLOCK_USER_AJAX_XSRF', ''); |
|
720
|
|
|
|
|
721
|
|
|
|
|
722
|
|
|
yt.setMsg({ |
|
723
|
|
|
'GENERIC_EDITOR_ERROR': "An error occurred. Please try again later." |
|
724
|
|
|
}); |
|
725
|
|
|
yt.pubsub.subscribe('init', yt.www.channels3.channel.init); |
|
726
|
|
|
|
|
727
|
|
|
</script> |
|
728
|
|
|
<script> |
|
729
|
|
|
yt.setAjaxToken('subscription_ajax', ""); |
|
730
|
|
|
yt.pubsub.subscribe('init', yt.www.subscriptions.SubscriptionButton.init); |
|
731
|
|
|
</script> |
|
732
|
|
|
<script src="//s.ytimg.com/yt/jsbin/www-watch-livestreaming-vfliBd-IQ.js" data-loaded="true"></script> |
|
733
|
|
|
<script> |
|
734
|
|
|
yt.setMsg('FLASH_UPGRADE', "\u003cdiv class=\"yt-alert yt-alert-default yt-alert-error yt-alert-player\"\u003e\u003cdiv class=\"yt-alert-icon\"\u003e\u003cimg s\u0072c=\"\/\/s.ytimg.com\/yt\/img\/pixel-vfl3z5WfW.gif\" class=\"icon master-sprite\" alt=\"Alert icon\"\u003e\u003c\/div\u003e\u003cdiv class=\"yt-alert-buttons\"\u003e\u003c\/div\u003e\u003cdiv class=\"yt-alert-content\" role=\"alert\"\u003e \u003cspan class=\"yt-alert-vertical-trick\"\u003e\u003c\/span\u003e\n \u003cdiv class=\"yt-alert-message\"\u003e\n You need to upgrade your Adobe Flash Player to watch this video. \u003cbr\u003e \u003ca href=\"http:\/\/get.adobe.com\/flashplayer\/\"\u003eDownload it from Adobe.\u003c\/a\u003e\n \u003c\/div\u003e\n\u003c\/div\u003e\u003c\/div\u003e"); |
|
735
|
|
|
yt.setConfig({ |
|
736
|
|
|
'PLAYER_CONFIG': {"assets": {"html": "\/html5_player_template", "css": "http:\/\/s.ytimg.com\/yt\/cssbin\/www-player-vfllhw7HB.css", "js": "http:\/\/s.ytimg.com\/yt\/jsbin\/html5player-vflzTrRqK.js"}, "url": "http:\/\/s.ytimg.com\/yt\/swfbin\/watch_as3-vflbPspVE.swf", "min_version": "8.0.0", "args": {"ttsurl": "http:\/\/www.youtube.com\/api\/timedtext?sparams=asr_langs%2Ccaps%2Cv%2Cexpire\u0026asr_langs=en%2Cko%2Cja%2Ces\u0026v=/watch?v=<?php echo $video['rid']; ?>\u0026caps=asr\u0026expire=1339746882\u0026key=yttt1\u0026signature=A1B858FF427B45672676C7403417ED1F4091A806.C347A6021C0F843E46F2056AEBA38FC93A0A47B8\u0026hl=en_US", "el": "profilepage", "fexp": "904001,907342,904824,910206,908620,907217,907335,921602,919306,922600,919316,920704,912804,913542,919324,912706", "url_encoded_fmt_stream_map": "url=http%3A%2F%2Fo-o.preferred.nuq04s10.v1.lscache4.c.youtube.com%2Fvideoplayback%3Fupn%3D_7WL7XeDtjs%26sparams%3Dcp%252Cid%252Cip%252Cipbits%252Citag%252Cratebypass%252Csource%252Cupn%252Cexpire%26fexp%3D904001%252C907342%252C904824%252C910206%252C908620%252C907217%252C907335%252C921602%252C919306%252C922600%252C919316%252C920704%252C912804%252C913542%252C919324%252C912706%26ms%3Dau%26itag%3D44%26ip%3D207.0.0.0%26signature%3D9B9B5ECF02F2F66BDCCB0ACED26D3406F9F83241.1B2CC833461E3D2C4D081B7DFBC65B0948C61FB9%26sver%3D3%26mt%3D1339721111%26ratebypass%3Dyes%26source%3Dyoutube%26expire%3D1339743583%26key%3Dyt1%26ipbits%3D8%26cp%3DU0hSTldPUV9NTUNOMl9PSVVGOmdTcVlPRFNNTEdM%26id%3D56ffd0bfee85d71f\u0026quality=large\u0026fallback_host=tc.v1.cache4.c.youtube.com\u0026type=video%2Fwebm%3B+codecs%3D%22vp8.0%2C+vorbis%22\u0026itag=44,url=http%3A%2F%2Fo-o.preferred.nuq04s10.v14.lscache1.c.youtube.com%2Fvideoplayback%3Fupn%3D_7WL7XeDtjs%26sparams%3Dalgorithm%252Cburst%252Ccp%252Cfactor%252Cid%252Cip%252Cipbits%252Citag%252Csource%252Cupn%252Cexpire%26fexp%3D904001%252C907342%252C904824%252C910206%252C908620%252C907217%252C907335%252C921602%252C919306%252C922600%252C919316%252C920704%252C912804%252C913542%252C919324%252C912706%26mt%3D1339721111%26ms%3Dau%26algorithm%3Dthrottle-factor%26itag%3D35%26ip%3D207.0.0.0%26burst%3D40%26sver%3D3%26signature%3DB702D7CA72653169BDC2C945B5A35F4A23A3FEBF.ACC660CDAB11901FF8D3DA8D384D61F0AB0F0125%26source%3Dyoutube%26expire%3D1339743583%26key%3Dyt1%26ipbits%3D8%26factor%3D1.25%26cp%3DU0hSTldPUV9NTUNOMl9PSVVGOmdTcVlPRFNNTEdM%26id%3D56ffd0bfee85d71f\u0026quality=large\u0026fallback_host=tc.v14.cache1.c.youtube.com\u0026type=video%2Fx-flv\u0026itag=35,url=http%3A%2F%2Fo-o.preferred.nuq04s10.v24.lscache3.c.youtube.com%2Fvideoplayback%3Fupn%3D_7WL7XeDtjs%26sparams%3Dcp%252Cid%252Cip%252Cipbits%252Citag%252Cratebypass%252Csource%252Cupn%252Cexpire%26fexp%3D904001%252C907342%252C904824%252C910206%252C908620%252C907217%252C907335%252C921602%252C919306%252C922600%252C919316%252C920704%252C912804%252C913542%252C919324%252C912706%26ms%3Dau%26itag%3D43%26ip%3D207.0.0.0%26signature%3D9FABDD8C013AA137B87DF2D154D1B90E6827A2A3.880FECDEC066236D85FCF223CF472B62B8F9B3A4%26sver%3D3%26mt%3D1339721111%26ratebypass%3Dyes%26source%3Dyoutube%26expire%3D1339743583%26key%3Dyt1%26ipbits%3D8%26cp%3DU0hSTldPUV9NTUNOMl9PSVVGOmdTcVlPRFNNTEdM%26id%3D56ffd0bfee85d71f\u0026quality=medium\u0026fallback_host=tc.v24.cache3.c.youtube.com\u0026type=video%2Fwebm%3B+codecs%3D%22vp8.0%2C+vorbis%22\u0026itag=43,url=http%3A%2F%2Fo-o.preferred.nuq04s10.v3.lscache7.c.youtube.com%2Fvideoplayback%3Fupn%3D_7WL7XeDtjs%26sparams%3Dalgorithm%252Cburst%252Ccp%252Cfactor%252Cid%252Cip%252Cipbits%252Citag%252Csource%252Cupn%252Cexpire%26fexp%3D904001%252C907342%252C904824%252C910206%252C908620%252C907217%252C907335%252C921602%252C919306%252C922600%252C919316%252C920704%252C912804%252C913542%252C919324%252C912706%26mt%3D1339721111%26ms%3Dau%26algorithm%3Dthrottle-factor%26itag%3D34%26ip%3D207.0.0.0%26burst%3D40%26sver%3D3%26signature%3D1BA326B784DAA9F62FD789CBB5C2FABFCD5D351C.C4618E3AB2AB08C61C6A982A36F405DA886B5D5A%26source%3Dyoutube%26expire%3D1339743583%26key%3Dyt1%26ipbits%3D8%26factor%3D1.25%26cp%3DU0hSTldPUV9NTUNOMl9PSVVGOmdTcVlPRFNNTEdM%26id%3D56ffd0bfee85d71f\u0026quality=medium\u0026fallback_host=tc.v3.cache7.c.youtube.com\u0026type=video%2Fx-flv\u0026itag=34,url=http%3A%2F%2Fo-o.preferred.nuq04s10.v14.lscache1.c.youtube.com%2Fvideoplayback%3Fupn%3D_7WL7XeDtjs%26sparams%3Dcp%252Cid%252Cip%252Cipbits%252Citag%252Cratebypass%252Csource%252Cupn%252Cexpire%26fexp%3D904001%252C907342%252C904824%252C910206%252C908620%252C907217%252C907335%252C921602%252C919306%252C922600%252C919316%252C920704%252C912804%252C913542%252C919324%252C912706%26ms%3Dau%26itag%3D18%26ip%3D207.0.0.0%26signature%3D8806EA8FAE16557A2F9732068442133EA0A0760F.D91694A47E6B0BF627965CDA46010F36105A28FE%26sver%3D3%26mt%3D1339721111%26ratebypass%3Dyes%26source%3Dyoutube%26expire%3D1339743583%26key%3Dyt1%26ipbits%3D8%26cp%3DU0hSTldPUV9NTUNOMl9PSVVGOmdTcVlPRFNNTEdM%26id%3D56ffd0bfee85d71f\u0026quality=medium\u0026fallback_host=tc.v14.cache1.c.youtube.com\u0026type=video%2Fmp4%3B+codecs%3D%22avc1.42001E%2C+mp4a.40.2%22\u0026itag=18,url=http%3A%2F%2Fo-o.preferred.nuq04s10.v4.lscache1.c.youtube.com%2Fvideoplayback%3Fupn%3D_7WL7XeDtjs%26sparams%3Dalgorithm%252Cburst%252Ccp%252Cfactor%252Cid%252Cip%252Cipbits%252Citag%252Csource%252Cupn%252Cexpire%26fexp%3D904001%252C907342%252C904824%252C910206%252C908620%252C907217%252C907335%252C921602%252C919306%252C922600%252C919316%252C920704%252C912804%252C913542%252C919324%252C912706%26mt%3D1339721111%26ms%3Dau%26algorithm%3Dthrottle-factor%26itag%3D5%26ip%3D207.0.0.0%26burst%3D40%26sver%3D3%26signature%3D011CB6739AB60ED79D032DE2F62EB016D8A8E462.C2C0ABE42F26DBA18F2BC6E0D074EB99A95C0DF0%26source%3Dyoutube%26expire%3D1339743583%26key%3Dyt1%26ipbits%3D8%26factor%3D1.25%26cp%3DU0hSTldPUV9NTUNOMl9PSVVGOmdTcVlPRFNNTEdM%26id%3D56ffd0bfee85d71f\u0026quality=small\u0026fallback_host=tc.v4.cache1.c.youtube.com\u0026type=video%2Fx-flv\u0026itag=5,url=http%3A%2F%2Fo-o.preferred.nuq04s10.v12.lscache3.c.youtube.com%2Fvideoplayback%3Fupn%3D_7WL7XeDtjs%26sparams%3Dalgorithm%252Cburst%252Ccp%252Cfactor%252Cid%252Cip%252Cipbits%252Citag%252Csource%252Cupn%252Cexpire%26fexp%3D904001%252C907342%252C904824%252C910206%252C908620%252C907217%252C907335%252C921602%252C919306%252C922600%252C919316%252C920704%252C912804%252C913542%252C919324%252C912706%26mt%3D1339721111%26ms%3Dau%26algorithm%3Dthrottle-factor%26itag%3D36%26ip%3D207.0.0.0%26burst%3D40%26sver%3D3%26signature%3D988FDD37CBA8DB74C1148EE17921D8549434297C.A2C1796F2BA0427C9FE370BFB6B3B09BA1D81B07%26source%3Dyoutube%26expire%3D1339743583%26key%3Dyt1%26ipbits%3D8%26factor%3D1.25%26cp%3DU0hSTldPUV9NTUNOMl9PSVVGOmdTcVlPRFNNTEdM%26id%3D56ffd0bfee85d71f\u0026quality=small\u0026fallback_host=tc.v12.cache3.c.youtube.com\u0026type=video%2F3gpp\u0026itag=36", "allow_embed": 1, "vq": "auto", "account_playback_token": "", "allow_ratings": 1, "keywords": "Rehearsal,Dance,justin,bieber,believe,as,long,you,love,me,rodney,jerkins,pattie,mallette,jeremy,dad,mom,scooter,braun,island,def,jam,usher,rbmg,making,of,the,album,webisode,june,19th,19,new,amazing,song,big,sean,hit,record,<?php echo htmlspecialchars($_user['username']); ?>,always,still,studio,singing,kuk,harrell,producer,sing,boy,guy,man,smash,single,nick,demoura,dancers,sweat,beliebers,hard,work,tour,band", "cc3_module": "http:\/\/s.ytimg.com\/yt\/swfbin\/subtitles3_module-vflu_Qeod.swf", "track_embed": 0, "is_purchased": false, "ps": "default", "fmt_list": "44\/854x480\/99\/0\/0,35\/854x480\/9\/0\/115,43\/640x360\/99\/0\/0,34\/640x360\/9\/0\/115,18\/640x360\/9\/0\/115,5\/320x240\/7\/0\/0,36\/320x240\/99\/0\/0", "author": "<?php echo htmlspecialchars($_user['username']); ?>", "muted": "0", "cc_module": "http:\/\/s.ytimg.com\/yt\/swfbin\/subtitle_module-vflq8KnSi.swf", "length_seconds": 82, "feature": "g-logo-xit", "enablejsapi": 1, "rel": 0, "plid": "AATCeEL9eg3Ls9t-", "cc_font": "Arial Unicode MS, arial, verdana, _sans", "ftoken": "", "sdetail": "f:g-logo-xit,p:\/", "status": "ok", "cc_asr": 1, "watermark": ",http:\/\/s.ytimg.com\/yt\/img\/watermark\/youtube_watermark-vflHX6b6E.png,http:\/\/s.ytimg.com\/yt\/img\/watermark\/youtube_hd_watermark-vflAzLcD6.png", "sourceid": "y", "timestamp": 1339721682, "has_cc": true, "view_count": 2600, "quality_cap": "highres", "hl": "en_US", "tmi": "1", "no_get_video_log": "1", "eurl": "http:\/\/www.youtube.com\/user\/<?php echo htmlspecialchars($_user['username']); ?>", "iurl": "http:\/\/i3.ytimg.com\/vi\//watch?v=<?php echo $video['rid']; ?>\/hqdefault.jpg", "endscreen_module": "http:\/\/s.ytimg.com\/yt\/swfbin\/endscreen-vflJBKwqC.swf", "referrer": "http:\/\/www.youtube.com\/", "avg_rating": 4.97805486284, "video_id": "/watch?v=<?php echo $video['rid']; ?>", "sendtmp": "1", "sk": "bwv_lGOGF4u1g0p7puy7ERICN8NZ5cVFC", "is_video_preview": false, "token": "vjVQa1PpcFMSYb-unvOiIgSL8pW9tObJUMfrEc1mxfE=", "thumbnail_url": "http:\/\/i3.ytimg.com\/vi\//watch?v=<?php echo $video['rid']; ?>\/default.jpg", "iurlsd": "http:\/\/i3.ytimg.com\/vi\//watch?v=<?php echo $video['rid']; ?>\/sddefault.jpg", "autoplay": "1"}, "url_v9as2": "http:\/\/s.ytimg.com\/yt\/swfbin\/cps-vflhvG6F4.swf", "params": {"allowscriptaccess": "always", "allowfullscreen": "true", "bgcolor": "#000000"}, "attrs": {"width": "640", "id": "movie_player", "height": "390"}, "url_v8": "http:\/\/s.ytimg.com\/yt\/swfbin\/cps-vflhvG6F4.swf", "html5": false} |
|
737
|
|
|
}); |
|
738
|
|
|
|
|
739
|
|
|
</script> |
|
740
|
|
|
<script> |
|
741
|
|
|
yt.pubsub.subscribe('init', function() { |
|
742
|
|
|
yt.setAjaxToken('watch_actions_ajax', ""); |
|
743
|
|
|
}); |
|
744
|
|
|
yt.setMsg({ |
|
745
|
|
|
'CHANNELS3_FEATURED_PLAYER_GENERIC_ERROR': "This feature is not available right now. Please try again later." |
|
746
|
|
|
}) |
|
747
|
|
|
yt.pubsub.subscribe('init', function () { |
|
748
|
|
|
yt.www.livestreaming.ConcurrentViewers(30000) |
|
749
|
|
|
}); |
|
750
|
|
|
</script> |
|
751
|
|
|
<script> |
|
752
|
|
|
yt.pubsub.subscribe('init', yt.www.channels3.channel.initBloggerLayout); |
|
753
|
|
|
</script> |
|
754
|
|
|
<script> |
|
755
|
|
|
var channel_customization_toggled = false; |
|
756
|
|
|
|
|
757
|
|
|
function open_channel_customization() { |
|
758
|
|
|
console.log("fuck"); |
|
759
|
|
|
if(channel_customization_toggled == false) { |
|
760
|
|
|
console.log("fuck1"); |
|
761
|
|
|
$("#masthead-customization").fadeIn(300); |
|
762
|
|
|
channel_customization_toggled = true; |
|
763
|
|
|
} else { |
|
764
|
|
|
console.log("fuck2"); |
|
765
|
|
|
$("#masthead-customization").fadeOut(300); |
|
766
|
|
|
channel_customization_toggled = false; |
|
767
|
|
|
} |
|
768
|
|
|
} |
|
769
|
|
|
</script> |
|
770
|
|
|
<div id="ad_creative_1" class="ad-div " style="z-index: 1"> |
|
771
|
|
|
<iframe id="ad_creative_iframe_1" scrolling="no" style="z-index: 1" src="//ad-g.doubleclick.net/adi/com.ytbc/<?php echo htmlspecialchars($_user['username']); ?>;sz=1x1;kpu=<?php echo htmlspecialchars($_user['username']); ?>;tile=1;plat=pc;dc_dedup=1;kcr=us;kga=-1;kgg=-1;klg=en;kmyd=ad_creative_1;kt=K;ord=211420892612853?" pu2kj6459="" width="1" height="1" frameborder="0"></iframe> |
|
772
|
|
|
<div style="font-size: 10px; padding-top: 3px;" class="alignC grayText"> |
|
773
|
|
|
<a href="/t/ads_preferences"> |
|
774
|
|
|
Advertisement |
|
775
|
|
|
</a> |
|
776
|
|
|
</div> |
|
777
|
|
|
<script> |
|
778
|
|
|
(function() { |
|
779
|
|
|
var addTimestamp = (Math.floor(Math.random() * 1000) == 0); |
|
780
|
|
|
if (addTimestamp) { |
|
781
|
|
|
var kts = new Date().getTime(); |
|
782
|
|
|
var iframeSrc = "//ad-g.doubleclick.net/adi/com.ytbc/<?php echo htmlspecialchars($_user['username']); ?>;sz=1x1;kpu=<?php echo htmlspecialchars($_user['username']); ?>;tile=1;plat=pc;dc_dedup=1;kcr=us;kga=-1;kgg=-1;klg=en;kmyd=ad_creative_1;kt=K;kts=" + kts + ";ord=211420892612853?"; |
|
783
|
|
|
} else { |
|
784
|
|
|
var iframeSrc = "//ad-g.doubleclick.net/adi/com.ytbc/<?php echo htmlspecialchars($_user['username']); ?>;sz=1x1;kpu=<?php echo htmlspecialchars($_user['username']); ?>;tile=1;plat=pc;dc_dedup=1;kcr=us;kga=-1;kgg=-1;klg=en;kmyd=ad_creative_1;kt=K;ord=211420892612853?"; |
|
785
|
|
|
} |
|
786
|
|
|
var adIframe = document.getElementById("ad_creative_iframe_1"); |
|
787
|
|
|
adIframe.src = iframeSrc; |
|
788
|
|
|
})(); |
|
789
|
|
|
</script> |
|
790
|
|
|
</div> |
|
791
|
|
|
<script src="//www.googletagservices.com/tag/js/gpt.js"></script> |
|
792
|
|
|
<script> |
|
793
|
|
|
(function() { |
|
794
|
|
|
if (!window.googletag) { |
|
795
|
|
|
return; |
|
796
|
|
|
} |
|
797
|
|
|
var gutSlot = googletag.defineSlot("/4061/com.youtube/default", [[300, 250], [300, 60]], 'yt-gut-content'); |
|
798
|
|
|
gutSlot.set('ad_type', 'flash'); |
|
799
|
|
|
gutSlot.addService(googletag.companionAds()); |
|
800
|
|
|
googletag.enableServices(); |
|
801
|
|
|
|
|
802
|
|
|
yt.setConfig('gut_slot', gutSlot); |
|
803
|
|
|
yt.setConfig('yt_gut_invideo_size', gutSlot.getSizes()[0]); |
|
804
|
|
|
yt.setConfig('yt_gut_instream_size', gutSlot.getSizes()[1]); |
|
805
|
|
|
})(); |
|
806
|
|
|
</script> |
|
807
|
|
|
<script> |
|
808
|
|
|
if (window.yt.timing) {yt.timing.tick("js_page");} |
|
809
|
|
|
</script> |
|
810
|
|
|
<script> |
|
811
|
|
|
yt.setConfig('TIMING_ACTION', "channels3"); |
|
812
|
|
|
</script> |
|
813
|
|
|
<script>yt.www.thumbnaildelayload.init(0);</script> |
|
814
|
|
|
<script> |
|
815
|
|
|
yt.setMsg({ |
|
816
|
|
|
'LIST_CLEARED': "List cleared", |
|
817
|
|
|
'PLAYLIST_VIDEO_DELETED': "Video deleted.", |
|
818
|
|
|
'ERROR_OCCURRED': "Sorry, an error occurred.", |
|
819
|
|
|
'NEXT_VIDEO_TOOLTIP': "Next video:\u003cbr\u003e \u0026#8220;${next_video_title}\u0026#8221;", |
|
820
|
|
|
'NEXT_VIDEO_NOTHUMB_TOOLTIP': "Next video", |
|
821
|
|
|
'SHOW_PLAYLIST_TOOLTIP': "Show playlist", |
|
822
|
|
|
'HIDE_PLAYLIST_TOOLTIP': "Hide playlist", |
|
823
|
|
|
'AUTOPLAY_ON_TOOLTIP': "Turn autoplay off", |
|
824
|
|
|
'AUTOPLAY_OFF_TOOLTIP': "Turn autoplay on", |
|
825
|
|
|
'SHUFFLE_ON_TOOLTIP': "Turn shuffle off", |
|
826
|
|
|
'SHUFFLE_OFF_TOOLTIP': "Turn shuffle on", |
|
827
|
|
|
'PLAYLIST_BAR_PLAYLIST_SAVED': "Playlist saved!", |
|
828
|
|
|
'PLAYLIST_BAR_ADDED_TO_FAVORITES': "Added to favorites", |
|
829
|
|
|
'PLAYLIST_BAR_ADDED_TO_PLAYLIST': "Added to playlist", |
|
830
|
|
|
'PLAYLIST_BAR_ADDED_TO_QUEUE': "Added to queue", |
|
831
|
|
|
'AUTOPLAY_WARNING1': "Next video starts in 1 second...", |
|
832
|
|
|
'AUTOPLAY_WARNING2': "Next video starts in 2 seconds...", |
|
833
|
|
|
'AUTOPLAY_WARNING3': "Next video starts in 3 seconds...", |
|
834
|
|
|
'AUTOPLAY_WARNING4': "Next video starts in 4 seconds...", |
|
835
|
|
|
'AUTOPLAY_WARNING5': "Next video starts in 5 seconds...", |
|
836
|
|
|
'UNDO_LINK': "Undo" }); |
|
837
|
|
|
|
|
838
|
|
|
|
|
839
|
|
|
yt.setConfig({ |
|
840
|
|
|
'DRAGDROP_BINARY_URL': "\/\/s.ytimg.com\/yt\/jsbin\/www-dragdrop-vflM9ls_8.js", |
|
841
|
|
|
'PLAYLIST_BAR_PLAYING_INDEX': -1, |
|
842
|
|
|
'LIST_COPY_ON_EDIT_ENABLED': false }); |
|
843
|
|
|
|
|
844
|
|
|
yt.setAjaxToken('addto_ajax_logged_out', "FFGgxx_wEgpAnRrnvI2vI_uxiJd8MEAxMzM5NzIxNjgy"); |
|
845
|
|
|
|
|
846
|
|
|
yt.pubsub.subscribe('init', yt.www.lists.init); |
|
847
|
|
|
|
|
848
|
|
|
|
|
849
|
|
|
|
|
850
|
|
|
|
|
851
|
|
|
|
|
852
|
|
|
|
|
853
|
|
|
|
|
854
|
|
|
|
|
855
|
|
|
yt.pubsub.subscribe('init', function() { |
|
856
|
|
|
yt.net.scriptloader.load("\/\/s.ytimg.com\/yt\/jsbin\/www-searchbox-vflVGQHuy.js", function() { |
|
857
|
|
|
|
|
858
|
|
|
if (_gel('masthead-search')) { |
|
859
|
|
|
yt.setTimeout(function() { |
|
860
|
|
|
searchbox.yt.install(_gel('masthead-search'), |
|
861
|
|
|
_gel('masthead-search')["search_query"], |
|
862
|
|
|
"en", |
|
863
|
|
|
"us", |
|
864
|
|
|
false, |
|
865
|
|
|
'', |
|
866
|
|
|
'', |
|
867
|
|
|
null, |
|
868
|
|
|
null, |
|
869
|
|
|
"Suggestion dismissed", |
|
870
|
|
|
"Dismiss", |
|
871
|
|
|
-1, |
|
872
|
|
|
{}); |
|
873
|
|
|
}, 100); |
|
874
|
|
|
} |
|
875
|
|
|
|
|
876
|
|
|
}); |
|
877
|
|
|
}); |
|
878
|
|
|
|
|
879
|
|
|
|
|
880
|
|
|
|
|
881
|
|
|
</script> |
|
882
|
|
|
<script> |
|
883
|
|
|
yt.setMsg({ |
|
884
|
|
|
'ADDTO_WATCH_LATER_ADDED': "Added", |
|
885
|
|
|
'ADDTO_WATCH_LATER_ERROR': "Error" |
|
886
|
|
|
}); |
|
887
|
|
|
|
|
888
|
|
|
yt.pubsub.subscribe('init', yt.www.lists.addtowatchlater.init); |
|
889
|
|
|
</script> |
|
890
|
|
|
<script> |
|
891
|
|
|
if (window.yt.timing) {yt.timing.tick("js_foot");} |
|
892
|
|
|
</script> |
|
893
|
|
|
</body> |
|
894
|
|
|
</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