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/pop_up/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/queenjbs/xe/modules/pop_up/pop_up.model.php
<?php
    /**
     * @class  popup Model
     * @author zirho (zirho6.gmail.com)
     * @brief  popup ¸ðµâÀÇ model class
     **/

    class pop_upModel extends pop_up {

        /**
         * @brief ÃʱâÈ­
         **/
        function init() {
        }

        /**
         * @brief ÆË¾÷ Á¤º¸ °¡Á®¿À±â
         **/
        function getPop_upInfoByPopupSrl($popup_conn_srl) {
            // µ¥ÀÌÅ͸¦ °¡Á®¿È
            $args->popup_conn_srl = $popup_conn_srl;
            $output = executeQuery('pop_up.getPopupList', $args);
            if($output->data){
				if(is_array($output->data)) return array_pop($output->data);
				else return $output->data;
			}

            return ;
		}

        /**
         * @brief ÇöÀç ¸ðµâÀÇ ÆË¾÷ Á¤º¸ °¡Á®¿À±â
         **/
		function getPop_upsForThisSrl($targets){
			$stamp = mktime();
			$stamp = date("Ymd", $stamp);
			$targets->curdate = $stamp;

			$output = executeQuery('pop_up.getPopupsForThisSrl', $targets);

			if($output->data) return $output->data;
			return;
		}
	}
?>

Anon7 - 2021