? 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/private_html/libs/
File Upload :
Current File : /home/admin/domains/happytokorea.com/private_html/libs/back_up_index.php

<?
session_start();
require_once('config.php');
require_once('libs/global.php');
require_once('libs/MySql.php');
require_once('libs/function.php');
require_once('libs/backoff.php');
require_once('libs/global.php');
require_once('libs/xajax/xajax.inc.php');
require_once('libs/backoff_ajax.php');		
require_once('mod_user.php');
require_once('meta.php');
require_once('class_tour.php');
require_once('class_package.php');
require_once('class_program_tour.php');
require_once('class_agents.php');
require_once('wonder.server.php');
require_once('member.server.php');
if(!isset($wonderful_user_login)){
session_register("wonderful_user_login") ;
}
if(!isset($backoff)){
session_register("backoff");
}
$db=new MySql;
$xajax = new xajax(); 
$xajax->registerFunction("f_customer_login");
$xajax->registerFunction("f_agent_login");
$xajax->registerFunction("f_logout");
$xajax->registerFunction("agent_register");
$xajax->registerFunction("agent_edit");
$xajax->registerFunction("customer_register");
$xajax->registerFunction("customer_edit");
$xajax->registerFunction("maillist");
$xajax->registerFunction("approve_by_parent");
$xajax->registerFunction("block_by_parent");
$xajax->registerFunction("delete_by_parent");
$xajax->processRequests();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="th" lang="th">
<meta name="stats-in-th" content="u7d6"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<head>
<?
echo meta();
?>
	<link rel="stylesheet" href="css/styles.css" type="text/css" />
	<SCRIPT language="JavaScript" src="libs/js/tooltip.js"></SCRIPT>
	<SCRIPT language="JavaScript" src="libs/js/function.js"></SCRIPT>
<script type="text/javascript" src="libs/js/swfobject.js"></script>
	<?php $xajax->printJavascript('libs/xajax'); ?>
<?

if($_GET['start_date']!=''){

$start=$_GET['start_date'];
$end=$_GET['end_date'];
$start=explode("-",$start);
$start=$start[2]."/".$start[1]."/".$start[0];

$end=explode("-",$end);
$end=$end[2]."/".$end[1]."/".$end[0];
}
?>
<SCRIPT language="JavaScript" src="libs/js/CalendarPopup.js"></SCRIPT>
<SCRIPT language="JavaScript" src="libs/js/checkdate.js"></SCRIPT>
<SCRIPT language=JavaScript>document.write(getCalendarStyles());</SCRIPT>
  <SCRIPT language=JavaScript id=jscal1xx>
var cal1 = new CalendarPopup("div_cal1");
cal1.showNavigationDropdowns();
        </SCRIPT>
				<?
echo "<script>";
		$timestamp=date('d/m/Y',time());
echo "var timestamp='".$timestamp."';";
echo "</script>";
?>
<script>
function check_period(){
	var check_in=document.getElementById('check_in');
	var check_out=document.getElementById('check_out');
	if(check_out.value!=''&&check_in.value==''){
		alert('กรุณากรอก ช่วงเวลาเริ่มต้น');
		check_in.select();
		return false;
	}
		if(check_in.value!=''&&check_out.value==''){	
			alert('กรุณากรอก ช่วงเวลาสุดท้าย');
		check_out.select();
		return false;
	}
	
	str_in =check_in.value.split("/");
	str_out=check_out.value.split("/");
	if(str_in!=''){
var chk1=check_date(str_in,str_out);
	 if(!chk1){
		alert('ช่วงเวลาที่สองต้องมากกว่าช่วงเวลาแรกค่ะค่ะ');
		check_out.select();
		return false;
}
}
	return true;
}//end function
function check_date(befor,after){
	if(befor[2]<after[2]){
		return true;
	}
if(befor[2]>after[2]){
	return false;
}
 if(befor[1]>after[1]){
	return false;
}
if(befor[1]<after[1]){
	return true;
}
if(befor[0]>= after[0] && befor[1]==after[1]){
//alert(befor[0]+'>'+after[0]);
return false;
}
return true;
}

</script>
<script>
function getCheckedValue(radioObj) {
	if(!radioObj)
		return "";
	var radioLength = radioObj.length;
	if(radioLength == undefined)
		if(radioObj.checked)
			return radioObj.value;
		else
			return "";
	for(var i = 0; i < radioLength; i++) {
		if(radioObj[i].checked) {
			return radioObj[i].value;
		}
	}
	return "";
}

function js_login(username,password){

	xajax_f_agent_login(username,password);

}


</script>
<script type="text/javascript">
<!--
var timeout         = 500;
var closetimer		= 0;
var ddmenuitem      = 0;

// open hidden layer
function mopen(id)
{	
	// cancel close timer
	mcancelclosetime();

	// close old layer
	if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';

	// get new layer and show it
	ddmenuitem = document.getElementById(id);
	ddmenuitem.style.visibility = 'visible';
}
// close showed layer
function mclose()
{
	if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
}

// go close timer
function mclosetime()
{
	closetimer = window.setTimeout(mclose, timeout);
}

// cancel close timer
function mcancelclosetime()
{
	if(closetimer)
	{
		window.clearTimeout(closetimer);
		closetimer = null;
	}
}

// close layer when click-out
document.onclick = mclose; 
// -->

</script>
</head>
<body>

   <DIV id="div_cal1"
      style="VISIBILITY: hidden; POSITION: absolute; BACKGROUND-COLOR: white; layer-background-color: white"></DIV>
<div id="header">header</div>
<div id="menu_header"><a href="index.php">Home</a> | <a href="index.php?mod=tour">Tour</a> | <a href="index.php?mod=package">Package</a> | <a href="index2.php">Ticket</a>  | <a href="#">Travel Info</a>  | <a href="index.php?mod=event">news & event</a> 
| <a href="index.php?mod=gallery">Gallery</a> | <a href="index.php?mod=about_us">About Us </a> | <a href="index.php?mod=agentzone">Agent Zone</a> 

</div>

<div id="main_box">
<?
switch($_GET['mod']){
case agentzone:
	require_once('agentzone.php');
	break;
	default:
	require_once('firstpage.php');
	break;
}

?>
</div>
<div id="footer"><!--footer--></div>
</body>
</html>


T1KUS90T
  root-grov@210.1.60.28:~$