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

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

?? smarty.class.php

?? 類似youtube的視頻分享網站源碼。有后臺管理系統及模板
?? PHP
?? 第 1 頁 / 共 5 頁
字號:
                    if ($params['get_source']) {                        $_source_return = isset($this->_plugins['resource'][$_resource_type]) &&                            call_user_func_array($this->_plugins['resource'][$_resource_type][0][0],                                                 array($_resource_name, &$params['source_content'], &$this));                    } else {                        $_source_return = true;                    }                    $_timestamp_return = isset($this->_plugins['resource'][$_resource_type]) &&                        call_user_func_array($this->_plugins['resource'][$_resource_type][0][1],                                             array($_resource_name, &$params['resource_timestamp'], &$this));                    $_return = $_source_return && $_timestamp_return;                    break;            }        }        if (!$_return) {            // see if we can get a template with the default template handler            if (!empty($this->default_template_handler_func)) {                if (!is_callable($this->default_template_handler_func)) {                    $this->trigger_error("default template handler function \"$this->default_template_handler_func\" doesn't exist.");                } else {                    $_return = call_user_func_array(                        $this->default_template_handler_func,                        array($_params['resource_type'], $_params['resource_name'], &$params['source_content'], &$params['resource_timestamp'], &$this));                }            }        }        if (!$_return) {            if (!$params['quiet']) {                $this->trigger_error('unable to read resource: "' . $params['resource_name'] . '"');            }        } else if ($_return && $this->security) {            require_once(SMARTY_CORE_DIR . 'core.is_secure.php');            if (!smarty_core_is_secure($_params, $this)) {                if (!$params['quiet'])                    $this->trigger_error('(secure mode) accessing "' . $params['resource_name'] . '" is not allowed');                $params['source_content'] = null;                $params['resource_timestamp'] = null;                return false;            }        }        return $_return;    }    /**     * parse out the type and name from the resource     *     * @param string $resource_base_path     * @param string $resource_name     * @param string $resource_type     * @param string $resource_name     * @return boolean     */    function _parse_resource_name(&$params)    {        // split tpl_path by the first colon        $_resource_name_parts = explode(':', $params['resource_name'], 2);        if (count($_resource_name_parts) == 1) {            // no resource type given            $params['resource_type'] = $this->default_resource_type;            $params['resource_name'] = $_resource_name_parts[0];        } else {            if(strlen($_resource_name_parts[0]) == 1) {                // 1 char is not resource type, but part of filepath                $params['resource_type'] = $this->default_resource_type;                $params['resource_name'] = $params['resource_name'];            } else {                $params['resource_type'] = $_resource_name_parts[0];                $params['resource_name'] = $_resource_name_parts[1];            }        }        if ($params['resource_type'] == 'file') {            if (!preg_match('/^([\/\\\\]|[a-zA-Z]:[\/\\\\])/', $params['resource_name'])) {                // relative pathname to $params['resource_base_path']                // use the first directory where the file is found                foreach ((array)$params['resource_base_path'] as $_curr_path) {                    $_fullpath = $_curr_path . DIRECTORY_SEPARATOR . $params['resource_name'];                    if (file_exists($_fullpath) && is_file($_fullpath)) {                        $params['resource_name'] = $_fullpath;                        return true;                    }                    // didn't find the file, try include_path                    $_params = array('file_path' => $_fullpath);                    require_once(SMARTY_CORE_DIR . 'core.get_include_path.php');                    if(smarty_core_get_include_path($_params, $this)) {                        $params['resource_name'] = $_params['new_file_path'];                        return true;                    }                }                return false;            } else {                /* absolute path */                return file_exists($params['resource_name']);            }        } elseif (empty($this->_plugins['resource'][$params['resource_type']])) {            $_params = array('type' => $params['resource_type']);            require_once(SMARTY_CORE_DIR . 'core.load_resource_plugin.php');            smarty_core_load_resource_plugin($_params, $this);        }        return true;    }    /**     * Handle modifiers     *     * @param string|null $modifier_name     * @param array|null $map_array     * @return string result of modifiers     */    function _run_mod_handler()    {        $_args = func_get_args();        list($_modifier_name, $_map_array) = array_splice($_args, 0, 2);        list($_func_name, $_tpl_file, $_tpl_line) =            $this->_plugins['modifier'][$_modifier_name];        $_var = $_args[0];        foreach ($_var as $_key => $_val) {            $_args[0] = $_val;            $_var[$_key] = call_user_func_array($_func_name, $_args);        }        return $_var;    }    /**     * Remove starting and ending quotes from the string     *     * @param string $string     * @return string     */    function _dequote($string)    {        if (($string{0} == "'" || $string{0} == '"') &&            $string{strlen($string)-1} == $string{0})            return substr($string, 1, -1);        else            return $string;    }    /**     * read in a file from line $start for $lines.     * read the entire file if $start and $lines are null.     *     * @param string $filename     * @param integer $start     * @param integer $lines     * @return string     */    function _read_file($filename)    {        if ( file_exists($filename) && ($fd = @fopen($filename, 'rb')) ) {            $contents = ($size = filesize($filename)) ? fread($fd, $size) : '';            fclose($fd);            return $contents;        } else {            return false;        }    }    /**     * get a concrete filename for automagically created content     *     * @param string $auto_base     * @param string $auto_source     * @param string $auto_id     * @return string     * @staticvar string|null     * @staticvar string|null     */    function _get_auto_filename($auto_base, $auto_source = null, $auto_id = null)    {        $_compile_dir_sep =  $this->use_sub_dirs ? DIRECTORY_SEPARATOR : '^';        $_return = $auto_base . DIRECTORY_SEPARATOR;        if(isset($auto_id)) {            // make auto_id safe for directory names            $auto_id = str_replace('%7C',$_compile_dir_sep,(urlencode($auto_id)));            // split into separate directories            $_return .= $auto_id . $_compile_dir_sep;        }        if(isset($auto_source)) {            // make source name safe for filename            $_filename = urlencode(basename($auto_source));            $_crc32 = sprintf('%08X', crc32($auto_source));            // prepend %% to avoid name conflicts with            // with $params['auto_id'] names            $_crc32 = substr($_crc32, 0, 2) . $_compile_dir_sep .                      substr($_crc32, 0, 3) . $_compile_dir_sep . $_crc32;            $_return .= '%%' . $_crc32 . '%%' . $_filename;        }        return $_return;    }    /**     * unlink a file, possibly using expiration time     *     * @param string $resource     * @param integer $exp_time     */    function _unlink($resource, $exp_time = null)    {        if(isset($exp_time)) {            if(time() - @filemtime($resource) >= $exp_time) {                return @unlink($resource);            }        } else {            return @unlink($resource);        }    }    /**     * returns an auto_id for auto-file-functions     *     * @param string $cache_id     * @param string $compile_id     * @return string|null     */    function _get_auto_id($cache_id=null, $compile_id=null) {    if (isset($cache_id))        return (isset($compile_id)) ? $cache_id . '|' . $compile_id  : $cache_id;    elseif(isset($compile_id))        return $compile_id;    else        return null;    }    /**     * trigger Smarty plugin error     *     * @param string $error_msg     * @param string $tpl_file     * @param integer $tpl_line     * @param string $file     * @param integer $line     * @param integer $error_type     */    function _trigger_fatal_error($error_msg, $tpl_file = null, $tpl_line = null,            $file = null, $line = null, $error_type = E_USER_ERROR)    {        if(isset($file) && isset($line)) {            $info = ' ('.basename($file).", line $line)";        } else {            $info = '';        }        if (isset($tpl_line) && isset($tpl_file)) {            $this->trigger_error('[in ' . $tpl_file . ' line ' . $tpl_line . "]: $error_msg$info", $error_type);        } else {            $this->trigger_error($error_msg . $info, $error_type);        }    }    /**     * callback function for preg_replace, to call a non-cacheable block     * @return string     */    function _process_compiled_include_callback($match) {        $_func = '_smarty_tplfunc_'.$match[2].'_'.$match[3];        ob_start();        $_func($this);        $_ret = ob_get_contents();        ob_end_clean();        return $_ret;    }    /**     * called for included templates     *     * @param string $_smarty_include_tpl_file     * @param string $_smarty_include_vars     */    // $_smarty_include_tpl_file, $_smarty_include_vars    function _smarty_include($params)    {        if ($this->debugging) {            $_params = array();            require_once(SMARTY_CORE_DIR . 'core.get_microtime.php');            $debug_start_time = smarty_core_get_microtime($_params, $this);            $this->_smarty_debug_info[] = array('type'      => 'template',                                                  'filename'  => $params['smarty_include_tpl_file'],                                                  'depth'     => ++$this->_inclusion_depth);            $included_tpls_idx = count($this->_smarty_debug_info) - 1;        }        $this->_tpl_vars = array_merge($this->_tpl_vars, $params['smarty_include_vars']);        // config vars are treated as local, so push a copy of the        // current ones onto the front of the stack        array_unshift($this->_config, $this->_config[0]);        $_smarty_compile_path = $this->_get_compile_path($params['smarty_include_tpl_file']);        if ($this->_is_compiled($params['smarty_include_tpl_file'], $_smarty_compile_path)            || $this->_compile_resource($params['smarty_include_tpl_file'], $_smarty_compile_path))        {            include($_smarty_compile_path);        }        // pop the local vars off the front of the stack        array_shift($this->_config);        $this->_inclusion_depth--;        if ($this->debugging) {            // capture time for debugging info            $_params = array();            require_once(SMARTY_CORE_DIR . 'core.get_microtime.php');            $this->_smarty_debug_info[$included_tpls_idx]['exec_time'] = smarty_core_get_microtime($_params, $this) - $debug_start_time;        }        if ($this->caching) {            $this->_cache_info['template'][$params['smarty_include_tpl_file']] = true;        }    }    /**     * get or set an array of cached attributes for function that is     * not cacheable     * @return array     */    function &_smarty_cache_attrs($cache_serial, $count) {        $_cache_attrs =& $this->_cache_info['cache_attrs'][$cache_serial][$count];        if ($this->_cache_including) {            /* return next set of cache_attrs */            $_return =& current($_cache_attrs);            next($_cache_attrs);            return $_return;        } else {            /* add a reference to a new set of cache_attrs */            $_cache_attrs[] = array();            return $_cache_attrs[count($_cache_attrs)-1];        }    }    /**     * wrapper for include() retaining $this     * @return mixed     */    function _include($filename, $once=false, $params=null)    {        if ($once) {            return include_once($filename);        } else {            return include($filename);        }    }    /**     * wrapper for eval() retaining $this     * @return mixed     */    function _eval($code, $params=null)    {        return eval($code);    }    /**#@-*/}/* vim: set expandtab: */?>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产九九视频一区二区三区| 日韩电影免费在线| 26uuu精品一区二区三区四区在线| 91色porny蝌蚪| 不卡视频免费播放| 日韩国产欧美三级| 免费成人性网站| 蜜桃av噜噜一区| 国内一区二区视频| 国产一区免费电影| 成人a区在线观看| av电影天堂一区二区在线观看| 国产大片一区二区| 99精品黄色片免费大全| 色狠狠一区二区三区香蕉| 色一情一乱一乱一91av| 在线观看免费视频综合| 6080日韩午夜伦伦午夜伦| 欧美一级在线视频| 久久亚洲一区二区三区明星换脸| 国产亚洲婷婷免费| 国产精品每日更新| 亚洲与欧洲av电影| 久久综合综合久久综合| 国产传媒日韩欧美成人| 色婷婷激情久久| 日韩一区二区高清| 国产拍欧美日韩视频二区| 日韩美女视频一区| 蜜桃视频第一区免费观看| 成人免费va视频| 欧美精品黑人性xxxx| 久久久久久久久99精品| 亚洲柠檬福利资源导航| 久久精品国内一区二区三区| 成人a级免费电影| 欧美日韩精品福利| 国产日产欧美一区| 亚洲综合免费观看高清完整版 | 欧美色男人天堂| 日韩欧美专区在线| 亚洲乱码国产乱码精品精小说| 美女国产一区二区三区| 91在线视频免费91| 欧美v日韩v国产v| 依依成人精品视频| 国产一区二区三区免费在线观看| 波多野结衣中文字幕一区 | 国产亚洲精品aa| 亚洲午夜一区二区三区| 国产精品18久久久| 日韩欧美一二三区| 亚洲综合丝袜美腿| 91丝袜国产在线播放| 久久久噜噜噜久噜久久综合| 五月天激情小说综合| 色综合久久九月婷婷色综合| 日韩欧美一区二区视频| 亚洲国产精品自拍| 91在线精品一区二区三区| wwww国产精品欧美| 日韩国产一二三区| 欧美喷水一区二区| 一区二区三区四区激情| 波多野结衣的一区二区三区| 国产区在线观看成人精品| 麻豆国产精品视频| 91麻豆精品国产91久久久资源速度 | aaa欧美日韩| 久久―日本道色综合久久| 天天综合天天综合色| 在线观看av一区二区| 亚洲欧美日韩一区二区 | ㊣最新国产の精品bt伙计久久| 精品一区二区在线播放| 91精品国产综合久久香蕉的特点| 亚洲专区一二三| 欧洲精品一区二区| 亚洲成人午夜影院| 欧美电影在哪看比较好| 日日夜夜精品免费视频| 9191成人精品久久| 免费观看一级欧美片| 欧美区一区二区三区| 免费观看日韩电影| 亚洲综合久久av| 一道本成人在线| 亚洲成人精品一区| 日韩一区二区三免费高清| 精一区二区三区| 久久女同互慰一区二区三区| 国产999精品久久久久久绿帽| 中文字幕亚洲电影| 91视频在线观看免费| 亚洲二区视频在线| 日韩欧美国产一区二区三区| 国产一区高清在线| 亚洲私人影院在线观看| 欧美午夜精品久久久久久孕妇| 亚洲国产精品一区二区久久| 精品嫩草影院久久| 91污在线观看| 午夜成人在线视频| 精品国产麻豆免费人成网站| 成人免费毛片片v| 亚洲国产aⅴ天堂久久| 久久一留热品黄| 色香色香欲天天天影视综合网| 日本大胆欧美人术艺术动态| 国产日韩综合av| 欧美综合在线视频| 国产最新精品精品你懂的| 中文字幕精品—区二区四季| 91搞黄在线观看| 国产伦精品一区二区三区免费 | 蜜桃av噜噜一区二区三区小说| 久久精品欧美日韩| 色爱区综合激月婷婷| 久国产精品韩国三级视频| 亚洲三级理论片| 337p粉嫩大胆色噜噜噜噜亚洲| 日韩一区二区在线观看视频| 99久久免费国产| 国产一区二区三区日韩| 亚洲一区中文在线| 欧美激情一区不卡| 日韩三级视频在线看| 91久久精品一区二区| 国产高清久久久久| 日韩高清不卡在线| 亚洲精品免费一二三区| 欧美经典一区二区| 精品国产百合女同互慰| 欧美日本韩国一区二区三区视频| 国产99久久久久久免费看农村| 日韩国产精品久久久| 一区二区三区波多野结衣在线观看| 精品成人a区在线观看| 3d动漫精品啪啪一区二区竹菊| 99久久亚洲一区二区三区青草| 国产精品一区三区| 黄网站免费久久| 毛片不卡一区二区| 舔着乳尖日韩一区| 亚洲成人综合在线| 亚洲图片欧美视频| 艳妇臀荡乳欲伦亚洲一区| 一区二区中文视频| 国产精品国产精品国产专区不蜜 | 91啪九色porn原创视频在线观看| 亚洲国产综合人成综合网站| 国产精品国产三级国产| 国产人成亚洲第一网站在线播放| 欧美xxx久久| 精品毛片乱码1区2区3区| 欧美日韩免费视频| 91精品国产91久久综合桃花| 色婷婷激情久久| 欧亚洲嫩模精品一区三区| 91国偷自产一区二区使用方法| 91欧美一区二区| 欧美三级视频在线| 欧美三区在线视频| 91麻豆精品国产91久久久久久| 欧美一区二区在线免费播放| 日韩一区二区三区高清免费看看| 欧美va亚洲va在线观看蝴蝶网| 欧美精品一区二区三区在线播放| 亚洲成人一二三| 久久国产尿小便嘘嘘尿| 国产一区二区调教| 99这里都是精品| 欧美色视频一区| 欧美tk丨vk视频| 久久久精品国产免大香伊| 中文字幕乱码久久午夜不卡| 国产精品成人免费| 亚洲成a人片在线不卡一二三区 | 中文字幕精品—区二区四季| 亚洲免费伊人电影| 日韩和欧美的一区| 国产成人综合亚洲网站| 色哟哟在线观看一区二区三区| 欧美日本一区二区| 国产夜色精品一区二区av| 国产精品人成在线观看免费 | 久久久久久久综合狠狠综合| 欧美激情在线观看视频免费| 一区二区三区国产| 极品尤物av久久免费看| 色噜噜狠狠成人中文综合| 欧美一级黄色片| 日韩一区在线播放| 美美哒免费高清在线观看视频一区二区 | 欧美日韩在线综合| 久久综合久久99| 亚洲线精品一区二区三区| 国产美女在线观看一区| 欧美色图在线观看| 日本一区二区三区四区在线视频 |