Server IP : 162.214.80.37 / Your IP : 216.73.216.83 Web Server : Apache System : Linux sh013.webhostingservices.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : imyrqtmy ( 2189) PHP Version : 8.2.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0750) : /home2/imyrqtmy/public_html/leadriding/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php $order_no = "1001"; $name = "sb"; $email = "jk"; $phone ="89"; $states ="o"; $citys ="k"; $add ="p"; $sub_total ="10"; $sub_total ="10"; $sub_total ="10"; $html_message = '<h1>New Order Details.</h1>'; $html_message .=' <!DOCTYPE html> <html> <div class="row "> <div id="DivIdToPrint"> <table style="width: 100%;max-width: 100%;margin-bottom: 5px;border-collapse: collapse;"> <tr style=""> <td style="width: 30%;padding: 8px;line-height: 1.42857143;vertical-align: top;"> <img src="https://leadriding.com/assets/img/logow1r.png" style="height: 150px; display: block;margin-left: auto;margin-right: auto;width: 50%;"> </td> </tr> </table> <table style="width: 100%;max-width: 100%;margin-bottom: 20px;border-collapse: collapse;"> <tbody> <tr> <td style="width: 50%;border:1px solid #000;padding: 8px;line-height: 1.42857143;vertical-align: top;"> <h4 style="border-bottom:1px solid #000;">Vendor Details</h4> <h5 class="font-size-15 mb-2">Company Name : '. $name.'</h5> <h5 class="font-size-15 mb-2">Billing Address : '. $name.'</h5> <h5 class="font-size-15 mb-2">City : '. $name.'</h5> <h5 class="font-size-15 mb-2">Email : '. $email.'</h5> <h5 class="font-size-15 mb-2">Contact No : '. $phone.'</h5> </td> <td style="width: 50%;border:1px solid #000;padding: 8px;line-height: 1.42857143;vertical-align: top;"> <h4 style="border-bottom:1px solid #000;">LeadRiding Details</h4> <h5 class="font-size-15 mb-2">Date : '. $name.'</h5> <h5 class="font-size-15 mb-2">PAN No : '. $name.'</h5> <h5 class="font-size-15 mb-2">Address : '. $name.'</h5> <h5 class="font-size-15 mb-2">Email : '. $email.'</h5> <h5 class="font-size-15 mb-2">Contact No : '. $phone.'</h5> </td> </tr> </tbody> </table> <table style="width: 100%;max-width: 100%;margin-bottom: 20px;border-collapse: collapse;"> <tbody> <tr> <td style="width: 50%;padding: 8px;line-height: 1.42857143;vertical-align: top;"> <h4 style="border-bottom:1px solid #000;">Product Name</h4> <h5 class="font-size-15 mb-2"> '. $name.'</h5> </td> <td style="width: 50%;padding: 8px;line-height: 1.42857143;vertical-align: top;"> <h4 style="border-bottom:1px solid #000;">Payment Details</h4> </td> </tr> <tr> <td style="width: 50%;padding: 8px;line-height: 1.42857143;vertical-align: top;"></td> <td style="width: 50%;padding: 8px;line-height: 1.42857143;vertical-align: top;"> <table style="width: 100%;max-width: 100%;margin-bottom: 5px;border-collapse: collapse;"> <tbody>'; $html_message .=' <tr> <td class="no-line" ></td> <td class="no-line" ></td> <td class="no-line" ></td> <td class="no-line text-center" style=""><h4 class="m-0"> Sub Total</h4></td> <td class="no-line" style=""> <h4 class="m-0" style="text-align: center;"> <i class="fa fa-rupee"></i>'. $sub_total.'</h4> </td> </tr> <tr> <td class="no-line" ></td> <td class="no-line" ></td> <td class="no-line" ></td> <td class="no-line text-center" style=""><h4 class="m-0"> Gst (18%)</h4></td> <td class="no-line" style=""> <h4 class="m-0" style="text-align: center;"> <i class="fa fa-rupee"></i>'. $sub_total.'</h4> </td> </tr> <tr> <td class="no-line" ></td> <td class="no-line" ></td> <td class="no-line" ></td> <td class="no-line text-center" style=""><h4 class="m-0"> Total</h4></td> <td class="no-line" style=""> <h4 class="m-0" style="text-align: center;"> <i class="fa fa-rupee"></i>'. $sub_total.'</h4> </td> </tr> </tbody> </table> </td> </tr> </tbody> </table> <!-- 2nd table --> </div> <div> <html>'; $to ="shanudev515@gmail.com" ; // $to = $email; $subject = "Order"; $header = "MIME-Version: 1.0\r\n"; $header .= "Content-type: text/html\r\n"; // $header .= 'Cc: support@printsaathi.com\r\n'; $retval = mail ($to,$subject,$html_message,$header); if ($retval) { // echo "<h5 style='color:green'>Mail Send Successfully......</h5>"; // echo "<script> // window.location.href='order_list.php'; // </script>"; } else { echo "<h5 style='color:red'>Mail Not Send Please Try Again......</h5>"; } ?>