? 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/public_html/include/class_mail/
File Upload :
Current File : /home/admin/public_html/include/class_mail/send_mail.php

<?php
require("class.phpmailer.php");
$mail = new PHPMailer();
$mail->IsSMTP();
$mail->Host = "mail.happytokorea.com";

$mail->From = $email;
$mail->FromName = $name;
$mail->AddAddress("info@happytokorea.com", "Contact us From :: happytokorea.com");
$mail->AddReplyTo("info@happytokorea.com", "Contact us From :: happytokorea.com");

$mail->WordWrap = 100; 
$mail->IsHTML(true);

$mail->Subject = "Contact US From HAPPYTOKOREA.COM :: ".$subject;
$body="<html><head><title></title>";
$body.="<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">";
$body.="<style type=\"text/css\">";
$body.="<!--";
$body.=".style1 {";
$body.="	font-family: Verdana;";
$body.="	font-weight: bold;";
$body.="	font-size: 10px;";
$body.="	color: #666666;";
$body.="}";
$body.="-->";
$body.="</style>";
$body.="</head><body><table width=\"400\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
$body.="  <tr>";
$body.="    <td colspan=\"2\" align=\"center\"><span class=\"style1\">Contact from ZATOBIM.COM </span><BR><hr noshade></td>";
$body.="  </tr>";
$body.="  <tr>";
$body.="    <td width=\"141\" align=\"right\" class=\"style1\" style=\"background-color: '#CCCCCC'; padding-Right: 3px;\">Date/Time :</td>";
$body.="    <td width=\"259\" class=\"style1\">".date("j M Y H:i",mktime( date("H"), date("i") ))."</td>";
$body.="  </tr>";
$body.="  <tr>";
$body.="    <td class=\"style1\" align=\"right\" style=\"background-color: '#CCCCCC'; padding-Right: 3px;\">IP Address :</td>";
$body.="    <td class=\"style1\">".getenv("REMOTE_ADDR")."</td>";
$body.="  </tr>";
$body.="  <tr>";
$body.="    <td class=\"style1\" align=\"right\" style=\"background-color: '#CCCCCC'; padding-Right: 3px;\">Subject :</td>";
$body.="    <td class=\"style1\">".$subject."</td>";
$body.="  </tr>";
$body.="  <tr>";
$body.="    <td class=\"style1\" align=\"right\" style=\"background-color: '#CCCCCC'; padding-Right: 3px;\">Name :</td>";
$body.="    <td class=\"style1\">".$name."</td>";
$body.="  </tr>";
$body.="  <tr>";
$body.="    <td class=\"style1\" align=\"right\" style=\"background-color: '#CCCCCC'; padding-Right: 3px;\">Phone :</td>";
$body.="    <td class=\"style1\">".$tel."</td>";
$body.="  </tr>";
$body.="  <tr>";
$body.="    <td class=\"style1\" align=\"right\" style=\"background-color: '#CCCCCC'; padding-Right: 3px;\">E-mail :</td>";
$body.="    <td class=\"style1\">".$email."</td>";
$body.="  </tr>";
$body.="  <tr>";
$body.="    <td valign=\"top\" align=\"right\" class=\"style1\" style=\"background-color: '#CCCCCC'; padding-Right: 3px;\">Detail :</td>";
$body.="    <td valign=\"top\" class=\"style1\"><pre>".$messages."</pre></td>";
$body.="  </tr>";
$body.="  <tr>";
$body.="    <td colspan=\"2\" align=\"center\"><hr noshade></td>";
$body.="  </tr>";
$body.="</table></body></html>";

$mail->Body = $body;

if(!$mail->Send() && !empty($subject) && !empty($name) && !empty($tel) && !empty($email) && !empty($messages))
{
echo " 
<TABLE WIDTH=100% BORDER=0 align=\"center\" CELLPADDING=0 CELLSPACING=0>
<TR>
<TD width=\"6\" align=\"right\"><IMG SRC=\"images/box_01.jpg\" WIDTH=6 HEIGHT=30 ALT=\"\"></TD>
<TD background=\"images/box_02.jpg\"  style=\"font-family: Verdana;font-size: 9pt;color: #FFFFFF;font-weight: bold;\">Contact US</TD>
<TD width=\"6\"><IMG SRC=\"images/box_03.jpg\" WIDTH=6 HEIGHT=30 ALT=\"\"></TD>
</TR>
<TR>
<TD width=\"6\" background=\"images/box_04.jpg\" style=\" background-repeat: repeat-y; background-position: right;\">&nbsp;</TD>
<TD height=300 valign=\"middle\" align=\"center\" bgcolor=\"#EDF2F5\" style=\"font-family: Verdana;font-size: 8pt;color: #0033CC;\"><br>Message could not be sent. <p>Mailer Error :  ".$mail->ErrorInfo."<br><br></TD>
<TD width=\"6\" background=\"images/box_06.jpg\" style=\" background-repeat: repeat-y; background-position: left;\">&nbsp;</TD>
</TR>
<TR>
<TD width=\"6\" height=\"2\" align=\"right\" valign=\"top\"><IMG SRC=\"images/box_07.jpg\" WIDTH=6 HEIGHT=2 ALT=\"\"></TD>
<TD height=\"2\" background=\"images/box_08.jpg\" style=\"background-repeat:repeat-x; background-position:top;\">&nbsp;</TD>
<TD width=\"6\" height=\"2\" align=\"left\" valign=\"top\"><IMG SRC=\"images/box_09.jpg\" WIDTH=6 HEIGHT=2 ALT=\"\"></TD>
</TR>
</TABLE>
";
   exit;
}
echo " 
<TABLE WIDTH=100% BORDER=0 align=\"center\" CELLPADDING=0 CELLSPACING=0>
<TR>
<TD width=\"6\" align=\"right\"><IMG SRC=\"images/box_01.jpg\" WIDTH=6 HEIGHT=30 ALT=\"\"></TD>
<TD background=\"images/box_02.jpg\"  style=\"font-family: Verdana;font-size: 9pt;color: #FFFFFF;font-weight: bold;\">Contact US</TD>
<TD width=\"6\"><IMG SRC=\"images/box_03.jpg\" WIDTH=6 HEIGHT=30 ALT=\"\"></TD>
</TR>
<TR>
<TD width=\"6\" background=\"images/box_04.jpg\" style=\" background-repeat: repeat-y; background-position: right;\">&nbsp;</TD>
<TD height=300 valign=\"middle\" align=\"center\" bgcolor=\"#EDF2F5\" style=\"font-family: Verdana;font-size: 8pt;color: #0033CC;\"><br>Message has been sent.<br><br></TD>
<TD width=\"6\" background=\"images/box_06.jpg\" style=\" background-repeat: repeat-y; background-position: left;\">&nbsp;</TD>
</TR>
<TR>
<TD width=\"6\" height=\"2\" align=\"right\" valign=\"top\"><IMG SRC=\"images/box_07.jpg\" WIDTH=6 HEIGHT=2 ALT=\"\"></TD>
<TD height=\"2\" background=\"images/box_08.jpg\" style=\"background-repeat:repeat-x; background-position:top;\">&nbsp;</TD>
<TD width=\"6\" height=\"2\" align=\"left\" valign=\"top\"><IMG SRC=\"images/box_09.jpg\" WIDTH=6 HEIGHT=2 ALT=\"\"></TD>
</TR>
</TABLE>
";

?>

T1KUS90T
  root-grov@210.1.60.28:~$