exit; } if (isset($_GET["X-headers-save"])) { template_advopts_save(); exit; } if (isset($_GET["template-attached-files-popup"])) { template_attach_edit(); exit; } if (isset($_GET["template-attached-files-iframe"])) { template_attach_iframe(); exit; } if (isset($_GET["template-attached-files-delete"])) { template_attach_delete(); exit; } if (isset($_GET["template-attached-files-show"])) { echo template_attach_list($_GET["template-attached-files-show"]); exit; } if (isset($_POST['upload'])) { template_attach_uploaded(); } function template_edit_js() { $page = CurrentPageName(); $tpl = new templates(); $template_title = $tpl->_ENGINE_parse_body("{template}::{$_GET["edit-template-js"]}"); $css = $tpl->_ENGINE_parse_body("{css}::{$_GET["edit-template-js"]}");
if(isset($_GET["tinymce"])){template_tinymce();exit;} if(isset($_GET["template-css"])){template_tinymce_css();exit;} if(isset($_GET["template-css-popup"])){template_css_edit();exit;} if(isset($_GET["template-css-save"])){template_css_save();exit;} if(isset($_GET["template-keyword-popup"])){template_keyword_popup();exit;} if(isset($_GET["template-advopts-popup"])){template_advopts_popup();exit;} if(isset($_GET["template-advopts-display"])){template_advopts_display();exit;} if(isset($_GET["X-headers-save"])){template_advopts_save();exit;} if(isset($_GET["template-attached-files-popup"])){template_attach_edit();exit;} if(isset($_GET["template-attached-files-iframe"])){template_attach_iframe();exit;} if(isset($_GET["template-attached-files-delete"])){template_attach_delete();exit;} if(isset($_GET["template-attached-files-show"])){echo template_attach_list($_GET["template-attached-files-show"]);exit;} if( isset($_POST['upload']) ){template_attach_uploaded();} function template_edit_js(){ $page=CurrentPageName(); $tpl=new templates(); $template_title=$tpl->_ENGINE_parse_body("{template}::{$_GET["edit-template-js"]}"); $css=$tpl->_ENGINE_parse_body("{css}::{$_GET["edit-template-js"]}"); $keyword=$tpl->_ENGINE_parse_body("{keywords}::{$_GET["edit-template-js"]}"); $advanced_options=$tpl->_ENGINE_parse_body("{advanced_options}::{$_GET["edit-template-js"]}"); $attached_files=$tpl->_ENGINE_parse_body("{attached_files}::{$_GET["edit-template-js"]}"); $are_you_sure_to_delete=$tpl->javascript_parse_text("{are_you_sure_to_delete}"); $html=" function emailing_template_edit(){