AnonSec Shell
Server IP : 54.36.91.62  /  Your IP : 216.73.217.112
Web Server : Apache
System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : coopiak ( 151928)
PHP Version : 8.3.23
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/coopiak/amisdesseniors-fr/administrator/components/com_hikashop/views/order/tmpl/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/coopiak/amisdesseniors-fr/administrator/components/com_hikashop/views/order/tmpl/mailform.php
<?php
/**
 * @package	HikaShop for Joomla!
 * @version	6.1.0
 * @author	hikashop.com
 * @copyright	(C) 2010-2025 HIKARI SOFTWARE. All rights reserved.
 * @license	GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 */
defined('_JEXEC') or die('Restricted access');
?><?php
if(isset($this->element->mail->dst_email) && is_array($this->element->mail->dst_email))
	$this->element->mail->dst_email = implode(',',$this->element->mail->dst_email);
if(isset($this->element->mail->cc_email) && is_array($this->element->mail->cc_email))
	$this->element->mail->cc_email = implode(',',$this->element->mail->cc_email);
if(isset($this->element->mail->bcc_email) && is_array($this->element->mail->bcc_email))
	$this->element->mail->bcc_email = implode(',',$this->element->mail->bcc_email);

	$hide_cc = 'false';
	if(empty($this->element->mail->cc_email)){
		$hide_cc = 'true';
	}
	$hide_bcc = 'false';
	if(empty($this->element->mail->bcc_email)){
		$hide_bcc = 'true';
	}
?>
<script type="text/javascript">
window.hikashop.toggleCC = function(type,hide) {
	var row = document.getElementById('hikashop_'+type+'_row');
	var link = document.getElementById('hikashop_'+type+'_link');
	if(hide){
		row.style.display = 'none';
		link.style.display = '';
		return;
	}
	row.style.display = '';
	link.style.display = 'none';
	document.getElementById('hikashop_'+type+'_input').focus();
}

window.hikashop.ready(function(){
	window.hikashop.toggleCC('cc',<?php echo $hide_cc; ?>);
	window.hikashop.toggleCC('bcc',<?php echo $hide_bcc; ?>);
});
</script>
					<table class="table">
						<tr>
							<td class="key">
								<label for="data[order][mail][from_name]">
									<?php echo JText::_( 'FROM_NAME' ); ?>
								</label>
							</td>
							<td>
								<input type="text" name="data[order][mail][from_name]" size="120" value="<?php echo $this->escape($this->element->mail->from_name);?>" />
							</td>
						</tr>
						<tr>
							<td class="key">
								<label for="data[order][mail][from_email]">
									<?php echo JText::_( 'FROM_ADDRESS' ); ?>
								</label>
							</td>
							<td>
								<input type="text" name="data[order][mail][from_email]" size="120" value="<?php echo $this->escape($this->element->mail->from_email);?>" />
							</td>
						</tr>
						<tr>
							<td class="key">
								<label for="data[order][mail][dst_name]">
									<?php echo JText::_( 'TO_NAME' ); ?>
								</label>
							</td>
							<td>
								<input type="text" name="data[order][mail][dst_name]" size="120" value="<?php echo $this->escape($this->element->mail->dst_name);?>" />
							</td>
						</tr>
						<tr>
							<td class="key">
								<label for="data[order][mail][dst_email]">
									<?php echo JText::_( 'TO_ADDRESS' ); ?>
								</label>
							</td>
							<td>
								<input type="text" name="data[order][mail][dst_email]" size="120" value="<?php echo $this->escape($this->element->mail->dst_email);?>" />
								<a id="hikashop_cc_link" href="#" onclick="window.hikashop.toggleCC('cc'); return false;"><?php echo JText::_('CC'); ?></a>
								<a id="hikashop_bcc_link" href="#" onclick="window.hikashop.toggleCC('bcc'); return false;"><?php echo JText::_('BCC'); ?></a>
							</td>
						</tr>
						<tr id="hikashop_cc_row">
							<td class="key">
								<label for="data[order][mail][cc_email]">
									<?php echo JText::_( 'CC' ); ?>
								</label>
							</td>
							<td>
								<input type="text" id="hikashop_cc_input" name="data[order][mail][cc_email]" size="120" onblur="if(this.value=='') window.hikashop.toggleCC('cc', true); return false;" value="<?php echo $this->escape($this->element->mail->cc_email);?>" />
							</td>
						</tr>
						<tr id="hikashop_bcc_row">
							<td class="key">
								<label for="data[order][mail][bcc_email]">
									<?php echo JText::_( 'BCC' ); ?>
								</label>
							</td>
							<td>
								<input type="text" id="hikashop_bcc_input" name="data[order][mail][bcc_email]" size="120" onblur="if(this.value=='') window.hikashop.toggleCC('bcc', true); return false;" value="<?php echo $this->escape($this->element->mail->bcc_email);?>" />
							</td>
						</tr>
						<tr>
							<td class="key">
								<label for="data[order][mail][subject]">
									<?php echo JText::_( 'EMAIL_SUBJECT' ); ?>
								</label>
							</td>
							<td>
								<input type="text" name="data[order][mail][subject]" size="120" value="<?php echo $this->escape($this->element->mail->subject);?>" />
							</td>
						</tr>
						<tr>
							<td colspan="2">
								<label for="hikashop_mail_body">
									<?php echo JText::_( 'HTML_VERSION' ); ?>
								</label>
								<?php echo $this->editor->display(); ?>
							</td>
						</tr>
						<tr>
							<td class="key">
								<label for="data[order][mail][altbody]">
									<?php echo JText::_( 'TEXT_VERSION' ); ?>
								</label>
							</td>
							<td>
								<textarea cols="60" rows="10" name="data[order][mail][altbody]"><?php echo $this->escape($this->element->mail->altbody); ?></textarea>
							</td>
						</tr>
					</table>
					<input type="hidden" name="data[order][mail][reply_email]" value="<?php echo $this->element->mail->reply_email;?>" />
					<input type="hidden" name="data[order][mail][html]" value="<?php echo $this->element->mail->html;?>" />
					<input type="hidden" name="data[order][mail][mail_name]" value="<?php echo @$this->element->mail->mail_name;?>" />

Anon7 - 2022
AnonSec Team