@@ -57,10 +57,10 @@ |
||
57 | 57 | --> |
58 | 58 | </div> |
59 | 59 | <?php |
60 | - $stmt = $__db->prepare("SELECT * FROM videos WHERE author = :username ORDER BY id DESC LIMIT 20"); |
|
61 | - $stmt->bindParam(":username", $_user['username']); |
|
62 | - $stmt->execute(); |
|
63 | - ?> |
|
60 | + $stmt = $__db->prepare("SELECT * FROM videos WHERE author = :username ORDER BY id DESC LIMIT 20"); |
|
61 | + $stmt->bindParam(":username", $_user['username']); |
|
62 | + $stmt->execute(); |
|
63 | + ?> |
|
64 | 64 | <style> |
65 | 65 | .box-gray { |
66 | 66 | position: relative; |
@@ -2,7 +2,7 @@ discard block |
||
2 | 2 | <div class="channel-tab-content channel-layout-two-column selected blogger-template"> |
3 | 3 | <div class="tab-content-body"> |
4 | 4 | <div class="primary-pane"> |
5 | - <?php if($_user['featured'] != false && $__video_h->video_exists($_user['featured'])) { ?> |
|
5 | + <?php if ($_user['featured'] != false && $__video_h->video_exists($_user['featured'])) { ?> |
|
6 | 6 | <div class="channels-featured-video channel-module yt-uix-c3-module-container has-visible-edge"> |
7 | 7 | <div class="module-view featured-video-view-module"> |
8 | 8 | <div id="watch-video" > |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | } |
72 | 72 | </style> |
73 | 73 | <div class="playlist-info"> |
74 | - <?php if(@$_SESSION['siteusername'] == $_user['username']) { ?> |
|
74 | + <?php if (@$_SESSION['siteusername'] == $_user['username']) { ?> |
|
75 | 75 | <div class="box-gray" style="display:none;height: 130px;" id="custom_labels" style="margin-bottom: 8px;"> |
76 | 76 | <h2>Edit custom labels</h2> |
77 | 77 | <input type="text" id="custom_title" style="margin-bottom:3px;width: 96.6%;" placeholder="Uploaded Videos Custom Text" value="<?php echo htmlspecialchars($_user['uploaded_videos_title']); ?>" class="yt-uix-form-input-text" name="custom_uploaded_videos_title"><br> |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | <span class="blogger-video-count">1-10 of <?php echo $stmt->rowCount(); ?></span> |
85 | 85 | <p id="custom_label_description_change" class="playlist-description"><?php echo htmlspecialchars($_user['uploaded_videos_description']); ?></p> |
86 | 86 | <div class="yt-horizontal-rule "><span class="first"></span><span class="second"></span><span class="third"></span></div> |
87 | - <?php if($_user['videos'] == 0) { ?> |
|
87 | + <?php if ($_user['videos'] == 0) { ?> |
|
88 | 88 | <h4>This user has not uploaded a video yet.</h4> |
89 | 89 | <?php } ?> |
90 | 90 | <script> |
@@ -125,7 +125,7 @@ discard block |
||
125 | 125 | </div> |
126 | 126 | <ul class="gh-single-playlist"> |
127 | 127 | <?php |
128 | - while($video = $stmt->fetch(PDO::FETCH_ASSOC)) { |
|
128 | + while ($video = $stmt->fetch(PDO::FETCH_ASSOC)) { |
|
129 | 129 | ?> |
130 | 130 | <li class="blogger-video"> |
131 | 131 | <div class="video yt-tile-visible"> |