<?php
$Secure = true;			#true : private host - false : public host
$facebook = false;

$homepage = "getlink.vn";
$fileinfo_dir = 'data';
$fileinfo = "info.dat";
$fileinfo_ext = "dat";
$pathphim = "./../../../../phim/files/movie.dat";
$passdefault = "getlinkv6";

$download_prefix = "";
$listfile = true;		# enable/disable all user can see list files.
$privatefile = false;	# enable/disable other people can see your file in the list files
$privateip = false;		# enable/disable other people can download your file.


# link manager host 
$linkgate = "http://manager2022.getlink.vn:8081/managerv7/";
#$linkgate = "http://managerdirect.getlink.vn:8081/managerv7/";
$passgate = "demo";
# link magnet
//$linkmagnet = "http://localhost/getlink/getto/";
$linkmagnet = "http://magnet2022test.getlink.vn:8081/getto/";
$passmagnet = "demo";
$infomagnet = 'http://magnet2022test.getlink.vn:8081/magnet.h/';
# link check isp
$checkisp = "http://checkisp2022.getlink.vn:8081/newisp/";
#$checkisp = "http://getlinkpremium.download/newisp/";
# link send mail
$linkmail = "http://mail2022.getlink.vn:8081/mygl/mail/mail.php";
$linkmailforgot = "http://mail2022.getlink.vn:8081/mygl/mail/forgot.php";
#$linkmail = "http://64.237.62.35:8081/mygl/mail/mail.php";
#$linkmailforgot = "http://64.237.62.35:8081/mygl/mail/forgot.php";
$passmail = "getlinkv3";
# mail nhan mail thong bao loi + contact
$mailerror = "hotro@getlink.vn";
$linkreport = "http://report01.getlinkvn.com/report01/";
$acc_api = "http://api.getlink.vn:8172/homegl.test.kien/api.php";
#$acc_api = "http://64.237.62.35:8081/homegl.test.kien/api.php";


# link manager host
#$linkgate = "http://managertestdirect11.getlink.vn:8081/managerv11/";
#$passgate = "demo";
# link mega link
$megalink = "http://megalink.getlink.vn:9179/managerv11/megalink/";
$passmega = "demo21@21k9";
#$megalink = "http://megalink2022.getlink.vn:8081/managerv11/megalink/";
#$passmega = "5a102d532110";
# mail nhan mail thong bao loi + contact

if(file_exists($fileinfo_dir."/info.php")) require_once ('data/info.php');
$this->count_dl = 50; //số phim hiển thị (sắp xếp theo lượt down nhiều)
$this->maxsv = 5; //#chưa rõ sử dụng làm gì
$this->gens = array(
	'action'		=> 'Hành động',
	'comedy'		=> 'Phim hài',
	'family'		=> 'Phim gia đình',
	'drama'			=> 'Kịch tính (drama)',
	'crime'			=> 'Hình sự',
	'adventure'		=> 'Phiêu lưu',
	'biography'		=> 'Tiểu sử',
	'history'		=> 'Lịch sử',
	'mystery'		=> 'Bí ẩn',
	'sci-fi'		=> 'Viễn tưởng',
	'western'		=> 'Viễn tây',
	'animation'		=> 'Hoạt hình',
	'documentary'		=> 'Phim tài liệu',
	'romance'		=> 'Tình cảm',
	'war'			=> 'Chiến tranh',
	'sport'			=> 'Thể thao',
	'horror'		=> 'Kinh dị',
	'fantasy'		=> 'Thần thoại',
	'music'			=> 'Âm nhạc',
	'musical'		=> 'Ca nhạc',
	'thriller'		=> 'Trinh thám',
	'reality-tv'		=> 'Thực tế',
	'film-noir'		=> 'Phim noir',
	'1phimchieurap'		=> 'Phim chiếu rạp',	
);

$this->folderimg = '/var/www/html/img/';
/*
$this->sv_root = array(
	'vnpthn'		=> 'Server VN',
	'vnpthcm'		=> 'Server VN',
	'vtelhn'		=> 'Server VN',
	'vtelhcm'		=> 'Server VN',
	'us'			=> 'Server US',	
);
*/

$this->sv_root = array(
	'sg'			=> 'Server Singapore',	
	'us'			=> 'Server US',	
	'vnpt'		=> array('vnpthn','vnpthcm'),
	'fpt'		=> array('fpthcm','fpthn'),
	'viettel'		=> array('vtelhcm','vtelhn'),
);
$this->server = array(
	'usa'		=> 'US2 (New)',
	'vnpthn'		=> 'VNPT HN',
	'vtelhn'		=> 'Viettel HN',
	'fpthcm'		=> 'FPT HCM',
	'sg'		=> 'SG',
	'hk'		=> 'HK',
	'jp'		=> 'JP',
	'us'		=> 'US',
	'fr'		=> 'FR',
	'ca'		=> 'CA',
	'syd'		=> 'AU',
	'ger'		=> 'DE',
	'vtelhcm'		=> 'Viettel HCM',
	'fpthn'		=> 'FPT HN',
	'vnpthcm'		=> 'VNPT HCM',
);
//limit số link được nhập
$this->maxgetlink = array(
	'icerbox.com'			=> 10,
	'hitfile.net'			=> 50,
	'upstore.net'			=> 10,
	'filesmonster.com'		=> 20,
	'uploadgig.com'			=> 50,
	'nitroflare.com'		=> 50,
	'rapidgator.net'		=> 500,
	'filenext.com'			=> 50,
	'otherhost'			=> 500, //limit mặc định cho các host còn lại
);
//limit số link được nhập
$this->maxleechlink = array(
	'icerbox.com'			=> 5,
	'rapidgator.net'		=> 5,
	'otherhost'			=> 5, //limit mặc định cho các host còn lại
);
//limit số link được nhập
$this->maxleecherrorlink = array(
	'icerbox.com'			=> 3,
	'rapidgator.net'		=> 3,
	'otherhost'			=> 3, //limit mặc định cho các host còn lại
);
//limit số link tối đa trong 1 ngày được leech ở tab error
$this->max_link_error_leech = array(
	'icerbox.com'			=> 20,
	'rapidgator.net'		=> 20,
	'fshare.vn'				=> 20,
	'otherhost'				=> 20, //limit mặc định cho các host còn lại
);
$this->maxleech_fshare = 1;	//limit số link được nhập
$this->maxlink_fshare = 10;	//limit số link được leech trong ngày

$this->diehost = array('uploaded.net', 'uploaded.to','ul.to','hotfile.com');
//filter các host có nhiều domain phụ - 2020/06/22 - 23:47 (GMT+7)
$this->filterhost = array(
	'uploaded.net'	=>	array('uploaded.to','ul.to'),
	'rapidgator.net'	=>	array('rapidgator.to','rg.to'),
	'turbobit.net'	=>	array('turbo-bit.net','turbo.to','turbobit.cc','turb.to','turb.cc'),
	'1fichier.com'	=>	array('alterupload.com','cjoint.net','dl4free.com','tenvoi.com','pjointe.com','megadl.fr','piecejointe.net','mesfichiers.org','dfichiers.com','desfichiers.com'),
	'hitfile.net'	=>	array('hitf.to','hitfile.cc'),
	'mega.nz'	=>	array('mega1.nz','mega.co.nz'),
	'youtube.com'	=>	array('youtube1.com','youtu.be'),
	'upstore.net'	=>	array('upstore1.net','upsto.re'),
	'k2s.cc'	=>	array('keep2share.cc','keep2s.cc','k2share.cc'),
	'fboom.me'	=>	array('fileboom.me','fileboom.com'),
	'4share.vn'	=>	array('up2.4share.vn','up.4share.vn'),
	'nitro.download'	=>	array('nitroflare.com'),
);

$this->splimit1 = 'http://www2022.getlink.vn:8081/host/support.txt';
#$this->splimit1 = 'http://homedirect11.getlink.vn:8081/host/support.txt';
$this->firewall = array(
	'spro2022.getlink.vn:8081'	=>	array('spro11.getlink.vn', 'spro.getlink.vn'),
	'my2022.getlink.vn:8081'	=>	array('my.getlink.vn', 'mytest.getlink.vn'),
	'vip2022.getlink.vn:8081'	=>	array('vip.getlink.vn', 'vip11.getlink.vn'),
	'premium2022.getlink.vn:8081'	=>	array('premium.getlink.vn', 'premium11.getlink.vn'),
);
if(!isset($this->mng_rieng))
//Turn on when $this->leechrieng==true
$this->mng_rieng = array(
	'rapidgator.net'	=> 'http://192.99.13.55:9149/leechmng/?hostdb=rapidgator.net',
	'fshare.vn'			=> 'http://192.99.13.55:9149/leechmng/?hostdb=fshare.vn',
	'1fichier.com'		=> 'http://192.99.13.55:9149/leechmng/?hostdb=1fichier.com',
	'alfafile.net'		=> 'http://192.99.13.55:9149/leechmng/?hostdb=alfafile.net',
	'extmatrix.com'		=> 'http://192.99.13.55:9149/leechmng/?hostdb=extmatrix.com',
	'filefactory.com'	=> 'http://192.99.13.55:9149/leechmng/?hostdb=filefactory.com',
	'filesmonster.com'	=> 'http://192.99.13.55:9149/leechmng/?hostdb=filesmonster.com',
	'fboom.me'			=> 'http://192.99.13.55:9149/leechmng/?hostdb=fboom.me',
	'uploadgig.com'		=> 'http://192.99.13.55:9149/leechmng/?hostdb=uploadgig.com',
	'filenext.com'		=> 'http://192.99.13.55:9149/leechmng/?hostdb=filenext.com',
	'hitfile.net'		=> 'http://192.99.13.55:9149/leechmng/?hostdb=hitfile.net',
	'katfile.com'		=> 'http://192.99.13.55:9149/leechmng/?hostdb=katfile.com',
	'k2s.cc'			=> 'http://192.99.13.55:9149/leechmng/?hostdb=k2s.cc',
	'nitro.download'	=> 'http://192.99.13.55:9149/leechmng/?hostdb=nitro.download',
	'icerbox.com'		=> 'http://192.99.13.55:9149/leechmng/?hostdb=icerbox.com',
	'novafile.com'		=> 'http://192.99.13.55:9149/leechmng/?hostdb=novafile.com',
	'tezfiles.com'		=> 'http://192.99.13.55:9149/leechmng/?hostdb=tezfiles.com',
	'upstore.net'		=> 'http://192.99.13.55:9149/leechmng/?hostdb=upstore.net',
	'turbobit.net'		=> 'http://192.99.13.55:9149/leechmng/?hostdb=turbobit.net',
	'magnet'			=> 'http://192.99.13.55:9149/leechmng/?hostdb=magnet',
	'filejoker.net'		=> 'http://192.99.13.55:9149/leechmng/?hostdb=filejoker.net',
	'filedot.to'		=> 'http://192.99.13.55:9149/leechmng/?hostdb=filedot.to',
	'fireget.com'		=> 'http://192.99.13.55:9149/leechmng/?hostdb=fireget.com',
	'rosefile.net'		=> 'http://192.99.13.55:9149/leechmng/?hostdb=rosefile.net',
	'prefiles.com'		=> 'http://192.99.13.55:9149/leechmng/?hostdb=prefiles.com',
	'gigapeta.com'		=> 'http://192.99.13.55:9149/leechmng/?hostdb=gigapeta.com',
	'depositfiles.com'	=> 'http://192.99.13.55:9149/leechmng/?hostdb=depositfiles.com',
	'takefile.link'		=> 'http://192.99.13.55:9149/leechmng/?hostdb=takefile.link',
	'other'				=> 'http://192.99.13.55:9149/leechmng/?hostdb=other',
);
//use when $this->leechrieng==false
if(!isset($this->mng_normal))
$this->mng_normal = array(
	'rapidgator.net'	=> 'http://192.99.13.55:9149/leechmng/?hostdb=rapidgator.net',
	'fshare.vn'			=> 'http://192.99.13.55:9149/leechmng/?hostdb=fshare.vn',
	'1fichier.com'		=> 'http://192.99.13.55:9149/leechmng/?hostdb=1fichier.com',
	'alfafile.net'		=> 'http://192.99.13.55:9149/leechmng/?hostdb=alfafile.net',
	'extmatrix.com'		=> 'http://192.99.13.55:9149/leechmng/?hostdb=extmatrix.com',
	'filefactory.com'	=> 'http://192.99.13.55:9149/leechmng/?hostdb=filefactory.com',
	'filesmonster.com'	=> 'http://192.99.13.55:9149/leechmng/?hostdb=filesmonster.com',
	'fboom.me'			=> 'http://192.99.13.55:9149/leechmng/?hostdb=fboom.me',
	'uploadgig.com'		=> 'http://192.99.13.55:9149/leechmng/?hostdb=uploadgig.com',
	'filenext.com'		=> 'http://192.99.13.55:9149/leechmng/?hostdb=filenext.com',
	'hitfile.net'		=> 'http://192.99.13.55:9149/leechmng/?hostdb=hitfile.net',
	'katfile.com'		=> 'http://192.99.13.55:9149/leechmng/?hostdb=katfile.com',
	'k2s.cc'			=> 'http://192.99.13.55:9149/leechmng/?hostdb=k2s.cc',
	'nitro.download'	=> 'http://192.99.13.55:9149/leechmng/?hostdb=nitro.download',
	'icerbox.com'		=> 'http://192.99.13.55:9149/leechmng/?hostdb=icerbox.com',
	'novafile.com'		=> 'http://192.99.13.55:9149/leechmng/?hostdb=novafile.com',
	'tezfiles.com'		=> 'http://192.99.13.55:9149/leechmng/?hostdb=tezfiles.com',
	'upstore.net'		=> 'http://192.99.13.55:9149/leechmng/?hostdb=upstore.net',
	'turbobit.net'		=> 'http://192.99.13.55:9149/leechmng/?hostdb=turbobit.net',
	'magnet'			=> 'http://192.99.13.55:9149/leechmng/?hostdb=magnet',
	'filejoker.net'		=> 'http://192.99.13.55:9149/leechmng/?hostdb=filejoker.net',
	'filedot.to'		=> 'http://192.99.13.55:9149/leechmng/?hostdb=filedot.to',
	'fireget.com'		=> 'http://192.99.13.55:9149/leechmng/?hostdb=fireget.com',
	'rosefile.net'		=> 'http://192.99.13.55:9149/leechmng/?hostdb=rosefile.net',
	'prefiles.com'		=> 'http://192.99.13.55:9149/leechmng/?hostdb=prefiles.com',
	'gigapeta.com'		=> 'http://192.99.13.55:9149/leechmng/?hostdb=gigapeta.com',
	'depositfiles.com'	=> 'http://192.99.13.55:9149/leechmng/?hostdb=depositfiles.com',
	'takefile.link'		=> 'http://192.99.13.55:9149/leechmng/?hostdb=takefile.link',
	'other'				=> 'http://192.99.13.55:9149/leechmng/?hostdb=other',
);

$this->mng_error = 'http://192.99.13.55:9129/baoloi/';
$this->mng_fshare = 'http://192.99.13.55:9129/free_fshare/';

#$this->leechmng = 'http://mytestdirect11.getlink.vn:8081/leechmng/';
$this->passleech = 'leech21@21gl'; //pass hệ thống, không thay đổi !!!
#$this->checklink = 'http://leechmanager2023test.getlink.vn:9118/checklink/?url=';
$this->checklink = 'http://checklink2022.getlink.vn:8081/checklink/?url=';
#http://checklink2022.getlink.vn:8081/checklink/?url=https://nitroflare.com/view/F71B1803741B6F8
#$this->checklink = 'https://mytest.getlink.vn/checklink/?url=';
$this->max_list_file = 15; //số file tối đa hiển thị list leech
$this->pw_verified = '9b3b999b7b6a7323e294aa1500f4d2dc'; //password xác nhận từ leech manager
$this->pw_autologin = 'demo21@2022'; //password auto login
$truehttps = false;



require_once ('./../../../../class.user/viet.all.php'); 
?>