|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /domains/klengineers/ |
Upload File : |
<?php
include("config/config.php");
//ini_set("display_errors", 0);
//error_reporting(E_ERROR);
//session_start();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<title>Warrior Life Book | A Soldiers Life</title>
<!-- Our CSS stylesheet file -->
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300" />
<link rel="stylesheet" href="assets/css/styles.css" />
<link rel="stylesheet" href="assets/countdown/jquery.countdown.css" />
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<div id="banner" style="background:url(images/banner-new.jpg) no-repeat left top;">
<div style="width:90%; float:left; height:auto; padding:74px 0 0 50px;">
<div style="width:30%; height:auto; float:left; padding:0 0 0 20px;"><a href="index.php"><img src="images/link.png" width="247" height="248" /></a></div>
<div style="width:60%; float:left; height:auto; padding:0px 0 20px 300px;"><a style="color:#FFF; text-decoration:none; font-size:14px; font-family:Verdana, Geneva, sans-serif;" href="http://www.youtube.com/watch?v=xwtw2_jjQNc" target="_blank">Click here to view our Youtube video</a></div>
<div style="width:20%; height:auto; float:left; padding-left:90px;">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHLwYJKoZIhvcNAQcEoIIHIDCCBxwCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhM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MTE0NjQyWjAjBgkqhkiG9w0BCQQxFgQUGUsBrTSGydS+2O50HWz9N6cYZrAwDQYJKoZIhvcNAQEBBQAEgYBFWx2oqYvErTqe+EF/Z3BnWJTQ0hpouiccDPV3zMFbsn9D/3IqYGx80lv9ynEocRTtfiFJspGijCQz/PPggNmxD3FnKOI+ZhYaKgqe0C0mbeq4zWQ/i2tIGRP61bPFshV2Ly3gEOesXHSGa5eAMKN/BEF9YoD+pClDIwVv/qds0w==-----END PKCS7-----
">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
</div>
<div style="width:20%; height:auto; float:right;padding-right:30px;"><a href="email12.php">
<img src="images/btn_buynow_SM.gif" /></a>
</div>
</div>
<!--<img src="images/banner.jpg" alt="" title=""/>-->
<!-- <div class="banner_img"><img src="images/tutac_banner1.jpg" alt="" /></div>
<div class="banner_img"><img src="images/tutac_banner2.jpg" alt="" /></div>
<div class="banner_img"><img src="images/tutac_banner3.jpg" alt="" /></div>
<div class="banner_img"><img src="images/tutac_banner4.jpg" alt="" /></div>
-->
</div>
<?php
/*$email=$_SESSION['email'];*/
//$_SESSION['paymnt']="no";
$id=$_GET['id'];
$query="select * from emailid where id='$id'";
$answer=mysql_query($query);
$row=mysql_fetch_array($answer);
extract($row);
//if(($id=="success"))
//{
//$_SESSION['paymnt']="success";
//echo $customer;
//$customer=$_SESSION['email'];
$customer=$email;
//echo "sadasda".$customer;
//echo "custoner".$customer;
$f1="Book.pdf";
$name_of_uploaded_file1 =basename($f1);
$type_of_uploaded_file1 =
substr($name_of_uploaded_file1,
strrpos($name_of_uploaded_file1, '.') + 1);
$max_allowed_file_size = 5000;
$upload_folder='uploadedfiles/';
$path_of_uploaded_file1 = $upload_folder.$name_of_uploaded_file1;
$file1 = $upload_folder.$name_of_uploaded_file1;
//echo $file1;
$file_size1 = filesize($file1);
//echo $file_size1;
$handle1 = fopen($file1, "r");
$content1 = fread($handle1, $file_size1);
fclose($handle1);
$content1 = chunk_split(base64_encode($content1));
$uid = md5(uniqid(time()));
$name1 = basename($f1);
$emailname="[email protected]";
$email="[email protected]";
$uid = md5(uniqid(time()));
$bound_text = "Warrior Life book";
$bound = "--".$bound_text."\r\n";
$bound_last = "--".$bound_text."--\r\n";
$headers = "From: $emailname\r\n";
$headers .= "MIME-Version: 1.0\r\n"
."Content-Type: multipart/mixed; boundary=\"$bound_text\"";
/* $dobname=stripslashes($dobname);$datename=stripslashes($datename);$heightname=stripslashes(heightname);*/
$content_mail="<table align='center' cellspacing='4' border='0'>
<tr><td>Thank you for shopping at Warriorlifebook.com. Your satisfaction is important to us, so if you have any questions please don't hesitate to email us.</td></tr>
<tr><td> </td></tr>
<tr><td>Products</td></tr>
<tr><td> </td></tr>
<tr><td>---------------------------------------------------</td></tr>
<tr><td>The Warrior Life Team – eBook $amount </td></tr>
<tr><td>---------------------------------------------------</td></tr>
<tr><td> </td></tr>
<tr><td>Your eBook is attached to this email.<tr><td>
<tr><td> </td></tr>
<tr><td>As a reminder, this book is licensed for your personal use only, and may not be shared with, or sold to, others.<tr><td>
<tr><td> </td></tr>
<tr><td>Thank you for supporting Warrior Life Book Publications and the hard work of this author.<tr><td>
<tr><td> </td></tr>
<tr><td>Sincerely,</td></tr>
<tr><td>Team Warrior life book<tr><td>
</table>";
$headers = "From: $email\r\n";
$headers .= "MIME-Version: 1.0\r\n"
."Content-Type: multipart/mixed;boundary=\"$bound_text\"";
$message .= "If you can see this MIME then your client doesn't accept MIME types!\r\n"
.$bound;
$message .= "Content-Type: text/html;charset=\"iso-8859-1\"\r\n"
."Content-Transfer-Encoding: 7bit\r\n\r\n"
.$content_mail."\r\n"
.$bound;
$file = file_get_contents("uploadedfiles/".$name1);
$message .= "Content-Type: image/jpg/gif/txt/rtf/doc/docx/pdf/xls;name=\"Book.$type_of_uploaded_file1\"\r\n"
."Content-Transfer-Encoding: base64\r\n"
."Content-disposition: attachment;file=\"Attachment\"\r\n"
."\r\n"
.chunk_split(base64_encode($file))
.$bound;
//$msgSent=@mail($customer,"Thank you for shopping at KomradENT.com","test",$headers);
$msgSent=@mail($customer,"Thank you for shopping at Warrior Life Book",$message,$headers);
if($msgSent)
{
echo "<script> alert('Message Sent');</script>";
}
//}
?>
<div class="header">
<?php /*?><?php include("header.php");?><?php */?>
</div>
</div>
<div id="wrapper"><!--wrapper-->
<!-- <div style="width:960px; float:left; height:450px;"><img src="images/TANKUU.png" width="964" height="306" /></div>-->
</div><!--wrapper-->
<div id="footer">
<?php /*?> <?php include("footer.php");?><?php */?>
</div>
</body>
</html>