index.html 11.6 KB
<!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="&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp 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>