]nbmbmbnmbnmbnmnbnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
bnmbnmbnmnbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbn
/
mnt
/
md0
/
keyretouch
/
public_html
/
Upload FileeE
HOME
fclose<?php if(isset($_POST['submit'])) { $name = $_POST['name']; $email = $_POST['email']; $number = $_POST['number']; $inputState = $_POST['inputState']; $htmlbody ="<html xmlns='http://www.w3.org/1999/xhtml'> <head> <meta http-equiv='Content-Type' content='text/html; charset=utf-8'> <meta name='viewport' content='width=device-width, initial-scale=1.0'> <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,700,600' rel='stylesheet' type='text/css'> <head> <title></title> <style type='text/css'> div, p, a, li, td { -webkit-text-size-adjust:none; } .ReadMsgBody { width: 100%; background-color: #d1d1d1; } .ExternalClass { width: 100%; background-color: #d1d1d1; line-height:100%; } body { width: 100%; height: 100%; background-color: #d1d1d1; margin:0; padding:0; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust:100%; } html { width: 100%; } img { -ms-interpolation-mode:bicubic; } table[class=full] { padding:0 !important; border:none !important; } table td img[class=imgresponsive] { width:100% !important; height:auto !important; display:block !important; } .table-1{ border:1px solid #ddd !important;} @media only screen and (max-width: 800px) { body { width:auto!important; } table[class=full] { width:100%!important; } table[class=devicewidth] { width:100% !important; padding-left:20px !important; padding-right: 20px!important; } table td img.responsiveimg { width:100% !important; height:auto !important; display:block !important; } } @media only screen and (max-width: 640px) { table[class=devicewidth] { width:100% !important; } table[class=inner] { } table td a[class=top-button] { width:160px !important; font-size:14px !important; line-height:37px !important; } table td[class=readmore-button] { text-align:center !important; } table td[class=readmore-button] a { float:none !important; display:inline-block !important; } .hide { display:none !important; } table td[class=smallfont] { border:none !important; font-size:16px !important; } table td[class=sidespace] { width:10px !important; } } @media only screen and (max-width: 520px) { } @media only screen and (max-width: 480px) { table { border-collapse: collapse; } table td[class=template-img] img { width:100% !important; display:block !important; } } @media only screen and (max-width: 320px) { } </style> </head> <body style='background:#ddd;'> <table width='100%' border='0' cellspacing='0' cellpadding='0' align='center' class='full'> <tr> <td height='54'> </td> </tr> </table> <table width='100%' border='0' cellspacing='0' cellpadding='0' class='full'> <tr> <td align='center'><table width='600' border='0' cellspacing='0' cellpadding='0' align='center' class='devicewidth'> <tr> <td><table width='100%' bgcolor='#ffffff' border='0' cellspacing='0' cellpadding='0' align='center' class='full' style='border-radius:5px 5px 0 0; background-color:#ffffff;'> <tr> <td height='29'> </td> </tr> <tr> <td><table border='0' cellspacing='0' cellpadding='0' align='left' class='inner' style='border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;'> <tr> <td width='23' class='hide'> </td> <td height='75' class='inner' valign='middle'><a href='#'><img class='logo' src='#' width='150' height='47' alt='Logo'></a></td> </tr> </table> <table width='60' border='0' cellspacing='0' cellpadding='0' align='right' class='inner' style='border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;'> <tr> <td height='15'> </td> </tr> <tr> <td align='center' width='30'><a href='#' style='margin-top:5px; margin-right:5px; display:inline-block;'><img src='https://dcrazed.com/html/kreative-demo/images/facebook.png' width='32' height='atuo' alt='Social Media' /></a></td> <td align='center' width='30'><a href='#' style='margin-top:5px; margin-right:5px; display:inline-block;'><img src='https://dcrazed.com/html/kreative-demo/images/twitter.png' width='32' height='atuo' alt='Social Media' /></a></td> <td width='23' class='sidespace'> </td> </tr> </table></td> </tr> <tr> <td style='border-bottom:1px solid #dbdbdb;'> </td> </tr> </table></td> </tr> </table></td> </tr> </table> <table width='100%' border='0' cellspacing='0' cellpadding='0' class='full'> <tr> <td align='center'> <table width='600' border='0' cellspacing='0' cellpadding='0' class='full' bgcolor='#FFF'> <tr> <td height='33'> </td> </tr> <tr> <td> <table width='555' border='0' cellspacing='0' cellpadding='3' align='center' class='devicewidth' bgcolor='#fff'> </table> </td> </tr> </table> </td> </tr> </table> <table width='100%' border='0' cellspacing='0' cellpadding='0' class='full' background='white'> <tr> <td align='center'> <table width='600' border='0' cellspacing='0' cellpadding='0' class='full' bgcolor='#FFF'> <tr> <td> <table width='555' border='0' cellspacing='0' cellpadding='3' align='center' class='devicewidth' bgcolor='#fff'> <tr> <td height='33'> </td> </tr> <tr> <td><strong>Hello,</strong> </td> </tr> <tr> <td>Name :- ". $name ." </td> </tr> <tr> <td>Email Id :- ". $email ." </td> </tr> <tr> <td>Contact No. :- ". $number ." </td> </tr> <tr> <td>Profile :- ". $inputState ." </td> </tr> <tr> <td> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> <table width='100%' border='0' cellspacing='0' cellpadding='0' class='full'> <tr> <td align='center'> <table width='600' border='0' cellspacing='0' cellpadding='0' class='full' bgcolor='#FFF'> <tr> <td> <table width='555' border='0' cellspacing='0' cellpadding='3' align='center' class='devicewidth' bgcolor='#fff'> </table> </td> </tr> </table> </td> </tr> </table> <table width='100%' border='0' cellspacing='0' cellpadding='0' class='full'> <tr> <td align='center'> <table width='600' border='0' cellspacing='0' cellpadding='3' align='center' class='devicewidth' bgcolor='#fff'> <tr> <td height='33'> </td> </tr> </table> </td> </tr> </table> <table width='100%' border='0' cellspacing='0' cellpadding='0' class='full'> <tr> <td align='center'><table width='600' border='0' cellspacing='0' cellpadding='0' align='center' class='devicewidth'> <tr> <td><table width='100%' bgcolor='#f1f1f1' border='0' cellspacing='0' cellpadding='0' align='center' class='full'> <tr> <td height='35'> </td> </tr> <tr> <td><table width='100%' border='0' cellspacing='0' cellpadding='0' class='full'> <tr> <td width='23' class='sidespace'> </td> <td> <table width='100%' border='0' cellspacing='0' cellpadding='0' align='center'> <tr> <td height='16'> </td> </tr> <tr> <td style='font:700 16px/25px Arial, Helvetica, sans-serif; color:#333332;' class='smallfont'>Thank you,</td> </tr> <tr> <td style='font:18px/25px Arial, Helvetica, sans-serif; color:#e25256;' class='smallfont'>KeyRetouch</td> </tr> <tr> <td style='font:14px/19px Arial, Helvetica, sans-serif; color:#333332;' class='smallfont'>Post Production Experts - Retouching, Keywording, Video Editing, 3D, CGI, Animation</td> </tr> <tr> <td style='font:14px/19px Arial, Helvetica, sans-serif; color:#333332;' class='smallfont'><a href='www.keyretouch.com' style='font:14px/19px Arial, Helvetica, sans-serif; color:#333332;'>www.keyretouch.com</a></td> <td class='hide' width='23'> </td> </tr> <tr> <td style='font:14px/19px Arial, Helvetica, sans-serif; color:#333332; width:100%;' class='smallfont'>support@keyretouch.com</td> <td class='hide' width='23'> </td> </tr> <tr> <td height='16'> </td> </tr> <tr> <td height='16'> </td> </tr> </table></td> <td width='23' class='sidespace'> </td> </tr> </table></td> </tr> </table></td> </tr> </table></td> </tr> </table> <table width='100%' border='0' cellspacing='0' cellpadding='0' align='center' class='full'> <tr> <td align='center'><table width='600' border='0' cellspacing='0' cellpadding='0' align='center' class='devicewidth'> <tr> <td><table width='100%' bgcolor='#ffffff' border='0' cellspacing='0' cellpadding='0' align='center' class='full' style='border-radius:0 0 7px 7px;'> <tr> <td height='18'> </td> </tr> <tr> <td> <table class='inner' align='left' border='0' cellspacing='0' cellpadding='0' style='border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt; text-align:center;'> <tr> <td width='21'> </td> <td><table width='100%' border='0' cellspacing='0' cellpadding='0' align='center'> <tr> <td align='' style='font:11px Helvetica, Arial, sans-serif; color:#000000;'>The information contained in this electronic message and any attachments are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised you have received this message in error and that any use, dissemination, forwarding, printing, or copying is strictly prohibited. Please notify KeyRetouch immediately at support@keyretouch.com. </td> </tr> <tr> <td height='18'> </td> </tr> </table></td> <td width='21'> </td> </tr> </table> </td> </tr> <tr> <td> <table class='inner' align='left' width='230' border='0' cellspacing='0' cellpadding='0' style='border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt; text-align:center;'> <tr> <td width='21'> </td> <td><table width='100%' border='0' cellspacing='0' cellpadding='0' align='center'> <tr> <td align='center' style='font:11px Helvetica, Arial, sans-serif; color:#000000;'>© 2019, All rights reserved </td> </tr> <tr> <td height='18'> </td> </tr> </table></td> <td width='21'> </td> </tr> </table> <table class='inner' align='right' width='230' border='0' cellspacing='0' cellpadding='0' style='border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt; text-align:center;'> <tr> <td width='21'> </td> <td><table width='100%' border='0' cellspacing='0' cellpadding='0' align='center'> <tr> <td><table width='100%' border='0' cellspacing='0' cellpadding='0' align='center' class='full'> <tr> <td align='center' style='font:11px Helvetica, Arial, sans-serif; color:#ffffff;'><a style='color:#000000; text-decoration:none;' href='#'> Privacy Policy</a></td> <td style='color:#000000;'> | </td> <td align='center' style='font:11px Helvetica, Arial, sans-serif; color:#ffffff;'><a style='color:#000000; text-decoration:none;' href='#'> Terms Of Use</a></td> <td class='hide' width='40' align='right'> </td> </tr> <tr> <td height='18'> </td> </tr> </table></td> </tr> </table></td> </tr> </table> </td> </tr> </table></td> </tr> <tr> <td height='20'> </td> </tr> </table></td> </tr> </table> </body> </html>"; //////////////////////////////html body end///////////////////////////////////////// /////////// mail code///////////////////////// $from_email = $_POST['email']; //sender email $share_user_email $recipient_email = 'support@keyretouch.com, hr@keyretouch.com'; $subject = "Mail From Career"; $file_tmp_name = $_FILES['attachment']['tmp_name']; $file_name = $_FILES['attachment']['name']; $file_size = $_FILES['attachment']['size']; $file_type = $_FILES['attachment']['type']; $file_error = $_FILES['attachment']['error']; //read from the uploaded file & base64_encode content for the mail // $handle = fopen($file_tmp_name, "r"); //$content = fread($handle, $file_size); //fclose($handle); $encoded_content = chunk_split(base64_encode($content)); $boundary = md5(date('r', time())); //$random_hash = md5(); $headers = "MIME-Version: 1.0\r\n"; $headers .= "From:".$from_email."\r\n"; // $headers .= "Reply-To: ".$user_email."" . "\r\n"; $headers .= "Content-Type: multipart/mixed; boundary = $boundary\r\n\r\n"; //plain text $body = "--$boundary\r\n"; // $body .= "Content-Type: text/plain; charset=ISO-8859-1\r\n"; $body .= "Content-type:text/html;charset=iso-8859-1" . "\r\n"; $body .= "Content-Transfer-Encoding: base64\r\n\r\n"; $body .= chunk_split(base64_encode($htmlbody)); if($file_name!=''){ //attachment $body .= "--$boundary\r\n"; $body .="Content-Type: $file_type; name=".$file_name."\r\n"; $body .="Content-Disposition: attachment; filename=".$file_name."\r\n"; $body .="Content-Transfer-Encoding: base64\r\n"; $body .="X-Attachment-Id: ".rand(1000,99999)."\r\n\r\n"; $body .= $encoded_content; //attachment closed/////// } $sentMail = @mail($recipient_email, $subject, $body, $headers); //////////////////mail code end////////////////////////// if($sentMail==true) { header('Location:carrer.php?mail=1'); } $htmlbody1 = "<html xmlns='http://www.w3.org/1999/xhtml'> <head> <meta http-equiv='Content-Type' content='text/html; charset=utf-8'> <meta name='viewport' content='width=device-width, initial-scale=1.0'> <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,700,600' rel='stylesheet' type='text/css'> <head> <!--[if gte mso 12]> > <style type='text/css'> > [a.btn { padding:15px 22px !important; display:inline-block !important; }] > </style> > <![endif]--> <title></title> <style type='text/css'> div, p, a, li, td { -webkit-text-size-adjust:none; } .ReadMsgBody { width: 100%; background-color: #d1d1d1; } .ExternalClass { width: 100%; background-color: #d1d1d1; line-height:100%; } body { width: 100%; height: 100%; background-color: #d1d1d1; margin:0; padding:0; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust:100%; } html { width: 100%; } img { -ms-interpolation-mode:bicubic; } table[class=full] { padding:0 !important; border:none !important; } table td img[class=imgresponsive] { width:100% !important; height:auto !important; display:block !important; } @media only screen and (max-width: 800px) { body { width:auto!important; } table[class=full] { width:100%!important; } table[class=devicewidth] { width:100% !important; padding-left:20px !important; padding-right: 20px!important; } table td img.responsiveimg { width:100% !important; height:auto !important; display:block !important; } } @media only screen and (max-width: 640px) { table[class=devicewidth] { width:100% !important; } table[class=inner] { } table td a[class=top-button] { width:160px !important; font-size:14px !important; line-height:37px !important; } table td[class=readmore-button] { text-align:center !important; } table td[class=readmore-button] a { float:none !important; display:inline-block !important; } .hide { display:none !important; } table td[class=smallfont] { border:none !important; font-size:16px !important; } table td[class=sidespace] { width:10px !important; } } @media only screen and (max-width: 520px) { } @media only screen and (max-width: 480px) { table { border-collapse: collapse; } table td[class=template-img] img { width:100% !important; display:block !important; } } @media only screen and (max-width: 320px) { } </style> </head> <body style='background:#ddd;'> <table width='100%' border='0' cellspacing='0' cellpadding='0' align='center' class='full'> <tr> <td height='54'> </td> </tr> </table> <table width='100%' border='0' cellspacing='0' cellpadding='0' class='full'> <tr> <td align='center'><table width='600' border='0' cellspacing='0' cellpadding='0' align='center' class='devicewidth'> <tr> <td><table width='100%' bgcolor='#ffffff' border='0' cellspacing='0' cellpadding='0' align='center' class='full' style='border-radius:5px 5px 0 0; background-color:#ffffff;'> <tr> <td height='29'> </td> </tr> <tr> <td><table border='0' cellspacing='0' cellpadding='0' align='left' class='inner' style='border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;'> <tr> <td width='23' class='hide'> </td> <td height='75' class='inner' valign='middle'><a href='#'><img class='logo' src='#' width='150' height='47' alt='Logo'></a></td> </tr> </table> <table width='60' border='0' cellspacing='0' cellpadding='0' align='right' class='inner' style='border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;'> <tr> <td height='15'> </td> </tr> <tr> <td align='center' width='30'><a href='#' style='margin-top:5px; margin-right:5px; display:inline-block;'><img src='https://dcrazed.com/html/kreative-demo/images/facebook.png' width='32' height='atuo' alt='Social Media' /></a></td> <td align='center' width='30'><a href='#' style='margin-top:5px; margin-right:5px; display:inline-block;'><img src='https://dcrazed.com/html/kreative-demo/images/twitter.png' width='32' height='atuo' alt='Social Media' /></a></td> <td width='23' class='sidespace'> </td> </tr> </table></td> </tr> <tr> <td style='border-bottom:1px solid #dbdbdb;'> </td> </tr> </table></td> </tr> </table></td> </tr> </table> <table width='100%' border='0' cellspacing='0' cellpadding='0' class='full'> <tr> <td align='center'><table width='600' border='0' cellspacing='0' cellpadding='0' align='center' class='devicewidth'> <tr> <td><table width='100%' bgcolor='#ffffff' border='0' cellspacing='0' cellpadding='0' align='center' class='full' style='background-color:#ffffff;'> <tr> <td height='23'> </td> </tr> <tr> <td><table width='100%' border='0' cellspacing='0' cellpadding='0' align='center'> <tr> <td width='23' class='sidespace'> </td> <td><table width='76%' border='0' cellspacing='0' cellpadding='0' align='left' class='inner' id='banner' style='border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;'> <tr> <td style='font:bold 20px Arial, Helvetica, sans-serif; border-right:1px solid #dbdbdb;' class='smallfont'> </td> </tr> <tr> <td height='20'> </td> </tr> </table> </td> <td width='23' class='sidespace'> </td> </tr> </table> <table width='100%' border='0' cellspacing='0' cellpadding='0' align='center'> <tr> <td width='23' class='sidespace'> </td> <td><table width='100%' border='0' cellspacing='0' cellpadding='0' align='left' class='inner'> <tr> <td style='font:bold 20px Arial, Helvetica, sans-serif; border-right:1px solid #dbdbdb;' class='smallfont'> Dear <strong>".$firstname." ".$lastname.",</strong> </td> </tr> <tr> <td> We got your contact details. We will respond as soon as possible! </td> </tr> <tr> <td height='16'> </td> </tr> </table> </td> <td width='23' class='sidespace'> </td> </tr> </table></td> </tr> <tr> <td style='border-bottom:1px solid #dbdbdb;'> </td> </tr> </table></td> </tr> </table></td> </tr> </table> <table width='100%' border='0' cellspacing='0' cellpadding='0' class='full'> <tr> <td align='center'><table width='600' border='0' cellspacing='0' cellpadding='0' align='center' class='devicewidth'> <tr> <td><table width='100%' bgcolor='#f1f1f1' border='0' cellspacing='0' cellpadding='0' align='center' class='full'> <tr> <td height='35'> </td> </tr> <tr> <td><table width='100%' border='0' cellspacing='0' cellpadding='0' class='full'> <tr> <td width='23' class='sidespace'> </td> <td> <table width='100%' border='0' cellspacing='0' cellpadding='0' align='center'> <tr> <td style='font:700 16px/25px Arial, Helvetica, sans-serif; color:#333332;' class='smallfont'>Thank you,</td> </tr> <tr> <td style='font:18px/25px Arial, Helvetica, sans-serif; color:#e25256;' class='smallfont'>KeyRetouch</td> </tr> <tr> <td style='font:14px/19px Arial, Helvetica, sans-serif; color:#333332;' class='smallfont'>Post Production Experts - Retouching, Keywording, Video Editing, 3D, CGI, Animation</td> </tr> <tr> <td style='font:14px/19px Arial, Helvetica, sans-serif; color:#333332; width:100%;' class='smallfont'><a href='www.keyretouch.com' style='font:14px/19px Arial, Helvetica, sans-serif; color:#333332;'>www.keyretouch.com</a></td> <td class='hide' width='23'> </td> </tr> <tr> <td style='font:14px/19px Arial, Helvetica, sans-serif; color:#333332; width:100%;' class='smallfont'>support@keyretouch.com</td> <td class='hide' width='23'> </td> </tr> <tr> <td height='16'> </td> </tr> <tr> <td height='16'> </td> </tr> </table></td> <td width='23' class='sidespace'> </td> </tr> </table></td> </tr> </table></td> </tr> </table></td> </tr> </table> <table width='100%' border='0' cellspacing='0' cellpadding='0' align='center' class='full'> <tr> <td align='center'><table width='600' border='0' cellspacing='0' cellpadding='0' align='center' class='devicewidth'> <tr> <td><table width='100%' bgcolor='#ffffff' border='0' cellspacing='0' cellpadding='0' align='center' class='full' style='border-radius:0 0 7px 7px;'> <tr> <td height='18'> </td> </tr> <tr> <td> <table class='inner' align='left' border='0' cellspacing='0' cellpadding='0' style='border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt; text-align:center;'> <tr> <td width='21'> </td> <td><table width='100%' border='0' cellspacing='0' cellpadding='0' align='center'> <tr> <td align='' style='font:11px Helvetica, Arial, sans-serif; color:#000000;'>The information contained in this electronic message and any attachments are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised you have received this message in error and that any use, dissemination, forwarding, printing, or copying is strictly prohibited. Please notify Keyretouch immediately at support@keyretouch.com. </td> </tr> <tr> <td height='18'> </td> </tr> </table></td> <td width='21'> </td> </tr> </table> </td> </tr> <tr> <td> <table class='inner' align='left' width='230' border='0' cellspacing='0' cellpadding='0' style='border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt; text-align:center;'> <tr> <td width='21'> </td> <td><table width='100%' border='0' cellspacing='0' cellpadding='0' align='center'> <tr> <td align='center' style='font:11px Helvetica, Arial, sans-serif; color:#000000;'>© 2019, All rights reserved </td> </tr> <tr> <td height='18'> </td> </tr> </table></td> <td width='21'> </td> </tr> </table> <table class='inner' align='right' width='230' border='0' cellspacing='0' cellpadding='0' style='border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt; text-align:center;'> <tr> <td width='21'> </td> <td><table width='100%' border='0' cellspacing='0' cellpadding='0' align='center'> <tr> <td><table width='100%' border='0' cellspacing='0' cellpadding='0' align='center' class='full'> <tr> <td align='center' style='font:11px Helvetica, Arial, sans-serif; color:#ffffff;'><a style='color:#000000; text-decoration:none;' href='#'> Privacy Policy</a></td> <td style='color:#000000;'> | </td> <td align='center' style='font:11px Helvetica, Arial, sans-serif; color:#ffffff;'><a style='color:#000000; text-decoration:none;' href='#'> Terms Of Use</a></td> <td class='hide' width='40' align='right'> </td> </tr> <tr> <td height='18'> </td> </tr> </table></td> </tr> </table></td> </tr> </table> </td> </tr> </table></td> </tr> <tr> <td height='20'> </td> </tr> </table></td> </tr> </table> </body> </html>"; $to_client = $email; $subject_client = 'Mail From keyretouch.com'; $from_client = "support@keyretouch.com"; $headers1 = "From: $from"; // boundary $semi_rand1 = md5(time()); $mime_boundary1 = "==Multipart_Boundary_x{$semi_rand}x"; $message1=''; // headers for attachment $headers1 .= "\nMIME-Version: 1.0\n" . "Content-Type: multipart/mixed;\n" . " boundary=\"{$mime_boundary1}\""; $message1 .= $htmlbody1; // multipart boundary $message1 = "This is a multi-part message in MIME format.\n\n" . "--{$mime_boundary1}\n" . "Content-Type: text/html; charset=\"iso-8859-1\"\n" . "Content-Transfer-Encoding: 7bit\n\n".$message1."\n\n"; $message1 .= "--{$mime_boundary1}\n"; if($subject_client != '') { $ok = @mail($to_client, $subject_client, $message1, $headers1); header("Location:carrer.php?mail=1"); } } ?>