����JFIF��H�H����Exif��MM�*���� ��3����V�����3������3�(��������������������3�����403WebShell
403Webshell
Server IP : 162.0.232.25  /  Your IP : 18.221.157.203
Web Server : LiteSpeed
System : Linux premium276.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User : kwacuqig ( 988)
PHP Version : 8.2.26
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/kwacuqig/malawisounds.com/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/kwacuqig/malawisounds.com/youtube_download.php
<?php
include 'connect.php';
if(isset($_GET['id']))
{
	$vid=$_GET['id'];
}
$sql4="SELECT `title`,`thumbnail`,`artist`,`youtube` FROM `videos` WHERE `id`='$vid'";
if($run_query=mysqli_query($conn,$sql4))
{
	list($title,$thumbnail,$artist,$youtube)=mysqli_fetch_array($run_query);
}
else
{
	die(mysqli_error($conn));
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width,initial-scale=1.0">
	<link rel="icon" type="x-icon" href="Icons/malawisounds.ico"> 
	<link rel="stylesheet" type="text/css" href="load.css">
	<link rel="stylesheet" type="text/css" href="w3.css">
	<link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.css">
	<script type="text/javascript" src="js/sweetalert.min.js"></script>
	<link rel="stylesheet" type="text/css" href="impact/stylesheet.css" />
	<script type="text/javascript" src="js/ajax.js"></script>
	<title><?php echo "Video Download, $title by $artist";?></title>
	<!--og codes-->
	<meta property="og:url"           content="https://malawisounds.com/youtube_download.php?id=<?php echo $vid;?>" />
	<meta property="og:type"          content="website" />
	<meta property="og:title"         content="<?php echo "$title by $artist";?>" />
	<meta property="og:image"         content="https://malawisounds.com/video_thumbnail/<?php echo $thumbnail;?>" />
	<meta property="og:description"   content="Watch and Download" />
	<meta property="fb:app_id"   		content="197362031139140" />  

	<style type="text/css">
		input[type="text"]{margin:2px auto;}
		p{margin:1px auto;color:#8c8c8c;}
	</style>
</head>
<body>
<div class="margin">
	<header>
		<!-- malawisounds logo -->
		<img src="Icons/msounds1.png" alt="logo" class="msounds">
		<!-- social media links -->
		<div class="link">
			<a href="https://www.facebook.com/Malawi-Sounds-303591487173877/"><img src="Icons/facebook.png" alt="facebook"></a>
			<a href="https://www.instagram.com/malawi_sounds"><img src="Icons/instagram.png" alt="instagram"></a>
			<a href="#"><img src="Icons/twitter.png" alt="twitter"></a>
		</div>
	</header>
	<!-- Navigation Bar -->
	<nav>
		<ul>
			<li><a href="home" target="_parent">HOME</a></li>
			<li><a href="singles" target="_parent">SINGLES</a></li>
			<li><a href="biography" target="_parent">ARTISTS</a></li>
			<li><a href="albums" target="_parent">ALBUMS</a></li>
			<li><a href="e-news" target="_parent">NEWS</a></li>
			<li><a href="videos" target="_parent">VIDEOS</a></li>
			<li><a href="oldies" target="_parent">OLDIES</a></li>
			<li><span class="search glyphicon glyphicon-search"></span></li>
		</ul>
	</nav>
	<!--Search bar-->
	<input type="text" id="search" placeholder="&#xe003 SEARCH-MUSIC, ARTISTS" onkeyup="findmatch(this.value)" class="glyphicon glyphicon-search">

	<!--search results goes here-->
	<div id="results" class="w3-container w3-light-grey"></div>
	<!-- End of nav Bar -->
	<?php
	/////////////////////////////////////////////////////////ARTISTS/////////////////////////////////////////////
	//query for selecting artists
	$sql1="SELECT * FROM `biography` WHERE `trending`=1 ORDER BY `id` DESC";
	if($query_run=mysqli_query($conn,$sql1))
	{
		echo "<div  class=\"artist_table\">";
			echo "<center class=\"w3-display-container\">";
				echo "<table>";
					echo "<tr>";
						while($row=mysqli_fetch_array($query_run))
						{		
							$path=$row['path'];
							$name=$row['artist_name'];
							$id=$row['id'];
							?>
							<td>
								<a href="artist=<?php echo str_replace(' ','-',$name);?>" target="_blank">
									<img src="bio/<?php echo $path;?>" alt="artist"/>
								</a>
							</td>
							<?php
						}
					echo "</tr>";
				echo "</table>";
			echo "</center>";
		echo "</div>";
	}
	else
	{
		die(mysqli_error($conn));
	}
	/////////////////////////////////////////////////////////////VIDEOS/////////////////////////////////////////////
	?>
	<!-- youtube video -->
	<div class="you_download">
		<div class="iframe-container">
			<iframe src="<?php echo "https://www.youtube.com/embed/$youtube";?>?autoplay=0&controls=1" allowfullscreen='true'></iframe>
		</div>
	</div>
	<!-- copying link -->
	<div class="you_download" style="border:none;">
		<p>To download <?php echo "$title-$artist";?>, click button below to copy link.</p>
		<input type="text" value="https://www.youtube.com/embed/<?php echo $youtube;?>" id="link">
		<button onclick="cpyLink()">Copy</button>
		<p>Now paste the link on the website below</p>
	</div>
	<!-- redirect to y2mate.com -->
	<div class="you_download">
		<div class="iframe-container">
			<iframe src="https://www.y2mate.com"></iframe>
		</div>
	</div>	
	<?php
	/////////////////////////////////////////////////////////////ADVERT/////////////////////////////////////////////
	//query for selecting adverts from db
	$sql3="SELECT aid,ads_name FROM `ads` ORDER BY `aid` DESC";
	if($query_run=mysqli_query($conn,$sql3))
	{
		list($id,$imagepath)=mysqli_fetch_array($query_run);
		echo "<div style=\"overflow-x:auto;background-color:#b7b7b7;\" class=\"merchandise\">";
			echo "<table>";
				echo "<tr>";
					?>
					<td>
						<center><img src="ads/<?php echo $imagepath;?>" alt="advert" /></center>
					</td>
					<?php
				echo "</tr>";
			echo "</table>";
		echo "</div>";
	}
	else
	{
		die(mysqli_error($conn));
	}
	?>	<!--Footer-->
	<div class="footer">
		<div class="details w3-center">
			<a href="upload-music" target="_parent">UPLOAD</a> | 
			<a href="contact-us" target="_parent">CONTACT US</a> | 
			<a href="about-us" target="_parent">ABOUT US</a>
		</div>
		<h4 class="w3-center">&copy; 2018- <?php echo date('Y',time());?></h4> 
	</div>
</div>
</body>
</html>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/nav.js"></script>
<script type="text/javascript">
	function _(selector)
	{
	    return document.querySelectorAll(selector);
	}
	function cpyLink()
	{
		copyText=document.getElementById('link');
		copyText.select();
		document.execCommand("copy");
  		swal("COPIED",link.value,"success");
	}
	_("ul li a")[5].style.backgroundColor="#3f4243";
	_("ul li a")[5].style.Color="white";
</script>

Youez - 2016 - github.com/yon3zu
LinuXploit