403Webshell
Server IP : 103.48.194.25  /  Your IP : 216.73.216.74
Web Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.33
System : Linux VMHostDefault 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64
User : sieuthimay ( 1016)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/zomuaban.com/public_html/site/views/backend-old/crawl/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/zomuaban.com/public_html/site/views/backend-old/crawl/autogetold.php
<!DOCTYPE html>
<html lang="en">
  <head>
    
	<meta name="robots" content="no-cache" />
	<meta name="author" content="">
	<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
		
	<meta name="google-site-verification" content="NqZSO9_ILqIHV2vHVY04locK3FVtlkPrnGn-1N1FNNY" />
	
    <title>Admin - Đăng tin</title>
	
	<link href="<?=base_url('public/backend/css/crawler.css')?>" rel="stylesheet">
		
	<script src="<?=cnd('js/jquery.min.js')?>">	</script>
	
	<script>
		var $conf = { base_url  : function($uri){
										if($uri)return "<?php echo base_url(); ?>" + $uri ;
										else return "<?php echo base_url(); ?>";
									}
					}
	</script>

  </head>

<body>	
	<ul id="allcate">
	<?php 
		#print_r($listcate);return;
		foreach($listcate as $link){
		echo '<li><a id="'.$link->cateId.'" href="'.$link->rss_link.'" >'.$link->cateId.' -> '.$link->rss_link.'</a></li>';
	}?>
	</ul>
	
<script>
var $index = 0;

$(document).ready(function(){ 
	$("#allcate").find('li').click(function(e){
		e.preventDefault();		
		$index =$(this).index();		
		start_get_list($(this));
	})	
	
	start_get_list($($('#allcate li')[0]));
})

start_get_list = function ($item){
	$item.addClass('active');
	$link 	=  $item.find('a').attr('href');
	$cateId =  $item.find('a').attr('id');
	console.log('current li', $link); 
	// Load danh sách từ link này
	jQuery.ajax({			
		type:"POST",
		url:$conf.base_url('backend/autoget/ajax_get_list_ad'), 
		data:{  link:$link,cateId:$cateId },		 
		success:function(result){									
			
			//console.log('update complete', data);
			//if(data.success){
				// Update tin cũ
				//return false;
				$currentItem = $($('#allcate li')[$index]);				
				$currentItem.removeClass('active');
				$currentItem.addClass('disabled');
				// Nếu chưa hết thì Tiếp tục tin mới
				if($index<$("#allcate").find('li').length-1){
					$index++;
					start_get_list($($('#allcate li')[$index]));
					
					var data = $.parseJSON(result);		
					if(data && data.msg)$currentItem.append("<b>-"+data.msg+"</b>");
				}else{
					setTimeout(function(){
						window.location.reload();
					}, 3600000);
				}
				
				
			//}			
		}  		 
	});
}

</script>

</body>
</html>


Youez - 2016 - github.com/yon3zu
LinuXploit