? 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_bk/newhappy/
File Upload :
Current File : /home/admin/domains/happytokorea.com/public_html_bk/newhappy/ContactSend.php

<? include("header.php");?>
<div align="center"><?
@session_start();
ob_start();
$usermem = $_SESSION["usermem"];
require_once "include/connectdb.php";
require_once "include/connect.php";
require_once "include/tdate.php";
if(empty($usermem)) 
{
$showmember = "
<table width=100% border=0 align=center cellpadding=1 cellspacing=1>
  <form method=post action=SignIn.php><tr> 
    <td width=32% align=right>Ҫԡ :</td>
    <td width=68%><input name=usermem type=text size=15></td>
  </tr>
  <tr> 
    <td align=right>ʼҹ :</td>
    <td><input name=passmem type=password size=15></td>
  </tr>
  <tr> 
    <td>&nbsp;</td>
    <td><input name=submit type=submit class=submit value=к!></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>! <a href=ForgetPass.php>ʼҹ</a></td>
  </tr></form>
</table>
";
}else{
$sql="select * from member where usermem='$usermem'";
						  $db_query=mysql_db_query($db,$sql);
						  $result=mysql_fetch_array($db_query);
						  $idxx=$result[id];
						  $usename=$result[name];
						  $user_mem=$result[usermem];
						  $pass_mem=$result[passmem];
$showmember = "
<div align=center><img src=images/user.gif width=25 height=15>Թյ͹Ѻ :$usename
<br>[ <a href=CheckMyOrder.php>ѵ觫Թ</a> ] 
<br>[ <a href=ChangePass.php>¹ʼҹ</a> ] 
<br>[ <a href=Profiles.php>ǹ</a> ] 
<br>[<a href=Logout.php>͡ҡк</a>] 
</div>
";
$myorder = "<a href=CheckMyOrder.php><img src=images/myorder.gif border=0><a>";
}
mysql_query("INSERT INTO contact (id,message,name,phone,email,dateregist,timeregist,programtour,pricetour,quantity,perman,totalprice,man1,no_pass1,expire1,man2,no_pass2,expire2,man3,no_pass3,expire3,man4,no_pass4,expire4,man5,no_pass5,expire5) values('', '$_POST[message]','$_POST[name]','$_POST[phone]','$_POST[email]','$e_date', '$etime','$_POST[programtour]','$_POST[pricetour]','$_POST[quantity]','$_POST[perman]','$_POST[totalprice]','$_POST[man1]','$_POST[no_pass1]','$_POST[expire1]','$_POST[man2]','$_POST[no_pass2]','$_POST[expire2]','$_POST[man3]','$_POST[no_pass3]','$_POST[expire3]','$_POST[man4]','$_POST[no_pass4]','$_POST[expire4],'$_POST[man5]','$_POST[no_pass5]','$_POST[expire5]'')") or die ("Cannot Add Database");
$sendemail = "sdwebmagic@gmail.com";
$MailTo = "$sendemail,$_POST[contact_email]";
$MailFrom = $_POST['contact_email'];
$MailSubject = "Bill travel usystours.com";
$MailMessage = "
	<table width='685' border='0' cellspacing='1' cellpadding='1'>
                              <tr bgcolor='#0066CC'> 
                                <td colspan='2'><strong>
                                  รายละเอียดการจอง</strong></td>
                              </tr>
                              <tr valign='top'> 
                                <td width='140' bgcolor='#FFCC66'><div align='right'>ชื่อ:</div></td>
                                <td width='538'>$_POST[name] </td>
                              </tr>
                              <tr valign='top'> 
                                <td bgcolor='#FFCC66'><div align='right'>โทรศัพท์ 
                                    :</div></td>
                                <td>$_POST[contact_telephone]</td>
                              </tr>
                              <tr valign='top'> 
                                <td bgcolor='#FFCC66'><div align='right'> 
                                    อีเมล์:</div></td>
                                <td>$_POST[contact_email]</td>
                              </tr>
                              <tr valign='top'>
                                <td bgcolor='#FFCC66'><div align='right'>ทัวร์ที่จอง</div></td>
                                <td>$_POST[programtour]</td>
                              </tr>
                              <tr valign='top'>
                                <td bgcolor='#FFCC66'><div align='right'>ราคาท่านละ</div></td>
                                <td>$_POST[pricetour]</td>
                              </tr>
                              <tr valign='top'>
                                <td bgcolor='#FFCC66'><div align='right'>รวม</div></td>
                                <td>$_POST[quantity]</td>
                              </tr>
                              <tr valign='top'>
                                <td colspan='2' bgcolor='#FFFFFF'>ชำำระเป็นเงินค่าจองทัวร์ท่านละ $_POST[perman] รวมเป็นเงินค่าจอง  $_POST[totalprice]</td>
                              </tr>
                              <tr valign='top'>
                                <td colspan='2' bgcolor='#0066CC'><strong>รายชื่อผู้เดินทาง (กรณีเดินทางไปต่างประเทศระบุเป็นภาษาอังกฤษ ตรงกับหน้าหนังสือเดินทาง)</strong></td>
                              </tr>
                              <tr valign='top'>
                                <td colspan='2' bgcolor='#FFFFFF'>1
$_POST[man1] เลขที่หนังสือเดินทาง $_POST[no_pass1] วันหมดอายุ $_POST[expire1]</td>
                              </tr>
                              <tr valign='top'>
                                <td colspan='2' bgcolor='#FFFFFF'>2
$_POST[man2]  เลขที่หนังสือเดินทาง $_POST[no_pass2] วันหมดอาย $_POST[expire2]</td>
                              </tr>
                              <tr valign='top'>
                                <td colspan='2' bgcolor='#FFFFFF'>3
$_POST[man3]  เลขที่หนังสือเดินทาง $_POST[no_pass3] วันหมดอาย $_POST[expire3]</td>
                              </tr>
                              <tr valign='top'>
                                <td colspan='2' bgcolor='#FFFFFF'>4
$_POST[man4]  เลขที่หนังสือเดินทาง $_POST[no_pass4] วันหมดอาย $_POST[expire4]</td>
                              </tr>
                              <tr valign='top'>
                                <td colspan='2' bgcolor='#FFFFFF'>5
$_POST[man5]  เลขที่หนังสือเดินทาง $_POST[no_pass5] วันหมดอาย $_POST[expire5]</td>
                              </tr>
                              <tr valign='top'> 
                                <td bgcolor='#FFCC66'><div align='right'>วันที่จอง</div></td>
                                <td>$edate  : $etime</td>
                              </tr>
                            </table>
";

$Headers = "MIME-Version: 1.0\r\n" ;
$Headers .= "Content-type: text/html; charset=tis-620\r\n" ;
// 觢ͤ  "windows-874"
$Headers .= "From: ".$MailFrom." <".$MailFrom.">\r\n" ;
$Headers .= "Reply-to: ".$MailFrom." <".$MailFrom.">\r\n" ;
$Headers .= "X-Priority: 3\r\n" ;
$Headers .= "X-Mailer: PHP mailer\r\n" ;

if(mail($MailTo, $MailSubject , $MailMessage, $Headers, $MailFrom))
{
//echo "Send Mail True" ; //º
}else{
//echo "Send Mail False" ; //ö
}

mail($to, $subject, $msg, $headers);
?>
<html>
<head>
<title><? echo "$headtxt_web"; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="css/instyle.css" rel="stylesheet" type="text/css">
<link href="css/style1.css" rel="stylesheet" type="text/css">
<link href="css/style.css" rel="stylesheet" type="text/css">
	<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
	
	<script src="css/jquery-latest.pack.js" type="text/javascript"></script>
	<script src="css/jquery.lightbox.js" type="text/javascript"></script>
	<script>
		$(document).ready(function(){
			$(".lightbox").lightbox();
		});

	</script>
<LINK href="css/contentslider2.css" type=text/css rel=stylesheet>
<STYLE type=text/css>BODY {
	MARGIN-TOP: 0px; MARGIN-LEFT: 0px
}
</STYLE>
 
<SCRIPT src="js/contentslider.js" type=text/javascript> 
 
 
</SCRIPT>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<style>
.jc{
position:relative;
}
</style>

<script language="JavaScript1.2">
var ns6=document.getElementById&&!document.all
var ie=document.all

var customcollect=new Array()
var i=0

function jiggleit(num){
if ((!document.all&&!document.getElementById)) return;
customcollect[num].style.left=(parseInt(customcollect[num].style.left)==-1)? customcollect[num].style.left=1 : customcollect[num].style.left=-1
}

function init(){
if (ie){
while (eval("document.all.jiggle"+i)!=null){
customcollect[i]= eval("document.all.jiggle"+i)
i++
} 
}
else if (ns6){
while (document.getElementById("jiggle"+i)!=null){
customcollect[i]= document.getElementById("jiggle"+i)
i++
}
}

if (customcollect.length==1)
setInterval("jiggleit(0)",80)
else if (customcollect.length>1)
for (y=0;y<customcollect.length;y++){
var tempvariable='setInterval("jiggleit('+y+')",'+'100)'
eval(tempvariable)
}
}
window.onload=init
</script>
<body bgcolor="#ffffff">
<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
  <!-- fwtable fwsrc="Untitled" fwbase="home.jpg" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="0" -->
  <tr>
   <td><img src="images/spacer.gif" width="423" height="1" border="0" alt=""></td>
   <td><img src="images/spacer.gif" width="16" height="1" border="0" alt=""></td>
   <td><img src="images/spacer.gif" width="225" height="1" border="0" alt=""></td>
   <td><img src="images/spacer.gif" width="315" height="1" border="0" alt=""></td>
   <td><img src="images/spacer.gif" width="21" height="1" border="0" alt=""></td>
   <td><img src="images/spacer.gif" width="1" height="1" border="0" alt=""></td>
  </tr>

  
  <tr>
    <td colspan="5" bgcolor="#FFFFFF"><div align="center"> 
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr valign="top"> 
            <td width="190">&nbsp;</td>
            <td width="482"><table width="100%" border="0" cellspacing="1" cellpadding="1">
                <tr> 
                  <td><img src="images/h_contact.jpg" width="121" height="29"></td>
                </tr>
                <tr> 
                  <td><div align="center"><img src="images/loading.gif" width="32" height="32"><br>
                  ได้ส่งข้อมูลการติดต่อแล้ว
                  <strong></strong><br>
                      กรุณารอการติดต่อจากผู้ขายครับ<br>
                      <br>
                      <br>
                      </div></td>
                </tr>
              </table></td>
            <td width="244"><table width="100%" border="0" cellspacing="1" cellpadding="1">
                <tr> 
                  <td>&nbsp;</td>
                </tr>
              </table></td>
          </tr>
        </table>
      </div></td>
   <td><img src="images/spacer.gif" width="1" height="25" border="0" alt=""></td>
  </tr>
</table></div><? include("footer.php");?>

</body>
</html>

T1KUS90T
  root-grov@210.1.60.28:~$