index.html
11.6 KB
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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js" integrity="sha384-smHYKdLADwkXOn1EmN1qk/HfnUcbVRZyYmZ4qpPea6sjB/pTJ0euyQp0Mk8ck+5T" crossorigin="anonymous"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
<!--<script src="script/script.js"></script>-->
<script src="script/jquery.js"></script>
<title>Assignment No.1</title>
</head>
<body>
<div class="header">
<div class="left">
<a href="#"><img src="images/dubl-arow-left.png" alt="dubl-arow-left" ></a>
<a href="#"><img src="images/black-arow.png" alt="black-arow" ></a>
<a href="#"><img src="images/dubl-arow-right.png" alt="dubl-arow-right" ></a>
<input type="range" min="1" max="100" value="20" class="slider">
</div>
<div class="center">
<img src="images/apple.png" alt="apple" style="padding: 10px;">
<a href="#"><img src="images/list.png" alt="list" style="float: right; padding: 5px;"></a>
</div>
<div class="right">
<img src="images/user.png" alt="user"><p>adnan</p>
<a href="#"><img src="images/down-arow.png" alt="down-arow"></a>
<input type="text" name="search_files" id="SearchByArtistName" onsearch="myFunction()" placeholder="       Search Library">
<a href="#"><img src="images/dubl-arow.png" alt="dubl-arow" style="float: right; padding: 2px;"></a>
</div>
</div>
<div class="clear"></div>
<div class="second-header">
<div class="left">
<a href="#"><img src="images/music.png" alt="music" ></a>
<a href="#"><img src="images/vedio.png" alt="vedio" ></a>
<a href="#"><img src="images/screen.png" alt="screen" ></a>
<a href="#"><img src="images/dotes.png" alt="dotes" ></a>
<button type="button" name="add" id="add" class="btn btn-warning" data-toggle="modal" data-target= "#ItemModel">Add new item</button>
</div>
<div class="center">
<p style=" font-family: sans-serif;margin: 5px;">My Music <span>Playlists</span></p>
</div>
<div class="right">
<p id="sortAlbums">Sort by: </p>
<ul>
<li><a href="#" id="ArtistClick" >Artist</a></li>
<li><a href="#" id="RatingClick" >Rating</a></li>
</ul>
<p>Albums</p>
<img src="images/down-arow2.png" alt="down-arow2">
</div>
</div>
<div class="clear"></div>
<div class="main-div">
<div class="left-div">
<p class="show-text">Library</p>
<div class="heading" style="background-color: #DBDBDB;padding: 5px;">
<img src="images/music2.png" alt="music2" style="padding: 0 5px;vertical-align: middle;"><b>Music</b></div>
<div class="items">
<p class="show-text" style="padding-top: 20px;">Playlists</p>
<ul>
<li><img src="images/geni.png" alt="geni">Genuis </li>
<li><img src="images/setting.png" alt="setting"><a href="#">90's Music</a></li>
<li><img src="images/setting.png" alt="setting"><a href="#">Classical Music</a></li>
<li><img src="images/setting.png" alt="setting"><a href="#">Music Videos</a></li>
<li><img src="images/setting.png" alt="setting"><a href="#">My Top Rated</a></li>
<li><img src="images/setting.png" alt="setting"><a href="#">Recently Added</a></li>
<li><img src="images/setting.png" alt="setting"><a href="#">Recently Played</a></li>
<li><img src="images/setting.png" alt="setting"><a href="#">Top 25 Most Played</a></li>
<li><img src="images/itune.png" alt="itune"><a href="#">iTunes Artwork Screen Saaa</a></li>
<li><img src="images/itune.png" alt="itune"><a href="#">iTunes Artwork Screen Saaa</a></li>
<li><img src="images/itune.png" alt="itune"><a href="#">iTunes Artwork Screen Saaa</a></li>
<li><img src="images/itune.png" alt="itune"><a href="#">iTunes Artwork Screen Saaa</a></li>
<li><img src="images/itune.png" alt="itune"><a href="#">iTunes Artwork Screen Saaa</a></li>
<li><img src="images/itune.png" alt="itune"><a href="#">iTunes Artwork Screen Saaa</a></li>
<li><img src="images/itune.png" alt="itune"><a href="#">iTunes Artwork Screen Saaa</a></li>
<li><img src="images/itune.png" alt="itune"><a href="#">iTunes Artwork Screen Saaa</a></li>
<li><img src="images/itune.png" alt="itune"><a href="#">iTunes Artwork Screen Saaa</a></li>
<li><img src="images/itune.png" alt="itune"><a href="#">Playlist</a></li>
</ul>
<div class="buttom">
<img src="images/pkus.png" alt="pkus"><img src="images/setting2.png" alt="setting2">
</div>
</div>
</div>
<div class="right-div" id="mainRightDiv" >
<!--
<div class="item">
<div class="dropdown">
<img src="images/1.png" alt="1st image">
<div class="dropdown-content">
<a href="item.php">Insert New Item</a>
<a href="#">Update</a>
<a href="#">Delete</a>
</div>
</div>
<p class="song">Jayanta Bhai ki Luv Saaa</p>
<p class="singer">Atif Aslam</p>
<a href="#"><img src="images/star.png" alt="star rated" class = "rating"></a>
<a href="#"><img src="images/star.png" alt="star rated" class = "rating"></a>
<a href="#"><img src="images/star.png" alt="star rated" class = "rating"></a>
<a href="#"><img src="images/star2.png" alt="star un rated" class = "rating"></a>
<a href="#"><img src="images/star2.png" alt="star un rated" class = "rating"></a>
</div>
<div class="item">
<img src="images/2.png" alt="2nd image">
<p class="song">Twelve Ft Amrinder Gaaaa</p>
<p class="singer">Bilal Saeed (DjPunjab.Caaaaa</p>
<a href="#"><img src="images/star.png" alt="star rated" class = "rating"></a>
<a href="#"><img src="images/star.png" alt="star rated" class = "rating"></a>
<a href="#"><img src="images/star.png" alt="star rated" class = "rating"></a>
<a href="#"><img src="images/star2.png" alt="star un rated" class = "rating"></a>
<a href="#"><img src="images/star2.png" alt="star un rated" class = "rating"></a>
</div>
<div class="item">
<img src="images/3.png" alt="3rd image">
<p class="song">The Lion of Punjab</p>
<p class="singer">Dilijit</p>
<a href="#"><img src="images/star.png" alt="star rated" class = "rating"></a>
<a href="#"><img src="images/star.png" alt="star rated" class = "rating"></a>
<a href="#"><img src="images/star.png" alt="star rated" class = "rating"></a>
<a href="#"><img src="images/star2.png" alt="star un rated" class = "rating"></a>
<a href="#"><img src="images/star2.png" alt="star un rated" class = "rating"></a>
</div>
<div class="item">
<img src="images/4.png" alt="4th image">
<p class="song">Khiladi 786</p>
<p class="singer">Himesh Remshammiya</p>
<a href="#"><img src="images/star.png" alt="star rated" class = "rating"></a>
<a href="#"><img src="images/star.png" alt="star rated" class = "rating"></a>
<a href="#"><img src="images/star.png" alt="star rated" class = "rating"></a>
<a href="#"><img src="images/star2.png" alt="star un rated" class = "rating"></a>
<a href="#"><img src="images/star2.png" alt="star un rated" class = "rating"></a>
</div>
<div class="item">
<img src="images/5.png" alt="5th image">
<p class="song">PTI Songs-PTITigersaaaa</p>
<p class="singer">PTITigers.com</p>
<a href="#"><img src="images/star.png" alt="star rated" class = "rating"></a>
<a href="#"><img src="images/star.png" alt="star rated" class = "rating"></a>
<a href="#"><img src="images/star.png" alt="star rated" class = "rating"></a>
<a href="#"><img src="images/star2.png" alt="star un rated" class = "rating"></a>
<a href="#"><img src="images/star2.png" alt="star un rated" class = "rating"></a>
</div>
<div class="item">
<img src="images/2.png" alt="2nd image">
<p class="song">Stars Dance [TEH-SOaaaaa</p>
<p class="singer">Selena Gomez</p>
<a href="#"><img src="images/star.png" alt="star rated" class = "rating"></a>
<a href="#"><img src="images/star.png" alt="star rated" class = "rating"></a>
<a href="#"><img src="images/star.png" alt="star rated" class = "rating"></a>
<a href="#"><img src="images/star2.png" alt="star un rated" class = "rating"></a>
<a href="#"><img src="images/star2.png" alt="star un rated" class = "rating"></a>
</div>
<div class="item">
<img src="images/6.png" alt="6th image">
<p class="song">Bewafaa (2005)</p>
<p class="singer">Udit Narayan</p>
<a href="#"><img src="images/star.png" alt="star rated" class = "rating"></a>
<a href="#"><img src="images/star.png" alt="star rated" class = "rating"></a>
<a href="#"><img src="images/star.png" alt="star rated" class = "rating"></a>
<a href="#"><img src="images/star2.png" alt="star un rated" class = "rating"></a>
<a href="#"><img src="images/star2.png" alt="star un rated" class = "rating"></a>
</div>
<div class="item">
<img src="images/7.png" alt="7th image">
<p class="song">One Pound Fish (Remaaaa</p>
<p class="singer">%C2%A3 1 Fish Man</p>
<a href="#"><img src="images/star.png" alt="star rated" class = "rating"></a>
<a href="#"><img src="images/star.png" alt="star rated" class = "rating"></a>
<a href="#"><img src="images/star.png" alt="star rated" class = "rating"></a>
<a href="#"><img src="images/star2.png" alt="star un rated" class = "rating"></a>
<a href="#"><img src="images/star2.png" alt="star un rated" class = "rating"></a>
</div>
<div class="item">
<img src="images/2.png" alt="2nd image">
<p class="song">Unknown Album</p>
<p class="singer">Unknown Artist</p>
<a href="#"><img src="images/star.png" alt="star rated" class = "rating"></a>
<a href="#"><img src="images/star.png" alt="star rated" class = "rating"></a>
<a href="#"><img src="images/star.png" alt="star rated" class = "rating"></a>
<a href="#"><img src="images/star2.png" alt="star un rated" class = "rating"></a>
<a href="#"><img src="images/star2.png" alt="star un rated" class = "rating"></a>
</div>
-->
</div>
<div class="clear"></div>
</div>
<div id="ItemModel" class="modal fade" role = "dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title"> Item </h4>
</div>
<div class="modal-body">
<form id="item_form" action="insert.php" enctype="multipart/form-data" method="post">
<p>Song Name</p>
<input type="hidden" id = "song_id_item" name="song_id" class="form-control">
<input type="text" id = "song_name_item" name="song_name" class="form-control" required >
<p>Singer Name</p>
<input type="text" id = "singer_name_item" name="singer_name" class="form-control" required>
<p>Image</p>
<input type="file" name="myimage" id = "song_image_item">
<select class="form-control" id = "ratings" name="ratings" required>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
<input type="submit" id="sub" name="save" class="form-control btn-info">
</form>
</div>
<div class="modal-footer">
<p id="form-message"></p>
<button type="button" class="btn btn-default" data-dismiss = "modal">close</button>
</div>
</div>
</div>
</div>
<div class="footer">
<p>9 albums, 40 minutes, 47.4 MB</p>
</div>
</body>
</html>