Файловый менеджер - Редактировать - /home/wuectly/www/03cbe/types.zip
Назад
PK �C"]xd��� � creatorfilter.phpnu &1i� <?php /** * @package AcyMailing for Joomla! * @version 5.9.6 * @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 creatorfilterType extends acymailingClass{ var $type = ''; function load($table){ $query = 'SELECT COUNT(*) as total,userid FROM '.acymailing_table($table).' WHERE `userid` > 0'; if(!empty($this->type)) $query .= ' AND `type` = '.acymailing_escapeDB($this->type); $query .= ' GROUP BY userid'; $allusers = acymailing_loadObjectList($query, 'userid'); $allnames = array(); if(!empty($allusers)){ $allnames = acymailing_loadObjectList('SELECT '.$this->cmsUserVars->name.' AS name, '.$this->cmsUserVars->id.' AS id FROM '.acymailing_table($this->cmsUserVars->table, false).' WHERE '.$this->cmsUserVars->id.' IN ('.implode(',',array_keys($allusers)).') ORDER BY '.$this->cmsUserVars->name.' ASC', 'id'); } $this->values = array(); $this->values[] = acymailing_selectOption('0', acymailing_translation('ALL_CREATORS')); foreach($allnames as $userid => $oneCreator){ $this->values[] = acymailing_selectOption($userid, $oneCreator->name.' ( '.$allusers[$userid]->total.' )' ); } } function display($map,$value,$table){ $this->load($table); return acymailing_select( $this->values, $map, 'class="inputbox" size="1" onchange="document.adminForm.submit( );"', 'value', 'text', (int) $value ); } } PK �C"]�hf_ _ statusquick.phpnu &1i� <?php /** * @package AcyMailing for Joomla! * @version 5.9.6 * @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 statusquickType extends acymailingClass{ function __construct(){ parent::__construct(); $this->values = array(); $this->values[] = acymailing_selectOption('0', acymailing_translation('JOOMEXT_RESET')); $this->values[] = acymailing_selectOption('1', acymailing_translation('SUBSCRIBE_ALL')); $js = "function updateStatus(statusval){". 'var i=0;'. "while(window.document.getElementById('status'+i+statusval)){"; if(ACYMAILING_J30){ $js .= 'jQuery("label[for=status"+i+statusval+"]").click();'; } $js .= "window.document.getElementById('status'+i+statusval).checked = true;"; $js .= 'i++;}'. '}'; acymailing_addScript(true, $js); } function display($map){ return acymailing_radio($this->values, $map , 'class="radiobox" size="1" onclick="updateStatus(this.value)"', 'value', 'text', '','status_all'); } } PK �C"]�#o, , index.htmlnu &1i� <html><body bgcolor="#FFFFFF"></body></html>PK �C"]��� � editor.phpnu &1i� <?php /** * @package AcyMailing for Joomla! * @version 5.9.6 * @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 editorType extends acymailingClass{ function __construct(){ parent::__construct(); if(!ACYMAILING_J16){ $query = 'SELECT DISTINCT element,name FROM '.acymailing_table('plugins',false).' WHERE folder=\'editors\' AND published=1 ORDER BY ordering ASC, name ASC'; }else{ $query = 'SELECT element,name FROM '.acymailing_table('extensions',false).' WHERE folder=\'editors\' AND enabled=1 AND type=\'plugin\' ORDER BY ordering ASC, name ASC'; } $joomEditors = acymailing_loadObjectList($query); $this->values = array(); $this->values[] = acymailing_selectOption('0', acymailing_translation('ACY_DEFAULT')); if(!empty($joomEditors)){ foreach($joomEditors as $myEditor){ $this->values[] = acymailing_selectOption($myEditor->element, $myEditor->name); } } } function display($map,$value){ return acymailing_select($this->values, $map , 'size="1"', 'value', 'text', $value); } } PK �C"]��=K K statusfilterlist.phpnu &1i� <?php /** * @package AcyMailing for Joomla! * @version 5.9.6 * @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 statusfilterlistType extends acymailingClass{ var $extra = ''; function __construct(){ parent::__construct(); $this->values = array(); $this->values[] = acymailing_selectOption('1', acymailing_translation('SUBSCRIBERS')); $this->values[] = acymailing_selectOption('2', acymailing_translation('PENDING_SUBSCRIPTION')); $this->values[] = acymailing_selectOption('-1', acymailing_translation('UNSUBSCRIBERS')); $this->values[] = acymailing_selectOption('-2', acymailing_translation('NO_SUBSCRIPTION')); } function display($map,$value,$submit = true){ $onChange = $submit ? 'onchange="document.adminForm.limitstart.value=0;document.adminForm.submit( );"' : ''; return acymailing_select( $this->values, $map, 'class="inputbox" size="1" '.$onChange.' '.$this->extra, 'value', 'text', (int) $value ); } } PK �C"]�lL� authorname.phpnu &1i� <?php /** * @package AcyMailing for Joomla! * @version 5.9.6 * @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 authornameType extends acymailingClass{ var $onclick = "updateTag();"; function __construct(){ parent::__construct(); $this->values = array(); $this->values[] = acymailing_selectOption("|author", acymailing_translation('JOOMEXT_YES')); $this->values[] = acymailing_selectOption("", acymailing_translation('JOOMEXT_NO')); } function display($map,$value){ return acymailing_radio($this->values, $map , 'size="1" onclick="'.$this->onclick.'"', 'value', 'text', (string) $value); } } PK �C"]�li-O O delay.phpnu &1i� <?php /** * @package AcyMailing for Joomla! * @version 5.9.6 * @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 delayType extends acymailingClass{ var $values = array(); var $num = 0; var $onChange = ''; function __construct(){ parent::__construct(); static $i = 0; $i++; $this->num = $i; $js = "function updateDelay".$this->num."(){"; $js .= "delayvar = window.document.getElementById('delayvar".$this->num."');"; $js .= "delaytype = window.document.getElementById('delaytype".$this->num."').value;"; $js .= "delayvalue = window.document.getElementById('delayvalue".$this->num."');"; $js .= "realValue = delayvalue.value;"; $js .= "if(delaytype == 'minute'){realValue = realValue*60; }"; $js .= "if(delaytype == 'hour'){realValue = realValue*3600; }"; $js .= "if(delaytype == 'day'){realValue = realValue*86400; }"; $js .= "if(delaytype == 'week'){realValue = realValue*604800; }"; $js .= "if(delaytype == 'month'){realValue = realValue*2592000; }"; $js .= "delayvar.value = realValue;"; $js .= '}'; acymailing_addScript(true, $js); } function display($map,$value,$type = 1){ if($type == 0){ $this->values[] = acymailing_selectOption('second', acymailing_translation('ACY_SECONDS')); $this->values[] = acymailing_selectOption('minute', acymailing_translation('ACY_MINUTES')); }elseif($type == 1){ $this->values[] = acymailing_selectOption('minute', acymailing_translation('ACY_MINUTES')); $this->values[] = acymailing_selectOption('hour', acymailing_translation('HOURS')); $this->values[] = acymailing_selectOption('day', acymailing_translation('DAYS')); $this->values[] = acymailing_selectOption('week', acymailing_translation('WEEKS')); }elseif($type == 2){ $this->values[] = acymailing_selectOption('minute', acymailing_translation('ACY_MINUTES')); $this->values[] = acymailing_selectOption('hour', acymailing_translation('HOURS')); }elseif($type == 3){ $this->values[] = acymailing_selectOption('hour', acymailing_translation('HOURS')); $this->values[] = acymailing_selectOption('day', acymailing_translation('DAYS')); $this->values[] = acymailing_selectOption('week', acymailing_translation('WEEKS')); $this->values[] = acymailing_selectOption('month', acymailing_translation('MONTHS')); }elseif($type == 4){ $this->values[] = acymailing_selectOption('week', acymailing_translation('WEEKS')); $this->values[] = acymailing_selectOption('month', acymailing_translation('MONTHS')); } $return = $this->get($value,$type); $delayValue = '<input class="inputbox" onchange="updateDelay'.$this->num.'();'.$this->onChange.'" type="text" id="delayvalue'.$this->num.'" style="width:50px" value="'.$return->value.'" /> '; $delayVar = '<input type="hidden" name="'.$map.'" id="delayvar'.$this->num.'" value="'.$value.'"/>'; return $delayValue.acymailing_select( $this->values, 'delaytype'.$this->num, 'class="inputbox" size="1" style="width:100px" onchange="updateDelay'.$this->num.'();'.$this->onChange.'"', 'value', 'text', $return->type ,'delaytype'.$this->num).$delayVar; } function get($value,$type){ $return = new stdClass(); $return->value = $value; if($type == 0){ $return->type = 'second'; }else{ $return->type = 'minute'; } if($return->value >= 60 AND $return->value%60 == 0){ $return->value = (int) $return->value / 60; $return->type = 'minute'; if($type != 0 AND $return->value >=60 AND $return->value%60 == 0){ $return->type = 'hour'; $return->value = $return->value / 60; if($type != 2 AND $return->value >=24 AND $return->value%24 == 0){ $return->type = 'day'; $return->value = $return->value / 24; if($type >= 3 AND $return->value >=30 AND $return->value%30 == 0){ $return->type = 'month'; $return->value = $return->value / 30; }elseif($return->value >=7 AND $return->value%7 == 0){ $return->type = 'week'; $return->value = $return->value / 7; } } } } return $return; } } PK �C"]�@�� � operators.phpnu &1i� <?php /** * @package AcyMailing for Joomla! * @version 5.9.6 * @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 operatorsType extends acymailingClass{ var $extra = ''; function __construct(){ parent::__construct(); $this->values = array(); $this->values[] = acymailing_selectOption('<OPTGROUP>', acymailing_translation('ACY_NUMERIC')); $this->values[] = acymailing_selectOption('=', '='); $this->values[] = acymailing_selectOption('!=', '!='); $this->values[] = acymailing_selectOption('>', '>'); $this->values[] = acymailing_selectOption('<', '<'); $this->values[] = acymailing_selectOption('>=', '>='); $this->values[] = acymailing_selectOption('<=', '<='); $this->values[] = acymailing_selectOption('</OPTGROUP>'); $this->values[] = acymailing_selectOption('<OPTGROUP>', acymailing_translation('ACY_STRING')); $this->values[] = acymailing_selectOption('BEGINS', acymailing_translation('ACY_BEGINS_WITH')); $this->values[] = acymailing_selectOption('END', acymailing_translation('ACY_ENDS_WITH')); $this->values[] = acymailing_selectOption('CONTAINS', acymailing_translation('ACY_CONTAINS')); $this->values[] = acymailing_selectOption('NOTCONTAINS', acymailing_translation('ACY_NOT_CONTAINS')); $this->values[] = acymailing_selectOption('LIKE', 'LIKE'); $this->values[] = acymailing_selectOption('NOT LIKE', 'NOT LIKE'); $this->values[] = acymailing_selectOption('REGEXP', 'REGEXP'); $this->values[] = acymailing_selectOption('NOT REGEXP', 'NOT REGEXP'); $this->values[] = acymailing_selectOption('</OPTGROUP>'); $this->values[] = acymailing_selectOption('<OPTGROUP>', acymailing_translation('OTHER')); $this->values[] = acymailing_selectOption('IS NULL', 'IS NULL'); $this->values[] = acymailing_selectOption('IS NOT NULL', 'IS NOT NULL'); $this->values[] = acymailing_selectOption('</OPTGROUP>'); } function display($map, $valueSelected = '', $otherClass = ''){ return acymailing_select($this->values, $map, 'class="inputbox'. (!empty($otherClass)?' '.$otherClass:'') .'" size="1" style="width:120px;" '.$this->extra, 'value', 'text', $valueSelected); } } PK �C"]p �+� � statusfilter.phpnu &1i� <?php /** * @package AcyMailing for Joomla! * @version 5.9.6 * @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 statusfilterType extends acymailingClass{ function __construct(){ parent::__construct(); $this->values = array(); $this->values[] = acymailing_selectOption('0', acymailing_translation('ALL_STATUS')); $this->values[] = acymailing_selectOption( '<OPTGROUP>', acymailing_translation( 'ACCEPT_REFUSE' )); $this->values[] = acymailing_selectOption('1', acymailing_translation('ACCEPT_EMAIL')); $this->values[] = acymailing_selectOption('-1', acymailing_translation('REFUSE_EMAIL')); $this->values[] = acymailing_selectOption( '</OPTGROUP>'); $config = acymailing_config(); if($config->get('require_confirmation',0)){ $this->values[] = acymailing_selectOption( '<OPTGROUP>', acymailing_translation( 'SUBSCRIPTION' )); $this->values[] = acymailing_selectOption('2', acymailing_translation('PENDING_SUBSCRIPTION')); $this->values[] = acymailing_selectOption( '</OPTGROUP>'); } $this->values[] = acymailing_selectOption( '<OPTGROUP>', acymailing_translation( 'ENABLED_DISABLED' )); $this->values[] = acymailing_selectOption('3', acymailing_translation('ENABLED')); $this->values[] = acymailing_selectOption('-3', acymailing_translation('DISABLED')); $this->values[] = acymailing_selectOption( '</OPTGROUP>'); } function display($map,$value){ return acymailing_select( $this->values, $map, 'size="1" onchange="document.adminForm.limitstart.value=0;document.adminForm.submit( );"', 'value', 'text', (int) $value ); } } PK �C"]�U:o o detailstatsmail.phpnu &1i� <?php /** * @package AcyMailing for Joomla! * @version 5.9.6 * @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 detailstatsmailType extends acymailingClass{ function __construct(){ parent::__construct(); $query = 'SELECT b.subject, a.mailid FROM '.acymailing_table('stats').' as a'; $query .= ' JOIN '.acymailing_table('mail').' as b on a.mailid = b.mailid ORDER BY a.senddate DESC LIMIT 200'; $emails = acymailing_loadObjectList($query); $this->values = array(); $this->values[] = acymailing_selectOption('0', acymailing_translation('ALL_EMAILS')); foreach($emails as $oneMail){ if(!empty($oneMail->subject)) $oneMail->subject = acyEmoji::Decode($oneMail->subject); $this->values[] = acymailing_selectOption($oneMail->mailid, $oneMail->subject ); } } function display($map,$value){ return acymailing_select( $this->values, $map, 'class="inputbox" size="1" onchange="document.adminForm.submit( );"', 'value', 'text', (int) $value ); } } PK �C"] ��. . bounceaction.phpnu &1i� <?php /** * @package AcyMailing for Joomla! * @version 5.9.6 * @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 bounceactionType extends acymailingClass{ function __construct(){ parent::__construct(); $this->values = array(); $this->values[] = acymailing_selectOption('noaction', acymailing_translation('DO_NOTHING')); $this->values[] = acymailing_selectOption('remove', acymailing_translation('REMOVE_SUB')); $this->values[] = acymailing_selectOption('unsub', acymailing_translation('UNSUB_USER')); $this->values[] = acymailing_selectOption('sub', acymailing_translation('SUBSCRIBE_USER')); $this->values[] = acymailing_selectOption('block', acymailing_translation('BLOCK_USER')); $this->values[] = acymailing_selectOption('delete', acymailing_translation('DELETE_USER')); $this->config = acymailing_config(); $this->lists = acymailing_get('type.lists'); $this->lists->getValues(); array_shift($this->lists->values); $js = "function updateSubAction(num){"; $js .= "myAction = window.document.getElementById('bounce_action_'+num).value;"; $js .= "if(myAction == 'sub') {window.document.getElementById('bounce_action_lists_'+num).style.display = '';}else{window.document.getElementById('bounce_action_lists_'+num).style.display = 'none';}"; $js .= '}'; acymailing_addScript(true, $js); } function display($num,$value){ $js ='document.addEventListener("DOMContentLoaded", function(){ updateSubAction("'.$num.'"); });'; acymailing_addScript(true, $js); $return = acymailing_select( $this->values, 'config[bounce_action_'.$num.']', 'class="inputbox" size="1" onchange="updateSubAction(\''.$num.'\');"', 'value', 'text', $value ,'bounce_action_'.$num); $return .= '<span id="bounce_action_lists_'.$num.'" style="display:none">'.$this->lists->display('config[bounce_action_lists_'.$num.']',$this->config->get('bounce_action_lists_'.$num),false).'</span>'; return $return; } } PK �C"]�[vq q charset.phpnu &1i� <?php /** * @package AcyMailing for Joomla! * @version 5.9.6 * @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 charsetType extends acymailingClass{ var $addinfo = ''; function __construct(){ parent::__construct(); $charsets = array( 'BIG5'=>'BIG5',//Iconv,mbstring 'ISO-8859-1'=>'ISO-8859-1',//Iconv,mbstring 'ISO-8859-2'=>'ISO-8859-2',//Iconv,mbstring 'ISO-8859-3'=>'ISO-8859-3',//Iconv,mbstring 'ISO-8859-4'=>'ISO-8859-4',//Iconv,mbstring 'ISO-8859-5'=>'ISO-8859-5',//Iconv,mbstring 'ISO-8859-6'=>'ISO-8859-6',//Iconv,mbstring 'ISO-8859-7'=>'ISO-8859-7',//Iconv,mbstring 'ISO-8859-8'=>'ISO-8859-8',//Iconv,mbstring 'ISO-8859-9'=>'ISO-8859-9',//Iconv,mbstring 'ISO-8859-10'=>'ISO-8859-10',//Iconv,mbstring 'ISO-8859-13'=>'ISO-8859-13',//Iconv,mbstring 'ISO-8859-14'=>'ISO-8859-14',//Iconv,mbstring 'ISO-8859-15'=>'ISO-8859-15',//Iconv,mbstring 'ISO-2022-JP'=>'ISO-2022-JP',//mbstring for sure... not sure about Iconv 'US-ASCII'=>'US-ASCII', //Iconv,mbstring 'UTF-7'=>'UTF-7',//Iconv,mbstring 'UTF-8'=>'UTF-8',//Iconv,mbstring 'UTF-16'=>'UTF-16',//Iconv,mbstring 'Windows-1251'=>'Windows-1251', //Iconv,mbstring 'Windows-1252'=>'Windows-1252' //Iconv,mbstring ); if(function_exists('iconv')){ $charsets['ARMSCII-8'] = 'ARMSCII-8'; $charsets['ISO-8859-16'] = 'ISO-8859-16'; } $this->charsets = $charsets; $this->values = array(); foreach($charsets as $code => $charset){ $this->values[] = acymailing_selectOption($code, $charset); } } function display($map,$value){ return acymailing_select($this->values, $map , 'size="1" style="width:150px;" '.$this->addinfo, 'value', 'text', $value); } } PK �C"]ϗ�� color.phpnu &1i� <?php /** * @package AcyMailing for Joomla! * @version 5.9.6 * @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 colorType extends acymailingClass{ function __construct(){ parent::__construct(); $this->values = array(); for($red=0; $red<6;$red++) { $rhex = dechex($red * 0x33); $rhex = (strlen($rhex) < 2)?"0".$rhex:$rhex; for($blue=0; $blue<6;$blue++) { $bhex = dechex($blue * 0x33); $bhex = (strlen($bhex) < 2)?"0".$bhex:$bhex; for($green=0; $green<6;$green++) { $ghex = dechex($green * 0x33); $ghex = (strlen($ghex) < 2)?"0".$ghex:$ghex; $this->values[$red][] = '#'.$rhex.$ghex.$bhex; } } } $this->othervalues[] = '#000000'; $this->othervalues[] = '#111111'; $this->othervalues[] = '#222222'; $this->othervalues[] = '#333333'; $this->othervalues[] = '#444444'; $this->othervalues[] = '#555555'; $this->othervalues[] = '#666666'; $this->othervalues[] = '#777777'; $this->othervalues[] = '#888888'; $this->othervalues[] = '#999999'; $this->othervalues[] = '#AAAAAA'; $this->othervalues[] = '#BBBBBB'; $this->othervalues[] = '#CCCCCC'; $this->othervalues[] = '#DDDDDD'; $this->othervalues[] = '#EEEEEE'; $this->othervalues[] = '#FFFFFF'; $this->othervalues[] = '#FF0000'; $this->othervalues[] = '#00FFFF'; $this->othervalues[] = '#0000FF'; $this->othervalues[] = '#0000A0'; $this->othervalues[] = '#FF0080'; $this->othervalues[] = '#800080'; $this->othervalues[] = '#FFFF00'; $this->othervalues[] = '#00FF00'; $this->othervalues[] = '#FF00FF'; $this->othervalues[] = '#FF8040'; $this->othervalues[] = '#804000'; $this->othervalues[] = '#800000'; $this->othervalues[] = '#808000'; $this->othervalues[] = '#408080'; } function displayAll($id,$map,$color){ $this->jsScript = 'function applyColor'.$id.'(newcolor){document.getElementById(\'color'.$id.'\').value = newcolor; document.getElementById("colordiv'.$id.'").style.display = "none";applyColorExample'.$id.'();}'; $code = '<input type="text" name="'.$map.'" id="color'.$id.'" onchange=\'applyColorExample'.$id.'()\' class="inputbox" style="width:50px" value="'.htmlspecialchars($color,ENT_COMPAT, 'UTF-8').'" />'; $code .= ' <input type="text" maxlength="0" style="cursor:pointer;width:50px;background-color:'.htmlspecialchars($color,ENT_COMPAT, 'UTF-8').';" onclick="if(document.getElementById(\'colordiv'.$id.'\').style.display == \'block\'){document.getElementById(\'colordiv'.$id.'\').style.display = \'none\';}else{document.getElementById(\'colordiv'.$id.'\').style.display = \'block\';}" id=\'colorexample'.$id.'\' />'; $code .= '<div id=\'colordiv'.$id.'\' style=\'display:none;position:absolute;z-index:100;background-color:white;border:1px solid grey\'>'.$this->display($id).'</div>'; return $code; } function displayOne($id,$map,$color){ $this->jsScript = 'function applyColorwysijacolor(newcolor){ var myRegex = new RegExp(/([^a-z-])color *:[^;]*(!important)?[^;]*;/i); document.getElementById("name_"+currentValueId).style.color = newcolor; document.getElementById("colorexamplewysijacolor").style.backgroundColor = newcolor; spaced = document.getElementById("style_"+currentValueId).value.substr(0,1); if(spaced != " "){ stringToQuery = \' \' + document.getElementById("style_"+currentValueId).value; } else{ stringToQuery = document.getElementById("style_"+currentValueId).value; } if(stringToQuery.search(myRegex) != -1){ if(currentValueId.search("tag_h") != -1){ document.getElementById("style_"+currentValueId).value = stringToQuery.replace(myRegex, "$1"+"color:"+newcolor+" !important;"); } else{ document.getElementById("style_"+currentValueId).value = stringToQuery.replace(myRegex, "$1"+"color:"+newcolor+";"); } } else{ if(currentValueId.search("tag_h") != -1){ document.getElementById("style_"+currentValueId).value = "color:"+newcolor+" !important;" + document.getElementById("style_"+currentValueId).value; } else{ document.getElementById("style_"+currentValueId).value = "color:"+newcolor+";" + document.getElementById("style_"+currentValueId).value; } } document.getElementById("colordivwysijacolor").style.display = "none"; document.getElementById(\'colorexample'.$id.'\').style.backgroundColor = newcolor; }'; $code = ' <input type="text" maxlength="0" style=\'width:17px;height:13px;padding:0px;margin:0px;cursor:pointer;background-color:'.$color.'\' onclick="if(document.getElementById(\'colordivwysijacolor\').style.display == \'block\'){document.getElementById(\'colordivwysijacolor\').style.display = \'none\';}else{document.getElementById(\'colordivwysijacolor\').style.display = \'block\';}" id=\'colorexamplewysijacolor\' />'; $code .= '<div id=\'colordivwysijacolor\' style=\'display:none;width:300px;position:absolute;background-color:white;border:1px solid grey\'>'.$this->display($id).'</div>'; return $code; } function display($id = ''){ $js = $this->jsScript; $js .= 'function applyColorExample'.$id.'(){document.getElementById(\'colorexample'.$id.'\').style.backgroundColor = document.getElementById(\'color'.$id.'\').value; document.getElementById("colordiv'.$id.'").style.display = "none";}'; acymailing_addScript(true, $js); $text = '<table><tr>'; foreach($this->othervalues as $oneColor){ $text .= '<td style="cursor:pointer" width="10" height="10" bgcolor="'.$oneColor.'" onclick="applyColor'.$id.'(\''.$oneColor.'\')"></td>'; } $text .= '</tr></table>'; $text .= '<table>'; foreach($this->values as $line){ $text .= '<tr>'; foreach($line as $oneColor){ $text .= '<td style="cursor:pointer" width="10" height="10" bgcolor="'.$oneColor.'" onclick="applyColor'.$id.'(\''.$oneColor.'\')"></td>'; } $text .= '</tr>'; } $text .= '</table>'; return $text; } } PK �C"]���j� � status.phpnu &1i� <?php /** * @package AcyMailing for Joomla! * @version 5.9.6 * @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 statusType extends acymailingClass{ function __construct(){ parent::__construct(); $this->values = array(); $this->values[] = acymailing_selectOption('-1', acymailing_translation('UNSUBSCRIBED')); $this->values[] = acymailing_selectOption('0', acymailing_translation('NO_SUBSCRIPTION')); $this->values[] = acymailing_selectOption('2', acymailing_translation('PENDING_SUBSCRIPTION')); $this->values[] = acymailing_selectOption('1', acymailing_translation('SUBSCRIBED')); } function display($map,$value){ static $i = 0; return acymailing_radio($this->values, $map , 'class="radiobox" size="1"', 'value', 'text', (int) $value,'status'.$i++); } } PK �C"]��6 6 deliverstatus.phpnu &1i� <?php /** * @package AcyMailing for Joomla! * @version 5.9.6 * @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 deliverstatusType extends acymailingClass{ function __construct(){ parent::__construct(); $this->values = array(); $this->values[] = acymailing_selectOption('0', acymailing_translation('ALL_STATUS')); $this->values[] = acymailing_selectOption('open', acymailing_translation('OPEN')); $this->values[] = acymailing_selectOption('notopen', acymailing_translation('NOT_OPEN')); $this->values[] = acymailing_selectOption('failed', acymailing_translation('FAILED')); if(acymailing_level(3)) $this->values[] = acymailing_selectOption('bounce', acymailing_translation('BOUNCES')); } function display($map,$value){ return acymailing_select( $this->values, $map, 'class="inputbox" size="1" style="width:150px;" onchange="document.adminForm.submit( );"', 'value', 'text', $value ); } } PK �C"]��� � mailcreator.phpnu &1i� <?php /** * @package AcyMailing for Joomla! * @version 5.0.1 * @author acyba.com * @copyright (C) 2009-2015 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 mailcreatorType{ var $type = 'news'; function load(){ $db = JFactory::getDBO(); $db->setQuery('SELECT COUNT(*) as total,userid FROM #__acymailing_mail WHERE `type` = '.$db->Quote($this->type).' AND `userid` > 0 GROUP BY userid'); $allusers = $db->loadObjectList('userid'); $allnames = array(); if(!empty($allusers)){ $db->setQuery('SELECT name,id FROM #__users WHERE id IN ('.implode(',',array_keys($allusers)).') ORDER BY name ASC'); $allnames = $db->loadObjectList('id'); } $this->values = array(); $this->values[] = JHTML::_('select.option', '0', JText::_('ALL_CREATORS') ); foreach($allnames as $userid => $oneCreator){ $this->values[] = JHTML::_('select.option', $userid, $oneCreator->name.' ( '.$allusers[$userid]->total.' )' ); } } function display($map,$value){ $this->load(); return JHTML::_('select.genericlist', $this->values, $map, 'class="inputbox" size="1" onchange="document.adminForm.submit( );"', 'value', 'text', (int) $value ); } } PK �C"] E�� � contentfilter.phpnu &1i� <?php /** * @package AcyMailing for Joomla! * @version 5.9.6 * @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 contentfilterType extends acymailingClass{ var $onclick = 'updateTag();'; function __construct(){ parent::__construct(); } function display($map,$value,$label = true,$modified = true){ $prefix = $label ? '|filter:' : ''; $this->values = array(); $this->values[] = acymailing_selectOption("", acymailing_translation('ACY_ALL')); $this->values[] = acymailing_selectOption($prefix."created", acymailing_translation('ONLY_NEW_CREATED')); if($modified) $this->values[] = acymailing_selectOption($prefix."modify", acymailing_translation('ONLY_NEW_MODIFIED')); return acymailing_select($this->values, $map , 'size="1" onchange="'.$this->onclick.'" style="max-width:200px;"', 'value', 'text', (string) $value); } } PK �C"]�=n� � operatorsin.phpnu &1i� <?php /** * @package AcyMailing for Joomla! * @version 5.9.6 * @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 operatorsinType extends acymailingClass{ var $js = ''; function __construct(){ parent::__construct(); $this->values = array(); $this->values[] = acymailing_selectOption('IN', acymailing_translation('ACY_IN')); $this->values[] = acymailing_selectOption('NOT IN', acymailing_translation('ACY_NOT_IN')); } function display($map){ return acymailing_select($this->values, $map, 'class="inputbox" size="1" style="width:120px;" '.$this->js, 'value', 'text'); } } PK �C"]���� � uploadpict.phpnu &1i� <?php /** * @package AcyMailing for Joomla! * @version 4.9.3 * @author acyba.com * @copyright (C) 2009-2015 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 uploadpictType{ function display($map, $mapDelete, $previous){ $result = '<input type="file" name="pictures['.$mapDelete.']" style="width:auto;"/>'; if(!empty($previous)){ $result .='<img src="'.ACYMAILING_LIVE.$previous.'" style="float:left;max-height:50px;margin-right:10px;" /> <br /><input type="checkbox" name="'.$map.'" value="" id="delete'.$mapDelete.'" /> <label for="delete'.$mapDelete.'">'.JText::_('DELETE_PICT').'</label>'; } return $result; } } PK �C"]�d휩$ �$ frequency.phpnu &1i� <?php /** * @package AcyMailing for Joomla! * @version 5.9.6 * @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 frequencyType extends acymailingClass{ var $valuesEvery = array(); var $valuesFrequency = array(); var $valuesOnThe = array(); var $valuesOnTheDay = array(); var $txtDays = array(); var $days = array(); var $txtPos = array(); function __construct(){ parent::__construct(); $this->txtDays = array(acymailing_translation('MONDAY'), acymailing_translation('TUESDAY'), acymailing_translation('WEDNESDAY'), acymailing_translation('THURSDAY'), acymailing_translation('FRIDAY'), acymailing_translation('SATURDAY'), acymailing_translation('SUNDAY')); $this->txtPos = array(acymailing_translation('FREQUENCY_FIRST'), acymailing_translation('FREQUENCY_SECOND'), acymailing_translation('FREQUENCY_THIRD'), acymailing_translation('FREQUENCY_LAST')); $this->days = array('Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'); $js = "function updateFrequency(){ frequencyType = window.document.getElementById('frequencyType'); everyFields = window.document.getElementById('everyFields'); onTheFields = window.document.getElementById('onTheFields'); onField = window.document.getElementById('onField'); delayvar = window.document.getElementById('delayvar'); if(frequencyType.value == 'asap'){ onField.style.display='none'; everyFields.style.display='none'; onTheFields.style.display='none'; } if(frequencyType.value == 'onthe'){ onField.style.display='none'; everyFields.style.display='none'; onTheFields.style.display='inline'; } if(frequencyType.value == 'on'){ onField.style.display='inline'; everyFields.style.display='none'; onTheFields.style.display='none'; } if(frequencyType.value == 'every'){ onField.style.display='none'; everyFields.style.display='inline'; onTheFields.style.display='none'; } updateDelay(); }"; $js .= "function updateDelay(){ frequencyType = window.document.getElementById('frequencyType'); delayvar = window.document.getElementById('delayvar'); if(frequencyType.value == 'asap'){ delayvar.value = 0; } if(frequencyType.value == 'onthe'){ valuesOnThe = window.document.getElementById('valuesOnThe').value; valuesOnTheDay = window.document.getElementById('valuesOnTheDay').value; delayvar.value = valuesOnThe+'_'+valuesOnTheDay; } if(frequencyType.value == 'on'){ valuesOn = window.document.getElementById('valuesOn'); selection = []; for(var i = 0 ; i < valuesOn.length ; i++){ if(valuesOn[i].selected) { selection.push(valuesOn[i].value); } } delayvar.value = 'on_'+selection.join('_'); } if(frequencyType.value == 'every'){ delaytype = window.document.getElementById('delaytype').value; delayvalue = window.document.getElementById('delayvalue'); realValue = delayvalue.value; if(delaytype == 'minute'){realValue = realValue*60; } if(delaytype == 'hour'){realValue = realValue*3600; } if(delaytype == 'day'){realValue = realValue*86400; } if(delaytype == 'week'){realValue = realValue*604800; } if(delaytype == 'month'){realValue = realValue*2592000; } delayvar.value = realValue; } }"; acymailing_addScript(true, $js); } function displayFrequency($map, $value, $type = 1){ $styleEvery = 'style="display:none"'; $styleOnThe = 'style="display:none"'; $styleOn = 'style="display:none"'; $value_array = array('first', 'Monday'); $weekdays = array(); if(empty($value) || (!is_numeric($value) && strpos($value, '_') === false)){ $defaultVal = 'asap'; $styleEvery = 'style="display:none"'; $styleOnThe = 'style="display:none"'; $styleOn = 'style="display:none"'; }elseif(is_numeric($value)){ $defaultVal = 'every'; $styleEvery = ''; }elseif(strpos($value, 'on_') !== false){ $defaultVal = 'on'; $styleOn = ''; if(ltrim($value, 'on_') != ''){ $values = explode('_', ltrim($value, 'on_')); foreach($values as $oneDay){ $weekdays[] = acymailing_selectOption($oneDay, acymailing_translation(strtoupper($oneDay))); } } }else{ $defaultVal = 'onthe'; $styleOnThe = ''; $value_array = explode('_', $value); } $this->valuesFrequency[] = acymailing_selectOption('asap', acymailing_translation('ACY_ASAP')); $this->valuesFrequency[] = acymailing_selectOption('onthe', acymailing_translation('ACY_ONTHE')); $this->valuesFrequency[] = acymailing_selectOption('on', acymailing_translation('ACY_ON')); $this->valuesFrequency[] = acymailing_selectOption('every', acymailing_translation('EVERY')); $returnFrequency = acymailing_select($this->valuesFrequency, 'frequencyType', 'class="inputbox" size="1" onchange="updateFrequency();" style="width:160px;vertical-align:top;"', 'value', 'text', $defaultVal); $this->valuesEvery[] = acymailing_selectOption('hour', acymailing_translation('HOURS')); $this->valuesEvery[] = acymailing_selectOption('day', acymailing_translation('DAYS')); $this->valuesEvery[] = acymailing_selectOption('week', acymailing_translation('WEEKS')); $this->valuesEvery[] = acymailing_selectOption('month', acymailing_translation('MONTHS')); $return = $this->get($value, $type); $everyValue = '<input class="inputbox" onchange="updateDelay();" type="text" id="delayvalue" style="width:50px" value="'.$return->value.'" /> '; $everyType = acymailing_select($this->valuesEvery, 'delaytype', 'class="inputbox" size="1" style="width:100px" onchange="updateDelay();"', 'value', 'text', $return->type, 'delaytype'); $everyFields = '<span id="everyFields" '.$styleEvery.'>'.$everyValue.$everyType.'</span>'; $this->valuesOnThe[] = acymailing_selectOption('first', $this->txtPos[0]); $this->valuesOnThe[] = acymailing_selectOption('second', $this->txtPos[1]); $this->valuesOnThe[] = acymailing_selectOption('third', $this->txtPos[2]); $this->valuesOnThe[] = acymailing_selectOption('last', $this->txtPos[3]); $onTheNumber = acymailing_select($this->valuesOnThe, 'valuesOnThe', 'class="inputbox" size="1" onchange="updateDelay();" style="width:80px;"', 'value', 'text', $value_array[0]); for($i = 0; $i < 7; $i++){ $this->valuesOnTheDay[] = acymailing_selectOption($this->days[$i], $this->txtDays[$i]); } $onTheDay = acymailing_select($this->valuesOnTheDay, 'valuesOnTheDay', 'class="inputbox" size="1" onchange="updateDelay();" style="width:120px;"', 'value', 'text', $value_array[1]); $onTheFields = '<span id="onTheFields" '.$styleOnThe.'>'.$onTheNumber.$onTheDay.' '.acymailing_translation('ACY_DAYOFMONTH').'</span>'; $delayVar = '<input type="hidden" name="'.$map.'" id="delayvar" value="'.$value.'" />'; $onField = '<span id="onField" '.$styleOn.'>'.acymailing_select($this->valuesOnTheDay, 'valuesOn', 'class="inputbox" size="1" onchange="updateDelay();" multiple style="width:120px;height:70px;"', 'value', 'text', $weekdays).'</span>'; return $returnFrequency.$onTheFields.$onField.$everyFields.$delayVar; } function get($value, $type){ $return = new stdClass(); if(!is_numeric($value)){ $return->value = 0; $return->type = 'hour'; return $return; } $return->value = $value; if($type == 0){ $return->type = 'second'; }else{ $return->type = 'minute'; } if($return->value >= 60 AND $return->value % 60 == 0){ $return->value = (int)$return->value / 60; $return->type = 'minute'; if($type != 0 AND $return->value >= 60 AND $return->value % 60 == 0){ $return->type = 'hour'; $return->value = $return->value / 60; if($type != 2 AND $return->value >= 24 AND $return->value % 24 == 0){ $return->type = 'day'; $return->value = $return->value / 24; if($type >= 3 AND $return->value >= 30 AND $return->value % 30 == 0){ $return->type = 'month'; $return->value = $return->value / 30; }elseif($return->value >= 7 AND $return->value % 7 == 0){ $return->type = 'week'; $return->value = $return->value / 7; } } } } return $return; } function display($value){ if(is_numeric($value)){ if($value == 0){ return acymailing_translation('ACY_ASAP'); }else{ if(empty($value)) return acymailing_translation('ACY_ASAP'); $type = 'ACY_SECONDS'; if($value >= 60 AND $value % 60 == 0){ $value = (int)$value / 60; $type = 'ACY_MINUTES'; if($value >= 60 AND $value % 60 == 0){ $type = 'HOURS'; $value = $value / 60; if($value >= 24 AND $value % 24 == 0){ $type = 'DAYS'; $value = $value / 24; if($value >= 30 AND $value % 30 == 0){ $type = 'MONTHS'; $value = $value / 30; }elseif($value >= 7 AND $value % 7 == 0){ $type = 'WEEKS'; $value = $value / 7; } } } } return acymailing_translation('EVERY').' '.$value.' '.acymailing_translation($type); } } $arrayValue = explode('_', $value); return acymailing_translation('ACY_ONTHE').' '.$arrayValue[0].' '.$arrayValue[1].' '.acymailing_translation('ACY_DAYOFMONTH'); } } ?> PK �C"]CGe� � content.phpnu &1i� <?php /** * @package AcyMailing for Joomla! * @version 5.9.6 * @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 contentType extends acymailingClass{ var $onclick = 'updateTag();'; function __construct(){ parent::__construct(); $this->values = array(); $this->values[] = acymailing_selectOption("|type:title", acymailing_translation('TITLE_ONLY')); $this->values[] = acymailing_selectOption("|type:intro", acymailing_translation('INTRO_ONLY')); $this->values[] = acymailing_selectOption("|type:text", acymailing_translation('FIELD_TEXT')); $this->values[] = acymailing_selectOption("|type:full", acymailing_translation('FULL_TEXT')); } function display($map,$value){ return acymailing_radio($this->values, $map , 'size="1" onclick="'.$this->onclick.'"', 'value', 'text', $value); } } PK �C"]�61yo o testreceiver.phpnu &1i� <?php /** * @package AcyMailing for Joomla! * @version 5.9.6 * @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 testreceiverType extends acymailingClass{ function display($selection = '', $group = '', $emails = ''){ if(empty($emails)) $emails = acymailing_currentUserEmail(); $js = 'function timeoutAddNewTestAddress(currentValue){ if(currentValue.length > 1 && ((currentValue.indexOf("@") != -1 && currentValue.slice(-1) == " ") || currentValue.slice(-1) == ";" || currentValue.slice(-1) == ",")){ currentValue = currentValue.substring(0, currentValue.length - 1); setUser(currentValue); return; } setTimeout(function(){addNewTestAddress(currentValue);}, 500); } function addNewTestAddress(currentValue){'; if(acymailing_isAdmin()){ $js .= 'if(currentValue != document.getElementById("message_receivers").value) return; var xhr = new XMLHttpRequest(); xhr.open("GET", "'.acymailing_prepareAjaxURL('subscriber').'&task=getSubscribersByEmail&search="+currentValue); xhr.onload = function(){ document.getElementById("acymailing_divSelectReceiver").style.display = "block"; document.getElementById("acymailing_receiversTable").innerHTML = xhr.responseText; receiversList = document.getElementById("acymailing_receiversTable"); if(receiversList.getElementsByClassName("row_user").length==0) { document.getElementById("acymailing_divSelectReceiver").style.display = "none"; } }; xhr.send();'; } $js .= '} var selected = new Array("'.str_replace(',', '","', $emails).'"); function setUser(userEmail){ userEmail = userEmail.replace(/^\s+|\s+$/gm,""); if(validateEmail(userEmail, "'.str_replace('"', '\\"', acymailing_translation('SEND_TEST_TO')).'") && selected.indexOf(userEmail) == -1){ selected.push(userEmail); document.getElementById("usersSelected").innerHTML += "<span class=\"selectedUsers\">"+userEmail+"<span class=\"removeUser\" onclick=\"removeUser(this, \'"+userEmail+"\');\"></span></span>"; document.getElementById("test_emails").value = selected.join(","); } document.getElementById("message_receivers").value = ""; document.getElementById("acymailing_divSelectReceiver").style.display = "none"; } function removeUser(element, userEmail){ var toRemove = element.parentElement; toRemove.parentElement.removeChild(toRemove); var index = selected.indexOf(userEmail); if (index > -1) { selected.splice(index, 1); } document.getElementById("test_emails").value = selected.join(","); } function showOptions(selection){ if(selection == "users"){ document.getElementById("userSelection").style.display = ""; document.getElementById("groupSelection").style.display = "none"; }else{ document.getElementById("userSelection").style.display = "none"; document.getElementById("groupSelection").style.display = ""; } } function myKeyPress(e, value){ var keynum; if(window.event) { keynum = e.keyCode; }else if(e.which){ keynum = e.which; } if(keynum == 13){ setUser(value); return false; } return true; }'; acymailing_addScript(true, $js); ?> <style> .removeUser{ width: 20px; background-image: url(<?php echo ACYMAILING_LIVE.'/'.ACYMAILING_MEDIA_FOLDER; ?>/images/closecross.png); background-size: cover; height: 20px; cursor: pointer; float: right; } .selectedUsers{ background-color: #F5F5F5; padding-left: 5px; display: inline-block; border: solid 1px #C5C4C4; border-radius: 4px; margin-right: 3px; margin-top: 5px; line-height: 20px; } #acymailing_divSelectReceiver td{ padding: 10px 5px; } #acymailing_divSelectReceiver{ position: absolute; width: 400px; border: solid 1px #D3D3D3; z-index: 9999; background: white; box-shadow: 1px 1px 5px #D5D5DD; } #acymailing_receiversTable .row_user:hover{ background-color: #EBEBEB; cursor: pointer; } .row_user{ border-top: solid 1px #EBEBEB; } #usersSelected{ margin-bottom: 2px; width: 100%; display: block; } </style> <?php echo acymailing_getFunctionsEmailCheck(); if(acymailing_isAdmin()){ $values = array(); $values[] = acymailing_selectOption('users', acymailing_translation('ACY_SUBSCRIBER')); $values[] = acymailing_selectOption('group', acymailing_translation('ACY_GROUP')); echo acymailing_select($values, 'test_selection', 'size="1" style="margin:0;" onchange="showOptions(this.value);"', 'value', 'text', $selection); }else{ echo '<input class="inputbox" type="hidden" id="test_selection" name="test_selection" value="users" />'; } ?> <div id="userSelection" style="margin-top:5px;<?php if($selection == 'group') echo 'display:none;'; ?>"> <input onkeypress="return myKeyPress(event, this.value);" style="width:212px;margin:0;" placeholder="<?php echo acymailing_translation('EMAIL_ADDRESS'); ?>..." type="text" id="message_receivers" onkeyup="timeoutAddNewTestAddress(this.value);" class="inputbox" autocomplete="off"/> <span id="usersSelected"> <?php $allEmails = explode(',', $emails); foreach($allEmails as $oneEmail){ echo '<span class="selectedUsers">'.htmlspecialchars($oneEmail, ENT_COMPAT, 'UTF-8').'<span class="removeUser" onclick="removeUser(this, \''.htmlspecialchars($oneEmail, ENT_COMPAT, 'UTF-8').'\');"></span></span>'; } ?> </span> <div id="acymailing_divSelectReceiver" style="display:none; overflow-y:scroll !important;"> <div id="acymailing_receiversTable"></div> </div> <input class="inputbox" type="hidden" id="test_emails" name="test_emails" value="<?php echo htmlspecialchars($emails, ENT_COMPAT, 'UTF-8'); ?>"/> </div> <?php if(acymailing_isAdmin()){ if(ACYMAILING_J16){ $values = acymailing_getGroups(); }else{ $values = acymailing_loadObjectList('SELECT ug.id, ug.parent_id, ug.name AS text, COUNT(u.'.$this->cmsUserVars->id.') AS nbusers FROM #__core_acl_aro_groups AS ug LEFT JOIN '.acymailing_table($this->cmsUserVars->table, false).' u ON ug.id = u.gid GROUP BY ug.id'); } $this->cats = array(); if(!empty($values)){ foreach($values as $oneCat){ $this->cats[$oneCat->parent_id][] = $oneCat; } } $this->catvalues = array(); $this->catvalues[] = acymailing_selectOption(-1, '- - -'); $this->_handleChildren(); echo '<div id="groupSelection" style="'.($selection != 'group' ? 'display:none;' : '').'margin-top:5px;">'.acymailing_select($this->catvalues, 'test_group', 'size="1"', 'value', 'text', $group).'</div>'; } } private function _handleChildren($parent_id = 0, $level = 0){ if(empty($this->cats[$parent_id])) return; foreach($this->cats[$parent_id] as $cat){ $addValue = acymailing_selectOption($cat->id, str_repeat(" - - ", $level).$cat->text); if($cat->nbusers > 10 || $cat->nbusers == 0) $addValue->disable = true; $this->catvalues[] = $addValue; $this->_handleChildren($cat->id, $level + 1); } } } PK �C"]���/n n detailstatsbounce.phpnu &1i� <?php /** * @package AcyMailing for Joomla! * @version 5.9.6 * @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 detailstatsbounceType extends acymailingClass{ function display($map, $value){ $query = 'SELECT DISTINCT bouncerule FROM '.acymailing_table('userstats').' WHERE bouncerule IS NOT NULL'; $bouncerules = acymailing_loadObjectList($query); if(empty($bouncerules)) return ''; $valueBounce = array(); $valueBounce[] = acymailing_selectOption(0, acymailing_translation('ALL_RULES')); foreach($bouncerules as $oneRule){ $found = preg_match('#^([A-Z0-9_]*) \[#Uis', $oneRule->bouncerule, $match); $text = $found ? str_replace($match[1], acymailing_translation($match[1]), $oneRule->bouncerule) : $oneRule->bouncerule; $valueBounce[] = acymailing_selectOption($oneRule->bouncerule, $text); } return acymailing_select($valueBounce, $map, 'class="inputbox" size="1" onchange="document.adminForm.submit( );"', 'value', 'text', $value); } } PK �C"]�Y�J~ ~ jflanguages.phpnu &1i� <?php /** * @package AcyMailing for Joomla! * @version 5.9.6 * @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 jflanguagesType extends acymailingClass{ var $onclick = ''; var $id = 'jflang'; var $jid = 'jlang'; var $sef = false; var $multilingue = false; var $languages; var $found = false; function __construct(){ parent::__construct(); $this->values = array(); $defines = ACYMAILING_ROOT.'components'.DS.'com_joomfish'.DS.'helpers'.DS.'defines.php'; if(file_exists($defines) && ((ACYMAILING_J16 && file_exists(ACYMAILING_ROOT.'libraries'.DS.'joomfish'.DS.'manager.php')) || (!ACYMAILING_J16 && file_exists(ACYMAILING_ROOT.'administrator'.DS.'components'.DS.'com_joomfish'.DS.'classes'.DS.'JoomfishManager.class.php')))){ include_once($defines); if(!ACYMAILING_J16){ include_once(JOOMFISH_ADMINPATH.DS.'classes'.DS.'JoomfishManager.class.php'); }else{ include_once(ACYMAILING_ROOT.'libraries'.DS.'joomfish'.DS.'manager.php'); } $jfManager = JoomFishManager::getInstance(); $langActive = $jfManager->getActiveLanguages(); $this->values[] = acymailing_selectOption('', acymailing_translation('DEFAULT_LANGUAGE')); foreach($langActive as $oneLanguage){ $this->values[] = acymailing_selectOption($oneLanguage->shortcode.', '.$oneLanguage->id, $oneLanguage->name); } $this->found = true; } $defines = ACYMAILING_ROOT.'components'.DS.'com_falang'.DS.'helpers'.DS.'defines.php'; if(empty($this->values) && file_exists($defines) && include_once($defines)){ JLoader::register('FalangManager', FALANG_ADMINPATH.'/classes/FalangManager.class.php'); $fManager = FalangManager::getInstance(); $langActive = $fManager->getActiveLanguages(); $this->values[] = acymailing_selectOption('', acymailing_translation('DEFAULT_LANGUAGE')); foreach($langActive as $oneLanguage){ $this->values[] = acymailing_selectOption($oneLanguage->lang_code.', '.$oneLanguage->lang_id, $oneLanguage->title); } $this->found = true; } if(ACYMAILING_J16){ $this->languages = acymailing_getLanguages(true); $this->multilingue = (count($this->languages) > 1); } } function display($map, $value = ''){ if(empty($this->values)) return ''; return acymailing_select($this->values, $map, 'size="1" style="max-width:150px" '.$this->onclick, 'value', 'text', $value, $this->id); } function displayJLanguages($map, $value = ''){ if(!ACYMAILING_J16 || !$this->multilingue) return ''; $default = new stdClass(); $default->name = ' - - - '; $default->sef = ''; $default->language = ''; array_unshift($this->languages, $default); return acymailing_select($this->languages, $map, 'size="1" style="width:150px;" '.$this->onclick, $this->sef ? 'sef' : 'language', 'name', $value, $this->jid); } } PK �C"]��� � categoryfield.phpnu &1i� <?php /** * @package AcyMailing for Joomla! * @version 5.9.6 * @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 categoryfieldType extends acymailingClass{ function display($table, $map, $previous){ $allCats = acymailing_loadObjectList('SELECT DISTINCT category FROM `#__acymailing_'.$table.'` WHERE category NOT LIKE "" ORDER BY category'); $possibleCats = array(); $possibleCats[] = acymailing_selectOption('', '- - -'); $possibleCats[] = acymailing_selectOption('-1', acymailing_translation('ACY_NEW_CATEGORY')); if(!empty($allCats)){ $separator = acymailing_selectOption('-1', '-----------------------------------------'); $separator->disable = true; $possibleCats[] = $separator; foreach($allCats as &$oneCat){ $oneCat->category = htmlspecialchars($oneCat->category); $possibleCats[] = acymailing_selectOption($oneCat->category, $oneCat->category); } } $result = acymailing_select($possibleCats, $map, 'onchange="if(this.value == -1){document.getElementById(\'newcategory\').style.display = \'\';}else{document.getElementById(\'newcategory\').style.display = \'none\';}" size="1" style="width:208px;font-size:12px;"', 'value', 'text', htmlspecialchars($previous)); $result .= '<input type="text" id="newcategory" name="newcategory" class="inputbox" style="display:none;width:200px;"/>'; return $result; } function getFilter($table, $map, $previous, $js = ''){ $allCats = acymailing_loadObjectList('SELECT DISTINCT category FROM '.acymailing_table($table).' WHERE category NOT LIKE "" ORDER BY category'); $possibleCats = array(); $possibleCats[] = acymailing_selectOption(0, acymailing_translation('ACY_ALL_CATEGORIES')); $catExists = empty($previous); if(!empty($allCats)){ foreach($allCats as &$oneCat){ $possibleCats[] = acymailing_selectOption($oneCat->category, $oneCat->category); if(!$catExists && $oneCat->category == $previous) $catExists = true; } } if(!$catExists) $possibleCats[] = acymailing_selectOption($previous, $previous); return acymailing_select($possibleCats, $map, 'size="1"'.$js, 'value', 'text', $previous); } } PK �C"]1�ڍ� � unsub.phpnu &1i� <?php /** * @package AcyMailing for Joomla! * @version 5.9.6 * @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 unsubType extends acymailingClass{ function __construct(){ parent::__construct(); $messages = acymailing_loadObjectList('SELECT `subject`, `mailid` FROM '.acymailing_table('mail').' WHERE `type`= \'unsub\''); $this->values = array(); $this->values[] = acymailing_selectOption('0', acymailing_translation('NO_UNSUB_MESSAGE')); foreach($messages as $oneMessage){ $this->values[] = acymailing_selectOption($oneMessage->mailid, '['.acymailing_translation('ACY_ID').' '.$oneMessage->mailid.'] '.$oneMessage->subject); } $js = "function changeMessage(idField,value){ linkEdit = idField+'_edit'; if(value>0){ window.document.getElementById(linkEdit).onclick = function(){acymailing.openpopup('".acymailing_completeLink((acymailing_isAdmin() ? '' : 'front')."email&task=edit", true, true)."&mailid='+value, 800, 500);return false;}; window.document.getElementById(linkEdit).style.display = 'inline'; }else{ window.document.getElementById(linkEdit).style.display = 'none'; } }"; acymailing_addScript(true, $js); } function display($value){ $linkEdit = acymailing_completeLink((acymailing_isAdmin() ? '' : 'front').'email', true).'&task=edit&type=unsub&mailid='.$value; $linkAdd = acymailing_completeLink((acymailing_isAdmin() ? '' : 'front').'email', true).'&task=add&type=unsub'; $style = empty($value) ? 'style="display:none!important;"' : ''; $text = acymailing_popup($linkEdit, '<img src="'.ACYMAILING_IMAGES.'icons/icon-16-edit.png" alt="'.acymailing_translation('EDIT_EMAIL',true).'"/>', '', 0, 500, 'unsub_edit', $style); $text .= acymailing_popup($linkAdd, '<img src="'.ACYMAILING_IMAGES.'icons/icon-16-add.png" alt="'.acymailing_translation('CREATE_EMAIL',true).'"/>', '', 0, 500, 'unsub_add'); return acymailing_select($this->values, 'data[list][unsubmailid]', 'class="inputbox" size="1" onchange="changeMessage(\'unsub\',this.value);"', 'value', 'text', (int) $value ).$text; } } PK �C"]�e|r� � listcreator.phpnu &1i� <?php /** * @package AcyMailing for Joomla! * @version 5.0.1 * @author acyba.com * @copyright (C) 2009-2015 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 listcreatorType{ function listcreatorType(){ $db = JFactory::getDBO(); $db->setQuery('SELECT COUNT(*) as total,userid FROM #__acymailing_list WHERE `type` = "list" AND `userid` > 0 GROUP BY userid'); $allusers = $db->loadObjectList('userid'); $allnames = array(); if(!empty($allusers)){ $db->setQuery('SELECT name,id FROM #__users WHERE id IN ('.implode(',',array_keys($allusers)).') ORDER BY name ASC'); $allnames = $db->loadObjectList('id'); } $this->values = array(); $this->values[] = JHTML::_('select.option', '0', JText::_('ALL_CREATORS') ); foreach($allnames as $userid => $oneCreator){ $this->values[] = JHTML::_('select.option', $userid, $oneCreator->name.' ( '.$allusers[$userid]->total.' )' ); } } function display($map,$value){ return JHTML::_('select.genericlist', $this->values, $map, 'class="inputbox" size="1" onchange="document.adminForm.submit( );"', 'value', 'text', (int) $value ); } } PK �C"]:H��m m contentorder.phpnu &1i� <?php /** * @package AcyMailing for Joomla! * @version 4.9.3 * @author acyba.com * @copyright (C) 2009-2015 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 contentorderType{ var $onclick = 'updateTag();'; function contentorderType(){ $this->values = array(); $this->values[] = JHTML::_('select.option', "|order:id,DESC",JText::_('ACY_ID')); $this->values[] = JHTML::_('select.option', "|order:ordering,ASC",JText::_('ACY_ORDERING')); $this->values[] = JHTML::_('select.option', "|order:created,DESC",JText::_('CREATED_DATE')); $this->values[] = JHTML::_('select.option', "|order:modified,DESC",JText::_('MODIFIED_DATE')); $this->values[] = JHTML::_('select.option', "|order:title,ASC",JText::_('FIELD_TITLE')); $this->values[] = JHTML::_('select.option', "|order:rand",JText::_('ACY_RANDOM')); } function display($map,$value){ return JHTML::_('select.genericlist', $this->values, $map , 'size="1" style="width:150px;" onchange="'.$this->onclick.'"', 'value', 'text', (string) $value); } } PK �C"]��6D� � festatus.phpnu &1i� <?php /** * @package AcyMailing for Joomla! * @version 5.9.6 * @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 festatusType extends acymailingClass{ function __construct(){ parent::__construct(); $this->values = array(); $this->values[0] = acymailing_selectOption('-1', acymailing_translation('JOOMEXT_NO')); $this->values[1] = acymailing_selectOption('1', acymailing_translation('JOOMEXT_YES')); $this->values[0]->class = 'btn-danger'; $this->values[1]->class = 'btn-success'; } function display($map,$value){ static $i = 0; $value = (int) $value; $value = ($value >= 1) ? 1 : -1; return acymailing_radio($this->values, $map , 'class="radiobox" size="1"', 'value', 'text', (int) $value,'status'.$i++); } } PK �C"]dyP� � filetree.phpnu &1i� <?php /** * @package AcyMailing for Joomla! * @version 5.9.6 * @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 filetreeType extends acymailingClass{ public function display($folders, $currentFolder, $nameInput, $onclickCallBack){ $tree = array(); foreach($folders as $root => $children){ $tree = array_merge($tree, $this->_searchChildren($children, $root)); } echo '<div id="displaytree"><input style="margin:0; cursor:pointer; float: left; height: 20px;" disabled type="text" name="currentPath" id="currentPath" value="'.$currentFolder.'">'; echo '<button style="margin:0; min-height: 24px;" class="btn"><i class="acyicon-tree"></i></button></div>'; echo '<div style="display:none" class="tree" id="treefile">'.$this->_displayTree($tree, $currentFolder).'</div>'; echo '<input type="hidden" name="'.$nameInput.'" id="'.$nameInput.'" value="'.$currentFolder.'">'; $this->_treeBehavior($nameInput, $onclickCallBack); } private function _treeBehavior($idHiddenSelected, $onclickCallBack){ $script = " var buttonDisplay = document.getElementById('displaytree'); buttonDisplay.addEventListener('click', function(event){ event.preventDefault(); event.stopPropagation(); var tree = document.getElementById('treefile'); tree.style.display = (tree.style.display == 'block') ? 'none' : 'block'; }); var items = document.getElementsByClassName('tree-icon'); for(var i = 0; i < items.length; i++) { var item = items[i]; item.addEventListener('click', function(event) { event.preventDefault(); event.stopPropagation(); var input = document.getElementById('".$idHiddenSelected."'); input.value = this.parentNode.dataset.path; if(this.parentNode.className.indexOf('tree-closed') != -1) { var foldericon = this.getElementsByClassName('acyicon-folder')[0]; foldericon.className = foldericon.className.replace('acyicon-folder', 'acyicon-folderopen'); this.parentNode.className = this.parentNode.className.replace('tree-closed', ''); } else { var foldericon = this.getElementsByClassName('acyicon-folderopen')[0]; foldericon.className = foldericon.className.replace('acyicon-folderopen', 'acyicon-folder'); this.parentNode.className += ' tree-closed'; } }); } var links = document.getElementsByClassName('tree-child-title'); for(var i = 0; i < links.length; i++) { var link = links[i]; link.addEventListener('click', function(event) { event.preventDefault(); event.stopPropagation(); var path = this.parentNode.dataset.path; var input = document.getElementById('".$idHiddenSelected."'); input.value = path; input = document.getElementById('currentPath'); input.value = path; ".$onclickCallBack." }); } "; echo '<script type="text/javascript">window.addEventListener("load", function() {'.$script.'})</script>'; } private function _searchChildren($folders, $root){ $tree = array(); $tree[$root] = array(); foreach($folders as $folder){ $folder = trim(str_replace($root, '', $folder), '/\\'); if(empty($folder)) continue; $pathParts = explode('/', $folder); $variable = &$tree[$root]; foreach($pathParts as $pathPart){ if(empty($variable[$pathPart])) $variable[$pathPart] = array(); $variable = &$variable[$pathPart]; } } return $tree; } private function _displayTree($tree, $pathValue, $path = ''){ $results = ''; $results .= '<ul>'; foreach($tree as $key => $treeItem){ $currentPath = (empty($path)) ? $key : $path.'/'.$key; if(strpos($pathValue, $currentPath) !== false){ $extraClass = ($pathValue == $currentPath) ? 'tree-current' : ''; $icon = 'acyicon-folderopen'; }else{ $extraClass = 'tree-closed'; $icon = 'acyicon-folder'; } if(empty($treeItem)){ $extraClass .= ' tree-empty'; } $subTree = $this->_displayTree($treeItem, $pathValue, $currentPath); $results .= '<li class="tree-child-item '.$extraClass.'" data-path="'.$currentPath.'"><span class="tree-icon"><i class="'.$icon.'"></i></span><span class="tree-child-title">'.$key.'</span>'.$subTree.'</li>'; } $results .= '</ul>'; return $results; } } PK �C"]�^�A titlelink.phpnu &1i� <?php /** * @package AcyMailing for Joomla! * @version 5.9.6 * @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 titlelinkType extends acymailingClass{ var $onclick="updateTag();"; function __construct(){ parent::__construct(); $this->values = array(); $this->values[] = acymailing_selectOption("|link", acymailing_translation('JOOMEXT_YES')); $this->values[] = acymailing_selectOption("", acymailing_translation('JOOMEXT_NO')); } function display($map,$value){ if(empty($value)) $value = ''; return acymailing_radio($this->values, $map , 'size="1" onclick="'.$this->onclick.'"', 'value', 'text', $value); } } PK �C"]+���� � delaydisp.phpnu &1i� <?php /** * @package AcyMailing for Joomla! * @version 5.9.6 * @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 delaydispType extends acymailingClass{ function display($value){ if(empty($value)) return 0; $type = 'ACY_SECONDS'; if($value >= 60 AND $value%60 == 0){ $value = (int) $value / 60; $type = 'ACY_MINUTES'; if($value >=60 AND $value%60 == 0){ $type = 'HOURS'; $value = $value/ 60; if($value >=24 AND $value%24 == 0){ $type = 'DAYS'; $value = $value / 24; if($value >= 30 AND $value%30 == 0){ $type = 'MONTHS'; $value = $value / 30; }elseif($value >=7 AND $value%7 == 0){ $type = 'WEEKS'; $value = $value / 7; } } } } return $value.' '.acymailing_translation($type); } } PK �C"]���� � queuemail.phpnu &1i� <?php /** * @package AcyMailing for Joomla! * @version 5.9.6 * @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 queuemailType extends acymailingClass{ function __construct(){ parent::__construct(); $allmails = acymailing_loadObjectList('SELECT COUNT(*) as total, mailid FROM #__acymailing_queue GROUP BY mailid', 'mailid'); $subjects = array(); if(!empty($allmails)){ $subjects = acymailing_loadObjectList('SELECT mailid,subject FROM #__acymailing_mail WHERE mailid IN ('.implode(',',array_keys($allmails)).') ORDER BY subject ASC', 'mailid'); } $this->values = array(); $this->values[] = acymailing_selectOption('0', acymailing_translation('ALL_EMAILS')); foreach($subjects as $mailid => $oneMail){ $this->values[] = acymailing_selectOption($mailid, $oneMail->subject.' ( '.$allmails[$mailid]->total.' )' ); } } function display($map,$value){ return acymailing_select( $this->values, $map, 'class="inputbox" style="max-width:600px;width:auto;" size="1" onchange="document.adminForm.submit( );"', 'value', 'text', (int) $value ); } } PK �C"]c���+ + lists.phpnu &1i� <?php /** * @package AcyMailing for Joomla! * @version 5.9.6 * @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 listsType extends acymailingClass{ function __construct(){ parent::__construct(); $listClass = acymailing_get('class.list'); $this->data = $listClass->getLists('listid'); } function display($map, $value, $js = true, $clickableCategories = false){ if(empty($this->values)) $this->getValues($clickableCategories); $onchange = $js ? 'onchange="document.adminForm.limitstart.value=0;document.adminForm.submit();"' : ''; return acymailing_select($this->values, $map, 'class="inputbox" style="max-width:220px" size="1" '.$onchange, 'value', 'text', $value, str_replace(array('[', ']'), array('_', ''), $map)); } function getData(){ return $this->data; } function getValues($clickableCategories = false){ $allCats = array(); foreach($this->data as $oneList){ if(empty($oneList->category)) $oneList->category = acymailing_translation('ACY_NO_CATEGORY'); $allCats[$oneList->category][] = $oneList->listid; } $this->values = array(); $this->values[] = acymailing_selectOption('0', acymailing_translation('ALL_LISTS')); foreach($allCats as $name => $lists){ if($clickableCategories){ $this->values[] = acymailing_selectOption(implode(',', $lists).',', $name); }else{ $this->values[] = acymailing_selectOption('<OPTGROUP>', $name); } foreach($lists as $listId){ $this->values[] = acymailing_selectOption($listId, (count($allCats) > 1 ? ' - - ' : '').$this->data[$listId]->name); } if(!$clickableCategories) $msgType[] = acymailing_selectOption('</OPTGROUP>'); } return $this->values; } } PK �C"]'KȌ� � uploadfile.phpnu &1i� <?php /** * @package AcyMailing for Joomla! * @version 5.9.6 * @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 uploadfileType extends acymailingClass{ function display($picture, $map, $value, $mapdelete = ''){ if(!$picture){ $result = '<input type="hidden" name="'.$map.'[]" id="'.$map.$value.'" />'; $result .= acymailing_popup(acymailing_completeLink((acymailing_isAdmin() ? '' : 'front').'file', true).'&task=select&id='.$map.$value, acymailing_translation('SELECT'), 'acyupload acymailing_button_grey', 850, 600); $result .= '<span id="'.$map.$value.'selection"></span>'; return $result; } $result = '<input type="hidden" name="'.$mapdelete.'" id="'.$map.'" />'; $result .= acymailing_popup(acymailing_completeLink((acymailing_isAdmin() ? '' : 'front').'file', true).'&task=select&id='.$map, acymailing_translation('SELECT'), 'acyupload acymailing_button_grey', 850, 600); if(empty($value)) $value = ACYMAILING_MEDIA_FOLDER.'/images/emptyimg.png'; $result .= '<img id="'.$map.'preview" src="'.ACYMAILING_LIVE.$value.'" style="float:left;max-height:50px;margin-right:10px;" /> <br /><input type="checkbox" name="'.$mapdelete.'" value="delete" id="delete'.$map.'" /> <label for="delete'.$map.'">'.acymailing_translation('DELETE_PICT').'</label>'; return $result; } } PK �C"];5�[ [ listsmail.phpnu &1i� <?php /** * @package AcyMailing for Joomla! * @version 5.9.6 * @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 listsmailType extends acymailingClass{ var $type = 'news'; function load(){ $query = 'SELECT a.listid as listid,COUNT(a.mailid) as total FROM `#__acymailing_mail` as c'; $query .= ' JOIN `#__acymailing_listmail` as a ON a.mailid = c.mailid'; $query .= ' WHERE c.type = \''.$this->type.'\' GROUP BY a.listid'; $alllists = acymailing_loadObjectList($query, 'listid'); $allnames = array(); if(!empty($alllists)){ $allnames = acymailing_loadObjectList('SELECT name,listid FROM `#__acymailing_list` WHERE listid IN ('.implode(',',array_keys($alllists)).') ORDER BY ordering ASC', 'listid'); } $this->values = array(); $this->values[] = acymailing_selectOption('0', acymailing_translation('ALL_LISTS')); foreach($allnames as $listid => $oneName){ $this->values[] = acymailing_selectOption($listid, $oneName->name.' ( '.$alllists[$listid]->total.' )' ); } } function display($map,$value){ $this->load(); return acymailing_select( $this->values, $map, 'class="inputbox" size="1" onchange="document.adminForm.submit( );"', 'value', 'text', (int) $value ); } } PK �C"]xd��� � creatorfilter.phpnu &1i� PK �C"]�hf_ _ # statusquick.phpnu &1i� PK �C"]�#o, , � index.htmlnu &1i� PK �C"]��� � ' editor.phpnu &1i� PK �C"]��=K K statusfilterlist.phpnu &1i� PK �C"]�lL� � authorname.phpnu &1i� PK �C"]�li-O O � delay.phpnu &1i� PK �C"]�@�� � g( operators.phpnu &1i� PK �C"]p �+� � �1 statusfilter.phpnu &1i� PK �C"]�U:o o �8 detailstatsmail.phpnu &1i� PK �C"] ��. . G= bounceaction.phpnu &1i� PK �C"]�[vq q �E charset.phpnu &1i� PK �C"]ϗ�� aM color.phpnu &1i� PK �C"]���j� � �e status.phpnu &1i� PK �C"]��6 6 �i deliverstatus.phpnu &1i� PK �C"]��� � �m mailcreator.phpnu &1i� PK �C"] E�� � 6s contentfilter.phpnu &1i� PK �C"]�=n� � dw operatorsin.phpnu &1i� PK �C"]���� � �z uploadpict.phpnu &1i� PK �C"]�d휩$ �$ �} frequency.phpnu &1i� PK �C"]CGe� � �� content.phpnu &1i� PK �C"]�61yo o �� testreceiver.phpnu &1i� PK �C"]���/n n \� detailstatsbounce.phpnu &1i� PK �C"]�Y�J~ ~ � jflanguages.phpnu &1i� PK �C"]��� � �� categoryfield.phpnu &1i� PK �C"]1�ڍ� � �� unsub.phpnu &1i� PK �C"]�e|r� � �� listcreator.phpnu &1i� PK �C"]:H��m m � contentorder.phpnu &1i� PK �C"]��6D� � �� festatus.phpnu &1i� PK �C"]dyP� � n� filetree.phpnu &1i� PK �C"]�^�A � titlelink.phpnu &1i� PK �C"]+���� � � delaydisp.phpnu &1i� PK �C"]���� � � queuemail.phpnu &1i� PK �C"]c���+ + � lists.phpnu &1i� PK �C"]'KȌ� � P uploadfile.phpnu &1i� PK �C"];5�[ [ K listsmail.phpnu &1i� PK $ $ � �#
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка