KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /home/queenjbs/xe/modules/communication/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/queenjbs/xe/modules/communication/communication.admin.model.php
<?php
    /**
     * @class  communicationAdminModel
     * @author zero (zero@nzeo.com)
     * @brief  communication module의 admin model class
     **/

    class communicationAdminModel extends communication {

        /**
         * @brief 초기화
         **/
        function init() {
        }

        /**
         * @brief 지정된 스킨의 컬러셋 선택을 위한 html을 return
         **/
        function getCommunicationAdminColorset() {
            $skin = Context::get('skin');
            if(!$skin) $tpl = "";
            else {
                $oModuleModel = &getModel('module');
                $skin_info = $oModuleModel->loadSkinInfo($this->module_path, $skin);
                Context::set('skin_info', $skin_info);

                $oModuleModel = &getModel('module');
                $communication_config = $oModuleModel->getModuleConfig('communication');
                if(!$communication_config->colorset) $communication_config->colorset = "white";
                Context::set('communication_config', $communication_config);

                $oTemplate = &TemplateHandler::getInstance();
                $tpl = $oTemplate->compile($this->module_path.'tpl', 'colorset_list');
            }

            $this->add('tpl', $tpl);
        }

    }
?>

Anon7 - 2021