亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? gentlesource_module_auctionads.class.inc.php

?? This is the script which used on 10minutemail.com for temporary email.
?? PHP
字號:
<?php

/** 
 * GentleSource Module
 * 
 * (C) Ralf Stadtaus http://www.gentlesource.com/
 * 
 * Version 1.0
 */




/**
 * Module Text Link Ads
 */
class gentlesource_module_auctionads extends gentlesource_module_common
{


    /**
     * Text of language file
     */
    var $text = array();

// -----------------------------------------------------------------------------




    /**
     *  Setup
     * 
     * @access public
     */
    function gentlesource_module_auctionads(&$settings)
    {
        $this->text = $this->load_language();
        
        // Configuration
        $this->add_property('name',         $this->text['txt_module_name']);
        $this->add_property('description',  $this->text['txt_module_description']);
        $this->add_property('trigger',  
                                array(  
                                        'module_demo',
                                        'module_call_auctionads',
                                        )
                                );
        
        // Settings to be allowed to read from and write to database
        $this->add_property('setting_names',  
                                array(  
                                        'module_auctionads_active',
                                        'module_auctionads_ad_client',
                                        'module_auctionads_ad_campaign',
                                        'module_auctionads_ad_format',
                                        'module_auctionads_ad_kw',
                                        'module_auctionads_color_border',
                                        'module_auctionads_color_bg',
                                        'module_auctionads_color_heading',
                                        'module_auctionads_color_text',
                                        'module_auctionads_color_link',
                                        'module_auctionads_new_window',
                                        'module_auctionads_style',
                                        )
                                );
        
        // Default values
        $this->add_property('module_auctionads_active',         'N');
        $this->add_property('module_auctionads_ad_client',      '');
        $this->add_property('module_auctionads_ad_campaign',    '');
        $this->add_property('module_auctionads_ad_format',      '');
        $this->add_property('module_auctionads_ad_kw',          '');
        $this->add_property('module_auctionads_color_border',   '#75E505');
        $this->add_property('module_auctionads_color_bg',       '#FFFFFF');
        $this->add_property('module_auctionads_color_heading',  '#00A0E2');
        $this->add_property('module_auctionads_color_text',     '#000000');
        $this->add_property('module_auctionads_color_link',     '#FFFFFF');
        $this->add_property('module_auctionads_new_window',     'N');
        $this->add_property('module_auctionads_style',          '');
        
        // Get settings from database
        $this->get_settings();
        
        // Set module status 
        $this->status('module_auctionads_active', 'N');
    }

// -----------------------------------------------------------------------------




    /**
     *  Administration
     * 
     * @access public
     */
    function administration()
    {
        $settings = array();
        
        $settings['module_auctionads_active'] = array(
            'type'          => 'bool',
            'label'         => $this->text['txt_enable_module'],
            'description'   => $this->text['txt_enable_module_description'],
            'required'      => true
            );
        
        $settings['module_auctionads_ad_client'] = array(
            'type'          => 'string',
            'label'         => $this->text['txt_ad_client'],
            'description'   => $this->text['txt_ad_client_description'],
            'required'      => false
            );
        
        $settings['module_auctionads_ad_campaign'] = array(
            'type'          => 'string',
            'label'         => $this->text['txt_ad_campaign'],
            'description'   => $this->text['txt_ad_campaign_description'],
            'required'      => false
            );
        
        $settings['module_auctionads_ad_kw'] = array(
            'type'          => 'textarea',
            'label'         => $this->text['txt_ad_keywords'],
            'description'   => $this->text['txt_ad_keywords_description'],
            'attribute'     => array('style' => 'height:200px;width:300px;'),
            'required'      => false
            );
        
        $settings['module_auctionads_ad_format'] = array(
            'type'          => 'select',
            'label'         => $this->text['txt_ad_format'],
            'description'   => '',
            'required'      => true,
            'option'        => array(
                                '728x90'    => '728 x 90 ' .    $this->text['txt_ad_format_leaderboard'],
                                '468x60'    => '468 x 60 ' .    $this->text['txt_ad_format_banner'],
                                '336x280'   => '336 x 280 ' .   $this->text['txt_ad_format_large_rectangle'],
                                '300x250'   => '300 x 250 ' .   $this->text['txt_ad_format_medium_rectangle'],
                                '250x250'   => '250 x 250 ' .   $this->text['txt_ad_format_square'],
                                '234x60'    => '234 x 60 ' .    $this->text['txt_ad_format_half_banner'],
                                '180x150'   => '180 x 150 ' .   $this->text['txt_ad_format_small_rectangle'],
                                '160x600'   => '160 x 600 ' .   $this->text['txt_ad_format_wide_skyscraper'],
                                '125x125'   => '125 x 125 ' .   $this->text['txt_ad_format_button'],
                                '120x600'   => '120 x 600 ' .   $this->text['txt_ad_format_skyscraper'],
                                '120x240'   => '120 x 240 ' .   $this->text['txt_ad_format_vertical_banner'],
                                )
            );
        
        $settings['module_auctionads_color_border'] = array(
            'type'          => 'color',
            'label'         => $this->text['txt_border_color'],
            'description'   => '',
            'required'      => false
            );
        
        $settings['module_auctionads_color_bg'] = array(
            'type'          => 'color',
            'label'         => $this->text['txt_background_color'],
            'description'   => '',
            'required'      => false
            );
        
        $settings['module_auctionads_color_heading'] = array(
            'type'          => 'color',
            'label'         => $this->text['txt_heading_color'],
            'description'   => '',
            'required'      => false
            );
        
        $settings['module_auctionads_color_text'] = array(
            'type'          => 'color',
            'label'         => $this->text['txt_text_color'],
            'description'   => '',
            'required'      => false
            );
        
        $settings['module_auctionads_color_link'] = array(
            'type'          => 'color',
            'label'         => $this->text['txt_link_color'],
            'description'   => '',
            'required'      => false
            );
        
        $settings['module_auctionads_new_window'] = array(
            'type'          => 'bool',
            'label'         => $this->text['txt_new_window'],
            'description'   => '',
            'required'      => false
            );
        
        $settings['module_auctionads_style'] = array(
            'type'          => 'string',
            'label'         => $this->text['txt_style'],
            'description'   => $this->text['txt_style_description'],
            'required'      => false
            );

        return $settings;
    }

// -----------------------------------------------------------------------------




    /**
     * Processing the content
     * 
     */
    function process($trigger, &$settings, &$data, &$additional)
    {
        if ($this->get_property('module_auctionads_ad_client') == '') {
            return false;
        }
        
        if ($trigger == 'module_demo'
                and isset($data['module'])
                and trim($data['module']) == get_class($this)) {

            $this->set_output($trigger, $this->auction_ads('auctionads_demo.tpl.html'));
        }
        
        if ($trigger == 'module_call_auctionads') {
            $this->set_output($trigger, $this->auction_ads('auctionads.tpl.html'));
        }
    }

// -----------------------------------------------------------------------------




    /**
     * Processing the content
     * 
     */
    function auction_ads($template)
    {
        $arr = array(
                'ad_client'         => trim($this->get_property('module_auctionads_ad_client')),
                'ad_campaign'       => trim($this->get_property('module_auctionads_ad_campaign')),
                'ad_width'          => substr($this->get_property('module_auctionads_ad_format'), 0, strpos($this->get_property('module_auctionads_ad_format'), 'x')),
                'ad_height'         => substr($this->get_property('module_auctionads_ad_format'), strpos($this->get_property('module_auctionads_ad_format'), 'x')+1),
                'ad_keywords'       => trim(str_replace("\r", '', str_replace("\n", '', $this->get_property('module_auctionads_ad_kw')))),
                'color_border'      => trim(str_replace('#', '', $this->get_property('module_auctionads_color_border'))),
                'color_bg'          => trim(str_replace('#', '', $this->get_property('module_auctionads_color_bg'))),
                'color_heading'     => trim(str_replace('#', '', $this->get_property('module_auctionads_color_heading'))),
                'color_text'        => trim(str_replace('#', '', $this->get_property('module_auctionads_color_text'))),
                'color_link'        => trim(str_replace('#', '', $this->get_property('module_auctionads_color_link'))),
                'options'           => ($this->get_property('module_auctionads_new_window') == 'N') ? '' : 'n',
                'style'             => $this->get_property('module_auctionads_style'),
                );
                
        $out = $this->get_output_object();
        $out->set_template_dir($this->get_property('module_path') . 'template/'); 
        $out->assign($arr);
        $content = $out->fetch($template);
        
        return $content;
    }

// -----------------------------------------------------------------------------

} // End of class






?>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美福利视频一区| 99久久精品免费看国产| 午夜不卡av免费| 亚洲一区二区三区四区在线免费观看| 国产人久久人人人人爽| 久久欧美一区二区| 国产欧美综合在线观看第十页| 精品日韩av一区二区| 精品国产免费人成在线观看| 久久这里只有精品视频网| 精品国产乱码久久久久久久| 久久久久久久网| 中文字幕免费不卡在线| 国产精品美女久久久久久久久| 亚洲精品国产一区二区三区四区在线| 国产精品久久久久一区| 亚洲乱码国产乱码精品精98午夜| 夜夜精品视频一区二区| 五月天一区二区三区| 精品一区二区三区免费毛片爱| 国产乱码精品1区2区3区| 成人涩涩免费视频| 在线视频欧美区| 日韩视频免费观看高清完整版 | 99在线视频精品| 一本大道久久a久久综合| 欧美在线不卡一区| 日韩午夜激情视频| 国产精品日日摸夜夜摸av| 亚洲精选在线视频| 精品一区二区三区在线播放视频| 风间由美一区二区av101| 色婷婷av一区二区三区之一色屋| 91精品国产综合久久福利 | 亚洲蜜臀av乱码久久精品| 亚洲成人av福利| 国产精品1区二区.| 91久久精品一区二区| 26uuu精品一区二区三区四区在线 26uuu精品一区二区在线观看 | 亚洲三级小视频| 99久久国产综合精品色伊| 欧美一区二区三区播放老司机| 欧美激情在线观看视频免费| 亚洲国产欧美在线人成| 国产一区二区三区日韩| 欧美色偷偷大香| 国产精品人人做人人爽人人添| 午夜国产精品一区| 成人aa视频在线观看| 欧美一区二区女人| 一区二区三区在线免费观看| 国内精品在线播放| 在线亚洲一区二区| 国产欧美精品一区二区三区四区| 午夜精品久久久久久久99水蜜桃| 成人高清免费观看| 久久亚洲精华国产精华液| 日韩经典中文字幕一区| 91九色02白丝porn| 国产精品午夜久久| 国产精品1区2区| 2020国产精品自拍| 日本中文在线一区| 欧美人妖巨大在线| 一区二区免费在线| 在线观看日韩电影| 亚洲精品免费在线| 一本一道久久a久久精品| 国产精品污网站| 成人自拍视频在线| 国产人成一区二区三区影院| 国产伦精品一区二区三区视频青涩| 欧美一区二区三区视频免费| 亚洲va天堂va国产va久| 欧美日韩精品系列| 亚洲gay无套男同| 欧美电影一区二区| 蜜臀av亚洲一区中文字幕| 5858s免费视频成人| 午夜欧美电影在线观看| 91麻豆精品国产91| 麻豆精品新av中文字幕| 日韩精品一区二区三区四区| 久久国产精品露脸对白| 久久综合久久鬼色中文字| 精久久久久久久久久久| 国产午夜精品久久久久久免费视| 国产高清无密码一区二区三区| 久久亚洲综合色| 豆国产96在线|亚洲| 亚洲日本青草视频在线怡红院 | 欧美大胆人体bbbb| 久久疯狂做爰流白浆xx| 日韩免费电影一区| 国产资源在线一区| 中文字幕制服丝袜成人av| 色综合久久中文字幕综合网 | 777xxx欧美| 国产在线精品免费av| 国产精品美女久久久久久| 欧美性受xxxx| 理论电影国产精品| 国产精品网站在线播放| 欧美三区在线观看| 精品亚洲免费视频| 一区在线中文字幕| 欧美日本精品一区二区三区| 精品一区二区综合| 亚洲免费电影在线| 日韩欧美激情一区| www.日韩精品| 欧美aaa在线| 国产精品成人免费在线| 日韩欧美123| 97久久超碰精品国产| 日产欧产美韩系列久久99| 国产无一区二区| 日韩欧美美女一区二区三区| www..com久久爱| 精品在线免费视频| 亚洲同性gay激情无套| 精品久久久久久久人人人人传媒| 成人av网站在线观看免费| 日本欧美久久久久免费播放网| 国产精品美女www爽爽爽| 51精品国自产在线| 一本色道**综合亚洲精品蜜桃冫| 久久国产精品无码网站| 亚洲大片在线观看| 中文字幕日韩精品一区| 精品1区2区在线观看| 欧美日韩国产综合久久| 色综合中文字幕国产 | 欧美视频在线不卡| 99在线视频精品| 国产精品正在播放| 日本午夜精品视频在线观看| 亚洲夂夂婷婷色拍ww47| 亚洲国产激情av| 国产视频一区在线播放| 精品久久人人做人人爽| 91精品国产色综合久久不卡蜜臀 | 日韩成人一区二区三区在线观看| 亚洲欧美色一区| 中文字幕中文字幕中文字幕亚洲无线| 久久午夜老司机| 精品国产一区久久| 国产精品剧情在线亚洲| 亚洲国产成人私人影院tom| 日韩欧美国产高清| 精品日韩一区二区三区免费视频| 欧美一区二区免费视频| 日韩一区二区中文字幕| 制服.丝袜.亚洲.中文.综合| 欧美日韩aaaaa| 56国语精品自产拍在线观看| 91精品国产综合久久小美女| 91精品国产免费久久综合| 欧美精品免费视频| 欧美一区二区三区男人的天堂| 欧美一区二区视频观看视频 | 国产精品一区二区三区99| 精品系列免费在线观看| 国产麻豆精品在线| eeuss鲁片一区二区三区在线观看| 丰满少妇久久久久久久| 99久久综合精品| 91高清视频免费看| 777午夜精品视频在线播放| 日韩欧美国产一区在线观看| 欧美成人免费网站| 国产亚洲短视频| 日韩理论片一区二区| 午夜伊人狠狠久久| 蓝色福利精品导航| 成人激情小说乱人伦| 在线精品视频一区二区三四| 欧美精品在线一区二区| 欧美电影免费观看高清完整版在线| 精品国产乱码久久久久久牛牛| 国产无人区一区二区三区| 亚洲一区二区三区精品在线| 免费成人av在线播放| 成人美女视频在线看| 在线观看国产91| 欧美videos大乳护士334| 国产精品麻豆视频| 午夜不卡av免费| 成人黄色一级视频| 日韩一级二级三级| 中文字幕不卡一区| 午夜精品国产更新| 欧美性感一类影片在线播放| 日韩欧美黄色影院| 一区二区三区不卡视频| 日韩制服丝袜av| 中文字幕一区二区三区在线不卡 | 久久婷婷国产综合国色天香| 中文字幕一区二区在线播放| 日产国产欧美视频一区精品|