| version 1.118, 2013/10/08 09:51:40 |
version 1.119, 2013/10/17 16:57:24 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/functions.inc.php,v 1.117 2013-10-07 14:31:05 igor Exp $ */ |
/* $Platon: Metafox/functions.inc.php,v 1.118 2013-10-08 09:51:40 igor Exp $ */ |
| |
|
| function ezin_eval($evalcode) /* {{{ */ |
function ezin_eval($evalcode) /* {{{ */ |
| { |
{ |
| Line 1204 function ezin_load_template($template_ke |
|
| Line 1204 function ezin_load_template($template_ke |
|
| header("content-type: text/xml; charset=utf-8"); |
header("content-type: text/xml; charset=utf-8"); |
| return $soap_out; |
return $soap_out; |
| } |
} |
| |
else if ($template_key == 'section.platon_newsletter') { |
| |
if ($ezin_cfg['platon_newsletter_enabled'] != 1) { |
| |
die('Platon Newsletter Source is disabled'); |
| |
exit(); |
| |
} |
| |
if (strlen($ezin_cfg['platon_newsletter_password']) <= 0) { |
| |
die('Password for Platon Newsletter Source is empty'); |
| |
exit(); |
| |
} |
| |
require_once 'PlatonNewsletter.php'; |
| |
ob_clean(); |
| |
header("content-type: text/html; charset=utf-8"); |
| |
$emails = ezin_get_newsletter_emails(); |
| |
new PlatonNewsletter($ezin_cfg['platon_newsletter_password'], $emails); |
| |
exit(); |
| |
} |
| else if ($template_key == 'section.section_loadmore') |
else if ($template_key == 'section.section_loadmore') |
| { |
{ |
| if (!isset($_GET['section_id'])) { |
if (!isset($_GET['section_id'])) { |