<?php
/*
* Script Name: Getlink
* Version: Gate2
* Code LeechViet by VinhNhaTrang
* Developed by ..:: [H] ::..
*/

ob_start();
error_reporting (E_ALL);
ob_implicit_flush (TRUE);
ignore_user_abort (0);
if( !ini_get('safe_mode') ){
            set_time_limit(60);
} 
if (!defined('IMG_DOMAIN')) define('IMG_DOMAIN', './../../../../images.user'); // Note: không có "/" cuối link

date_default_timezone_set('Asia/Ho_Chi_Minh');
if (isset($_GET['edit']) && stristr($_GET['edit'],"group")) {
	if(file_exists("./../../../../class.user/editgroup.php")) include("./../../../../class.user/editgroup.php");
	else echo 'not found file edit';
	exit;
}
elseif (isset($_GET['edit']) && stristr($_GET['edit'],"limit")) {
	if(file_exists("./../../../../class.user/editgroup.php")) include("./../../../../class.user/editgroup.php");
	else echo 'not found file edit';
	exit;
}
include("class.php");
$obj = new stream_get();
if (isset($obj->expired) && isset($obj->created)) {
	$create = $obj->created;
	$expired = $obj->expired;
	if($obj->expired < time()) {
		$dateex = "<font color=#FF3300><B>".sprintf($obj->lang['exacc1'],$obj->lang['contactme'])."</B></font>";
	}
	else {
		$dateex = "<font color=#FF3300><B>".$obj->lang['exacc']."<font color=#FFFF66>".date('H:i:s- d.m.Y',$expired)." </font></B></font>";
	}
}

if ($obj->Deny == false && isset($_POST['urllist'])) $obj->main();
elseif(isset($_GET['title'])) include("./../../../../class.user/title.php");
elseif(isset($_GET['infosv'])) $obj->notice();
elseif(isset($_GET['info'])) $obj->user_info();
elseif(isset($_GET['api']) && $_GET['api'] == 'status') $obj->user_api();
elseif(isset($_GET['api']) && $_GET['api'] == 'bw') $obj->bw_api();
//elseif(isset($_GET['checkbw'])) $obj->check_bw();
elseif(isset($_GET['listleech'])) $obj->listleech(false, $_GET['listleech']);
elseif(isset($_GET['limit_hosting'])) $obj->limit_hosting();
elseif(isset($_GET['updateleech'])) $obj->updateleech();
elseif(isset($_GET['autologin']) && $_GET['autologin'] == $obj->pw_autologin) {
	setcookie("secureid",md5($obj->SecureID),time()+3600*24);
	$obj->listleech();
	header('location: ./?id=leech');
	exit;
}

############################################### Begin Secure ###############################################
elseif($obj->Deny == false) {
	if(!isset($_COOKIE['network']) || $_COOKIE['network'] == 'other') $network = 'vnpt';
	else $network = $_COOKIE['network'];
	//chon random sv Vietnam
	$sv_root = $obj->sv_root;
	foreach($obj->sv_root as $sv_key=>$sv_value) {
		if(count($sv_value) == 1) $show_main[$sv_key] = $sv_value;
	}

	if(!isset($sv_root[$network])) $network = 'vnpt';
	$rkey = array_rand($sv_root[$network], 1);
	$show_main[$sv_root[$network][$rkey]] = '<B>Click vào đây để lấy link từ server VN</b>';

	if (!isset($obj->expired)) die("<SCRIPT language='Javascript'>document.location.href ='./login.php?go=logout';</SCRIPT>");	

	if(isset($obj->email) AND empty($obj->email)==true) {
		echo"<SCRIPT language='Javascript'>document.location.href ='./login.php?go=welcome';</SCRIPT>";
		exit;
	}
	if (isset($_GET['id']) && $_GET['id']=='phim') { 
		include("./../../../../class.user/listphim.php");
	}
	elseif (!isset($_POST['urllist'])) {
?>
		<!DOCTYPE html>
		<html lang="en-US">
		<head>
			<link rel="SHORTCUT ICON" href="<?php echo IMG_DOMAIN;?>/favicon.ico" type="image/x-icon" />
			<title><?php printf($obj->lang['title'],$obj->lang['homepage']); ?></title>
			<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
			<META NAME="ROBOTS" CONTENT="NOINDEX,FOLLOW" />
			<META NAME="GOOGLEBOT" CONTENT="NOINDEX,FOLLOW" />
			<META NAME="SLURP" CONTENT="NOINDEX,FOLLOW" />
			<link title="Rapidleech Style" href="<?php echo IMG_DOMAIN;?>/rl_style_pm.css?2505" rel="stylesheet" type="text/css" />
			<Style>
			#contact input, #request_bw input {
				margin-top:5px;
				height:25px;
			}
			</style>
		</head>
		<body style='width: auto; min-width: 1000px'>
		<?php if($obj->facebook) {
		?>
			<!-- Facebook Pixel Code -->
			<script>
			!function(f,b,e,v,n,t,s)
			{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
			n.callMethod.apply(n,arguments):n.queue.push(arguments)};
			if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
			n.queue=[];t=b.createElement(e);t.async=!0;
			t.src=v;s=b.getElementsByTagName(e)[0];
			s.parentNode.insertBefore(t,s)}(window,document,'script',
			'https://connect.facebook.net/en_US/fbevents.js');
			 fbq('init', '1767357633515690'); 
			fbq('track', 'PageView');
			</script>
			<noscript>
			 <img height="1" width="1" 
			src="https://www.facebook.com/tr?id=1767357633515690&ev=PageView
			&noscript=1"/>
			</noscript>
			<!-- End Facebook Pixel Code -->
		<?php
			}
		?>

			<script type="text/javascript" language="javascript" src="<?php echo IMG_DOMAIN;?>/jquery-1.7.2.min.js"></script> 
			<script type="text/javascript" language="javascript" src="<?php echo IMG_DOMAIN;?>/jquery.cookie.js"></script> 
			<script>
			//langguages for javascript
			
			var gettab = '';
			<?php 
				$idtab = '';
				if(isset($_GET['server'])) {
					$idtab = $_GET['server'];
					echo 'gettab = "'.$idtab.'";';
				}
				$obj->timefresh = $obj->timefresh*1000;
				echo 'var timefresh = "'.$obj->timefresh.'";';
			?>
			var thisself = '<?php echo $obj->self;?>';
			var IMG_DOMAIN = '<?php echo IMG_DOMAIN;?>';
			var error_sdt = '<?php echo $obj->lang['error_sdt'];?>';
			var error_link = '<?php echo $obj->lang['error_link'];?>';
			var error_name1 = '<?php echo $obj->lang['error_name1'];?>';
			var error_name2 = '<?php echo $obj->lang['error_name2'];?>';
			var error_sub1 = '<?php echo $obj->lang['error_sub1'];?>';
			var error_sub2 = '<?php echo $obj->lang['error_sub2'];?>';
			var error_ct1 = '<?php echo $obj->lang['error_ct1'];?>';
			var error_ct2 = '<?php echo $obj->lang['error_ct2'];?>';
			var exportlinks = '<?php echo $obj->lang['exportlinks'];?>';
			var changeip = '<?php echo $obj->lang['changeip'];?>';
			var errorlimit = '<?php echo $obj->lang['errorlimit'];?>';
			var errorlimit_notsp = '<?php echo $obj->lang['errorlimit_notsp'];?>';
			var max_sv	 = '<?php printf($obj->lang['max_sv'],$obj->maxsv);?>';	
			var maxsv	 = <?php echo $obj->maxsv;?>;	
			var get_mirror2	 = '<?php echo $obj->lang['get_mirror2'];?>';	
			var error_connect	 = '<?php echo $obj->lang['error_connect'];?>';
			var err_link_pass	 = '<?php echo $obj->lang['err_link_pass'];?>';	
			var err_max_getlink	 = '<?php printf($obj->lang['limit_max_getlink']);?>';	
			var err_max_getlink1	 = '<?php printf($obj->maxgetlink['otherhost']);?>';	
			var err_max_getlink2	 = '<?php printf($obj->lang['limit_max_getlink']);?>';	
			var err_max_leechlink	 = '<?php printf($obj->lang['limit_max_leechlink']);?>';	
			var err_max_leechlink1	 = '<?php printf($obj->maxleechlink['otherhost']);?>';	
			var err_max_leechlink2	 = '<?php printf($obj->lang['limit_max_leechlink']);?>';
			var err_max_leecherror	 = '<?php printf($obj->lang['limit_max_leecherror']);?>';
			var err_max_fshare	 = '<?php printf($obj->lang['limit_max_fshare']);?>';
			var err_diehost	 = '<?php printf($obj->lang['diehost']);?>';
			var show = [];
			var show_main = [];
			var maxgetlink = [];
			var maxleechlink = [];
			var maxleecherrorlink = [];
			var leecherrorlink = false;
			var leechfsharelink = false;
			<?php
				foreach($show_main as $val_main=>$name_main) echo 'show_main["'.$val_main.'"] = "'.$name_main.'"; ';
				echo "\r\n			";
				foreach($obj->server as $val_sv=>$name_sv) echo 'show["'.$val_sv.'"] = "'.$name_sv.'"; ';
				echo "\r\n			";
				foreach($obj->maxgetlink as $val_host1=>$val_number1) echo 'maxgetlink["'.$val_host1.'"] = '.$val_number1.'; ';
				echo "\r\n			";
				foreach($obj->maxleechlink as $val_host2=>$val_number2) echo 'maxleechlink["'.$val_host2.'"] = '.$val_number2.'; ';
				echo "\r\n			";
				foreach($obj->maxleecherrorlink as $val_host2=>$val_number2) echo 'maxleecherrorlink["'.$val_host2.'"] = '.$val_number2.'; ';
				echo "\r\n			";
				echo 'maxleech_fshare = '.$obj->maxleech_fshare.';';

				echo "\r\n			";
				echo 'listgetsp = [';
				foreach($obj->maxgetlink as $val_host1=>$val_number1) {
					echo "'".$val_host1."',";
				}
				echo '];';
				echo "\r\n			";
				echo 'listleechsp = [';
				foreach($obj->maxleechlink as $val_host2=>$val_number2) {
					echo "'".$val_host2."',";
				}
				echo '];';
				echo "\r\n			";
				echo 'listleecherrorsp = [';
				foreach($obj->maxleecherrorlink as $val_host2=>$val_number2) {
					echo "'".$val_host2."',";
				}
				echo '];';
				echo "\r\n			";
				echo 'diehost = [';
				foreach($obj->diehost as $val_host=>$val_number) {
					echo "'".$val_number."',";
				}
				echo '];';
				echo "\r\n";
			?>



			$(document).ready(function () {

				$("span[id^='huyleech_']").live('click', function (event) {
					url = $(event.target).attr('class');
					id = $(event.target).attr('id');
					hash = id.replace(/huyleech_/gi, '');
					r = confirm('Bạn muốn hủy leech đối với link "' + url + '"?');
					if (r == true) {
						$('#' + id).css("color", "");
						$('#' + id).html("<img src='"+IMG_DOMAIN+"/unknownload.gif' /><font color='#ffffff'>loading...</font>");
						$.getJSON(thisself + '?callback=?', {
							"huyleech": hash,
							"rand": Math.floor(Math.random() * 10000)
						}, function (json) {
							if (json.status == 1) {
								$('#' + id).html(json.content);
								$('#' + id).css("color", "green");
								/*
										setTimeout(function(){
											$('#'+id).css("color", "");
										},3000);
										*/
							} else if (json.status == 0) {
								$('#' + id).html(json.error);
								$('#' + id).css("color", "red");
							} else {

							}
						});
					}
				});
			});









			</script>
			<!--
			<center><img src="images/logo.png" alt="RapidLeech PlugMod" border="0" /></center><br />
			<div class="fb-like" data-href="https://www.facebook.com/Getlinkvn" data-layout="standard" data-action="like" data-show-faces="false" data-share="true"></div>
			-->

<?php if($obj->facebook) echo '
	<!-- hỗ trợ trực tuyến -->
	<div id="fb-root"></div>
	<style>.vnk-tuvan{position:fixed;width: 110px;background:#34495E;z-index:99999999;left:0px;bottom:0px;  border-style: solid solid none;border-width: 1px 1px 0; border-color: #2c3e50}.vnk-tuvan p{color: #fff;font-size: 15px;margin: 0;padding: 0 13px; text-align: left;}.vnk-tuvan p a{color: #fff;font-size: 15px;padding: 5px 0px 7px;margin: 0;display:inline-block;font-family: arial, helvetica;text-decoration: none;}.vnk-tuvan p a:hover{text-decoration: underline;cursor: pointer;}.vnk-tuvan p img {float: right;margin-top: 10px;} </style>
	<div class="vnk-tuvan" style="width: 278px;" ><p style=" "><i class="fa fa-comment" style="color:#fff;"></i>&nbsp; <a href="https://www.facebook.com/messages/t/Getlinkvn" target="mess">HỖ TRỢ ĐANG TRỰC TUYẾN</a> <i class="fa fa-circle" style="color:#33ff00"></i>
	</p></div>
	<!-- hỗ trợ trực tuyến -->
';
?>
			
			<div id="showlistlink" class="showlistlink" align="center">
				<div style="border:1px #ffffff solid; width: 75%; height: 70%; padding:5px; margin-top:50px;">
					<div id="listlinks"><textarea style='width:99%; height: 100%;' id="textarea"></textarea></div>
					<table style='width:78%;'><tr>
					<td width="50%" vAlign="left" align="left">	
					
					</td>
					<td id="report"  width="50%" align="center"></td>
					</tr></table>
				</div>
				<div style="width:120px; padding:5px; margin:2px;border:1px #ffffff solid;">
					<a onclick="return makelist(document.getElementById('showresults').innerHTML);" href="javascript:void(0)" style='TEXT-DECORATION: none'><font color=#FF6600>Click to close</font></a>
				</div>
			</div>




			<table align="center"><tbody><tr>
				<!-- ########################## Begin Main ########################### -->
				<td align="center" valign="top">
					<table border="0" cellpadding="0" cellspacing="1"><tbody>
						<tr>
							<td class="cell-nav"><a class="ServerFiles" href="./?id=leech"><?php echo $obj->lang['leech']; ?></a></td>	
							<?php
							foreach ($obj->server_tab as $servertab => $nametab) {
								if(empty($nametab[1])==false) echo '<td class="cell-nav"><a class="ServerFiles" href="./?id=leech&server='.$servertab.'">'.$nametab[1].'</a></td>';

							}
							?>
							<td class="cell-nav"><a class="ServerFiles" href="./?id=fshare"><?php echo $obj->lang['leechfshare']; ?></a></td>
							<td class="cell-nav"><a class="ServerFiles" href="./?listfile=leech"><?php echo $obj->lang['leechfile']; ?></a></td>	
							<td class="cell-nav"><a class="ServerFiles" href="./?id=get_direct_link"><?php echo $obj->lang['getdlink']; ?></a></td>								 
							
							<!--
							<td class="cell-nav"><a class="ServerFiles" href="./?id=phim"><font color=red><?php echo $obj->lang['phimhd']; ?></font></a></td>
							<td class="cell-nav"><a class="ServerFiles" href="./?id=contact"><?php echo $obj->lang['contact']; ?></a></td>
							
							<td class="cell-nav"><a class="ServerFiles" href="http://getlink.vn/downloader.php"><?php echo $obj->lang['gl_dler']; ?></a></td>
							<td class="cell-nav"><a class="ServerFiles" href="./?id=leech"><?php echo $obj->lang['leechnitro']; ?></a></td>
							<td class="cell-nav"><a class="ServerFiles" href="./?id=fshare"><?php echo $obj->lang['leechfshare']; ?></a></td>
							<td class="cell-nav"><a class="ServerFiles" href="./?listfile=get"><?php echo $obj->lang['listfile']; ?></a></td>
							-->
							<td class="cell-nav"><a class="ServerFiles" href="./?id=leecherror"><?php echo $obj->lang['leecherror']; ?></a></td>
							
							<td class="cell-nav"><a class="ServerFiles" href="./?id=profile"><?php echo $obj->lang['profile']; ?></a></td>
							<?php if ($obj->Secure == true) 
							echo '<td class="cell-nav"><a class="ServerFiles" href="./login.php?go=logout"> '.$obj->lang['logout'].'</a></td>'; ?>
						</tr>
					</tbody></table>
					<table id="tb_content"><tbody>
						<tr><td height="1px"></td></tr>
						<tr><td align="center">
<?php 

						#---------------------------- begin list file ----------------------------#
						if (isset($_GET['listfile']) || isset($_POST['clearfile']) || isset($_POST['option']) || isset($_POST['renn']) || isset($_POST['remove']))  {
							if($obj->listfile==true) {
								if($_GET['listfile'] == 'get') $obj->fulllist();
								else $obj->listleech(false, $idtab);
							}
							else echo "<BR><BR><font color=red size=2>".$obj->lang['notaccess']."</b></font>";
						}
						#---------------------------- end list file ----------------------------#						#----------------------------begin list phim----------------------------#
						/*
						else if (isset($_GET['id']) && $_GET['id']=='phim') { 
							$obj->listphim();
						}
						*/
						#---------------------------- end list phim ----------------------------#
						#---------------------------- begin profile ----------------------------#
						else if (isset($_GET['id']) && $_GET['id']=='profile') { 
							//echo "<a href='./login.php?go=changepass' style='TEXT-DECORATION: none'><font color=#FF6600>"._changepass." >>></font></a>";
							echo '<div id="wait"></div><br>
							<div style="overflow: auto; height: auto; max-height: 450px; width: 480px;" id="profile">
							<table id="table_filelist" class="filelist" align="center" cellpadding="3" cellspacing="1" width="100%">
								<tr valign="bottom">
									<td class="flisttblhdr" width="30%"><b><a href="./login.php?go=changepass" style="TEXT-DECORATION: none"><font color=#FF6600>'.$obj->lang['changepass'].' >>></font></a></b></td>
									<td class="flistmouseoff"  align="center" width="30%"><b><a onclick="historylogin();" href="javascript:void(0)" style="TEXT-DECORATION: none"><font color=#330066>'.$obj->lang['history'].' >>></font></a></b></td>
								</tr>
								<tr valign="bottom">
									<td class="flisttblhdr" width="30%"><b>'.$obj->lang['type'].'</b></td>
									<td class="flistmouseoff"  align="center"  width="30%"><b>'.$obj->lang['typeacc'].'</b> - <font color=blue>'.$obj->lang['bwaccday'].'</font></td>
								</tr>
								<tr valign="bottom">
									<td class="flisttblhdr" width="30%"><b>'.$obj->lang['bwacc'].'</b></td>
									<td class="flistmouseoff"  align="center"  width="30%"><b>'.$obj->convertmb($obj->total_acc_unless()).'</b></td>
								</tr>
								<tr valign="bottom">
									<td class="flisttblhdr" width="30%"><b>'.$obj->lang['create'].'</b></td>
									<td class="flistmouseoff"  align="center"  width="30%"><b>'.date('H:i:s- d.m.Y',$create).'</b></td>
								</tr>
								<tr valign="bottom">
									<td class="flisttblhdr" width="30%"><b>'.$obj->lang['expired'].'</b></td>
									<td class="flistmouseoff"  align="center"  width="30%"><b>'.date('H:i:s- d.m.Y',$expired).'</b></td>
								</tr>
								<tr valign="bottom">
									<td class="flisttblhdr" width="30%"><b>'.$obj->lang['yourmail'].'</b></td>
									<td class="flistmouseoff"  align="center"  width="30%"><b>'.$obj->email.'</b></td>
								</tr>
								</table></div>
							';
							if(isset($obj->hosts) && count($obj->hosts) > 0) {
								echo '
								<BR><div style="overflow: auto; height: auto; max-height: 450px; width: 480px;" id="profile">
								<table id="table_filelist" class="filelist" align="center" cellpadding="3" cellspacing="1" width="100%">
									<tr valign="middle">
										<td class="flisttblhdr" width="30%"><b><font color=#FF6600>'.$obj->lang['limit_p'].'</font></b></td>
										<td class="flistmouseoff"  align="center" width="30%"><b><font color=#ffff00>'.$obj->lang['bw_used'].'</font></b></td>
									</tr>';



								$bw_api = $obj->bw_api();
								foreach($bw_api as $host=>$value) {
									$used = $obj->total_bw_day($host);
									if($used == 0) continue;
									$used = $obj->convertmb($used);
									if(isset($obj->hosts[$host])) $limit_host = $obj->hosts[$host];
									else $limit_host = $obj->hosts['other'];
									if(isset($limit_host['daily_bw']) == true && $obj->acc_type['reset_bw']==false) $totalbw = $limit_host['daily_bw']*1024*1024;
									else {
										if(isset($obj->hosts2[$host]['bandwidth'])) $totalbw = ($limit_host['bandwidth']+$obj->hosts2[$host]['bandwidth'])*1024*1024;
										else  $totalbw = ($limit_host['bandwidth'])*1024*1024;
									}

									echo '
									<tr valign="middle">
										<td class="flisttblhdr" width="30%"><b>'.$host.'</b>
										'.((isset($limit_host['total']) && $limit_host['total']==true)?'':' *').'
										</td>
										<td class="flistmouseoff"  align="center"  width="30%"><b>'.$used.' / '
										.$obj->convertmb($totalbw).' /ngày</b>
										'.(isset($limit_host['max_link'])?'<BR><span style="TEXT-DECORATION: none; color:#fff">('.$limit_host['max_link'].' link/ngày)</span>':'').'
										</td>
									</tr>
									';
									unset($used, $host, $value, $totalbw);


								}

								$data = file_get_contents($obj->splimit1);
								foreach($obj->hosts as $host=>$value) {
									if(strstr($host,'.nolimit') ||  strstr($host,'.test') or stristr($data,$host.'|online')==false) continue;
									$used = $obj->total_bw_day($host);
									if(isset($obj->bw[$host]['day']) && $used > 0) continue;
									$used = $obj->convertmb($used);

									if(isset($obj->hosts[$host])) $limit_host = $obj->hosts[$host];
									else $limit_host = $obj->hosts['other'];
						
									if(isset($limit_host['daily_bw']) == true && $obj->acc_type['reset_bw']==false) $totalbw = $limit_host['daily_bw']*1024*1024;
									else {
										if(isset($obj->hosts2[$host]['bandwidth'])) $totalbw = ($obj->hosts[$host]['bandwidth']+$obj->hosts2[$host]['bandwidth'])*1024*1024;
										else  $totalbw = ($obj->hosts[$host]['bandwidth'])*1024*1024;
									}
									echo '
									<tr valign="middle">
										<td class="flisttblhdr" width="30%"><b>'.$host.'</b>
										'.((isset($limit_host['total']) && $limit_host['total']==true)?'':' *').'
										</td>
										<td class="flistmouseoff"  align="center"  width="30%"><b>'.$used.' / '
										.$obj->convertmb($totalbw).' /ngày</b>
										'.(isset($limit_host['max_link'])?'<BR><span style="TEXT-DECORATION: none; color:#fff">('.$limit_host['max_link'].' link/ngày)</span>':'').'
										</td>
									</tr>
									';
								}
								
								echo '
									<tr valign="middle">
										<td class="flisttblhdr" width="30%"><b>'.$obj->lang['otherhost'].'</b>
										'.((isset($obj->hosts['other']['total']) && $obj->hosts['other']['total']==true)?'':' *').'
										</td>
										<td class="flistmouseoff"  align="center"  width="30%"><b>max = '
										.$obj->convertmb($obj->hosts['other']['bandwidth']*1024*1024).($obj->acc_type['reset_bw']?'':'/tháng').'</b>'
										.(isset($obj->hosts['other']['daily_bw'])?'<BR><span style="TEXT-DECORATION: none; color:#fff">(Tối đa: '.$obj->convertmb($obj->hosts['other']['daily_bw']*1024*1024).'/ngày)</span>':'').'</td>
									</tr>
								';
								echo '
									</table></div>
									<div align="left">Giới hạn riêng này áp dụng khi host đang được hỗ trợ tại Getlink.vn và tài khoản còn dung lượng băng thông. <br>Dung lượng sử dụng vượt mức trong ngày sẽ tính vào hôm sau. <br> Chi tiết các host hỗ trợ và giới hạn riêng tại: <a href="https://getlink.vn/host/100-host-get-link.php" style="TEXT-DECORATION: none; ">https://getlink.vn/host/100-host-get-link.php</a></div>
									<div align="left"><a href="./?id=addbw" style="TEXT-DECORATION: none; color:red">Nếu cần download nhiều hơn từ các host trên, vui lòng <font color="#ff6600">click vào đây</font> để Tăng giới hạn riêng</a></div>';
							}
							echo '<BR><BR>';
						}
						#---------------------------- end profile ------------------------------#
						#---------------------------- begin contact ----------------------------#
						else if (isset($_GET['id']) && $_GET['id']=='contact') { 
						include($obj->fileinfo_dir."/info.php");
						echo '<div id="wait" style="overflow: auto; height: auto; max-width: 500px;" align="center"><p align="justify">'.$obj->lang['thanks'].'</p></div>
						<div id="contact">
							<form action="javascript:contact(document.getElementById(\'form_contact\'));" name="form_contact" id="form_contact">
							<table cellpadding="3" cellspacing="1" border="0" align="center">
								<tr>
									<td align="right">ĐT liên hệ*</td>
									<td><input type="text"  class="text" name="sodienthoai" size="30" value="'.$mobile.'"/></td>
								</tr>
								<tr>
									<td align="right">Email *:</td>
									<td>'.$email.'</td>
								</tr>
								<tr><td height="5px"></td></tr>
								<tr>
									<td align="right">'.$obj->lang['sub'].' *:</td>
									<td><input type="text" class="text" name="tieude" size="60" value=""/></td>
								</tr>
								<tr>
									<td align="right" valign="middle">'.$obj->lang['link_tit'].' *:</td>
									<td><textarea name="link_loi" style="width:99%;height:50px;"></textarea></td>
								</tr>
								<tr>
									<td align="right" valign="middle">'.$obj->lang['content'].' *:</td>
									<td><textarea name="noidung" style="width:99%;height:100px;"></textarea></td>
								</tr>
								<tr>
									<td></td>
									<td align="left"><input type="submit" value="Send" id="submit123"/></td>
								</tr>

							</table>
							</form><br><br>';
						}
						#---------------------------- end contact ------------------------------#
						
						#- 2021/09/12 ---------------------------- leech link ------------------------------#
						else if (isset($_GET['id'])==false or $_GET['id'] == 'leech') { 
								if(isset($_GET['server']) && isset($obj->server_tab[$_GET['server']])) {
									echo $obj->lang['note_leech_1_'.$_GET['server'].''].'<BR>';
								}
								else {
									echo $obj->lang['note_leech_1'].'<BR>';
								}

							?>
							<form action="javascript:leech(document.getElementById('leechtform'));" name="leechtform" id="leechtform">
								<textarea id='urllist' style='width: auto; min-width:800px;max-width:1000px; height:100px;' name='urllist'></textarea><BR>
								<input type="button" onclick="reseturl();" value="Reset">&nbsp;&nbsp;&nbsp;
								<input type="checkbox" name="autoreset" id="autoreset" checked>&nbsp;<?php echo $obj->lang['auto_reset']; ?>&nbsp;&nbsp;&nbsp;
								<input type="checkbox" name="autofilter" id="autofilter" checked>&nbsp;<?php echo $obj->lang['auto_filter']; ?>&nbsp;&nbsp;&nbsp;
								<input type="button" onclick="checklink();" value="Check link">&nbsp;&nbsp;&nbsp;
								<div style="padding:2px;" align='center'></div>

								
							<input id="submit" type=submit value='<?php echo $obj->lang['sbleech']; ?>'/>&nbsp;&nbsp;&nbsp;
							</form><BR>
							<div id="dlhere" align="left" style="display: none;">
								<span id="nhap" align="left" style="display: none;"></span>
								<BR><hr /><?php echo $obj->lang['dlhere']; ?> <span id='multi_m_sv'></span>

								<div align="right">
									<a onclick="return makelist(document.getElementById('showresults').innerHTML);" href="javascript:void(0)" style='TEXT-DECORATION: none'><font color=#FF6600><?php echo $obj->lang['makelist']; ?></font></a>
								</div>
							</div>
							<div id="showresults" class="showresults" align="center"></div>

							<div id="dl_sv" align="left" style="display: none;">
								<BR><hr /><span id='multi_sv'></span><br>
								<div align="right"><a onclick="return makelist(document.getElementById('show_sv').innerHTML);" href="javascript:void(0)" style='TEXT-DECORATION: none'><font color=#FF6600><?php echo $obj->lang['makelist']; ?></font></a><BR>
								<span id='multi_sv'></span></div><br>
							
								<div id="show_sv" align="center"></div>
							</div>	 

							<!-- Start Server Info -->
							<BR><hr><BR>
							<div id="list_leech">
								<?php echo $obj->listleech(false, $idtab);?>
							</div>
							<?php
								if(isset($_GET['server']) && isset($obj->server_tab[$_GET['server']])) {
									echo $obj->lang['note_leech_2_'.$_GET['server'].''].'<BR>';
								}
								else {
									echo $obj->lang['note_leech_2'].'<BR>';
								}
							?>
							<!-- End Server Info -->
						<?php
						}
						#- 2021/09/12 ---------------------------- end leech link ------------------------------#		
						#- 2024  ---------------------------- leech error link ------------------------------#
						else if (isset($_GET['id']) && $_GET['id']=='leecherror') { 
							?>
							<?php echo $obj->lang['note_error_1']; ?><BR>
							<script>leecherrorlink = true; </script>
							<form action="javascript:leecherror(document.getElementById('leechtform'));" name="leechtform" id="leechtform">
								<textarea id='urllist' style='width: auto; min-width:800px;max-width:1000px; height:100px;' name='urllist'></textarea><BR>
								<input input type="hidden" name="leecherror" value="1"/>
								<input type="button" onclick="reseturl();" value="Reset">&nbsp;&nbsp;&nbsp;
								<input type="checkbox" name="autoreset" id="autoreset" checked>&nbsp;<?php echo $obj->lang['auto_reset']; ?>&nbsp;&nbsp;&nbsp;
								<input type="checkbox" name="autofilter" id="autofilter" checked>&nbsp;<?php echo $obj->lang['auto_filter']; ?>&nbsp;&nbsp;&nbsp;
								<input type="button" onclick="checklink();" value="Check link">&nbsp;&nbsp;&nbsp;
								<div style="padding:2px;" align='center'></div>

								
							<input id="submit" type=submit value='<?php echo $obj->lang['sberror']; ?>'/>&nbsp;&nbsp;&nbsp;
							</form><BR>
							<div id="dlhere" align="left" style="display: none;">
								<span id="nhap" align="left" style="display: none;"></span>
								<BR><hr /><?php echo $obj->lang['dlhere']; ?> <span id='multi_m_sv'></span>

								<div align="right">
									<a onclick="return makelist(document.getElementById('showresults').innerHTML);" href="javascript:void(0)" style='TEXT-DECORATION: none'><font color=#FF6600><?php echo $obj->lang['makelist']; ?></font></a>
								</div>
							</div>
							<div id="showresults" class="showresults" align="center"></div>

							<div id="dl_sv" align="left" style="display: none;">
								<BR><hr /><span id='multi_sv'></span><br>
								<div align="right"><a onclick="return makelist(document.getElementById('show_sv').innerHTML);" href="javascript:void(0)" style='TEXT-DECORATION: none'><font color=#FF6600><?php echo $obj->lang['makelist']; ?></font></a><BR>
								<span id='multi_sv'></span></div><br>
							
								<div id="show_sv" align="center"></div>
							</div>	 

							<!-- Start Server Info -->
							<BR><hr><BR>
							<div id="list_leech">
								<?php echo $obj->listleech('error',$idtab);?>
							</div>
							<?php echo $obj->lang['note_error_2']; ?><BR>
							<!-- End Server Info -->
						<?php
						}
						#- 2024 ---------------------------- end leech error link ------------------------------#													
						#- 2024  ---------------------------- leech fshare ------------------------------#
						else if (isset($_GET['id']) && $_GET['id']=='fshare') { 
							?>
							<?php echo $obj->lang['note_fshare_1']; ?><BR>
							<script>leechfsharelink = true; </script>
							<form action="javascript:leechfshare(document.getElementById('leechtform'));" name="leechtform" id="leechtform">
								<textarea id='urllist' style='width: auto; min-width:800px;max-width:1000px; height:100px;' name='urllist'></textarea><BR>
								<input input type="hidden" name="leecherror" value="1"/>
								<input type="button" onclick="reseturl();" value="Reset">&nbsp;&nbsp;&nbsp;
								<input type="checkbox" name="autoreset" id="autoreset" checked>&nbsp;<?php echo $obj->lang['auto_reset']; ?>&nbsp;&nbsp;&nbsp;
								<input type="checkbox" name="autofilter" id="autofilter" checked>&nbsp;<?php echo $obj->lang['auto_filter']; ?>&nbsp;&nbsp;&nbsp;
								<input type="button" onclick="checklink();" value="Check link">&nbsp;&nbsp;&nbsp;
								<div style="padding:2px;" align='center'></div>

								
							<input id="submit" type=submit value='<?php echo $obj->lang['sbfshare']; ?>'/>&nbsp;&nbsp;&nbsp;
							</form><BR>
							<div id="dlhere" align="left" style="display: none;">
								<span id="nhap" align="left" style="display: none;"></span>
								<BR><hr /><?php echo $obj->lang['dlhere']; ?> <span id='multi_m_sv'></span>

								<div align="right">
									<a onclick="return makelist(document.getElementById('showresults').innerHTML);" href="javascript:void(0)" style='TEXT-DECORATION: none'><font color=#FF6600><?php echo $obj->lang['makelist']; ?></font></a>
								</div>
							</div>
							<div id="showresults" class="showresults" align="center"></div>

							<div id="dl_sv" align="left" style="display: none;">
								<BR><hr /><span id='multi_sv'></span><br>
								<div align="right"><a onclick="return makelist(document.getElementById('show_sv').innerHTML);" href="javascript:void(0)" style='TEXT-DECORATION: none'><font color=#FF6600><?php echo $obj->lang['makelist']; ?></font></a><BR>
								<span id='multi_sv'></span></div><br>
							
								<div id="show_sv" align="center"></div>
							</div>	 

							<!-- Start Server Info -->
							<BR><hr><BR>
							<div id="list_leech">
								<?php echo $obj->listleech('fshare',$idtab);?>
							</div>
							
							<?php echo $obj->lang['note_fshare_2']; ?><BR>
							<!-- End Server Info -->
						<?php
						}
						#- 2024 ---------------------------- end leech fshare ------------------------------#									
						#---------------------------- begin request bw ----------------------------#
						else if (isset($_GET['id']) && $_GET['id']=='addbw') { 
						include($obj->fileinfo_dir."/info.php");
						echo '<div id="waitbw" style="overflow: auto; height: auto; max-width: 500px;" align="center">
						<p align="justify" style="color:red; font-size:14px">
						Nếu bạn muốn mở rộng băng thông download, vui lòng để lại thông tin:
						</p></div>
						<div id="request_bw">
							<form action="javascript:addbw(document.getElementById(\'form_request_bw\'));" name="form_request_bw" id="form_request_bw">
							<table cellpadding="3" cellspacing="1" border="0" align="center">
								<tr>
									<td align="right">ĐT liên hệ*</td>
									<td><input type="text"  class="text" name="sodienthoai" size="30" value="'.$mobile.'"/></td>
								</tr>
								<tr>
									<td align="right">Email *:</td>
									<td>'.$email.'</td>
								</tr>
								<tr><td height="5px"></td></tr>
								<tr>
									<td align="right">'.$obj->lang['sub'].' *:</td>
									<td><input type="text" class="text" name="tieude" size="60" value="Tôi cần nâng cấp băng thông"/></td>
								</tr>
								<tr>
									<td align="right">Host cần mua băng thông*:</td>
									<td><input type="text" class="text" name="hosting" size="60" value="Ví dụ: rapidgator.net, uploaded.net..."/></td>
								</tr>
								<tr>
									<td align="right" valign="middle">Hình thức thanh toán *:</td>
									<td><textarea name="noidung" style="width:99%;height:100px;">Tôi muốn thanh toán qua chuyển khoản ngân hàng Vietcombank...</textarea></td>
								</tr>
								<tr>
									<td></td>
									<td align="left"><input type="submit" value="Send" id="submitbw"/></td>
								</tr>

							</table>
							</form><br><br>';
						}
						#---------------------------- end request bw ------------------------------#
						#---------------------------- begin get dlink  ------------------------------#
						else if (isset($_GET['id']) && $_GET['id']=='get_direct_link') { 
?>
							
							<?php echo $obj->lang['note_get_1']; ?><BR>
							<?php echo $obj->lang['note_get_2']; ?><BR></font>
							<form action="javascript:get(document.getElementById('acctform'));" name="acctform" id="acctform">
								<textarea id='urllist' style='width: auto; min-width:800px;max-width:1000px; height:100px;' name='urllist'></textarea><BR>
								<input type="button" onclick="reseturl();" value="Reset">&nbsp;&nbsp;&nbsp;
								<input type="checkbox" name="autoreset" id="autoreset" checked>&nbsp;<?php echo $obj->lang['auto_reset']; ?>&nbsp;&nbsp;&nbsp;
								<input type="checkbox" name="autofilter" id="autofilter" checked>&nbsp;<?php echo $obj->lang['auto_filter']; ?>&nbsp;&nbsp;&nbsp;
								<input type="button" onclick="checklink();" value="Check link">&nbsp;&nbsp;&nbsp;
								<div style="padding:2px;" align='center'></div>
								<?php
								/*
									foreach($obj->sv_root as $sv=>$val) {
										echo '<input type="checkbox" name="type[]" id="'.$sv.'" value="'.$sv.'" onclick="event.preventDefault();" checked="checked"/>&nbsp;<small>'.$val.'</small>&nbsp;&nbsp;&nbsp;';
									}
									$type = array();
									if (isset($_COOKIE['type'])) {
										parse_str($_COOKIE['type'],$type);
										if(isset($type['type'])) $type = $type['type'];
									}
									foreach($obj->server as $sv=>$val) {
										if (in_array($sv, $type)) $checked = ' checked="checked"';
										else $checked='';
										echo '<input type="checkbox" name="type[]" id="'.$sv.'" value="'.$sv.'" '.$checked.' onclick="checkclick(\'#'.$sv.'\');"/>&nbsp;<small>'.$val.'</small>&nbsp;&nbsp;&nbsp;';
									}
								*/
								?>
								
							<input id="submit" type=submit value='<?php echo $obj->lang['sbdown']; ?>'/>&nbsp;&nbsp;&nbsp;
							</form><BR>
							<div id="dlhere" align="left" style="display: none;">
								<span id="nhap" align="left" style="display: none;"></span>
								<BR><hr /><?php echo $obj->lang['dlhere']; ?> <span id='multi_m_sv'></span>

								<div align="right">
									<a onclick="return makelist(document.getElementById('showresults').innerHTML);" href="javascript:void(0)" style='TEXT-DECORATION: none'><font color=#FF6600><?php echo $obj->lang['makelist']; ?></font></a>
								</div>
							</div>
							<div id="showresults" class="showresults" align="center"></div>

							<div id="dl_sv" align="left" style="display: none;">
								<BR><hr /><span id='multi_sv'></span><br>
								<div align="right"><a onclick="return makelist(document.getElementById('show_sv').innerHTML);" href="javascript:void(0)" style='TEXT-DECORATION: none'><font color=#FF6600><?php echo $obj->lang['makelist']; ?></font></a><BR>
								<span id='multi_sv'></span></div><br>
							
								<div id="show_sv" align="center"></div>
							</div>	 

							<div id="dlmirror" align="left" style="display: none;">
								<BR><hr /><?php echo $obj->lang['mirror']; ?>
								
								<div align="right"><a onclick="return show_hide('#showmirror');" href="javascript:void(0)" style='TEXT-DECORATION: none'><font color=#FF6600><?php echo $obj->lang['get_mirror']; ?></font></a></div>
								<div id='showmirror' class="showmirror" align="center" style="display: none;"></div>
							</div>	 



<?php						
						}
						#---------------------------- end get  ------------------------------#
?>
						</td></tr>
					</tbody></table>
					
					<!-- ########################## End Main ########################### -->
					<div style="padding:70px;" align='center'></div>
					<!---------------------------------------------------- foot ---------------------------------------------------->
					<table width="100%" align="center" cellpadding="0" cellspacing="0">
						<tr><td>
							<div align="center" style="color:#ccc">
								<!-- Start Server Info -->
									<hr />
								<div id="server_stats">
									<?php echo $obj->notice();?>
								</div>
								<!-- End Server Info -->
								<hr />
								<script type="text/javascript" language="javascript" src="<?php echo IMG_DOMAIN;?>/ajax.get.js?ver=2882024"></script>
								<script type="text/javascript" language="javascript" src="<?php echo IMG_DOMAIN;?>/ajax.leech.js?ver=2882024"></script> 
								<script type="text/javascript" language="javascript" src="<?php echo IMG_DOMAIN;?>/ck_ajax.js?ver=2882024"></script> 
								<!-- Copyright please don't remove-->
								<SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 10px;"><STRONG><?php printf($obj->lang['develop'],$obj->lang['version']); ?></SPAN><BR>
								<!--
								<SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 10px; color:#FF8700"><STRONG><?php printf($obj->lang['develop']); ?></SPAN><BR>
								<a href="http://<?php printf($obj->lang['homepage']); ?>"><?php printf($obj->lang['version']); ?></a><br/>
								-->
								<SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 11px"><?php printf($obj->lang['copyright'],$obj->lang['homepage'],$obj->lang['mail_hotro'],$obj->lang['mobile_sp']);?></SPAN></center><br />
								<!-- Copyright please don't remove-->
							</div>
						</td></tr>
					</table>
					<!---------------------------------------------------- foot ---------------------------------------------------->

				</div></td>
				<td width="30px">&nbsp;</td>
				<!-- ########################## Begin Right ######################## -->
				<td valign="top">
					<table width="100%"  border="0">
						<tr><td valign="middle">
							<table border="0" cellpadding="0" cellspacing="0"  style="margin-top:-1.6px;">
								<!--- tin mới 
								<tr><td width="280px"><div class="cell-plugin"><?php echo $obj->lang['news']; ?></div></td></tr>
								<tr><td height="40px"><div id="quangcao" text-align='justify'><?php include("./../../../other/title.php"); ?></div></td></tr>
								<!--- /tin mới -->
								
								<!-- gia hạn -->
								<tr><td width="280px"><div class="cell-plugin">Liên hệ/ Báo lỗi</div></td></tr>
								<!-- FESOUP<tr><td width="280px"><div class="cell-plugin">Sử dụng với Downloader</div></td></tr> -->
								<!-- FESOUP -->
								<tr><td width="280px" height="40px" text-align='justify'>
								* <a href="https://m.me/getlinkvn" target="FDM" style="TEXT-DECORATION: none;">
									<span style="font-family: Arial;font-size: 12px; color:text-shadow: 1px 0 #DDDDDD;"> <?php echo $obj->lang['d_Facebook']; ?>
									<BR></span>
								* <a href="https://zalo.me/0947132059" target="FDM" style="TEXT-DECORATION: none;">
									<span style="font-family: Arial;font-size: 12px; color:text-shadow: 1px 0 #DDDDDD;"> <?php echo $obj->lang['d_Zalo']; ?>
									<BR></span>
								* <a href="https://t.me/getlinkvn" target="FDM" style="TEXT-DECORATION: none;">
									<span style="font-family: Arial;font-size: 12px; color:text-shadow: 1px 0 #DDDDDD;"> <?php echo $obj->lang['d_Telegram']; ?>
									<BR></span>
								</td></tr>
								
								<tr><td width="280px"><div class="cell-plugin"><?php echo $obj->lang['main_km']; ?></div></td></tr>
								<tr><td height="40px"><div text-align="justify">
								<?php
								$mydomain  = $obj->self;
								$mydomain = str_replace("index.php","",$mydomain);
								$schema = parse_url(trim($mydomain));
								$host ='http://'. $schema['host'];
								//$host = str_replace("my.","",$host).'/buy/gia-han-get-link.php?url='.$mydomain;
								$host = 'https://giahan.getlink.vn/buy/gia-han-get-link.php?url='.$mydomain;
								echo '<a href="'.$host.'" target="renew">';

									
								$ex_rn = date('d.m.Y',$obj->expired+24*60*60);
								if($obj->expired > time() + 60*24*60*60) {
									$month = date('m',time())+1;
									$time_rn = '15.'.$month.'.'.date('Y',time());
									printf($obj->lang['km_tin'],'',$time_rn);
								}
								elseif($obj->expired < time() + 5*24*60*60 && stristr($obj->lang['typeacc'],'30')) {
									printf($obj->lang['km_tin'],$obj->lang['img_hot'],$ex_rn);
								}
								elseif($obj->expired < time() + 10*24*60*60 && !stristr($obj->lang['typeacc'],'30')) {
									printf($obj->lang['km_tin'],$obj->lang['img_hot'],$ex_rn);
								}
								else {
									printf($obj->lang['km_tin'],'',$ex_rn);
								}
								?>
								</a></div></td></tr>
								
								<!-- /gia hạn -->

								<!-- nút like -->
								<tr><td width="280px" height="40px">
									<!--
									<div id='fb' style="margin-top:10px;"><div class="fb-like" data-href="https://www.facebook.com/Getlinkvn" data-width="280" data-layout="standard" data-action="like" data-size="small" data-show-faces="true" data-share="false" data-colorscheme="dark"></div>
									-->
								<?php if($obj->facebook) echo'
									<div id="fb"><div class="fb-like" data-href="https://www.facebook.com/Getlinkvn" data-layout="standard" data-action="like" data-show-faces="false" data-share="false" show_faces="false" send="false" layout="button_count"></div></div>
								';?>
								* <span style="font-family: Arial;font-size: 12px; color:text-shadow: 1px 0 #DDDDDD;"> <?php echo $obj->lang['ChatGPT']; ?>
									<BR></span>
								* <span style="font-family: Arial;font-size: 12px; color:text-shadow: 1px 0 #DDDDDD;"> <?php echo $obj->lang['GoogleDrive']; ?>
									<BR></span>
								* <span style="font-family: Arial;font-size: 12px; color:text-shadow: 1px 0 #DDDDDD;"> <?php echo $obj->lang['Office365']; ?>
									<BR></span>
								* <span style="font-family: Arial;font-size: 12px; color:text-shadow: 1px 0 #DDDDDD;"> <?php echo $obj->lang['FreeVPN']; ?>
									<BR></span>
								* <span style="font-family: Arial;font-size: 12px; color:text-shadow: 1px 0 #DDDDDD;"> <?php echo $obj->lang['FreePhim']; ?>
									<BR></span>
								* <span style="font-family: Arial;font-size: 12px; color:text-shadow: 1px 0 #DDDDDD;"> <?php echo $obj->lang['FreeFshare']; ?>
									<BR></span>
								
								<BR>
								</td></tr>
								<!-- nút like -->

								<tr><td width="280px"><div class="cell-plugin">Hướng dẫn sử dụng</div></td></tr>
								<!-- FESOUP<tr><td width="280px"><div class="cell-plugin">Sử dụng với Downloader</div></td></tr> -->
								<!-- FESOUP -->
								<tr><td width="280px" height="40px" text-align='justify'>
								
								* <a href="https://getlink.vn/huong-dan-getlinkvn-download-voi-fdm.php" target="FDM" style="TEXT-DECORATION: none;">
									<span style="font-family: Arial;font-size: 12px; color:text-shadow: 1px 0 #DDDDDD;"> <?php echo $obj->lang['d_FDM']; ?>
									<BR></span>
								* <a href="https://getlink.vn/huong-dan-getlinkvn-download-voi-idm.php" target="IDM" style="TEXT-DECORATION: none;">
									<span style="font-family: Arial;font-size: 12px; color:text-shadow: 1px 0 #DDDDDD;"> <?php echo $obj->lang['d_IDM']; ?>
									<BR></span>
								* <a href="https://getlink.vn/toc-do-download-tu-getlinkvn.php" target="Firefox" style="TEXT-DECORATION: none;">
									<span style="font-family: Arial;font-size: 12px; color:text-shadow: 1px 0 #DDDDDD;"> <?php echo $obj->lang['tocdodownload']; ?>
									<BR></span>
								* <a href="https://getlink.vn/host/100-host-get-link.php" target="Firefox" style="TEXT-DECORATION: none;">
									<span style="font-family: Arial;font-size: 12px; color:text-shadow: 1px 0 #DDDDDD;"> <?php echo $obj->lang['hosthotro']; ?>
									<BR></span>
								* <a href="https://getlink.vn/dung-luong-get-link.php" target="Firefox" style="TEXT-DECORATION: none;">
									<span style="font-family: Arial;font-size: 12px; color:text-shadow: 1px 0 #DDDDDD;"> <?php echo $obj->lang['dungluongdownload']; ?>
									<BR></span>
								<BR>

								</td></tr>

								<!--- limit hosting -->
								<tr><td width="280px"><div class="cell-plugin"><?php echo $obj->lang['limit_p']; ?></div></td></tr>
								<tr><td width="280px"">
										<div id="limit_hosting">
											<?php echo $obj->limit_hosting();?>
										</div>
								</td></tr>
								<!--- /limit hosting -->

							</table>
						</td></tr>
					</table>





					<!--- limit hosting -->
					<div id="support" align="center" style="margin-left:0px; margin-top:30px;">
						<table width='80%'>

						</table>
					</div>
					<!--- //limit hosting -->
					</td>
				<!-- ########################## End right ########################### -->
			</tr></table>
		</body>
	</html>

<?php
	} #(!$_POST['urllist'])
} 
############################################### End Secure ###############################################
else {
?>
<!--

	* Script Name: Getlink
	* Version: 4.0
	* Created: ..:: [H] ::..
	* Code LeechViet by VinhNhaTrang
	* Developed by ..:: [H] ::..
	* Web 2.0 Login Form by Azmind
-->
	<!DOCTYPE html>
	<html lang="en-US">
	<head>
	<meta http-equiv="Content-Language" content="en-us">
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<META NAME="ROBOTS" CONTENT="NOINDEX,FOLLOW" />
	<META NAME="GOOGLEBOT" CONTENT="NOINDEX,FOLLOW" />
	<META NAME="SLURP" CONTENT="NOINDEX,FOLLOW" />
	<link rel="SHORTCUT ICON" href="<?php echo IMG_DOMAIN;?>/favicon.ico" type="image/x-icon" />
	<link title="Rapidleech Style" href="<?php echo IMG_DOMAIN;?>/login2.css" rel="stylesheet" type="text/css" />
	<title><?php printf($obj->lang['title'],$obj->lang['homepage']); ?></title>

		<?php if($obj->facebook) {
		?>
		<!-- Facebook Pixel Code -->
		<script>
		!function(f,b,e,v,n,t,s)
		{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
		n.callMethod.apply(n,arguments):n.queue.push(arguments)};
		if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
		n.queue=[];t=b.createElement(e);t.async=!0;
		t.src=v;s=b.getElementsByTagName(e)[0];
		s.parentNode.insertBefore(t,s)}(window,document,'script',
		'https://connect.facebook.net/en_US/fbevents.js');
		 fbq('init', '1767357633515690'); 
		fbq('track', 'PageView');
		</script>
		<noscript>
		 <img height="1" width="1" 
		src="https://www.facebook.com/tr?id=1767357633515690&ev=PageView
		&noscript=1"/>
		</noscript>
		<!-- End Facebook Pixel Code -->
		<?php
			}
		?>

		<script type="text/javascript" language="javascript" src="<?php echo IMG_DOMAIN;?>/jquery-1.7.2.min.js"></script> 

	<!--- CSS --->
	<!--- Javascript libraries (jQuery and Selectivizr) used for the custom checkbox --->
	<!--[if (gte IE 6)&(lte IE 8)]>
		<script type="text/javascript" src="<?php echo IMG_DOMAIN;?>/jquery-1.7.2.min.js"></script>
		<script type="text/javascript" src="<?php echo IMG_DOMAIN;?>/selectivizr.js"></script>
		<noscript><link rel="stylesheet" href="<?php echo IMG_DOMAIN;?>/fallback.css" /></noscript>
	<![endif]-->
	</head>
	<body>
<?php if($obj->facebook) echo '
	<!-- hỗ trợ trực tuyến -->
	<div id="fb-root"></div>
	<style>.vnk-tuvan{position:fixed;width: 110px;background:#34495E;z-index:99999999;left:0px;bottom:0px;  border-style: solid solid none;border-width: 1px 1px 0; border-color: #2c3e50}.vnk-tuvan p{color: #fff;font-size: 15px;margin: 0;padding: 0 13px; text-align: left;}.vnk-tuvan p a{color: #fff;font-size: 15px;padding: 5px 0px 7px;margin: 0;display:inline-block;font-family: arial, helvetica;text-decoration: none;}.vnk-tuvan p a:hover{text-decoration: underline;cursor: pointer;}.vnk-tuvan p img {float: right;margin-top: 10px;} </style>
	<div class="vnk-tuvan" style="width: 278px;" ><p style=" "><i class="fa fa-comment" style="color:#fff;"></i>&nbsp; <a href="https://www.facebook.com/messages/t/Getlinkvn" target="mess">HỖ TRỢ ĐANG TRỰC TUYẾN</a> <i class="fa fa-circle" style="color:#33ff00"></i>
	</p></div>
	<!-- hỗ trợ trực tuyến -->
';
?>

	<?php if($obj->facebook) echo'
		<div id="fb"><div class="fb-like" data-href="https://www.facebook.com/Getlinkvn" data-layout="standard" data-action="like" data-show-faces="false" data-share="false" show_faces="false" send="false" layout="button_count"></div></div>
	';?>
			
		<div id="container">
			<form action="login.php" method="POST">
				<div class="login"><?php echo $obj->lang['login'];?></div>
				<div class="password-field">
					<input type="password" name="secure" placeholder="Password"/>
				</div>
				<input type="checkbox" name="remember-me" id="remember-me" /><label for="remember-me"><?php echo $obj->lang['remember'];?></label>
				<div class="forgot-usr-pwd"><a href="./login.php?go=forgot"><?php echo $obj->lang['forgot'];?></a></div>
				<fieldset id="actions">
					<input type="submit" id="submit2" value="Login">
				</fieldset>
			</form>
		</div>
		<div id="notice" style="padding:40px; color:blue; font-size:17px; opacity: 0.7;" align="center">
			<?php echo ''.$obj->lang['luuy'].': '.$obj->lang['dontshare'];?>
		</div>
		<div id="footer">
		<!-- Copyright please don't remove-->
			<SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 11px"><?php printf($obj->lang['copyright'],$obj->lang['homepage'],$obj->lang['mail_hotro'],$obj->lang['mobile_sp']);?></SPAN><br />
		<!-- Copyright please don't remove-->	
		</div>
	</body>
</html>
<?php
}
ob_end_flush();
?>