<?php
/**
 * Project:        M.VuiZ.Net
 * Author:         nampt.me <admin@vuiz.net>
 * Copyright:      © 2025 vuiz.net All rights reserved.
 */
	$key = 'Tool Get Link Download MP3 Keeng.VN';
	$mkey = 'Tool get link MP3 MP4 Video album KEENG.VN - Tải nhạc mp3 320kbps, get link keeng.vn, get link video keeng HD, get link mp3 320kb, tai nhac ...';
	require '../../template/header.php';
?>

	<div class="col-right-xs">
		<div class="mainblok">
			<div class="phdr">
					<div vocab="https://schema.org/" typeof="BreadcrumbList">
						<span property="itemListElement" typeof="ListItem">
							<a href="/"  property="item" typeof="WebPage">
								<i class="fa fa-home"></i> <span property="name">Home</span>
							</a>
							<meta property="position" content="1">
						</span>
						<i class="fa fa-angle-right"></i>
						<span property="itemListElement" typeof="ListItem">
							<a href="/getlink/"  property="item" typeof="WebPage">
								<i class="fa fa-chain-broken"></i> <span property="name">GetLink</span>
							</a>
							<meta property="position" content="2">
						</span>
						<i class="fa fa-angle-right"></i>
						<span property="itemListElement" typeof="ListItem">
							<span property="name">Tool Get Link Keeng.Vn</span>
							<meta property="position" content="3">
						</span>
					</div>
			</div>
			<div class="newsx">Tool cho phép bạn tải về các tập tin MP3 từ Keeng.VN. Tải nhạc chất lượng cao miễn phí từ Keeng.Vn, get link keeng vip 128 kbps 320kbps lossless. Công cụ hỗ trợ tải nhạc, video, album nhạc từ MXH Keeng - Viettel Media.</div>
			<div class="menu">
				<strong>Link hỗ trợ:</strong><br />
				http://keeng.vn/audio/Bua-Yeu-Bich-Phuong-320Kbps/2r5lCx4Q.html<br />
				http://keeng.vn/video/thuan-theo-y-troi-bui-anh-tuan/dBuqy54u<br />
				http://keeng.vn/album/Toi-Yeu-Viet-Nam-Trong-Tan/4BD846IN<br />
				<form role="form" class="form-horizontal" id="form" method="post" onSubmit="return false;">
					<input type="text" name="link" id="link" placeholder="http://keeng.vn/audio/Bua-Yeu-Bich-Phuong-320Kbps/2r5lCx4Q.html">
					<input type="submit" id="submit" value="Lấy link get" name="submit" />
				</form>
			</div>
			<div id="DownloadLink"></div>
			<div id="listLink"><div class="newsx" style="text-align:center"><input type="button" name="getnhac" id="getnhac" value="Lấy danh sách nhạc hot"/></div></div>
		</div>
		
<?php require '../list.php'; ?>
	</div>
	<div class="col-left-xs">
<?php require '../../tools/toolslist.php'; ?>
	</div>
	<div class="clear"></div>

<script>
$(document).ready(function(){
	$("#submit").click(function(){
		$("#submit").addClass('disabled');
		$("#DownloadLink").hide().html('<div class="gmenu" style="text-align: center;"><img src="/template/images/loading.svg" /></div>').slideDown('slow');
		var form = $('#form')[0];
		var formData = new FormData(form);
		$.ajax({
			url: "keengapi.php",
			type: "POST",
			data:  formData,
			contentType: false,
			cache: false,
			processData:false,
			success: function(rs)
			{
				res = JSON.parse(rs);
				if(res.success){
					$("#submit").removeClass('disabled');
					$("#DownloadLink").hide().html(res.success).slideDown('slow');
				}
				if(res.error){
					$("#submit").removeClass('disabled');
					$("#DownloadLink").hide().html('<div class="gmenu" style="text-align: center;"><i style="color:red">'+res.error+'</i></div>').slideDown('slow');
				}
			},
			error: function() 
			{
				$("#DownloadLink").hide().html('<div class="gmenu" style="text-align: center;"><i style="color:red">Có lỗi hệ thống, vui lòng kiểm tra lại!</i></div>').slideDown('slow');
			}
		});
		$("#link").attr("placeholder", $("#link").val()).val("");
	});
	$('#getnhac').click(function(){
		$("#submit").addClass('disabled');
		$("#listLink").hide().html('<div class="gmenu" style="text-align: center;"><img src="/template/images/loading.svg" /></div>').slideDown('slow');
		$.ajax({
			url : 'keengapi.php?page=1',
			type : 'get',
			dataType : 'json',
			success : function (result){
				var html = '';
				$.each (result, function (key, item){
					html +=  '<div class="menu"> <strong> Bài hát: <em>'+item['name']+'</em></strong> <a href="#" class="download" style="float:right;" onclick="oklink(\''+item['url']+'\')">Get link</a></div>';
				});

				$('#listLink').hide().html(html).slideDown('slow');
			},
			error: function() 
			{
				$("#listLink").hide().html('<div class="gmenu" style="text-align: center;"><i style="color:red">Có lỗi hệ thống, vui lòng kiểm tra lại!</i></div>').slideDown('slow');
			}
		});
	});
});
	function oklink(url){
		$('#link').val(url);
		$("#DownloadLink").slideUp();
	}
</script>
<script async src="https://cdn.jwplayer.com/libraries/rlx7bqvD.js"></script>

<?php
	require '../../template/footer.php';
?>