-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathframe.php
executable file
·187 lines (132 loc) · 9.12 KB
/
frame.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<section class="header">
<!--
<div class="window__actions">
<i class="ion-record red"></i>
<i class="ion-record yellow"></i>
<i class="ion-record green"></i>
</div>
-->
<a href='mainPage.php'>
<i class='ion-headphone' id='big'></i>
</a>
<div class="search">
<form action="searchResult.php" class="navbar-form navbar-left" role="search" method="POST">
<div class="form-group">
<input type="text" class="form-control" name="searchword"/>
</div>
<button type="submit" class="btn btn-primary" name="search">Search</button>
</form>
</div>
<div class="user">
<div class="user__info">
<span class="user__info__img">
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbSJIAAAAmVBMVEVXBoz///9UAIqPabBRAIhGAIFnIJfayuWhh7tVAItKAIRNAIbSv+BvMJ348vqhfr3r4fG1msvGttV7S6NxO5307fiMbK317/j8+f3k2Oyvksbn3O7ez+iBU6fWxuKpi8KJXqzHtdfBqtO6oc6yl8h4RKGbdrmOZq9hF5OEVqijhL64o8wvAHeBWqVtM5rPud1nJpeHZamgerxFW50tAAAIM0lEQVR4nO2da0PiOhCGk5jAJsFaF5FWQG4q6Lro2f//407StE1aqC3sEZqeeb8o9mIecplkmpkiBAKBQCAQCAQ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QhPhfVw6wmdRWC0rSJEzAnpCmXR8dJ6QmIjX+P3KkIibXjssPQ8sJbw6cKEbhN8yl5wVCZ0pmtl75Ul7FcQ/rjAU+4CIRL7uY73CAnLZgfPe/BZJE1c7J957MLlCR2/RCUhymekwz3C7L1PQdEzmn8n95cn1PktTycku+yqQg+184S783u9y4SI7nBRxxDaqMSl20xzMxTtucy/X3uErmv0aELnbXqOy8cuSUrd8yzaJ9QvHzmZ0Ia0jXhmGKiNILqAsThEWOqKRxESmy55vGCCUiqZ8+6Z3vkb6SFCRD/doKajCAsZT8L1j82PW+frerxAIz1IiKS78D+OkJQHqq+bwxl0kBCx9VfF+ooQffEWvYdLVGEFIXei7Y8krM7MM7gIYAWh+1DpWEIuDydTXLILPABGlYRI5tPrYwkRZweSgkQ3FwKsJLT96WhCdcLnqhhiGq3QBSyhEZn9NJqXiyBW5sDn3ncv0yM/76qqhTN+tZwYyiheLri4UAVqEWG0/x2nBw6Nl9WHMnEqpOS9Xo9IIegF+b5VXO8x4V2lA4FAIBAIBAKBQCAQCAQCgUAgEAgEAoFaq38B3cOnS1xL5FsAAAAASUVORK5CYII=" alt="Profile Picture" class="img-responsive" />
</span>
<span class="user__info__name">
<?php
echo ' <span class="first"><a href="mainPage.php">'.$uid.'</a></span>';
?>
</span>
</div>
<div class="user__actions">
<div class="dropdown">
<button class="dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
<i class="ion-chevron-down"></i>
</button>
<ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenu1">
<li><a href="UserProfile.php?user=<?php echo $uid ?>" >Account</a></li>
<li><a href="logout.php">Log Out</a></li>
</ul>
</div>
</div>
</div>
</section>
<section class="content">
<div class="content__left">
<section class="navigation">
<!-- Playlists -->
<div class="navigation__list">
<div class="navigation__list__header"
role="button"
data-toggle="collapse"
href="#playlists"
aria-expanded="true"
aria-controls="playlists">
Playlists
</div>
<div class="collapse in" id="playlists">
<?php
$playlist = mysqli_query($mysql,"select pid,ptitle
from playlist
where uid='$uid'");
while ($row = mysqli_fetch_array($playlist))
{
echo ' <a href="playlist.php?plid=', urlencode($row['pid']), '" class="navigation__list__item">
<i class="ion-ios-musical-notes" ></i>
<span>'.$row['ptitle'].'</span>
</a>';
}
?>
</div>
</div>
<!-- / -->
</section>
<section class="playlist">
<a id="modal-575078" href="#modal-container-575078" role="button" class="btn" data-toggle="modal">
<i class="ion-ios-plus-outline"></i>
New Playlist
</a>
<div class="modal fade" id="modal-container-575078" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title" id="myModalLabel">
Create a new playlist
</h4>
</div>
<div class="modal-body">
<form action="createPL.php" method ='POST'>
<div class="form-group">
<label >Title</label>
<input type="text" class="form-control" name="ptitle" placeholder="Enter the title">
</div>
<div class="form-group">
<label >Shared playlist</label>
<input type="radio" name="share" value="0">
</div>
<div class="form-group">
<label >Private playlist</label>
<input type="radio" name="share" value="1">
</div>
<button type="submit" class="btn btn-primary" name="create" >Create</button>
</form>
</div>
</div>
</div>
</div>
</section>
<!-- <section class="playing">-->
<!---->
<!-- <div class="playing__art">-->
<!---->
<!-- <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/7022/cputh.jpg" alt="Album Art" />-->
<!---->
<!-- </div>-->
<!---->
<!-- <div class="playing__song">-->
<!---->
<!-- <a class="playing__song__name">Some Type of Love</a>-->
<!---->
<!-- <a class="playing__song__artist">Charlie Puth</a>-->
<!---->
<!-- </div>-->
<!---->
<!-- <div class="playing__add">-->
<!---->
<!-- <i class="ion-checkmark"></i>-->
<!---->
<!-- </div>-->
<!---->
<!-- </section>-->
</div>