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

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

?? smarty_compiler.class.php

?? asterisk用 的voip記費軟件
?? PHP
?? 第 1 頁 / 共 5 頁
字號:
<?php/** * Project:     Smarty: the PHP compiling template engine * File:        Smarty_Compiler.class.php * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA * * @link http://smarty.php.net/ * @author Monte Ohrt <monte at ohrt dot com> * @author Andrei Zmievski <andrei@php.net> * @version 2.6.13 * @copyright 2001-2005 New Digital Group, Inc. * @package Smarty *//* $Id: Smarty_Compiler.class.php,v 1.378 2006/01/29 18:11:22 messju Exp $ *//** * Template compiling class * @package Smarty */class Smarty_Compiler extends Smarty {    // internal vars    /**#@+     * @access private     */    var $_folded_blocks         =   array();    // keeps folded template blocks    var $_current_file          =   null;       // the current template being compiled    var $_current_line_no       =   1;          // line number for error messages    var $_capture_stack         =   array();    // keeps track of nested capture buffers    var $_plugin_info           =   array();    // keeps track of plugins to load    var $_init_smarty_vars      =   false;    var $_permitted_tokens      =   array('true','false','yes','no','on','off','null');    var $_db_qstr_regexp        =   null;        // regexps are setup in the constructor    var $_si_qstr_regexp        =   null;    var $_qstr_regexp           =   null;    var $_func_regexp           =   null;    var $_reg_obj_regexp        =   null;    var $_var_bracket_regexp    =   null;    var $_num_const_regexp      =   null;    var $_dvar_guts_regexp      =   null;    var $_dvar_regexp           =   null;    var $_cvar_regexp           =   null;    var $_svar_regexp           =   null;    var $_avar_regexp           =   null;    var $_mod_regexp            =   null;    var $_var_regexp            =   null;    var $_parenth_param_regexp  =   null;    var $_func_call_regexp      =   null;    var $_obj_ext_regexp        =   null;    var $_obj_start_regexp      =   null;    var $_obj_params_regexp     =   null;    var $_obj_call_regexp       =   null;    var $_cacheable_state       =   0;    var $_cache_attrs_count     =   0;    var $_nocache_count         =   0;    var $_cache_serial          =   null;    var $_cache_include         =   null;    var $_strip_depth           =   0;    var $_additional_newline    =   "\n";    /**#@-*/    /**     * The class constructor.     */    function Smarty_Compiler()    {        // matches double quoted strings:        // "foobar"        // "foo\"bar"        $this->_db_qstr_regexp = '"[^"\\\\]*(?:\\\\.[^"\\\\]*)*"';        // matches single quoted strings:        // 'foobar'        // 'foo\'bar'        $this->_si_qstr_regexp = '\'[^\'\\\\]*(?:\\\\.[^\'\\\\]*)*\'';        // matches single or double quoted strings        $this->_qstr_regexp = '(?:' . $this->_db_qstr_regexp . '|' . $this->_si_qstr_regexp . ')';        // matches bracket portion of vars        // [0]        // [foo]        // [$bar]        $this->_var_bracket_regexp = '\[\$?[\w\.]+\]';        // matches numerical constants        // 30        // -12        // 13.22        $this->_num_const_regexp = '(?:\-?\d+(?:\.\d+)?)';        // matches $ vars (not objects):        // $foo        // $foo.bar        // $foo.bar.foobar        // $foo[0]        // $foo[$bar]        // $foo[5][blah]        // $foo[5].bar[$foobar][4]        $this->_dvar_math_regexp = '(?:[\+\*\/\%]|(?:-(?!>)))';        $this->_dvar_math_var_regexp = '[\$\w\.\+\-\*\/\%\d\>\[\]]';        $this->_dvar_guts_regexp = '\w+(?:' . $this->_var_bracket_regexp                . ')*(?:\.\$?\w+(?:' . $this->_var_bracket_regexp . ')*)*(?:' . $this->_dvar_math_regexp . '(?:' . $this->_num_const_regexp . '|' . $this->_dvar_math_var_regexp . ')*)?';        $this->_dvar_regexp = '\$' . $this->_dvar_guts_regexp;        // matches config vars:        // #foo#        // #foobar123_foo#        $this->_cvar_regexp = '\#\w+\#';        // matches section vars:        // %foo.bar%        $this->_svar_regexp = '\%\w+\.\w+\%';        // matches all valid variables (no quotes, no modifiers)        $this->_avar_regexp = '(?:' . $this->_dvar_regexp . '|'           . $this->_cvar_regexp . '|' . $this->_svar_regexp . ')';        // matches valid variable syntax:        // $foo        // $foo        // #foo#        // #foo#        // "text"        // "text"        $this->_var_regexp = '(?:' . $this->_avar_regexp . '|' . $this->_qstr_regexp . ')';        // matches valid object call (one level of object nesting allowed in parameters):        // $foo->bar        // $foo->bar()        // $foo->bar("text")        // $foo->bar($foo, $bar, "text")        // $foo->bar($foo, "foo")        // $foo->bar->foo()        // $foo->bar->foo->bar()        // $foo->bar($foo->bar)        // $foo->bar($foo->bar())        // $foo->bar($foo->bar($blah,$foo,44,"foo",$foo[0].bar))        $this->_obj_ext_regexp = '\->(?:\$?' . $this->_dvar_guts_regexp . ')';        $this->_obj_restricted_param_regexp = '(?:'                . '(?:' . $this->_var_regexp . '|' . $this->_num_const_regexp . ')(?:' . $this->_obj_ext_regexp . '(?:\((?:(?:' . $this->_var_regexp . '|' . $this->_num_const_regexp . ')'                . '(?:\s*,\s*(?:' . $this->_var_regexp . '|' . $this->_num_const_regexp . '))*)?\))?)*)';        $this->_obj_single_param_regexp = '(?:\w+|' . $this->_obj_restricted_param_regexp . '(?:\s*,\s*(?:(?:\w+|'                . $this->_var_regexp . $this->_obj_restricted_param_regexp . ')))*)';        $this->_obj_params_regexp = '\((?:' . $this->_obj_single_param_regexp                . '(?:\s*,\s*' . $this->_obj_single_param_regexp . ')*)?\)';        $this->_obj_start_regexp = '(?:' . $this->_dvar_regexp . '(?:' . $this->_obj_ext_regexp . ')+)';        $this->_obj_call_regexp = '(?:' . $this->_obj_start_regexp . '(?:' . $this->_obj_params_regexp . ')?(?:' . $this->_dvar_math_regexp . '(?:' . $this->_num_const_regexp . '|' . $this->_dvar_math_var_regexp . ')*)?)';                // matches valid modifier syntax:        // |foo        // |@foo        // |foo:"bar"        // |foo:$bar        // |foo:"bar":$foobar        // |foo|bar        // |foo:$foo->bar        $this->_mod_regexp = '(?:\|@?\w+(?::(?:\w+|' . $this->_num_const_regexp . '|'           . $this->_obj_call_regexp . '|' . $this->_avar_regexp . '|' . $this->_qstr_regexp .'))*)';        // matches valid function name:        // foo123        // _foo_bar        $this->_func_regexp = '[a-zA-Z_]\w*';        // matches valid registered object:        // foo->bar        $this->_reg_obj_regexp = '[a-zA-Z_]\w*->[a-zA-Z_]\w*';        // matches valid parameter values:        // true        // $foo        // $foo|bar        // #foo#        // #foo#|bar        // "text"        // "text"|bar        // $foo->bar        $this->_param_regexp = '(?:\s*(?:' . $this->_obj_call_regexp . '|'           . $this->_var_regexp . '|' . $this->_num_const_regexp  . '|\w+)(?>' . $this->_mod_regexp . '*)\s*)';        // matches valid parenthesised function parameters:        //        // "text"        //    $foo, $bar, "text"        // $foo|bar, "foo"|bar, $foo->bar($foo)|bar        $this->_parenth_param_regexp = '(?:\((?:\w+|'                . $this->_param_regexp . '(?:\s*,\s*(?:(?:\w+|'                . $this->_param_regexp . ')))*)?\))';        // matches valid function call:        // foo()        // foo_bar($foo)        // _foo_bar($foo,"bar")        // foo123($foo,$foo->bar(),"foo")        $this->_func_call_regexp = '(?:' . $this->_func_regexp . '\s*(?:'           . $this->_parenth_param_regexp . '))';    }    /**     * compile a resource     *     * sets $compiled_content to the compiled source     * @param string $resource_name     * @param string $source_content     * @param string $compiled_content     * @return true     */    function _compile_file($resource_name, $source_content, &$compiled_content)    {        if ($this->security) {            // do not allow php syntax to be executed unless specified            if ($this->php_handling == SMARTY_PHP_ALLOW &&                !$this->security_settings['PHP_HANDLING']) {                $this->php_handling = SMARTY_PHP_PASSTHRU;            }        }        $this->_load_filters();        $this->_current_file = $resource_name;        $this->_current_line_no = 1;        $ldq = preg_quote($this->left_delimiter, '~');        $rdq = preg_quote($this->right_delimiter, '~');        // run template source through prefilter functions        if (count($this->_plugins['prefilter']) > 0) {            foreach ($this->_plugins['prefilter'] as $filter_name => $prefilter) {                if ($prefilter === false) continue;                if ($prefilter[3] || is_callable($prefilter[0])) {                    $source_content = call_user_func_array($prefilter[0],                                                            array($source_content, &$this));                    $this->_plugins['prefilter'][$filter_name][3] = true;                } else {                    $this->_trigger_fatal_error("[plugin] prefilter '$filter_name' is not implemented");                }            }        }        /* fetch all special blocks */        $search = "~{$ldq}\*(.*?)\*{$rdq}|{$ldq}\s*literal\s*{$rdq}(.*?){$ldq}\s*/literal\s*{$rdq}|{$ldq}\s*php\s*{$rdq}(.*?){$ldq}\s*/php\s*{$rdq}~s";        preg_match_all($search, $source_content, $match,  PREG_SET_ORDER);        $this->_folded_blocks = $match;        reset($this->_folded_blocks);        /* replace special blocks by "{php}" */        $source_content = preg_replace($search.'e', "'"                                       . $this->_quote_replace($this->left_delimiter) . 'php'                                       . "' . str_repeat(\"\n\", substr_count('\\0', \"\n\")) .'"                                       . $this->_quote_replace($this->right_delimiter)                                       . "'"                                       , $source_content);        /* Gather all template tags. */        preg_match_all("~{$ldq}\s*(.*?)\s*{$rdq}~s", $source_content, $_match);        $template_tags = $_match[1];        /* Split content by template tags to obtain non-template content. */        $text_blocks = preg_split("~{$ldq}.*?{$rdq}~s", $source_content);        /* loop through text blocks */        for ($curr_tb = 0, $for_max = count($text_blocks); $curr_tb < $for_max; $curr_tb++) {            /* match anything resembling php tags */            if (preg_match_all('~(<\?(?:\w+|=)?|\?>|language\s*=\s*[\"\']?php[\"\']?)~is', $text_blocks[$curr_tb], $sp_match)) {                /* replace tags with placeholders to prevent recursive replacements */                $sp_match[1] = array_unique($sp_match[1]);                usort($sp_match[1], '_smarty_sort_length');                for ($curr_sp = 0, $for_max2 = count($sp_match[1]); $curr_sp < $for_max2; $curr_sp++) {                    $text_blocks[$curr_tb] = str_replace($sp_match[1][$curr_sp],'%%%SMARTYSP'.$curr_sp.'%%%',$text_blocks[$curr_tb]);                }                /* process each one */                for ($curr_sp = 0, $for_max2 = count($sp_match[1]); $curr_sp < $for_max2; $curr_sp++) {                    if ($this->php_handling == SMARTY_PHP_PASSTHRU) {                        /* echo php contents */                        $text_blocks[$curr_tb] = str_replace('%%%SMARTYSP'.$curr_sp.'%%%', '<?php echo \''.str_replace("'", "\'", $sp_match[1][$curr_sp]).'\'; ?>'."\n", $text_blocks[$curr_tb]);                    } else if ($this->php_handling == SMARTY_PHP_QUOTE) {                        /* quote php tags */                        $text_blocks[$curr_tb] = str_replace('%%%SMARTYSP'.$curr_sp.'%%%', htmlspecialchars($sp_match[1][$curr_sp]), $text_blocks[$curr_tb]);                    } else if ($this->php_handling == SMARTY_PHP_REMOVE) {                        /* remove php tags */                        $text_blocks[$curr_tb] = str_replace('%%%SMARTYSP'.$curr_sp.'%%%', '', $text_blocks[$curr_tb]);                    } else {                        /* SMARTY_PHP_ALLOW, but echo non php starting tags */                        $sp_match[1][$curr_sp] = preg_replace('~(<\?(?!php|=|$))~i', '<?php echo \'\\1\'?>'."\n", $sp_match[1][$curr_sp]);                        $text_blocks[$curr_tb] = str_replace('%%%SMARTYSP'.$curr_sp.'%%%', $sp_match[1][$curr_sp], $text_blocks[$curr_tb]);                    }                }            }        }        /* Compile the template tags into PHP code. */        $compiled_tags = array();        for ($i = 0, $for_max = count($template_tags); $i < $for_max; $i++) {            $this->_current_line_no += substr_count($text_blocks[$i], "\n");            $compiled_tags[] = $this->_compile_tag($template_tags[$i]);            $this->_current_line_no += substr_count($template_tags[$i], "\n");        }        if (count($this->_tag_stack)>0) {            list($_open_tag, $_line_no) = end($this->_tag_stack);            $this->_syntax_error("unclosed tag \{$_open_tag} (opened line $_line_no).", E_USER_ERROR, __FILE__, __LINE__);            return;        }        /* Reformat $text_blocks between 'strip' and '/strip' tags,           removing spaces, tabs and newlines. */        $strip = false;        for ($i = 0, $for_max = count($compiled_tags); $i < $for_max; $i++) {            if ($compiled_tags[$i] == '{strip}') {                $compiled_tags[$i] = '';                $strip = true;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一区二区精品在线| 三级欧美韩日大片在线看| 亚洲精品videosex极品| 日本v片在线高清不卡在线观看| 国产福利一区二区三区视频在线 | 国内精品免费在线观看| 一本久久a久久精品亚洲| 欧美白人最猛性xxxxx69交| 亚洲精品视频在线看| 国产主播一区二区| 7777精品伊人久久久大香线蕉| 国产亚洲欧美日韩在线一区| 污片在线观看一区二区 | 加勒比av一区二区| 在线观看精品一区| 日韩毛片一二三区| 成人永久看片免费视频天堂| 91精品在线一区二区| 亚洲国产毛片aaaaa无费看| 粉嫩av一区二区三区在线播放| 精品少妇一区二区三区在线视频| 一区二区三区成人| 97精品国产露脸对白| 国产日韩精品视频一区| 国产成人av电影在线观看| 欧美成人女星排名| 日本免费在线视频不卡一不卡二| 欧美视频一区二区三区在线观看| 一区二区三区在线视频免费| 97精品超碰一区二区三区| 国产精品免费久久| 欧洲视频一区二区| 亚洲激情av在线| 在线一区二区三区| 亚洲大型综合色站| 欧美精品一级二级| 天天亚洲美女在线视频| 日韩一区二区三区视频在线| 美洲天堂一区二卡三卡四卡视频| 日韩欧美中文字幕制服| 久久精品国内一区二区三区| 久久嫩草精品久久久精品一| 国产精品影视在线观看| 中文字幕高清不卡| 99精品国产91久久久久久| 亚洲免费色视频| 欧美无人高清视频在线观看| 亚洲成人黄色小说| 日韩视频免费观看高清完整版在线观看 | 亚洲美女免费视频| 在线中文字幕一区| 亚洲大片精品永久免费| 日韩免费性生活视频播放| 免费观看一级欧美片| 久久久精品国产免费观看同学| 国产传媒久久文化传媒| 国产精品久久久久国产精品日日| 成人一区二区三区中文字幕| 亚洲精品视频在线看| 91精品免费观看| 欧美人牲a欧美精品| 老司机精品视频在线| 欧美激情在线看| 在线精品视频免费播放| 日韩国产精品91| 国产午夜亚洲精品理论片色戒| 99久精品国产| 日本视频一区二区| 最好看的中文字幕久久| 欧美精品 日韩| 成人网在线播放| 图片区小说区国产精品视频| 欧美国产日韩在线观看| 欧美三级在线看| 成人午夜电影网站| 日韩精品亚洲一区| 国产精品久久久久久久久免费樱桃| 一本一本大道香蕉久在线精品 | 精品日韩在线一区| 色综合婷婷久久| 久久99精品久久只有精品| 一区二区三区欧美视频| 久久久精品中文字幕麻豆发布| 欧美日韩和欧美的一区二区| 国产馆精品极品| 麻豆国产欧美日韩综合精品二区| 国产精品国产三级国产有无不卡 | 欧美日韩精品欧美日韩精品一综合| 久久 天天综合| 亚洲国产日韩精品| 日韩毛片一二三区| 精品国产乱码久久久久久1区2区 | 日本高清不卡一区| 风流少妇一区二区| 激情另类小说区图片区视频区| 亚洲一区二区不卡免费| 国产精品国产a| 国产网站一区二区| 精品国产乱码久久久久久图片| 91久久一区二区| 波多野洁衣一区| 国产在线精品不卡| 久久99精品久久久久久国产越南 | 日韩亚洲欧美综合| 欧美日韩一级黄| 在线一区二区三区四区| 91亚洲精品久久久蜜桃网站 | 亚洲视频中文字幕| 国产亚洲成av人在线观看导航| 精品久久久久久久久久久久久久久 | 高清不卡在线观看av| 国产一区福利在线| 国产专区欧美精品| 国产精品一区二区久激情瑜伽| 狠狠色丁香久久婷婷综| 麻豆国产欧美一区二区三区| 免费成人美女在线观看.| 不卡视频在线看| 成人高清伦理免费影院在线观看| 丰满亚洲少妇av| 99精品欧美一区| 色香色香欲天天天影视综合网| 99国产精品国产精品毛片| 99精品视频在线免费观看| 一本色道久久综合狠狠躁的推荐 | 99精品桃花视频在线观看| 波多野结衣在线aⅴ中文字幕不卡| 福利一区二区在线观看| 成人国产精品免费观看| 色诱视频网站一区| 欧美肥胖老妇做爰| 精品99999| 国产精品短视频| 一区二区三区国产| 奇米精品一区二区三区在线观看一| 日韩av二区在线播放| 韩国av一区二区| av电影在线不卡| 欧美系列亚洲系列| 久久综合久久综合亚洲| 欧美国产日本视频| 夜夜嗨av一区二区三区中文字幕| 午夜欧美大尺度福利影院在线看| 日韩国产精品久久久| 国产a久久麻豆| 色婷婷香蕉在线一区二区| 日韩一区国产二区欧美三区| 久久这里只精品最新地址| 专区另类欧美日韩| 蜜桃av噜噜一区| 91在线视频免费观看| 在线播放/欧美激情| 日本一区二区三区在线不卡| 亚洲精品国产一区二区精华液 | 丁香激情综合国产| 欧美体内she精高潮| 久久综合九色综合欧美就去吻 | 久久精品综合网| 香蕉影视欧美成人| 成人黄色小视频| 26uuu国产日韩综合| 亚洲综合一区二区| 国产成人av影院| 91精品国产麻豆| 亚洲男人都懂的| 成熟亚洲日本毛茸茸凸凹| 777色狠狠一区二区三区| 国产精品久久久久久久久晋中| 亚洲成人av在线电影| 91丨九色丨国产丨porny| 亚洲国产视频在线| av中文字幕不卡| 日韩免费高清av| 丝袜美腿亚洲一区| 99久久er热在这里只有精品15| 精品国产乱码久久久久久牛牛| 亚洲一区二区三区四区五区中文 | 国产精品自在欧美一区| 777奇米四色成人影色区| 一区二区成人在线观看| 粉嫩高潮美女一区二区三区| 日韩美女在线视频| 亚洲1区2区3区4区| 精品污污网站免费看| 亚洲综合激情小说| 91麻豆免费看| 国产精品久久99| yourporn久久国产精品| 欧美国产综合一区二区| 国产精品996| 2021中文字幕一区亚洲| 国产一区二区三区免费在线观看| 91麻豆精品国产自产在线观看一区 | 日韩综合小视频| 欧美在线观看18| 亚洲第四色夜色| 欧美日韩精品是欧美日韩精品| 一个色综合网站| 欧洲一区在线观看| 午夜精品久久久久影视|