uawdijnntqw1x1x1
IP : 216.73.216.219
Hostname : webm015.cluster127.gra.hosting.ovh.net
Kernel : Linux webm015.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
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
OS : Linux
PATH:
/
home
/
pteabiscqq
/
www
/
administrator
/
.
/
components
/
com_acymailing
/
helpers
/
acypopup.php
/
/
<?php /** * @package AcyMailing for Joomla! * @version 5.10.2 * @author acyba.com * @copyright (C) 2009-2018 ACYBA S.A.R.L. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?><?php class acypopupHelper{ function display($text, $title, $url, $id, $width, $height, $attr = '', $icon = '', $type = 'button', $dynamicUrl = false){ static $loaded = false; if(!$loaded) { acymailing_addScript(false, ACYMAILING_JS . 'acymailing.js?v=' . filemtime(ACYMAILING_MEDIA . 'js' . DS . 'acymailing.js')); acymailing_addStyle(false, ACYMAILING_CSS . 'acypopup.css?v=' . filemtime(ACYMAILING_MEDIA . 'css' . DS . 'acypopup.css')); $loaded = true; } $params = ' id="'.$id.'" onclick="window.acymailing.openpopup(\''.$url.'\', '.intval($width).', '.intval($height).'); return false;"'; if($type == 'button'){ $html = '<button '.$this->getAttr($attr, 'btn btn-small').$params.'>'; }else{ $html = '<a '.$attr.' href="#"'.$params.'>'; } if(!empty($icon)){ $html .= '<i class="icon-16-'.$icon.'"></i> '; } $html .= $text.(($type == 'button') ? '</button>' : '</a>'); return $html; } function getAttr($attr, $class){ if(empty($attr)){ return 'class="'.$class.'"'; } $attr = ' '.$attr; if(strpos($attr, ' class="') !== false){ $attr = str_replace(' class="', ' class="'.$class.' ', $attr); }elseif(strpos($attr, ' class=\'') !== false){ $attr = str_replace(' class=\'', ' class=\''.$class.' ', $attr); }else{ $attr .= ' class="'.$class.'"'; } return trim($attr); } }
/home/pteabiscqq/www/administrator/./components/com_acymailing/helpers/acypopup.php