3atv精品不卡视频,97人人超碰国产精品最新,中文字幕av一区二区三区人妻少妇,久久久精品波多野结衣,日韩一区二区三区精品

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程语言 > php >内容正文

php

php smarty extends,php封装的smarty类完整实例

發(fā)布時間:2023/12/18 php 32 豆豆
生活随笔 收集整理的這篇文章主要介紹了 php smarty extends,php封装的smarty类完整实例 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

本文實例講述了php封裝的smarty類。分享給大家供大家參考,具體如下:

/**

* Project: Smarty: the PHP compiling template engine

* File: Smarty.class.php

* SVN: $Id: Smarty.class.php 4848 2014-06-08 18:12:09Z Uwe.Tews@googlemail.com $

* 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

* For questions, help, comments, discussion, etc., please join the

* Smarty mailing list. Send a blank e-mail to

* smarty-discussion-subscribe@googlegroups.com

*

* @link http://www.smarty.net/

* @copyright 2008 New Digital Group, Inc.

* @author Monte Ohrt

* @author Uwe Tews

* @author Rodney Rehm

* @package Smarty

* @version 3.1.19

*/

/**

* define shorthand directory separator constant

*/

if (!defined('DS')) {

define('DS', DIRECTORY_SEPARATOR);

}

/**

* set SMARTY_DIR to absolute path to Smarty library files.

* Sets SMARTY_DIR only if user application has not already defined it.

*/

if (!defined('SMARTY_DIR')) {

define('SMARTY_DIR', dirname(__FILE__) . DS);

}

/**

* set SMARTY_SYSPLUGINS_DIR to absolute path to Smarty internal plugins.

* Sets SMARTY_SYSPLUGINS_DIR only if user application has not already defined it.

*/

if (!defined('SMARTY_SYSPLUGINS_DIR')) {

define('SMARTY_SYSPLUGINS_DIR', SMARTY_DIR . 'sysplugins' . DS);

}

if (!defined('SMARTY_PLUGINS_DIR')) {

define('SMARTY_PLUGINS_DIR', SMARTY_DIR . 'plugins' . DS);

}

if (!defined('SMARTY_MBSTRING')) {

define('SMARTY_MBSTRING', function_exists('mb_split'));

}

if (!defined('SMARTY_RESOURCE_CHAR_SET')) {

// UTF-8 can only be done properly when mbstring is available!

/**

* @deprecated in favor of Smarty::$_CHARSET

*/

define('SMARTY_RESOURCE_CHAR_SET', SMARTY_MBSTRING ? 'UTF-8' : 'ISO-8859-1');

}

if (!defined('SMARTY_RESOURCE_DATE_FORMAT')) {

/**

* @deprecated in favor of Smarty::$_DATE_FORMAT

*/

define('SMARTY_RESOURCE_DATE_FORMAT', '%b %e, %Y');

}

/**

* register the class autoloader

*/

if (!defined('SMARTY_SPL_AUTOLOAD')) {

define('SMARTY_SPL_AUTOLOAD', 0);

}

if (SMARTY_SPL_AUTOLOAD && set_include_path(get_include_path() . PATH_SEPARATOR . SMARTY_SYSPLUGINS_DIR) !== false) {

$registeredAutoLoadFunctions = spl_autoload_functions();

if (!isset($registeredAutoLoadFunctions['spl_autoload'])) {

spl_autoload_register();

}

} else {

spl_autoload_register('smartyAutoload');

}

/**

* Load always needed external class files

*/

include_once SMARTY_SYSPLUGINS_DIR . 'smarty_internal_data.php';

include_once SMARTY_SYSPLUGINS_DIR . 'smarty_internal_templatebase.php';

include_once SMARTY_SYSPLUGINS_DIR . 'smarty_internal_template.php';

include_once SMARTY_SYSPLUGINS_DIR . 'smarty_resource.php';

include_once SMARTY_SYSPLUGINS_DIR . 'smarty_internal_resource_file.php';

include_once SMARTY_SYSPLUGINS_DIR . 'smarty_cacheresource.php';

include_once SMARTY_SYSPLUGINS_DIR . 'smarty_internal_cacheresource_file.php';

/**

* This is the main Smarty class

*

* @package Smarty

*/

class Smarty extends Smarty_Internal_TemplateBase

{

/**#@+

* constant definitions

*/

/**

* smarty version

*/

const SMARTY_VERSION = 'Smarty-3.1.19';

/**

* define variable scopes

*/

const SCOPE_LOCAL = 0;

const SCOPE_PARENT = 1;

const SCOPE_ROOT = 2;

const SCOPE_GLOBAL = 3;

/**

* define caching modes

*/

const CACHING_OFF = 0;

const CACHING_LIFETIME_CURRENT = 1;

const CACHING_LIFETIME_SAVED = 2;

/**

* define constant for clearing cache files be saved expiration datees

*/

const CLEAR_EXPIRED = - 1;

/**

* define compile check modes

*/

const COMPILECHECK_OFF = 0;

const COMPILECHECK_ON = 1;

const COMPILECHECK_CACHEMISS = 2;

/**

* modes for handling of "<?php ... ?>" tags in templates.

*/

const PHP_PASSTHRU = 0; //-> print tags as plain text

const PHP_QUOTE = 1; //-> escape tags as entities

const PHP_REMOVE = 2; //-> escape tags as entities

const PHP_ALLOW = 3; //-> escape tags as entities

/**

* filter types

*/

const FILTER_POST = 'post';

const FILTER_PRE = 'pre';

const FILTER_OUTPUT = 'output';

const FILTER_VARIABLE = 'variable';

/**

* plugin types

*/

const PLUGIN_FUNCTION = 'function';

const PLUGIN_BLOCK = 'block';

const PLUGIN_COMPILER = 'compiler';

const PLUGIN_MODIFIER = 'modifier';

const PLUGIN_MODIFIERCOMPILER = 'modifiercompiler';

/**#@-*/

/**

* assigned global tpl vars

*/

public static $global_tpl_vars = array();

/**

* error handler returned by set_error_hanlder() in Smarty::muteExpectedErrors()

*/

public static $_previous_error_handler = null;

/**

* contains directories outside of SMARTY_DIR that are to be muted by muteExpectedErrors()

*/

public static $_muted_directories = array();

/**

* Flag denoting if Multibyte String functions are available

*/

public static $_MBSTRING = SMARTY_MBSTRING;

/**

* The character set to adhere to (e.g. "UTF-8")

*/

public static $_CHARSET = SMARTY_RESOURCE_CHAR_SET;

/**

* The date format to be used internally

* (accepts date() and strftime())

*/

public static $_DATE_FORMAT = SMARTY_RESOURCE_DATE_FORMAT;

/**

* Flag denoting if PCRE should run in UTF-8 mode

*/

public static $_UTF8_MODIFIER = 'u';

/**

* Flag denoting if operating system is windows

*/

public static $_IS_WINDOWS = false;

/**#@+

* variables

*/

/**

* auto literal on delimiters with whitspace

*

* @var boolean

*/

public $auto_literal = true;

/**

* display error on not assigned variables

*

* @var boolean

*/

public $error_unassigned = false;

/**

* look up relative filepaths in include_path

*

* @var boolean

*/

public $use_include_path = false;

/**

* template directory

*

* @var array

*/

private $template_dir = array();

/**

* joined template directory string used in cache keys

*

* @var string

*/

public $joined_template_dir = null;

/**

* joined config directory string used in cache keys

*

* @var string

*/

public $joined_config_dir = null;

/**

* default template handler

*

* @var callable

*/

public $default_template_handler_func = null;

/**

* default config handler

*

* @var callable

*/

public $default_config_handler_func = null;

/**

* default plugin handler

*

* @var callable

*/

public $default_plugin_handler_func = null;

/**

* compile directory

*

* @var string

*/

private $compile_dir = null;

/**

* plugins directory

*

* @var array

*/

private $plugins_dir = array();

/**

* cache directory

*

* @var string

*/

private $cache_dir = null;

/**

* config directory

*

* @var array

*/

private $config_dir = array();

/**

* force template compiling?

*

* @var boolean

*/

public $force_compile = false;

/**

* check template for modifications?

*

* @var boolean

*/

public $compile_check = true;

/**

* use sub dirs for compiled/cached files?

*

* @var boolean

*/

public $use_sub_dirs = false;

/**

* allow ambiguous resources (that are made unique by the resource handler)

*

* @var boolean

*/

public $allow_ambiguous_resources = false;

/**

* caching enabled

*

* @var boolean

*/

public $caching = false;

/**

* merge compiled includes

*

* @var boolean

*/

public $merge_compiled_includes = false;

/**

* template inheritance merge compiled includes

*

* @var boolean

*/

public $inheritance_merge_compiled_includes = true;

/**

* cache lifetime in seconds

*

* @var integer

*/

public $cache_lifetime = 3600;

/**

* force cache file creation

*

* @var boolean

*/

public $force_cache = false;

/**

* Set this if you want different sets of cache files for the same

* templates.

*

* @var string

*/

public $cache_id = null;

/**

* Set this if you want different sets of compiled files for the same

* templates.

*

* @var string

*/

public $compile_id = null;

/**

* template left-delimiter

*

* @var string

*/

public $left_delimiter = "{";

/**

* template right-delimiter

*

* @var string

*/

public $right_delimiter = "}";

/**#@+

* security

*/

/**

* class name

* This should be instance of Smarty_Security.

*

* @var string

* @see Smarty_Security

*/

public $security_class = 'Smarty_Security';

/**

* implementation of security class

*

* @var Smarty_Security

*/

public $security_policy = null;

/**

* controls handling of PHP-blocks

*

* @var integer

*/

public $php_handling = self::PHP_PASSTHRU;

/**

* controls if the php template file resource is allowed

*

* @var bool

*/

public $allow_php_templates = false;

/**

* Should compiled-templates be prevented from being called directly?

* {@internal

* Currently used by Smarty_Internal_Template only.

* }}

*

* @var boolean

*/

public $direct_access_security = true;

/**#@-*/

/**

* debug mode

* Setting this to true enables the debug-console.

*

* @var boolean

*/

public $debugging = false;

/**

* This determines if debugging is enable-able from the browser.

*

*

NONE => no debugging control allowed

*

URL => enable debugging when SMARTY_DEBUG is found in the URL.

*

*

* @var string

*/

public $debugging_ctrl = 'NONE';

/**

* Name of debugging URL-param.

* Only used when $debugging_ctrl is set to 'URL'.

* The name of the URL-parameter that activates debugging.

*

* @var type

*/

public $smarty_debug_id = 'SMARTY_DEBUG';

/**

* Path of debug template.

*

* @var string

*/

public $debug_tpl = null;

/**

* When set, smarty uses this value as error_reporting-level.

*

* @var int

*/

public $error_reporting = null;

/**

* Internal flag for getTags()

*

* @var boolean

*/

public $get_used_tags = false;

/**#@+

* config var settings

*/

/**

* Controls whether variables with the same name overwrite each other.

*

* @var boolean

*/

public $config_overwrite = true;

/**

* Controls whether config values of on/true/yes and off/false/no get converted to boolean.

*

* @var boolean

*/

public $config_booleanize = true;

/**

* Controls whether hidden config sections/vars are read from the file.

*

* @var boolean

*/

public $config_read_hidden = false;

/**#@-*/

/**#@+

* resource locking

*/

/**

* locking concurrent compiles

*

* @var boolean

*/

public $compile_locking = true;

/**

* Controls whether cache resources should emply locking mechanism

*

* @var boolean

*/

public $cache_locking = false;

/**

* seconds to wait for acquiring a lock before ignoring the write lock

*

* @var float

*/

public $locking_timeout = 10;

/**#@-*/

/**

* global template functions

*

* @var array

*/

public $template_functions = array();

/**

* resource type used if none given

* Must be an valid key of $registered_resources.

*

* @var string

*/

public $default_resource_type = 'file';

/**

* caching type

* Must be an element of $cache_resource_types.

*

* @var string

*/

public $caching_type = 'file';

/**

* internal config properties

*

* @var array

*/

public $properties = array();

/**

* config type

*

* @var string

*/

public $default_config_type = 'file';

/**

* cached template objects

*

* @var array

*/

public $template_objects = array();

/**

* check If-Modified-Since headers

*

* @var boolean

*/

public $cache_modified_check = false;

/**

* registered plugins

*

* @var array

*/

public $registered_plugins = array();

/**

* plugin search order

*

* @var array

*/

public $plugin_search_order = array('function', 'block', 'compiler', 'class');

/**

* registered objects

*

* @var array

*/

public $registered_objects = array();

/**

* registered classes

*

* @var array

*/

public $registered_classes = array();

/**

* registered filters

*

* @var array

*/

public $registered_filters = array();

/**

* registered resources

*

* @var array

*/

public $registered_resources = array();

/**

* resource handler cache

*

* @var array

*/

public $_resource_handlers = array();

/**

* registered cache resources

*

* @var array

*/

public $registered_cache_resources = array();

/**

* cache resource handler cache

*

* @var array

*/

public $_cacheresource_handlers = array();

/**

* autoload filter

*

* @var array

*/

public $autoload_filters = array();

/**

* default modifier

*

* @var array

*/

public $default_modifiers = array();

/**

* autoescape variable output

*

* @var boolean

*/

public $escape_html = false;

/**

* global internal smarty vars

*

* @var array

*/

public static $_smarty_vars = array();

/**

* start time for execution time calculation

*

* @var int

*/

public $start_time = 0;

/**

* default file permissions

*

* @var int

*/

public $_file_perms = 0644;

/**

* default dir permissions

*

* @var int

*/

public $_dir_perms = 0771;

/**

* block tag hierarchy

*

* @var array

*/

public $_tag_stack = array();

/**

* self pointer to Smarty object

*

* @var Smarty

*/

public $smarty;

/**

* required by the compiler for BC

*

* @var string

*/

public $_current_file = null;

/**

* internal flag to enable parser debugging

*

* @var bool

*/

public $_parserdebug = false;

/**

* Saved parameter of merged templates during compilation

*

* @var array

*/

public $merged_templates_func = array();

/**#@-*/

/**

* Initialize new Smarty object

*/

public function __construct()

{

// selfpointer needed by some other class methods

$this->smarty = $this;

if (is_callable('mb_internal_encoding')) {

mb_internal_encoding(Smarty::$_CHARSET);

}

$this->start_time = microtime(true);

// set default dirs

$this->setTemplateDir('.' . DS . 'templates' . DS)

->setCompileDir('.' . DS . 'templates_c' . DS)

->setPluginsDir(SMARTY_PLUGINS_DIR)

->setCacheDir('.' . DS . 'cache' . DS)

->setConfigDir('.' . DS . 'configs' . DS);

$this->debug_tpl = 'file:' . dirname(__FILE__) . '/debug.tpl';

if (isset($_SERVER['SCRIPT_NAME'])) {

$this->assignGlobal('SCRIPT_NAME', $_SERVER['SCRIPT_NAME']);

}

}

/**

* Class destructor

*/

public function __destruct()

{

// intentionally left blank

}

/**

* <> set selfpointer on cloned object

*/

public function __clone()

{

$this->smarty = $this;

}

/**

* <> Generic getter.

* Calls the appropriate getter function.

* Issues an E_USER_NOTICE if no valid getter is found.

*

* @param string $name property name

*

* @return mixed

*/

public function __get($name)

{

$allowed = array(

'template_dir' => 'getTemplateDir',

'config_dir' => 'getConfigDir',

'plugins_dir' => 'getPluginsDir',

'compile_dir' => 'getCompileDir',

'cache_dir' => 'getCacheDir',

);

if (isset($allowed[$name])) {

return $this->{$allowed[$name]}();

} else {

trigger_error('Undefined property: ' . get_class($this) . '::$' . $name, E_USER_NOTICE);

}

}

/**

* <> Generic setter.

* Calls the appropriate setter function.

* Issues an E_USER_NOTICE if no valid setter is found.

*

* @param string $name property name

* @param mixed $value parameter passed to setter

*/

public function __set($name, $value)

{

$allowed = array(

'template_dir' => 'setTemplateDir',

'config_dir' => 'setConfigDir',

'plugins_dir' => 'setPluginsDir',

'compile_dir' => 'setCompileDir',

'cache_dir' => 'setCacheDir',

);

if (isset($allowed[$name])) {

$this->{$allowed[$name]}($value);

} else {

trigger_error('Undefined property: ' . get_class($this) . '::$' . $name, E_USER_NOTICE);

}

}

/**

* Check if a template resource exists

*

* @param string $resource_name template name

*

* @return boolean status

*/

public function templateExists($resource_name)

{

// create template object

$save = $this->template_objects;

$tpl = new $this->template_class($resource_name, $this);

// check if it does exists

$result = $tpl->source->exists;

$this->template_objects = $save;

return $result;

}

/**

* Returns a single or all global variables

*

* @param string $varname variable name or null

*

* @return string variable value or or array of variables

*/

public function getGlobal($varname = null)

{

if (isset($varname)) {

if (isset(self::$global_tpl_vars[$varname])) {

return self::$global_tpl_vars[$varname]->value;

} else {

return '';

}

} else {

$_result = array();

foreach (self::$global_tpl_vars AS $key => $var) {

$_result[$key] = $var->value;

}

return $_result;

}

}

/**

* Empty cache folder

*

* @param integer $exp_time expiration time

* @param string $type resource type

*

* @return integer number of cache files deleted

*/

public function clearAllCache($exp_time = null, $type = null)

{

// load cache resource and call clearAll

$_cache_resource = Smarty_CacheResource::load($this, $type);

Smarty_CacheResource::invalidLoadedCache($this);

return $_cache_resource->clearAll($this, $exp_time);

}

/**

* Empty cache for a specific template

*

* @param string $template_name template name

* @param string $cache_id cache id

* @param string $compile_id compile id

* @param integer $exp_time expiration time

* @param string $type resource type

*

* @return integer number of cache files deleted

*/

public function clearCache($template_name, $cache_id = null, $compile_id = null, $exp_time = null, $type = null)

{

// load cache resource and call clear

$_cache_resource = Smarty_CacheResource::load($this, $type);

Smarty_CacheResource::invalidLoadedCache($this);

return $_cache_resource->clear($this, $template_name, $cache_id, $compile_id, $exp_time);

}

/**

* Loads security class and enables security

*

* @param string|Smarty_Security $security_class if a string is used, it must be class-name

*

* @return Smarty current Smarty instance for chaining

* @throws SmartyException when an invalid class name is provided

*/

public function enableSecurity($security_class = null)

{

if ($security_class instanceof Smarty_Security) {

$this->security_policy = $security_class;

return $this;

} elseif (is_object($security_class)) {

throw new SmartyException("Class '" . get_class($security_class) . "' must extend Smarty_Security.");

}

if ($security_class == null) {

$security_class = $this->security_class;

}

if (!class_exists($security_class)) {

throw new SmartyException("Security class '$security_class' is not defined");

} elseif ($security_class !== 'Smarty_Security' && !is_subclass_of($security_class, 'Smarty_Security')) {

throw new SmartyException("Class '$security_class' must extend Smarty_Security.");

} else {

$this->security_policy = new $security_class($this);

}

return $this;

}

/**

* Disable security

*

* @return Smarty current Smarty instance for chaining

*/

public function disableSecurity()

{

$this->security_policy = null;

return $this;

}

/**

* Set template directory

*

* @param string|array $template_dir directory(s) of template sources

*

* @return Smarty current Smarty instance for chaining

*/

public function setTemplateDir($template_dir)

{

$this->template_dir = array();

foreach ((array) $template_dir as $k => $v) {

$this->template_dir[$k] = preg_replace('#(\w+)(/|\\\\){1,}#', '$1$2', rtrim($v, '/\\')) . DS;

}

$this->joined_template_dir = join(DIRECTORY_SEPARATOR, $this->template_dir);

return $this;

}

/**

* Add template directory(s)

*

* @param string|array $template_dir directory(s) of template sources

* @param string $key of the array element to assign the template dir to

*

* @return Smarty current Smarty instance for chaining

* @throws SmartyException when the given template directory is not valid

*/

public function addTemplateDir($template_dir, $key = null)

{

// make sure we're dealing with an array

$this->template_dir = (array) $this->template_dir;

if (is_array($template_dir)) {

foreach ($template_dir as $k => $v) {

$v = preg_replace('#(\w+)(/|\\\\){1,}#', '$1$2', rtrim($v, '/\\')) . DS;

if (is_int($k)) {

// indexes are not merged but appended

$this->template_dir[] = $v;

} else {

// string indexes are overridden

$this->template_dir[$k] = $v;

}

}

} else {

$v = preg_replace('#(\w+)(/|\\\\){1,}#', '$1$2', rtrim($template_dir, '/\\')) . DS;

if ($key !== null) {

// override directory at specified index

$this->template_dir[$key] = $v;

} else {

// append new directory

$this->template_dir[] = $v;

}

}

$this->joined_template_dir = join(DIRECTORY_SEPARATOR, $this->template_dir);

return $this;

}

/**

* Get template directories

*

* @param mixed $index index of directory to get, null to get all

*

* @return array|string list of template directories, or directory of $index

*/

public function getTemplateDir($index = null)

{

if ($index !== null) {

return isset($this->template_dir[$index]) ? $this->template_dir[$index] : null;

}

return (array) $this->template_dir;

}

/**

* Set config directory

*

* @param $config_dir

*

* @return Smarty current Smarty instance for chaining

*/

public function setConfigDir($config_dir)

{

$this->config_dir = array();

foreach ((array) $config_dir as $k => $v) {

$this->config_dir[$k] = preg_replace('#(\w+)(/|\\\\){1,}#', '$1$2', rtrim($v, '/\\')) . DS;

}

$this->joined_config_dir = join(DIRECTORY_SEPARATOR, $this->config_dir);

return $this;

}

/**

* Add config directory(s)

*

* @param string|array $config_dir directory(s) of config sources

* @param mixed $key key of the array element to assign the config dir to

*

* @return Smarty current Smarty instance for chaining

*/

public function addConfigDir($config_dir, $key = null)

{

// make sure we're dealing with an array

$this->config_dir = (array) $this->config_dir;

if (is_array($config_dir)) {

foreach ($config_dir as $k => $v) {

$v = preg_replace('#(\w+)(/|\\\\){1,}#', '$1$2', rtrim($v, '/\\')) . DS;

if (is_int($k)) {

// indexes are not merged but appended

$this->config_dir[] = $v;

} else {

// string indexes are overridden

$this->config_dir[$k] = $v;

}

}

} else {

$v = preg_replace('#(\w+)(/|\\\\){1,}#', '$1$2', rtrim($config_dir, '/\\')) . DS;

if ($key !== null) {

// override directory at specified index

$this->config_dir[$key] = rtrim($v, '/\\') . DS;

} else {

// append new directory

$this->config_dir[] = rtrim($v, '/\\') . DS;

}

}

$this->joined_config_dir = join(DIRECTORY_SEPARATOR, $this->config_dir);

return $this;

}

/**

* Get config directory

*

* @param mixed $index index of directory to get, null to get all

*

* @return array|string configuration directory

*/

public function getConfigDir($index = null)

{

if ($index !== null) {

return isset($this->config_dir[$index]) ? $this->config_dir[$index] : null;

}

return (array) $this->config_dir;

}

/**

* Set plugins directory

*

* @param string|array $plugins_dir directory(s) of plugins

*

* @return Smarty current Smarty instance for chaining

*/

public function setPluginsDir($plugins_dir)

{

$this->plugins_dir = array();

foreach ((array) $plugins_dir as $k => $v) {

$this->plugins_dir[$k] = rtrim($v, '/\\') . DS;

}

return $this;

}

/**

* Adds directory of plugin files

*

* @param $plugins_dir

*

* @return Smarty current Smarty instance for chaining

*/

public function addPluginsDir($plugins_dir)

{

// make sure we're dealing with an array

$this->plugins_dir = (array) $this->plugins_dir;

if (is_array($plugins_dir)) {

foreach ($plugins_dir as $k => $v) {

if (is_int($k)) {

// indexes are not merged but appended

$this->plugins_dir[] = rtrim($v, '/\\') . DS;

} else {

// string indexes are overridden

$this->plugins_dir[$k] = rtrim($v, '/\\') . DS;

}

}

} else {

// append new directory

$this->plugins_dir[] = rtrim($plugins_dir, '/\\') . DS;

}

$this->plugins_dir = array_unique($this->plugins_dir);

return $this;

}

/**

* Get plugin directories

*

* @return array list of plugin directories

*/

public function getPluginsDir()

{

return (array) $this->plugins_dir;

}

/**

* Set compile directory

*

* @param string $compile_dir directory to store compiled templates in

*

* @return Smarty current Smarty instance for chaining

*/

public function setCompileDir($compile_dir)

{

$this->compile_dir = rtrim($compile_dir, '/\\') . DS;

if (!isset(Smarty::$_muted_directories[$this->compile_dir])) {

Smarty::$_muted_directories[$this->compile_dir] = null;

}

return $this;

}

/**

* Get compiled directory

*

* @return string path to compiled templates

*/

public function getCompileDir()

{

return $this->compile_dir;

}

/**

* Set cache directory

*

* @param string $cache_dir directory to store cached templates in

*

* @return Smarty current Smarty instance for chaining

*/

public function setCacheDir($cache_dir)

{

$this->cache_dir = rtrim($cache_dir, '/\\') . DS;

if (!isset(Smarty::$_muted_directories[$this->cache_dir])) {

Smarty::$_muted_directories[$this->cache_dir] = null;

}

return $this;

}

/**

* Get cache directory

*

* @return string path of cache directory

*/

public function getCacheDir()

{

return $this->cache_dir;

}

/**

* Set default modifiers

*

* @param array|string $modifiers modifier or list of modifiers to set

*

* @return Smarty current Smarty instance for chaining

*/

public function setDefaultModifiers($modifiers)

{

$this->default_modifiers = (array) $modifiers;

return $this;

}

/**

* Add default modifiers

*

* @param array|string $modifiers modifier or list of modifiers to add

*

* @return Smarty current Smarty instance for chaining

*/

public function addDefaultModifiers($modifiers)

{

if (is_array($modifiers)) {

$this->default_modifiers = array_merge($this->default_modifiers, $modifiers);

} else {

$this->default_modifiers[] = $modifiers;

}

return $this;

}

/**

* Get default modifiers

*

* @return array list of default modifiers

*/

public function getDefaultModifiers()

{

return $this->default_modifiers;

}

/**

* Set autoload filters

*

* @param array $filters filters to load automatically

* @param string $type "pre", "output", … specify the filter type to set. Defaults to none treating $filters' keys as the appropriate types

*

* @return Smarty current Smarty instance for chaining

*/

public function setAutoloadFilters($filters, $type = null)

{

if ($type !== null) {

$this->autoload_filters[$type] = (array) $filters;

} else {

$this->autoload_filters = (array) $filters;

}

return $this;

}

/**

* Add autoload filters

*

* @param array $filters filters to load automatically

* @param string $type "pre", "output", … specify the filter type to set. Defaults to none treating $filters' keys as the appropriate types

*

* @return Smarty current Smarty instance for chaining

*/

public function addAutoloadFilters($filters, $type = null)

{

if ($type !== null) {

if (!empty($this->autoload_filters[$type])) {

$this->autoload_filters[$type] = array_merge($this->autoload_filters[$type], (array) $filters);

} else {

$this->autoload_filters[$type] = (array) $filters;

}

} else {

foreach ((array) $filters as $key => $value) {

if (!empty($this->autoload_filters[$key])) {

$this->autoload_filters[$key] = array_merge($this->autoload_filters[$key], (array) $value);

} else {

$this->autoload_filters[$key] = (array) $value;

}

}

}

return $this;

}

/**

* Get autoload filters

*

* @param string $type type of filter to get autoloads for. Defaults to all autoload filters

*

* @return array array( 'type1' => array( 'filter1', 'filter2', … ) ) or array( 'filter1', 'filter2', …) if $type was specified

*/

public function getAutoloadFilters($type = null)

{

if ($type !== null) {

return isset($this->autoload_filters[$type]) ? $this->autoload_filters[$type] : array();

}

return $this->autoload_filters;

}

/**

* return name of debugging template

*

* @return string

*/

public function getDebugTemplate()

{

return $this->debug_tpl;

}

/**

* set the debug template

*

* @param string $tpl_name

*

* @return Smarty current Smarty instance for chaining

* @throws SmartyException if file is not readable

*/

public function setDebugTemplate($tpl_name)

{

if (!is_readable($tpl_name)) {

throw new SmartyException("Unknown file '{$tpl_name}'");

}

$this->debug_tpl = $tpl_name;

return $this;

}

/**

* creates a template object

*

* @param string $template the resource handle of the template file

* @param mixed $cache_id cache id to be used with this template

* @param mixed $compile_id compile id to be used with this template

* @param object $parent next higher level of Smarty variables

* @param boolean $do_clone flag is Smarty object shall be cloned

*

* @return object template object

*/

public function createTemplate($template, $cache_id = null, $compile_id = null, $parent = null, $do_clone = true)

{

if ($cache_id !== null && (is_object($cache_id) || is_array($cache_id))) {

$parent = $cache_id;

$cache_id = null;

}

if ($parent !== null && is_array($parent)) {

$data = $parent;

$parent = null;

} else {

$data = null;

}

// default to cache_id and compile_id of Smarty object

$cache_id = $cache_id === null ? $this->cache_id : $cache_id;

$compile_id = $compile_id === null ? $this->compile_id : $compile_id;

// already in template cache?

if ($this->allow_ambiguous_resources) {

$_templateId = Smarty_Resource::getUniqueTemplateName($this, $template) . $cache_id . $compile_id;

} else {

$_templateId = $this->joined_template_dir . '#' . $template . $cache_id . $compile_id;

}

if (isset($_templateId[150])) {

$_templateId = sha1($_templateId);

}

if ($do_clone) {

if (isset($this->template_objects[$_templateId])) {

// return cached template object

$tpl = clone $this->template_objects[$_templateId];

$tpl->smarty = clone $tpl->smarty;

$tpl->parent = $parent;

$tpl->tpl_vars = array();

$tpl->config_vars = array();

} else {

$tpl = new $this->template_class($template, clone $this, $parent, $cache_id, $compile_id);

}

} else {

if (isset($this->template_objects[$_templateId])) {

// return cached template object

$tpl = $this->template_objects[$_templateId];

$tpl->parent = $parent;

$tpl->tpl_vars = array();

$tpl->config_vars = array();

} else {

$tpl = new $this->template_class($template, $this, $parent, $cache_id, $compile_id);

}

}

// fill data if present

if (!empty($data) && is_array($data)) {

// set up variable values

foreach ($data as $_key => $_val) {

$tpl->tpl_vars[$_key] = new Smarty_variable($_val);

}

}

return $tpl;

}

/**

* Takes unknown classes and loads plugin files for them

* class name format: Smarty_PluginType_PluginName

* plugin filename format: plugintype.pluginname.php

*

* @param string $plugin_name class plugin name to load

* @param bool $check check if already loaded

*

* @throws SmartyException

* @return string |boolean filepath of loaded file or false

*/

public function loadPlugin($plugin_name, $check = true)

{

// if function or class exists, exit silently (already loaded)

if ($check && (is_callable($plugin_name) || class_exists($plugin_name, false))) {

return true;

}

// Plugin name is expected to be: Smarty_[Type]_[Name]

$_name_parts = explode('_', $plugin_name, 3);

// class name must have three parts to be valid plugin

// count($_name_parts) < 3 === !isset($_name_parts[2])

if (!isset($_name_parts[2]) || strtolower($_name_parts[0]) !== 'smarty') {

throw new SmartyException("plugin {$plugin_name} is not a valid name format");

}

// if type is "internal", get plugin from sysplugins

if (strtolower($_name_parts[1]) == 'internal') {

$file = SMARTY_SYSPLUGINS_DIR . strtolower($plugin_name) . '.php';

if (file_exists($file)) {

require_once($file);

return $file;

} else {

return false;

}

}

// plugin filename is expected to be: [type].[name].php

$_plugin_filename = "{$_name_parts[1]}.{$_name_parts[2]}.php";

$_stream_resolve_include_path = function_exists('stream_resolve_include_path');

// loop through plugin dirs and find the plugin

foreach ($this->getPluginsDir() as $_plugin_dir) {

$names = array(

$_plugin_dir . $_plugin_filename,

$_plugin_dir . strtolower($_plugin_filename),

);

foreach ($names as $file) {

if (file_exists($file)) {

require_once($file);

return $file;

}

if ($this->use_include_path && !preg_match('/^([\/\\\\]|[a-zA-Z]:[\/\\\\])/', $_plugin_dir)) {

// try PHP include_path

if ($_stream_resolve_include_path) {

$file = stream_resolve_include_path($file);

} else {

$file = Smarty_Internal_Get_Include_Path::getIncludePath($file);

}

if ($file !== false) {

require_once($file);

return $file;

}

}

}

}

// no plugin loaded

return false;

}

/**

* Compile all template files

*

* @param string $extension file extension

* @param bool $force_compile force all to recompile

* @param int $time_limit

* @param int $max_errors

*

* @return integer number of template files recompiled

*/

public function compileAllTemplates($extension = '.tpl', $force_compile = false, $time_limit = 0, $max_errors = null)

{

return Smarty_Internal_Utility::compileAllTemplates($extension, $force_compile, $time_limit, $max_errors, $this);

}

/**

* Compile all config files

*

* @param string $extension file extension

* @param bool $force_compile force all to recompile

* @param int $time_limit

* @param int $max_errors

*

* @return integer number of template files recompiled

*/

public function compileAllConfig($extension = '.conf', $force_compile = false, $time_limit = 0, $max_errors = null)

{

return Smarty_Internal_Utility::compileAllConfig($extension, $force_compile, $time_limit, $max_errors, $this);

}

/**

* Delete compiled template file

*

* @param string $resource_name template name

* @param string $compile_id compile id

* @param integer $exp_time expiration time

*

* @return integer number of template files deleted

*/

public function clearCompiledTemplate($resource_name = null, $compile_id = null, $exp_time = null)

{

return Smarty_Internal_Utility::clearCompiledTemplate($resource_name, $compile_id, $exp_time, $this);

}

/**

* Return array of tag/attributes of all tags used by an template

*

* @param Smarty_Internal_Template $template

*

* @return array of tag/attributes

*/

public function getTags(Smarty_Internal_Template $template)

{

return Smarty_Internal_Utility::getTags($template);

}

/**

* Run installation test

*

* @param array $errors Array to write errors into, rather than outputting them

*

* @return boolean true if setup is fine, false if something is wrong

*/

public function testInstall(&$errors = null)

{

return Smarty_Internal_Utility::testInstall($this, $errors);

}

/**

* Error Handler to mute expected messages

*

* @link http://php.net/set_error_handler

*

* @param integer $errno Error level

* @param $errstr

* @param $errfile

* @param $errline

* @param $errcontext

*

* @return boolean

*/

public static function mutingErrorHandler($errno, $errstr, $errfile, $errline, $errcontext)

{

$_is_muted_directory = false;

// add the SMARTY_DIR to the list of muted directories

if (!isset(Smarty::$_muted_directories[SMARTY_DIR])) {

$smarty_dir = realpath(SMARTY_DIR);

if ($smarty_dir !== false) {

Smarty::$_muted_directories[SMARTY_DIR] = array(

'file' => $smarty_dir,

'length' => strlen($smarty_dir),

);

}

}

// walk the muted directories and test against $errfile

foreach (Smarty::$_muted_directories as $key => &$dir) {

if (!$dir) {

// resolve directory and length for speedy comparisons

$file = realpath($key);

if ($file === false) {

// this directory does not exist, remove and skip it

unset(Smarty::$_muted_directories[$key]);

continue;

}

$dir = array(

'file' => $file,

'length' => strlen($file),

);

}

if (!strncmp($errfile, $dir['file'], $dir['length'])) {

$_is_muted_directory = true;

break;

}

}

// pass to next error handler if this error did not occur inside SMARTY_DIR

// or the error was within smarty but masked to be ignored

if (!$_is_muted_directory || ($errno && $errno & error_reporting())) {

if (Smarty::$_previous_error_handler) {

return call_user_func(Smarty::$_previous_error_handler, $errno, $errstr, $errfile, $errline, $errcontext);

} else {

return false;

}

}

}

/**

* Enable error handler to mute expected messages

*

* @return void

*/

public static function muteExpectedErrors()

{

/*

error muting is done because some people implemented custom error_handlers using

http://php.net/set_error_handler and for some reason did not understand the following paragraph:

It is important to remember that the standard PHP error handler is completely bypassed for the

error types specified by error_types unless the callback function returns FALSE.

error_reporting() settings will have no effect and your error handler will be called regardless -

however you are still able to read the current value of error_reporting and act appropriately.

Of particular note is that this value will be 0 if the statement that caused the error was

prepended by the @ error-control operator.

Smarty deliberately uses @filemtime() over file_exists() and filemtime() in some places. Reasons include

- @filemtime() is almost twice as fast as using an additional file_exists()

- between file_exists() and filemtime() a possible race condition is opened,

which does not exist using the simple @filemtime() approach.

*/

$error_handler = array('Smarty', 'mutingErrorHandler');

$previous = set_error_handler($error_handler);

// avoid dead loops

if ($previous !== $error_handler) {

Smarty::$_previous_error_handler = $previous;

}

}

/**

* Disable error handler muting expected messages

*

* @return void

*/

public static function unmuteExpectedErrors()

{

restore_error_handler();

}

}

// Check if we're running on windows

Smarty::$_IS_WINDOWS = strtoupper(substr(PHP_OS, 0, 3)) === 'WIN';

// let PCRE (preg_*) treat strings as ISO-8859-1 if we're not dealing with UTF-8

if (Smarty::$_CHARSET !== 'UTF-8') {

Smarty::$_UTF8_MODIFIER = '';

}

/**

* Smarty exception class

*

* @package Smarty

*/

class SmartyException extends Exception

{

public static $escape = false;

public function __toString()

{

return ' --> Smarty: ' . (self::$escape ? htmlentities($this->message) : $this->message) . '

}

}

/**

* Smarty compiler exception class

*

* @package Smarty

*/

class SmartyCompilerException extends SmartyException

{

public function __toString()

{

return ' --> Smarty Compiler: ' . $this->message . '

}

/**

* The line number of the template error

*

* @type int|null

*/

public $line = null;

/**

* The template source snippet relating to the error

*

* @type string|null

*/

public $source = null;

/**

* The raw text of the error message

*

* @type string|null

*/

public $desc = null;

/**

* The resource identifier or template name

*

* @type string|null

*/

public $template = null;

}

/**

* Autoloader

*/

function smartyAutoload($class)

{

$_class = strtolower($class);

static $_classes = array(

'smarty_config_source' => true,

'smarty_config_compiled' => true,

'smarty_security' => true,

'smarty_cacheresource' => true,

'smarty_cacheresource_custom' => true,

'smarty_cacheresource_keyvaluestore' => true,

'smarty_resource' => true,

'smarty_resource_custom' => true,

'smarty_resource_uncompiled' => true,

'smarty_resource_recompiled' => true,

);

if (!strncmp($_class, 'smarty_internal_', 16) || isset($_classes[$_class])) {

include SMARTY_SYSPLUGINS_DIR . $_class . '.php';

}

}

/**

* Project: Smarty: the PHP compiling template engine

* File: Smarty.class.php

* SVN: $Id: Smarty.class.php 4848 2014-06-08 18:12:09Z Uwe.Tews@googlemail.com $

* 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

* For questions, help, comments, discussion, etc., please join the

* Smarty mailing list. Send a blank e-mail to

* smarty-discussion-subscribe@googlegroups.com

*

* @link http://www.smarty.net/

* @copyright 2008 New Digital Group, Inc.

* @author Monte Ohrt

* @author Uwe Tews

* @author Rodney Rehm

* @package Smarty

* @version 3.1.19

*/

/**

* define shorthand directory separator constant

*/

if (!defined('DS')) {

define('DS', DIRECTORY_SEPARATOR);

}

/**

* set SMARTY_DIR to absolute path to Smarty library files.

* Sets SMARTY_DIR only if user application has not already defined it.

*/

if (!defined('SMARTY_DIR')) {

define('SMARTY_DIR', dirname(__FILE__) . DS);

}

/**

* set SMARTY_SYSPLUGINS_DIR to absolute path to Smarty internal plugins.

* Sets SMARTY_SYSPLUGINS_DIR only if user application has not already defined it.

*/

if (!defined('SMARTY_SYSPLUGINS_DIR')) {

define('SMARTY_SYSPLUGINS_DIR', SMARTY_DIR . 'sysplugins' . DS);

}

if (!defined('SMARTY_PLUGINS_DIR')) {

define('SMARTY_PLUGINS_DIR', SMARTY_DIR . 'plugins' . DS);

}

if (!defined('SMARTY_MBSTRING')) {

define('SMARTY_MBSTRING', function_exists('mb_split'));

}

if (!defined('SMARTY_RESOURCE_CHAR_SET')) {

// UTF-8 can only be done properly when mbstring is available!

/**

* @deprecated in favor of Smarty::$_CHARSET

*/

define('SMARTY_RESOURCE_CHAR_SET', SMARTY_MBSTRING ? 'UTF-8' : 'ISO-8859-1');

}

if (!defined('SMARTY_RESOURCE_DATE_FORMAT')) {

/**

* @deprecated in favor of Smarty::$_DATE_FORMAT

*/

define('SMARTY_RESOURCE_DATE_FORMAT', '%b %e, %Y');

}

/**

* register the class autoloader

*/

if (!defined('SMARTY_SPL_AUTOLOAD')) {

define('SMARTY_SPL_AUTOLOAD', 0);

}

if (SMARTY_SPL_AUTOLOAD && set_include_path(get_include_path() . PATH_SEPARATOR . SMARTY_SYSPLUGINS_DIR) !== false) {

$registeredAutoLoadFunctions = spl_autoload_functions();

if (!isset($registeredAutoLoadFunctions['spl_autoload'])) {

spl_autoload_register();

}

} else {

spl_autoload_register('smartyAutoload');

}

/**

* Load always needed external class files

*/

include_once SMARTY_SYSPLUGINS_DIR . 'smarty_internal_data.php';

include_once SMARTY_SYSPLUGINS_DIR . 'smarty_internal_templatebase.php';

include_once SMARTY_SYSPLUGINS_DIR . 'smarty_internal_template.php';

include_once SMARTY_SYSPLUGINS_DIR . 'smarty_resource.php';

include_once SMARTY_SYSPLUGINS_DIR . 'smarty_internal_resource_file.php';

include_once SMARTY_SYSPLUGINS_DIR . 'smarty_cacheresource.php';

include_once SMARTY_SYSPLUGINS_DIR . 'smarty_internal_cacheresource_file.php';

/**

* This is the main Smarty class

*

* @package Smarty

*/

class Smarty extends Smarty_Internal_TemplateBase

{

/**#@+

* constant definitions

*/

/**

* smarty version

*/

const SMARTY_VERSION = 'Smarty-3.1.19';

/**

* define variable scopes

*/

const SCOPE_LOCAL = 0;

const SCOPE_PARENT = 1;

const SCOPE_ROOT = 2;

const SCOPE_GLOBAL = 3;

/**

* define caching modes

*/

const CACHING_OFF = 0;

const CACHING_LIFETIME_CURRENT = 1;

const CACHING_LIFETIME_SAVED = 2;

/**

* define constant for clearing cache files be saved expiration datees

*/

const CLEAR_EXPIRED = - 1;

/**

* define compile check modes

*/

const COMPILECHECK_OFF = 0;

const COMPILECHECK_ON = 1;

const COMPILECHECK_CACHEMISS = 2;

/**

* modes for handling of "<?php ... ?>" tags in templates.

*/

const PHP_PASSTHRU = 0; //-> print tags as plain text

const PHP_QUOTE = 1; //-> escape tags as entities

const PHP_REMOVE = 2; //-> escape tags as entities

const PHP_ALLOW = 3; //-> escape tags as entities

/**

* filter types

*/

const FILTER_POST = 'post';

const FILTER_PRE = 'pre';

const FILTER_OUTPUT = 'output';

const FILTER_VARIABLE = 'variable';

/**

* plugin types

*/

const PLUGIN_FUNCTION = 'function';

const PLUGIN_BLOCK = 'block';

const PLUGIN_COMPILER = 'compiler';

const PLUGIN_MODIFIER = 'modifier';

const PLUGIN_MODIFIERCOMPILER = 'modifiercompiler';

/**#@-*/

/**

* assigned global tpl vars

*/

public static $global_tpl_vars = array();

/**

* error handler returned by set_error_hanlder() in Smarty::muteExpectedErrors()

*/

public static $_previous_error_handler = null;

/**

* contains directories outside of SMARTY_DIR that are to be muted by muteExpectedErrors()

*/

public static $_muted_directories = array();

/**

* Flag denoting if Multibyte String functions are available

*/

public static $_MBSTRING = SMARTY_MBSTRING;

/**

* The character set to adhere to (e.g. "UTF-8")

*/

public static $_CHARSET = SMARTY_RESOURCE_CHAR_SET;

/**

* The date format to be used internally

* (accepts date() and strftime())

*/

public static $_DATE_FORMAT = SMARTY_RESOURCE_DATE_FORMAT;

/**

* Flag denoting if PCRE should run in UTF-8 mode

*/

public static $_UTF8_MODIFIER = 'u';

/**

* Flag denoting if operating system is windows

*/

public static $_IS_WINDOWS = false;

/**#@+

* variables

*/

/**

* auto literal on delimiters with whitspace

*

* @var boolean

*/

public $auto_literal = true;

/**

* display error on not assigned variables

*

* @var boolean

*/

public $error_unassigned = false;

/**

* look up relative filepaths in include_path

*

* @var boolean

*/

public $use_include_path = false;

/**

* template directory

*

* @var array

*/

private $template_dir = array();

/**

* joined template directory string used in cache keys

*

* @var string

*/

public $joined_template_dir = null;

/**

* joined config directory string used in cache keys

*

* @var string

*/

public $joined_config_dir = null;

/**

* default template handler

*

* @var callable

*/

public $default_template_handler_func = null;

/**

* default config handler

*

* @var callable

*/

public $default_config_handler_func = null;

/**

* default plugin handler

*

* @var callable

*/

public $default_plugin_handler_func = null;

/**

* compile directory

*

* @var string

*/

private $compile_dir = null;

/**

* plugins directory

*

* @var array

*/

private $plugins_dir = array();

/**

* cache directory

*

* @var string

*/

private $cache_dir = null;

/**

* config directory

*

* @var array

*/

private $config_dir = array();

/**

* force template compiling?

*

* @var boolean

*/

public $force_compile = false;

/**

* check template for modifications?

*

* @var boolean

*/

public $compile_check = true;

/**

* use sub dirs for compiled/cached files?

*

* @var boolean

*/

public $use_sub_dirs = false;

/**

* allow ambiguous resources (that are made unique by the resource handler)

*

* @var boolean

*/

public $allow_ambiguous_resources = false;

/**

* caching enabled

*

* @var boolean

*/

public $caching = false;

/**

* merge compiled includes

*

* @var boolean

*/

public $merge_compiled_includes = false;

/**

* template inheritance merge compiled includes

*

* @var boolean

*/

public $inheritance_merge_compiled_includes = true;

/**

* cache lifetime in seconds

*

* @var integer

*/

public $cache_lifetime = 3600;

/**

* force cache file creation

*

* @var boolean

*/

public $force_cache = false;

/**

* Set this if you want different sets of cache files for the same

* templates.

*

* @var string

*/

public $cache_id = null;

/**

* Set this if you want different sets of compiled files for the same

* templates.

*

* @var string

*/

public $compile_id = null;

/**

* template left-delimiter

*

* @var string

*/

public $left_delimiter = "{";

/**

* template right-delimiter

*

* @var string

*/

public $right_delimiter = "}";

/**#@+

* security

*/

/**

* class name

* This should be instance of Smarty_Security.

*

* @var string

* @see Smarty_Security

*/

public $security_class = 'Smarty_Security';

/**

* implementation of security class

*

* @var Smarty_Security

*/

public $security_policy = null;

/**

* controls handling of PHP-blocks

*

* @var integer

*/

public $php_handling = self::PHP_PASSTHRU;

/**

* controls if the php template file resource is allowed

*

* @var bool

*/

public $allow_php_templates = false;

/**

* Should compiled-templates be prevented from being called directly?

* {@internal

* Currently used by Smarty_Internal_Template only.

* }}

*

* @var boolean

*/

public $direct_access_security = true;

/**#@-*/

/**

* debug mode

* Setting this to true enables the debug-console.

*

* @var boolean

*/

public $debugging = false;

/**

* This determines if debugging is enable-able from the browser.

*

*

NONE => no debugging control allowed

*

URL => enable debugging when SMARTY_DEBUG is found in the URL.

*

*

* @var string

*/

public $debugging_ctrl = 'NONE';

/**

* Name of debugging URL-param.

* Only used when $debugging_ctrl is set to 'URL'.

* The name of the URL-parameter that activates debugging.

*

* @var type

*/

public $smarty_debug_id = 'SMARTY_DEBUG';

/**

* Path of debug template.

*

* @var string

*/

public $debug_tpl = null;

/**

* When set, smarty uses this value as error_reporting-level.

*

* @var int

*/

public $error_reporting = null;

/**

* Internal flag for getTags()

*

* @var boolean

*/

public $get_used_tags = false;

/**#@+

* config var settings

*/

/**

* Controls whether variables with the same name overwrite each other.

*

* @var boolean

*/

public $config_overwrite = true;

/**

* Controls whether config values of on/true/yes and off/false/no get converted to boolean.

*

* @var boolean

*/

public $config_booleanize = true;

/**

* Controls whether hidden config sections/vars are read from the file.

*

* @var boolean

*/

public $config_read_hidden = false;

/**#@-*/

/**#@+

* resource locking

*/

/**

* locking concurrent compiles

*

* @var boolean

*/

public $compile_locking = true;

/**

* Controls whether cache resources should emply locking mechanism

*

* @var boolean

*/

public $cache_locking = false;

/**

* seconds to wait for acquiring a lock before ignoring the write lock

*

* @var float

*/

public $locking_timeout = 10;

/**#@-*/

/**

* global template functions

*

* @var array

*/

public $template_functions = array();

/**

* resource type used if none given

* Must be an valid key of $registered_resources.

*

* @var string

*/

public $default_resource_type = 'file';

/**

* caching type

* Must be an element of $cache_resource_types.

*

* @var string

*/

public $caching_type = 'file';

/**

* internal config properties

*

* @var array

*/

public $properties = array();

/**

* config type

*

* @var string

*/

public $default_config_type = 'file';

/**

* cached template objects

*

* @var array

*/

public $template_objects = array();

/**

* check If-Modified-Since headers

*

* @var boolean

*/

public $cache_modified_check = false;

/**

* registered plugins

*

* @var array

*/

public $registered_plugins = array();

/**

* plugin search order

*

* @var array

*/

public $plugin_search_order = array('function', 'block', 'compiler', 'class');

/**

* registered objects

*

* @var array

*/

public $registered_objects = array();

/**

* registered classes

*

* @var array

*/

public $registered_classes = array();

/**

* registered filters

*

* @var array

*/

public $registered_filters = array();

/**

* registered resources

*

* @var array

*/

public $registered_resources = array();

/**

* resource handler cache

*

* @var array

*/

public $_resource_handlers = array();

/**

* registered cache resources

*

* @var array

*/

public $registered_cache_resources = array();

/**

* cache resource handler cache

*

* @var array

*/

public $_cacheresource_handlers = array();

/**

* autoload filter

*

* @var array

*/

public $autoload_filters = array();

/**

* default modifier

*

* @var array

*/

public $default_modifiers = array();

/**

* autoescape variable output

*

* @var boolean

*/

public $escape_html = false;

/**

* global internal smarty vars

*

* @var array

*/

public static $_smarty_vars = array();

/**

* start time for execution time calculation

*

* @var int

*/

public $start_time = 0;

/**

* default file permissions

*

* @var int

*/

public $_file_perms = 0644;

/**

* default dir permissions

*

* @var int

*/

public $_dir_perms = 0771;

/**

* block tag hierarchy

*

* @var array

*/

public $_tag_stack = array();

/**

* self pointer to Smarty object

*

* @var Smarty

*/

public $smarty;

/**

* required by the compiler for BC

*

* @var string

*/

public $_current_file = null;

/**

* internal flag to enable parser debugging

*

* @var bool

*/

public $_parserdebug = false;

/**

* Saved parameter of merged templates during compilation

*

* @var array

*/

public $merged_templates_func = array();

/**#@-*/

/**

* Initialize new Smarty object

*/

public function __construct()

{

// selfpointer needed by some other class methods

$this->smarty = $this;

if (is_callable('mb_internal_encoding')) {

mb_internal_encoding(Smarty::$_CHARSET);

}

$this->start_time = microtime(true);

// set default dirs

$this->setTemplateDir('.' . DS . 'templates' . DS)

->setCompileDir('.' . DS . 'templates_c' . DS)

->setPluginsDir(SMARTY_PLUGINS_DIR)

->setCacheDir('.' . DS . 'cache' . DS)

->setConfigDir('.' . DS . 'configs' . DS);

$this->debug_tpl = 'file:' . dirname(__FILE__) . '/debug.tpl';

if (isset($_SERVER['SCRIPT_NAME'])) {

$this->assignGlobal('SCRIPT_NAME', $_SERVER['SCRIPT_NAME']);

}

}

/**

* Class destructor

*/

public function __destruct()

{

// intentionally left blank

}

/**

* <> set selfpointer on cloned object

*/

public function __clone()

{

$this->smarty = $this;

}

/**

* <> Generic getter.

* Calls the appropriate getter function.

* Issues an E_USER_NOTICE if no valid getter is found.

*

* @param string $name property name

*

* @return mixed

*/

public function __get($name)

{

$allowed = array(

'template_dir' => 'getTemplateDir',

'config_dir' => 'getConfigDir',

'plugins_dir' => 'getPluginsDir',

'compile_dir' => 'getCompileDir',

'cache_dir' => 'getCacheDir',

);

if (isset($allowed[$name])) {

return $this->{$allowed[$name]}();

} else {

trigger_error('Undefined property: ' . get_class($this) . '::$' . $name, E_USER_NOTICE);

}

}

/**

* <> Generic setter.

* Calls the appropriate setter function.

* Issues an E_USER_NOTICE if no valid setter is found.

*

* @param string $name property name

* @param mixed $value parameter passed to setter

*/

public function __set($name, $value)

{

$allowed = array(

'template_dir' => 'setTemplateDir',

'config_dir' => 'setConfigDir',

'plugins_dir' => 'setPluginsDir',

'compile_dir' => 'setCompileDir',

'cache_dir' => 'setCacheDir',

);

if (isset($allowed[$name])) {

$this->{$allowed[$name]}($value);

} else {

trigger_error('Undefined property: ' . get_class($this) . '::$' . $name, E_USER_NOTICE);

}

}

/**

* Check if a template resource exists

*

* @param string $resource_name template name

*

* @return boolean status

*/

public function templateExists($resource_name)

{

// create template object

$save = $this->template_objects;

$tpl = new $this->template_class($resource_name, $this);

// check if it does exists

$result = $tpl->source->exists;

$this->template_objects = $save;

return $result;

}

/**

* Returns a single or all global variables

*

* @param string $varname variable name or null

*

* @return string variable value or or array of variables

*/

public function getGlobal($varname = null)

{

if (isset($varname)) {

if (isset(self::$global_tpl_vars[$varname])) {

return self::$global_tpl_vars[$varname]->value;

} else {

return '';

}

} else {

$_result = array();

foreach (self::$global_tpl_vars AS $key => $var) {

$_result[$key] = $var->value;

}

return $_result;

}

}

/**

* Empty cache folder

*

* @param integer $exp_time expiration time

* @param string $type resource type

*

* @return integer number of cache files deleted

*/

public function clearAllCache($exp_time = null, $type = null)

{

// load cache resource and call clearAll

$_cache_resource = Smarty_CacheResource::load($this, $type);

Smarty_CacheResource::invalidLoadedCache($this);

return $_cache_resource->clearAll($this, $exp_time);

}

/**

* Empty cache for a specific template

*

* @param string $template_name template name

* @param string $cache_id cache id

* @param string $compile_id compile id

* @param integer $exp_time expiration time

* @param string $type resource type

*

* @return integer number of cache files deleted

*/

public function clearCache($template_name, $cache_id = null, $compile_id = null, $exp_time = null, $type = null)

{

// load cache resource and call clear

$_cache_resource = Smarty_CacheResource::load($this, $type);

Smarty_CacheResource::invalidLoadedCache($this);

return $_cache_resource->clear($this, $template_name, $cache_id, $compile_id, $exp_time);

}

/**

* Loads security class and enables security

*

* @param string|Smarty_Security $security_class if a string is used, it must be class-name

*

* @return Smarty current Smarty instance for chaining

* @throws SmartyException when an invalid class name is provided

*/

public function enableSecurity($security_class = null)

{

if ($security_class instanceof Smarty_Security) {

$this->security_policy = $security_class;

return $this;

} elseif (is_object($security_class)) {

throw new SmartyException("Class '" . get_class($security_class) . "' must extend Smarty_Security.");

}

if ($security_class == null) {

$security_class = $this->security_class;

}

if (!class_exists($security_class)) {

throw new SmartyException("Security class '$security_class' is not defined");

} elseif ($security_class !== 'Smarty_Security' && !is_subclass_of($security_class, 'Smarty_Security')) {

throw new SmartyException("Class '$security_class' must extend Smarty_Security.");

} else {

$this->security_policy = new $security_class($this);

}

return $this;

}

/**

* Disable security

*

* @return Smarty current Smarty instance for chaining

*/

public function disableSecurity()

{

$this->security_policy = null;

return $this;

}

/**

* Set template directory

*

* @param string|array $template_dir directory(s) of template sources

*

* @return Smarty current Smarty instance for chaining

*/

public function setTemplateDir($template_dir)

{

$this->template_dir = array();

foreach ((array) $template_dir as $k => $v) {

$this->template_dir[$k] = preg_replace('#(\w+)(/|\\\\){1,}#', '$1$2', rtrim($v, '/\\')) . DS;

}

$this->joined_template_dir = join(DIRECTORY_SEPARATOR, $this->template_dir);

return $this;

}

/**

* Add template directory(s)

*

* @param string|array $template_dir directory(s) of template sources

* @param string $key of the array element to assign the template dir to

*

* @return Smarty current Smarty instance for chaining

* @throws SmartyException when the given template directory is not valid

*/

public function addTemplateDir($template_dir, $key = null)

{

// make sure we're dealing with an array

$this->template_dir = (array) $this->template_dir;

if (is_array($template_dir)) {

foreach ($template_dir as $k => $v) {

$v = preg_replace('#(\w+)(/|\\\\){1,}#', '$1$2', rtrim($v, '/\\')) . DS;

if (is_int($k)) {

// indexes are not merged but appended

$this->template_dir[] = $v;

} else {

// string indexes are overridden

$this->template_dir[$k] = $v;

}

}

} else {

$v = preg_replace('#(\w+)(/|\\\\){1,}#', '$1$2', rtrim($template_dir, '/\\')) . DS;

if ($key !== null) {

// override directory at specified index

$this->template_dir[$key] = $v;

} else {

// append new directory

$this->template_dir[] = $v;

}

}

$this->joined_template_dir = join(DIRECTORY_SEPARATOR, $this->template_dir);

return $this;

}

/**

* Get template directories

*

* @param mixed $index index of directory to get, null to get all

*

* @return array|string list of template directories, or directory of $index

*/

public function getTemplateDir($index = null)

{

if ($index !== null) {

return isset($this->template_dir[$index]) ? $this->template_dir[$index] : null;

}

return (array) $this->template_dir;

}

/**

* Set config directory

*

* @param $config_dir

*

* @return Smarty current Smarty instance for chaining

*/

public function setConfigDir($config_dir)

{

$this->config_dir = array();

foreach ((array) $config_dir as $k => $v) {

$this->config_dir[$k] = preg_replace('#(\w+)(/|\\\\){1,}#', '$1$2', rtrim($v, '/\\')) . DS;

}

$this->joined_config_dir = join(DIRECTORY_SEPARATOR, $this->config_dir);

return $this;

}

/**

* Add config directory(s)

*

* @param string|array $config_dir directory(s) of config sources

* @param mixed $key key of the array element to assign the config dir to

*

* @return Smarty current Smarty instance for chaining

*/

public function addConfigDir($config_dir, $key = null)

{

// make sure we're dealing with an array

$this->config_dir = (array) $this->config_dir;

if (is_array($config_dir)) {

foreach ($config_dir as $k => $v) {

$v = preg_replace('#(\w+)(/|\\\\){1,}#', '$1$2', rtrim($v, '/\\')) . DS;

if (is_int($k)) {

// indexes are not merged but appended

$this->config_dir[] = $v;

} else {

// string indexes are overridden

$this->config_dir[$k] = $v;

}

}

} else {

$v = preg_replace('#(\w+)(/|\\\\){1,}#', '$1$2', rtrim($config_dir, '/\\')) . DS;

if ($key !== null) {

// override directory at specified index

$this->config_dir[$key] = rtrim($v, '/\\') . DS;

} else {

// append new directory

$this->config_dir[] = rtrim($v, '/\\') . DS;

}

}

$this->joined_config_dir = join(DIRECTORY_SEPARATOR, $this->config_dir);

return $this;

}

/**

* Get config directory

*

* @param mixed $index index of directory to get, null to get all

*

* @return array|string configuration directory

*/

public function getConfigDir($index = null)

{

if ($index !== null) {

return isset($this->config_dir[$index]) ? $this->config_dir[$index] : null;

}

return (array) $this->config_dir;

}

/**

* Set plugins directory

*

* @param string|array $plugins_dir directory(s) of plugins

*

* @return Smarty current Smarty instance for chaining

*/

public function setPluginsDir($plugins_dir)

{

$this->plugins_dir = array();

foreach ((array) $plugins_dir as $k => $v) {

$this->plugins_dir[$k] = rtrim($v, '/\\') . DS;

}

return $this;

}

/**

* Adds directory of plugin files

*

* @param $plugins_dir

*

* @return Smarty current Smarty instance for chaining

*/

public function addPluginsDir($plugins_dir)

{

// make sure we're dealing with an array

$this->plugins_dir = (array) $this->plugins_dir;

if (is_array($plugins_dir)) {

foreach ($plugins_dir as $k => $v) {

if (is_int($k)) {

// indexes are not merged but appended

$this->plugins_dir[] = rtrim($v, '/\\') . DS;

} else {

// string indexes are overridden

$this->plugins_dir[$k] = rtrim($v, '/\\') . DS;

}

}

} else {

// append new directory

$this->plugins_dir[] = rtrim($plugins_dir, '/\\') . DS;

}

$this->plugins_dir = array_unique($this->plugins_dir);

return $this;

}

/**

* Get plugin directories

*

* @return array list of plugin directories

*/

public function getPluginsDir()

{

return (array) $this->plugins_dir;

}

/**

* Set compile directory

*

* @param string $compile_dir directory to store compiled templates in

*

* @return Smarty current Smarty instance for chaining

*/

public function setCompileDir($compile_dir)

{

$this->compile_dir = rtrim($compile_dir, '/\\') . DS;

if (!isset(Smarty::$_muted_directories[$this->compile_dir])) {

Smarty::$_muted_directories[$this->compile_dir] = null;

}

return $this;

}

/**

* Get compiled directory

*

* @return string path to compiled templates

*/

public function getCompileDir()

{

return $this->compile_dir;

}

/**

* Set cache directory

*

* @param string $cache_dir directory to store cached templates in

*

* @return Smarty current Smarty instance for chaining

*/

public function setCacheDir($cache_dir)

{

$this->cache_dir = rtrim($cache_dir, '/\\') . DS;

if (!isset(Smarty::$_muted_directories[$this->cache_dir])) {

Smarty::$_muted_directories[$this->cache_dir] = null;

}

return $this;

}

/**

* Get cache directory

*

* @return string path of cache directory

*/

public function getCacheDir()

{

return $this->cache_dir;

}

/**

* Set default modifiers

*

* @param array|string $modifiers modifier or list of modifiers to set

*

* @return Smarty current Smarty instance for chaining

*/

public function setDefaultModifiers($modifiers)

{

$this->default_modifiers = (array) $modifiers;

return $this;

}

/**

* Add default modifiers

*

* @param array|string $modifiers modifier or list of modifiers to add

*

* @return Smarty current Smarty instance for chaining

*/

public function addDefaultModifiers($modifiers)

{

if (is_array($modifiers)) {

$this->default_modifiers = array_merge($this->default_modifiers, $modifiers);

} else {

$this->default_modifiers[] = $modifiers;

}

return $this;

}

/**

* Get default modifiers

*

* @return array list of default modifiers

*/

public function getDefaultModifiers()

{

return $this->default_modifiers;

}

/**

* Set autoload filters

*

* @param array $filters filters to load automatically

* @param string $type "pre", "output", … specify the filter type to set. Defaults to none treating $filters' keys as the appropriate types

*

* @return Smarty current Smarty instance for chaining

*/

public function setAutoloadFilters($filters, $type = null)

{

if ($type !== null) {

$this->autoload_filters[$type] = (array) $filters;

} else {

$this->autoload_filters = (array) $filters;

}

return $this;

}

/**

* Add autoload filters

*

* @param array $filters filters to load automatically

* @param string $type "pre", "output", … specify the filter type to set. Defaults to none treating $filters' keys as the appropriate types

*

* @return Smarty current Smarty instance for chaining

*/

public function addAutoloadFilters($filters, $type = null)

{

if ($type !== null) {

if (!empty($this->autoload_filters[$type])) {

$this->autoload_filters[$type] = array_merge($this->autoload_filters[$type], (array) $filters);

} else {

$this->autoload_filters[$type] = (array) $filters;

}

} else {

foreach ((array) $filters as $key => $value) {

if (!empty($this->autoload_filters[$key])) {

$this->autoload_filters[$key] = array_merge($this->autoload_filters[$key], (array) $value);

} else {

$this->autoload_filters[$key] = (array) $value;

}

}

}

return $this;

}

/**

* Get autoload filters

*

* @param string $type type of filter to get autoloads for. Defaults to all autoload filters

*

* @return array array( 'type1' => array( 'filter1', 'filter2', … ) ) or array( 'filter1', 'filter2', …) if $type was specified

*/

public function getAutoloadFilters($type = null)

{

if ($type !== null) {

return isset($this->autoload_filters[$type]) ? $this->autoload_filters[$type] : array();

}

return $this->autoload_filters;

}

/**

* return name of debugging template

*

* @return string

*/

public function getDebugTemplate()

{

return $this->debug_tpl;

}

/**

* set the debug template

*

* @param string $tpl_name

*

* @return Smarty current Smarty instance for chaining

* @throws SmartyException if file is not readable

*/

public function setDebugTemplate($tpl_name)

{

if (!is_readable($tpl_name)) {

throw new SmartyException("Unknown file '{$tpl_name}'");

}

$this->debug_tpl = $tpl_name;

return $this;

}

/**

* creates a template object

*

* @param string $template the resource handle of the template file

* @param mixed $cache_id cache id to be used with this template

* @param mixed $compile_id compile id to be used with this template

* @param object $parent next higher level of Smarty variables

* @param boolean $do_clone flag is Smarty object shall be cloned

*

* @return object template object

*/

public function createTemplate($template, $cache_id = null, $compile_id = null, $parent = null, $do_clone = true)

{

if ($cache_id !== null && (is_object($cache_id) || is_array($cache_id))) {

$parent = $cache_id;

$cache_id = null;

}

if ($parent !== null && is_array($parent)) {

$data = $parent;

$parent = null;

} else {

$data = null;

}

// default to cache_id and compile_id of Smarty object

$cache_id = $cache_id === null ? $this->cache_id : $cache_id;

$compile_id = $compile_id === null ? $this->compile_id : $compile_id;

// already in template cache?

if ($this->allow_ambiguous_resources) {

$_templateId = Smarty_Resource::getUniqueTemplateName($this, $template) . $cache_id . $compile_id;

} else {

$_templateId = $this->joined_template_dir . '#' . $template . $cache_id . $compile_id;

}

if (isset($_templateId[150])) {

$_templateId = sha1($_templateId);

}

if ($do_clone) {

if (isset($this->template_objects[$_templateId])) {

// return cached template object

$tpl = clone $this->template_objects[$_templateId];

$tpl->smarty = clone $tpl->smarty;

$tpl->parent = $parent;

$tpl->tpl_vars = array();

$tpl->config_vars = array();

} else {

$tpl = new $this->template_class($template, clone $this, $parent, $cache_id, $compile_id);

}

} else {

if (isset($this->template_objects[$_templateId])) {

// return cached template object

$tpl = $this->template_objects[$_templateId];

$tpl->parent = $parent;

$tpl->tpl_vars = array();

$tpl->config_vars = array();

} else {

$tpl = new $this->template_class($template, $this, $parent, $cache_id, $compile_id);

}

}

// fill data if present

if (!empty($data) && is_array($data)) {

// set up variable values

foreach ($data as $_key => $_val) {

$tpl->tpl_vars[$_key] = new Smarty_variable($_val);

}

}

return $tpl;

}

/**

* Takes unknown classes and loads plugin files for them

* class name format: Smarty_PluginType_PluginName

* plugin filename format: plugintype.pluginname.php

*

* @param string $plugin_name class plugin name to load

* @param bool $check check if already loaded

*

* @throws SmartyException

* @return string |boolean filepath of loaded file or false

*/

public function loadPlugin($plugin_name, $check = true)

{

// if function or class exists, exit silently (already loaded)

if ($check && (is_callable($plugin_name) || class_exists($plugin_name, false))) {

return true;

}

// Plugin name is expected to be: Smarty_[Type]_[Name]

$_name_parts = explode('_', $plugin_name, 3);

// class name must have three parts to be valid plugin

// count($_name_parts) < 3 === !isset($_name_parts[2])

if (!isset($_name_parts[2]) || strtolower($_name_parts[0]) !== 'smarty') {

throw new SmartyException("plugin {$plugin_name} is not a valid name format");

}

// if type is "internal", get plugin from sysplugins

if (strtolower($_name_parts[1]) == 'internal') {

$file = SMARTY_SYSPLUGINS_DIR . strtolower($plugin_name) . '.php';

if (file_exists($file)) {

require_once($file);

return $file;

} else {

return false;

}

}

// plugin filename is expected to be: [type].[name].php

$_plugin_filename = "{$_name_parts[1]}.{$_name_parts[2]}.php";

$_stream_resolve_include_path = function_exists('stream_resolve_include_path');

// loop through plugin dirs and find the plugin

foreach ($this->getPluginsDir() as $_plugin_dir) {

$names = array(

$_plugin_dir . $_plugin_filename,

$_plugin_dir . strtolower($_plugin_filename),

);

foreach ($names as $file) {

if (file_exists($file)) {

require_once($file);

return $file;

}

if ($this->use_include_path && !preg_match('/^([\/\\\\]|[a-zA-Z]:[\/\\\\])/', $_plugin_dir)) {

// try PHP include_path

if ($_stream_resolve_include_path) {

$file = stream_resolve_include_path($file);

} else {

$file = Smarty_Internal_Get_Include_Path::getIncludePath($file);

}

if ($file !== false) {

require_once($file);

return $file;

}

}

}

}

// no plugin loaded

return false;

}

/**

* Compile all template files

*

* @param string $extension file extension

* @param bool $force_compile force all to recompile

* @param int $time_limit

* @param int $max_errors

*

* @return integer number of template files recompiled

*/

public function compileAllTemplates($extension = '.tpl', $force_compile = false, $time_limit = 0, $max_errors = null)

{

return Smarty_Internal_Utility::compileAllTemplates($extension, $force_compile, $time_limit, $max_errors, $this);

}

/**

* Compile all config files

*

* @param string $extension file extension

* @param bool $force_compile force all to recompile

* @param int $time_limit

* @param int $max_errors

*

* @return integer number of template files recompiled

*/

public function compileAllConfig($extension = '.conf', $force_compile = false, $time_limit = 0, $max_errors = null)

{

return Smarty_Internal_Utility::compileAllConfig($extension, $force_compile, $time_limit, $max_errors, $this);

}

/**

* Delete compiled template file

*

* @param string $resource_name template name

* @param string $compile_id compile id

* @param integer $exp_time expiration time

*

* @return integer number of template files deleted

*/

public function clearCompiledTemplate($resource_name = null, $compile_id = null, $exp_time = null)

{

return Smarty_Internal_Utility::clearCompiledTemplate($resource_name, $compile_id, $exp_time, $this);

}

/**

* Return array of tag/attributes of all tags used by an template

*

* @param Smarty_Internal_Template $template

*

* @return array of tag/attributes

*/

public function getTags(Smarty_Internal_Template $template)

{

return Smarty_Internal_Utility::getTags($template);

}

/**

* Run installation test

*

* @param array $errors Array to write errors into, rather than outputting them

*

* @return boolean true if setup is fine, false if something is wrong

*/

public function testInstall(&$errors = null)

{

return Smarty_Internal_Utility::testInstall($this, $errors);

}

/**

* Error Handler to mute expected messages

*

* @link http://php.net/set_error_handler

*

* @param integer $errno Error level

* @param $errstr

* @param $errfile

* @param $errline

* @param $errcontext

*

* @return boolean

*/

public static function mutingErrorHandler($errno, $errstr, $errfile, $errline, $errcontext)

{

$_is_muted_directory = false;

// add the SMARTY_DIR to the list of muted directories

if (!isset(Smarty::$_muted_directories[SMARTY_DIR])) {

$smarty_dir = realpath(SMARTY_DIR);

if ($smarty_dir !== false) {

Smarty::$_muted_directories[SMARTY_DIR] = array(

'file' => $smarty_dir,

'length' => strlen($smarty_dir),

);

}

}

// walk the muted directories and test against $errfile

foreach (Smarty::$_muted_directories as $key => &$dir) {

if (!$dir) {

// resolve directory and length for speedy comparisons

$file = realpath($key);

if ($file === false) {

// this directory does not exist, remove and skip it

unset(Smarty::$_muted_directories[$key]);

continue;

}

$dir = array(

'file' => $file,

'length' => strlen($file),

);

}

if (!strncmp($errfile, $dir['file'], $dir['length'])) {

$_is_muted_directory = true;

break;

}

}

// pass to next error handler if this error did not occur inside SMARTY_DIR

// or the error was within smarty but masked to be ignored

if (!$_is_muted_directory || ($errno && $errno & error_reporting())) {

if (Smarty::$_previous_error_handler) {

return call_user_func(Smarty::$_previous_error_handler, $errno, $errstr, $errfile, $errline, $errcontext);

} else {

return false;

}

}

}

/**

* Enable error handler to mute expected messages

*

* @return void

*/

public static function muteExpectedErrors()

{

/*

error muting is done because some people implemented custom error_handlers using

http://php.net/set_error_handler and for some reason did not understand the following paragraph:

It is important to remember that the standard PHP error handler is completely bypassed for the

error types specified by error_types unless the callback function returns FALSE.

error_reporting() settings will have no effect and your error handler will be called regardless -

however you are still able to read the current value of error_reporting and act appropriately.

Of particular note is that this value will be 0 if the statement that caused the error was

prepended by the @ error-control operator.

Smarty deliberately uses @filemtime() over file_exists() and filemtime() in some places. Reasons include

- @filemtime() is almost twice as fast as using an additional file_exists()

- between file_exists() and filemtime() a possible race condition is opened,

which does not exist using the simple @filemtime() approach.

*/

$error_handler = array('Smarty', 'mutingErrorHandler');

$previous = set_error_handler($error_handler);

// avoid dead loops

if ($previous !== $error_handler) {

Smarty::$_previous_error_handler = $previous;

}

}

/**

* Disable error handler muting expected messages

*

* @return void

*/

public static function unmuteExpectedErrors()

{

restore_error_handler();

}

}

// Check if we're running on windows

Smarty::$_IS_WINDOWS = strtoupper(substr(PHP_OS, 0, 3)) === 'WIN';

// let PCRE (preg_*) treat strings as ISO-8859-1 if we're not dealing with UTF-8

if (Smarty::$_CHARSET !== 'UTF-8') {

Smarty::$_UTF8_MODIFIER = '';

}

/**

* Smarty exception class

*

* @package Smarty

*/

class SmartyException extends Exception

{

public static $escape = false;

public function __toString()

{

return ' --> Smarty: ' . (self::$escape ? htmlentities($this->message) : $this->message) . '

}

}

/**

* Smarty compiler exception class

*

* @package Smarty

*/

class SmartyCompilerException extends SmartyException

{

public function __toString()

{

return ' --> Smarty Compiler: ' . $this->message . '

}

/**

* The line number of the template error

*

* @type int|null

*/

public $line = null;

/**

* The template source snippet relating to the error

*

* @type string|null

*/

public $source = null;

/**

* The raw text of the error message

*

* @type string|null

*/

public $desc = null;

/**

* The resource identifier or template name

*

* @type string|null

*/

public $template = null;

}

/**

* Autoloader

*/

function smartyAutoload($class)

{

$_class = strtolower($class);

static $_classes = array(

'smarty_config_source' => true,

'smarty_config_compiled' => true,

'smarty_security' => true,

'smarty_cacheresource' => true,

'smarty_cacheresource_custom' => true,

'smarty_cacheresource_keyvaluestore' => true,

'smarty_resource' => true,

'smarty_resource_custom' => true,

'smarty_resource_uncompiled' => true,

'smarty_resource_recompiled' => true,

);

if (!strncmp($_class, 'smarty_internal_', 16) || isset($_classes[$_class])) {

include SMARTY_SYSPLUGINS_DIR . $_class . '.php';

}

}

希望本文所述對大家基于smarty模板的PHP程序設計有所幫助。

總結

以上是生活随笔為你收集整理的php smarty extends,php封装的smarty类完整实例的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內容還不錯,歡迎將生活随笔推薦給好友。

成人女人看片免费视频放人 | 亚洲国产精品一区二区第一页 | 大乳丰满人妻中文字幕日本 | 亚洲gv猛男gv无码男同 | 99在线 | 亚洲 | 内射老妇bbwx0c0ck | 巨爆乳无码视频在线观看 | 精品久久久久久人妻无码中文字幕 | a在线观看免费网站大全 | 老太婆性杂交欧美肥老太 | 精品无码国产一区二区三区av | 久久久久久久久蜜桃 | 内射巨臀欧美在线视频 | 天天摸天天透天天添 | 国产亚洲日韩欧美另类第八页 | 一本大道伊人av久久综合 | 亚洲午夜福利在线观看 | 欧美 日韩 人妻 高清 中文 | 少妇的肉体aa片免费 | 水蜜桃亚洲一二三四在线 | 亚洲 高清 成人 动漫 | 欧美精品无码一区二区三区 | 日日橹狠狠爱欧美视频 | 欧美午夜特黄aaaaaa片 | 欧美兽交xxxx×视频 | 丰满人妻被黑人猛烈进入 | 国产人妖乱国产精品人妖 | 日韩欧美中文字幕公布 | 国产成人无码一二三区视频 | 日日天日日夜日日摸 | 日本饥渴人妻欲求不满 | 精品久久久中文字幕人妻 | 麻豆av传媒蜜桃天美传媒 | 97se亚洲精品一区 | 巨爆乳无码视频在线观看 | 亚洲中文无码av永久不收费 | 老司机亚洲精品影院 | 在线成人www免费观看视频 | 亚洲人亚洲人成电影网站色 | 欧美日韩亚洲国产精品 | 人妻插b视频一区二区三区 | 国产精品香蕉在线观看 | 野外少妇愉情中文字幕 | 日本一区二区三区免费高清 | 免费乱码人妻系列无码专区 | 日韩精品成人一区二区三区 | 精品久久久久久亚洲精品 | 色婷婷综合中文久久一本 | 嫩b人妻精品一区二区三区 | 午夜福利不卡在线视频 | 久久亚洲中文字幕无码 | 中文字幕无码av激情不卡 | 精品人妻av区 | 亚洲狠狠婷婷综合久久 | 国产人妻精品一区二区三区不卡 | 东京热一精品无码av | 亚洲а∨天堂久久精品2021 | 少妇性l交大片欧洲热妇乱xxx | 亚洲男女内射在线播放 | 丰满妇女强制高潮18xxxx | 精品国精品国产自在久国产87 | 国产精品久久久久久亚洲毛片 | 国产精品无码成人午夜电影 | 亚洲色欲久久久综合网东京热 | 欧美老妇交乱视频在线观看 | 大胆欧美熟妇xx | 午夜福利一区二区三区在线观看 | 国产三级精品三级男人的天堂 | 1000部啪啪未满十八勿入下载 | 国产精品18久久久久久麻辣 | 天天摸天天透天天添 | 国产成人精品优优av | 人人妻人人澡人人爽欧美一区九九 | 欧美高清在线精品一区 | 久久综合久久自在自线精品自 | 亚洲精品久久久久久一区二区 | 亲嘴扒胸摸屁股激烈网站 | 精品无码一区二区三区的天堂 | 欧美日韩视频无码一区二区三 | 丁香花在线影院观看在线播放 | www国产亚洲精品久久久日本 | 成年美女黄网站色大免费视频 | 国产成人精品无码播放 | 狠狠躁日日躁夜夜躁2020 | 精品一区二区三区无码免费视频 | 男人的天堂2018无码 | 亚洲人成影院在线无码按摩店 | 国产午夜视频在线观看 | 国产精品99久久精品爆乳 | 丰满少妇高潮惨叫视频 | 久久精品国产一区二区三区肥胖 | 久久久久国色av免费观看性色 | 18精品久久久无码午夜福利 | 狠狠色噜噜狠狠狠狠7777米奇 | 狂野欧美性猛交免费视频 | 国产免费无码一区二区视频 | 亚洲综合伊人久久大杳蕉 | 精品久久8x国产免费观看 | 亚洲精品综合一区二区三区在线 | 日韩人妻少妇一区二区三区 | 对白脏话肉麻粗话av | 国产黄在线观看免费观看不卡 | 奇米影视7777久久精品人人爽 | 国产精品无码mv在线观看 | 亚洲精品久久久久久久久久久 | 97精品人妻一区二区三区香蕉 | 国产激情艳情在线看视频 | 成人无码视频在线观看网站 | 国产精品无码一区二区桃花视频 | 4hu四虎永久在线观看 | 久久久久久久人妻无码中文字幕爆 | 国产高清不卡无码视频 | 天天爽夜夜爽夜夜爽 | 图片区 小说区 区 亚洲五月 | 人妻互换免费中文字幕 | 精品久久久久久亚洲精品 | 久久精品国产精品国产精品污 | 波多野结衣aⅴ在线 | 无码一区二区三区在线 | 亚洲欧美精品伊人久久 | 国产成人综合美国十次 | 国产无av码在线观看 | 性生交片免费无码看人 | 无码免费一区二区三区 | 欧美自拍另类欧美综合图片区 | 欧美日韩视频无码一区二区三 | 日韩欧美群交p片內射中文 | 免费国产黄网站在线观看 | 亚洲综合色区中文字幕 | 亚洲啪av永久无码精品放毛片 | 漂亮人妻洗澡被公强 日日躁 | 日韩无套无码精品 | 久久久久se色偷偷亚洲精品av | 国产真实夫妇视频 | 高中生自慰www网站 | 无码人妻丰满熟妇区毛片18 | 天天综合网天天综合色 | 亚洲精品国产精品乱码不卡 | 狠狠色噜噜狠狠狠7777奇米 | 动漫av一区二区在线观看 | 巨爆乳无码视频在线观看 | 中文字幕av伊人av无码av | 国产高清av在线播放 | 亚洲国产精华液网站w | 天海翼激烈高潮到腰振不止 | 性欧美疯狂xxxxbbbb | 亚洲精品成a人在线观看 | www国产精品内射老师 | 国产真人无遮挡作爱免费视频 | 亚洲熟妇自偷自拍另类 | 亚洲国产欧美日韩精品一区二区三区 | 老司机亚洲精品影院 | 亚洲精品综合一区二区三区在线 | 精品少妇爆乳无码av无码专区 | 久久久久99精品国产片 | 国产精品理论片在线观看 | 亚洲精品一区二区三区婷婷月 | 国产卡一卡二卡三 | 亚洲爆乳精品无码一区二区三区 | 午夜熟女插插xx免费视频 | 精品久久久中文字幕人妻 | 亚洲精品国产精品乱码视色 | 精品亚洲成av人在线观看 | 中文字幕无码av激情不卡 | 亚洲成av人在线观看网址 | 丝袜足控一区二区三区 | 亚洲综合久久一区二区 | 国产精品久久久久7777 | 丰满少妇人妻久久久久久 | 国产精品无套呻吟在线 | 日本va欧美va欧美va精品 | 女人被爽到呻吟gif动态图视看 | 无码精品国产va在线观看dvd | 亚洲综合久久一区二区 | 日日噜噜噜噜夜夜爽亚洲精品 | 国产福利视频一区二区 | 小鲜肉自慰网站xnxx | 精品水蜜桃久久久久久久 | 国产精品久久久久7777 | 亚洲色在线无码国产精品不卡 | 国产乱人偷精品人妻a片 | 男人的天堂2018无码 | 在线天堂新版最新版在线8 | 2020久久香蕉国产线看观看 | 国模大胆一区二区三区 | 国产三级久久久精品麻豆三级 | 欧美xxxx黑人又粗又长 | 国精产品一品二品国精品69xx | 亚洲男女内射在线播放 | 国产亚洲精品久久久ai换 | 欧美日本精品一区二区三区 | 免费国产成人高清在线观看网站 | 又紧又大又爽精品一区二区 | 久久久无码中文字幕久... | 天堂无码人妻精品一区二区三区 | 亚洲国产精品一区二区美利坚 | 天天躁夜夜躁狠狠是什么心态 | 亚洲成熟女人毛毛耸耸多 | 无码人妻少妇伦在线电影 | 精品国产一区二区三区四区 | 少妇的肉体aa片免费 | 中文字幕无码av激情不卡 | 日本饥渴人妻欲求不满 | 日本va欧美va欧美va精品 | 久久精品国产大片免费观看 | 色狠狠av一区二区三区 | 少妇无码av无码专区在线观看 | 欧美日韩在线亚洲综合国产人 | av无码电影一区二区三区 | 无码一区二区三区在线 | 未满成年国产在线观看 | 67194成是人免费无码 | 亚洲成熟女人毛毛耸耸多 | 精品偷自拍另类在线观看 | 红桃av一区二区三区在线无码av | а√天堂www在线天堂小说 | 又大又硬又黄的免费视频 | 国产无遮挡又黄又爽又色 | 久久无码专区国产精品s | 国产亚洲精品久久久久久 | 狠狠色丁香久久婷婷综合五月 | 97久久国产亚洲精品超碰热 | 精品偷拍一区二区三区在线看 | 久久熟妇人妻午夜寂寞影院 | 无码av岛国片在线播放 | 中文毛片无遮挡高清免费 | 97人妻精品一区二区三区 | 久久成人a毛片免费观看网站 | 少女韩国电视剧在线观看完整 | 人妻少妇被猛烈进入中文字幕 | 国产色精品久久人妻 | 久久精品人人做人人综合试看 | 免费无码一区二区三区蜜桃大 | 亚洲人成网站色7799 | 精品国产麻豆免费人成网站 | 欧美肥老太牲交大战 | 久久精品中文闷骚内射 | 国内精品九九久久久精品 | 亚洲日韩av一区二区三区四区 | 久久精品中文字幕一区 | 色婷婷综合中文久久一本 | 免费人成网站视频在线观看 | 国产网红无码精品视频 | 51国偷自产一区二区三区 | 国产sm调教视频在线观看 | 精品国产精品久久一区免费式 | 狠狠噜狠狠狠狠丁香五月 | 女人被男人躁得好爽免费视频 | 999久久久国产精品消防器材 | 在线精品国产一区二区三区 | 日韩亚洲欧美中文高清在线 | 巨爆乳无码视频在线观看 | 色综合视频一区二区三区 | 给我免费的视频在线观看 | 俺去俺来也在线www色官网 | 亚洲中文字幕在线无码一区二区 | a在线亚洲男人的天堂 | 中文字幕无码免费久久9一区9 | 天堂а√在线中文在线 | 久久久久av无码免费网 | 欧美自拍另类欧美综合图片区 | 国产精品怡红院永久免费 | 亚洲国产精品毛片av不卡在线 | 久久久av男人的天堂 | 成人无码视频免费播放 | 色综合视频一区二区三区 | 亚洲日本在线电影 | 熟女俱乐部五十路六十路av | 久久熟妇人妻午夜寂寞影院 | 亚洲色大成网站www | 久久99精品久久久久婷婷 | 少妇无码av无码专区在线观看 | 人妻无码αv中文字幕久久琪琪布 | 亚洲成a人片在线观看无码3d | 国产精品亚洲专区无码不卡 | 亚洲国产精品无码久久久久高潮 | 精品厕所偷拍各类美女tp嘘嘘 | 97se亚洲精品一区 | 曰本女人与公拘交酡免费视频 | 久久久国产精品无码免费专区 | 扒开双腿疯狂进出爽爽爽视频 | 亚洲理论电影在线观看 | 精品一区二区三区波多野结衣 | 77777熟女视频在线观看 а天堂中文在线官网 | 国产精品久久久av久久久 | 午夜无码区在线观看 | 乱码av麻豆丝袜熟女系列 | 日本一区二区更新不卡 | 高清国产亚洲精品自在久久 | 给我免费的视频在线观看 | 欧美日韩色另类综合 | 欧美日韩久久久精品a片 | 欧美老人巨大xxxx做受 | 高中生自慰www网站 | 亚洲精品国产精品乱码不卡 | 久久国产精品精品国产色婷婷 | 特黄特色大片免费播放器图片 | 国产一区二区三区精品视频 | 亚洲日韩中文字幕在线播放 | 无码国产激情在线观看 | 捆绑白丝粉色jk震动捧喷白浆 | 天堂久久天堂av色综合 | 精品久久综合1区2区3区激情 | 久久久久99精品成人片 | 在线精品国产一区二区三区 | 色综合久久88色综合天天 | 熟妇女人妻丰满少妇中文字幕 | 少妇无码吹潮 | 波多野结衣高清一区二区三区 | 乱人伦人妻中文字幕无码 | 日本精品少妇一区二区三区 | 成人三级无码视频在线观看 | 免费播放一区二区三区 | 欧美性色19p | 少妇被黑人到高潮喷出白浆 | 欧美丰满熟妇xxxx性ppx人交 | 国产99久久精品一区二区 | 99久久亚洲精品无码毛片 | 日韩少妇内射免费播放 | 狠狠亚洲超碰狼人久久 | 亚洲一区二区观看播放 | 亚洲国产欧美日韩精品一区二区三区 | 国产小呦泬泬99精品 | 樱花草在线社区www | 欧美黑人性暴力猛交喷水 | 中文字幕av无码一区二区三区电影 | 丰满少妇人妻久久久久久 | 麻豆av传媒蜜桃天美传媒 | 色婷婷综合激情综在线播放 | 国产乱人伦app精品久久 国产在线无码精品电影网 国产国产精品人在线视 | 国产香蕉97碰碰久久人人 | 国产精品久久久久久亚洲毛片 | 久久精品中文闷骚内射 | 国产猛烈高潮尖叫视频免费 | 无码人妻丰满熟妇区毛片18 | 无码av最新清无码专区吞精 | 性欧美牲交xxxxx视频 | 久久久久av无码免费网 | 国产三级久久久精品麻豆三级 | 两性色午夜视频免费播放 | 精品乱子伦一区二区三区 | 丰满少妇人妻久久久久久 | 国产精品无码永久免费888 | 午夜精品久久久内射近拍高清 | 国产在热线精品视频 | 国产精品美女久久久久av爽李琼 | 亚洲欧美色中文字幕在线 | 国产免费久久久久久无码 | 久久视频在线观看精品 | 日本一区二区三区免费高清 | 亚洲 另类 在线 欧美 制服 | 老太婆性杂交欧美肥老太 | 日本在线高清不卡免费播放 | 无码人妻出轨黑人中文字幕 | 色 综合 欧美 亚洲 国产 | 国产偷抇久久精品a片69 | 六月丁香婷婷色狠狠久久 | 性欧美videos高清精品 | 人妻少妇被猛烈进入中文字幕 | 一个人免费观看的www视频 | 中文字幕无码人妻少妇免费 | 日本www一道久久久免费榴莲 | 亚洲精品国产品国语在线观看 | 国产成人无码午夜视频在线观看 | 国产精品高潮呻吟av久久4虎 | 18无码粉嫩小泬无套在线观看 | 午夜丰满少妇性开放视频 | 午夜福利不卡在线视频 | 国产97人人超碰caoprom | 欧美 丝袜 自拍 制服 另类 | 精品人妻av区 | 亚洲成av人片天堂网无码】 | 人人澡人人透人人爽 | 久久久久久a亚洲欧洲av冫 | 18黄暴禁片在线观看 | 亚洲成av人片在线观看无码不卡 | 天堂在线观看www | 曰韩少妇内射免费播放 | 99麻豆久久久国产精品免费 | 成年美女黄网站色大免费视频 | √8天堂资源地址中文在线 | 东京无码熟妇人妻av在线网址 | 亚洲经典千人经典日产 | 无码人妻丰满熟妇区毛片18 | 人妻体内射精一区二区三四 | 天干天干啦夜天干天2017 | 精品久久综合1区2区3区激情 | 无码人妻久久一区二区三区不卡 | 久久精品国产99久久6动漫 | 国产精品久久久久无码av色戒 | 国产精品久久久久久久影院 | 日日摸日日碰夜夜爽av | 大色综合色综合网站 | 亚洲自偷精品视频自拍 | 亚洲国产av精品一区二区蜜芽 | 欧美人与物videos另类 | 欧美国产亚洲日韩在线二区 | 桃花色综合影院 | 午夜精品久久久久久久 | 亚洲国产成人a精品不卡在线 | 内射白嫩少妇超碰 | 色欲综合久久中文字幕网 | 国产一区二区三区影院 | 亚洲色偷偷偷综合网 | 国内少妇偷人精品视频 | 亚洲精品欧美二区三区中文字幕 | 亚洲色大成网站www国产 | 久久天天躁夜夜躁狠狠 | 中文久久乱码一区二区 | 国产精品久久久午夜夜伦鲁鲁 | 国产又爽又黄又刺激的视频 | 无码人妻av免费一区二区三区 | 最近免费中文字幕中文高清百度 | 国产凸凹视频一区二区 | 动漫av网站免费观看 | 国产激情艳情在线看视频 | 国产成人无码av一区二区 | 青青草原综合久久大伊人精品 | 青青草原综合久久大伊人精品 | 亚洲日本va午夜在线电影 | 亚洲国产av精品一区二区蜜芽 | 亚洲精品www久久久 | 国产精品怡红院永久免费 | 久久99精品久久久久久动态图 | 无码av最新清无码专区吞精 | 日韩欧美成人免费观看 | 欧美阿v高清资源不卡在线播放 | 久久久亚洲欧洲日产国码αv | 99麻豆久久久国产精品免费 | 亚洲理论电影在线观看 | 国产精品亚洲专区无码不卡 | 久久国内精品自在自线 | 国产精品无码久久av | 久久婷婷五月综合色国产香蕉 | 精品人人妻人人澡人人爽人人 | 成人一区二区免费视频 | 久久精品人妻少妇一区二区三区 | 国产av一区二区三区最新精品 | 欧美成人家庭影院 | 在线观看欧美一区二区三区 | 国产精品美女久久久 | 国产成人精品三级麻豆 | 欧美freesex黑人又粗又大 | 熟女俱乐部五十路六十路av | 俺去俺来也在线www色官网 | 熟妇女人妻丰满少妇中文字幕 | 国产成人精品视频ⅴa片软件竹菊 | 国产精品怡红院永久免费 | 天堂无码人妻精品一区二区三区 | 午夜精品久久久久久久久 | 日本免费一区二区三区最新 | 日韩精品一区二区av在线 | 一本大道伊人av久久综合 | 三上悠亚人妻中文字幕在线 | √天堂资源地址中文在线 | 亚洲乱码日产精品bd | 男女爱爱好爽视频免费看 | 欧美国产日韩久久mv | 欧美精品一区二区精品久久 | 正在播放东北夫妻内射 | 人人妻人人澡人人爽欧美精品 | 午夜无码区在线观看 | 国内少妇偷人精品视频免费 | 国产人妻精品一区二区三区不卡 | 日本免费一区二区三区最新 | 女人色极品影院 | 中文字幕无线码 | 爽爽影院免费观看 | 日本精品高清一区二区 | 亚洲成在人网站无码天堂 | 国产乱子伦视频在线播放 | 亚洲熟女一区二区三区 | 中文无码成人免费视频在线观看 | 97se亚洲精品一区 | 久久国产劲爆∧v内射 | 国产精品成人av在线观看 | 欧美国产亚洲日韩在线二区 | 精品国偷自产在线视频 | 一区二区传媒有限公司 | 久久久久久av无码免费看大片 | 天天拍夜夜添久久精品大 | 免费观看又污又黄的网站 | 成熟女人特级毛片www免费 | 亚洲欧美日韩综合久久久 | 日本乱偷人妻中文字幕 | 波多野结衣av一区二区全免费观看 | 国产成人午夜福利在线播放 | 亚洲欧美精品伊人久久 | 国产乱人无码伦av在线a | 亚洲男人av香蕉爽爽爽爽 | 久久久精品人妻久久影视 | 欧美人妻一区二区三区 | 天堂无码人妻精品一区二区三区 | 国产激情无码一区二区app | 久久人人爽人人爽人人片ⅴ | 国产成人无码一二三区视频 | 奇米综合四色77777久久 东京无码熟妇人妻av在线网址 | 老太婆性杂交欧美肥老太 | 娇妻被黑人粗大高潮白浆 | 婷婷丁香六月激情综合啪 | 欧美野外疯狂做受xxxx高潮 | 国产成人精品无码播放 | 夜夜影院未满十八勿进 | 亚洲精品鲁一鲁一区二区三区 | 欧美老熟妇乱xxxxx | 亚洲国产精品无码久久久久高潮 | 国产热a欧美热a在线视频 | 未满成年国产在线观看 | 丁香啪啪综合成人亚洲 | 18禁止看的免费污网站 | 国产成人无码av一区二区 | 国产一区二区不卡老阿姨 | 国产成人av免费观看 | 人妻人人添人妻人人爱 | 久久视频在线观看精品 | 男女猛烈xx00免费视频试看 | 波多野结衣av一区二区全免费观看 | 国产一区二区三区四区五区加勒比 | 久久熟妇人妻午夜寂寞影院 | 亚洲成a人片在线观看无码3d | 岛国片人妻三上悠亚 | 色婷婷欧美在线播放内射 | 最新国产乱人伦偷精品免费网站 | 性生交片免费无码看人 | 亚洲の无码国产の无码影院 | 欧美成人高清在线播放 | 国产香蕉尹人综合在线观看 | 精品少妇爆乳无码av无码专区 | 亚洲男人av天堂午夜在 | 奇米综合四色77777久久 东京无码熟妇人妻av在线网址 | 麻豆国产人妻欲求不满谁演的 | 图片区 小说区 区 亚洲五月 | 亚洲精品成人福利网站 | 国产区女主播在线观看 | 色五月五月丁香亚洲综合网 | 乱人伦人妻中文字幕无码久久网 | 亚洲一区二区三区无码久久 | 99久久亚洲精品无码毛片 | 无码av免费一区二区三区试看 | 98国产精品综合一区二区三区 | 九九热爱视频精品 | 丝袜人妻一区二区三区 | 亚洲日韩乱码中文无码蜜桃臀网站 | 国产极品视觉盛宴 | 人妻少妇精品无码专区二区 | 婷婷综合久久中文字幕蜜桃三电影 | 大乳丰满人妻中文字幕日本 | 性欧美牲交xxxxx视频 | 2019nv天堂香蕉在线观看 | 亚洲乱码中文字幕在线 | 国产麻豆精品精东影业av网站 | 亚洲色欲色欲天天天www | 久久精品中文闷骚内射 | 日韩av激情在线观看 | 99精品无人区乱码1区2区3区 | 麻豆国产97在线 | 欧洲 | 久久婷婷五月综合色国产香蕉 | 性开放的女人aaa片 | 国产三级久久久精品麻豆三级 | 97夜夜澡人人爽人人喊中国片 | 久久久国产精品无码免费专区 | 在线成人www免费观看视频 | 亚洲自偷自偷在线制服 | 扒开双腿疯狂进出爽爽爽视频 | 国产精品美女久久久网av | 亚洲色无码一区二区三区 | 成人性做爰aaa片免费看 | 久久99精品国产.久久久久 | 国产性生大片免费观看性 | 日本www一道久久久免费榴莲 | 国产精品沙发午睡系列 | 精品国产aⅴ无码一区二区 | 国产成人精品一区二区在线小狼 | 一区二区三区乱码在线 | 欧洲 | av无码不卡在线观看免费 | 无码国内精品人妻少妇 | a在线亚洲男人的天堂 | 国产精品久久久久9999小说 | 动漫av网站免费观看 | 国产精品欧美成人 | 强奷人妻日本中文字幕 | 天海翼激烈高潮到腰振不止 | 久久午夜无码鲁丝片秋霞 | 丰满少妇高潮惨叫视频 | 蜜桃av抽搐高潮一区二区 | 亚洲日韩精品欧美一区二区 | 久久久www成人免费毛片 | 三级4级全黄60分钟 | 国产精品无码一区二区三区不卡 | 欧美野外疯狂做受xxxx高潮 | 少妇性俱乐部纵欲狂欢电影 | 日日摸夜夜摸狠狠摸婷婷 | 国产精品毛片一区二区 | 男人的天堂2018无码 | 亚洲欧美国产精品专区久久 | 人人妻人人澡人人爽欧美一区 | 老子影院午夜伦不卡 | 国产一区二区三区四区五区加勒比 | 国产无套内射久久久国产 | 最近免费中文字幕中文高清百度 | 亚洲日本va午夜在线电影 | 激情亚洲一区国产精品 | 亚洲日韩av一区二区三区中文 | 领导边摸边吃奶边做爽在线观看 | 男女猛烈xx00免费视频试看 | 亚洲精品综合一区二区三区在线 | 国产精品嫩草久久久久 | 两性色午夜视频免费播放 | 亚洲第一无码av无码专区 | 成 人 网 站国产免费观看 | 欧美国产亚洲日韩在线二区 | 中文字幕无码av波多野吉衣 | 国产无套内射久久久国产 | 国产真实乱对白精彩久久 | 成人片黄网站色大片免费观看 | 欧美xxxxx精品 | 天天躁日日躁狠狠躁免费麻豆 | 国产偷抇久久精品a片69 | 日本在线高清不卡免费播放 | 98国产精品综合一区二区三区 | 学生妹亚洲一区二区 | 色窝窝无码一区二区三区色欲 | 国产乱码精品一品二品 | 日日碰狠狠丁香久燥 | 亚洲日韩中文字幕在线播放 | 日日碰狠狠丁香久燥 | 国产农村乱对白刺激视频 | 曰本女人与公拘交酡免费视频 | 亚洲爆乳大丰满无码专区 | 国产成人综合色在线观看网站 | 一本大道伊人av久久综合 | 无码av免费一区二区三区试看 | 色狠狠av一区二区三区 | 精品国产乱码久久久久乱码 | 白嫩日本少妇做爰 | 清纯唯美经典一区二区 | 国产色精品久久人妻 | 国产精品内射视频免费 | 国产精品爱久久久久久久 | 精品国产一区av天美传媒 | 成人欧美一区二区三区 | 奇米综合四色77777久久 东京无码熟妇人妻av在线网址 | 中文字幕乱码中文乱码51精品 | 少妇愉情理伦片bd | 色综合久久久久综合一本到桃花网 | 久久综合九色综合欧美狠狠 | 亚洲日韩乱码中文无码蜜桃臀网站 | 成人一区二区免费视频 | 精品 日韩 国产 欧美 视频 | 久久无码专区国产精品s | 国产午夜精品一区二区三区嫩草 | 免费无码一区二区三区蜜桃大 | 国产片av国语在线观看 | 人妻夜夜爽天天爽三区 | 亚洲大尺度无码无码专区 | 少妇性俱乐部纵欲狂欢电影 | 97精品国产97久久久久久免费 | 精品欧洲av无码一区二区三区 | 欧美人与动性行为视频 | 熟妇女人妻丰满少妇中文字幕 | 国产人成高清在线视频99最全资源 | 精品偷自拍另类在线观看 | 一本色道久久综合亚洲精品不卡 | 7777奇米四色成人眼影 | 十八禁真人啪啪免费网站 | 亚洲精品国偷拍自产在线麻豆 | 无码国产色欲xxxxx视频 | 国产人妻人伦精品1国产丝袜 | 欧美日韩久久久精品a片 | 亚洲va中文字幕无码久久不卡 | 欧美一区二区三区 | 在线观看欧美一区二区三区 | √8天堂资源地址中文在线 | 波多野结衣高清一区二区三区 | 国产无遮挡又黄又爽又色 | 少妇一晚三次一区二区三区 | 久久人人爽人人爽人人片ⅴ | 国产精品爱久久久久久久 | 国产欧美精品一区二区三区 | 国产精品久久精品三级 | 国产人成高清在线视频99最全资源 | 久久久久成人片免费观看蜜芽 | 人妻无码αv中文字幕久久琪琪布 | 狠狠亚洲超碰狼人久久 | 国产99久久精品一区二区 | 亚洲国产精品久久久久久 | 男人的天堂2018无码 | 极品尤物被啪到呻吟喷水 | 永久免费观看国产裸体美女 | 久久97精品久久久久久久不卡 | 亚洲成av人综合在线观看 | 中文字幕日产无线码一区 | 国产办公室秘书无码精品99 | 亚洲va中文字幕无码久久不卡 | 人人妻人人澡人人爽欧美精品 | 国产农村妇女高潮大叫 | 狠狠躁日日躁夜夜躁2020 | 欧美日韩视频无码一区二区三 | 啦啦啦www在线观看免费视频 | 国产精品自产拍在线观看 | 精品乱子伦一区二区三区 | 东京一本一道一二三区 | 少妇的肉体aa片免费 | 欧美丰满老熟妇xxxxx性 | 久久 国产 尿 小便 嘘嘘 | 久久99久久99精品中文字幕 | 国产激情无码一区二区 | 国产精品久久久av久久久 | 色狠狠av一区二区三区 | 国产精品无码一区二区桃花视频 | 色婷婷综合中文久久一本 | 亚洲日韩乱码中文无码蜜桃臀网站 | 欧美人与物videos另类 | 人人妻人人澡人人爽欧美精品 | 久久精品中文字幕大胸 | 国产在线aaa片一区二区99 | 久久精品中文字幕大胸 | 成人无码精品一区二区三区 | 一本加勒比波多野结衣 | 中文字幕+乱码+中文字幕一区 | 欧美精品无码一区二区三区 | 国产精品美女久久久网av | 精品人妻av区 | 国产精品第一国产精品 | 无码国模国产在线观看 | 性啪啪chinese东北女人 | 人人爽人人爽人人片av亚洲 | 亚洲中文字幕无码中字 | 好男人www社区 | 人人妻人人澡人人爽人人精品 | 成熟妇人a片免费看网站 | 国产美女极度色诱视频www | 又大又黄又粗又爽的免费视频 | 亚洲成a人片在线观看无码 | 国产亚洲人成在线播放 | 波多野结衣乳巨码无在线观看 | 黑人玩弄人妻中文在线 | 国产精品多人p群无码 | 国产香蕉尹人视频在线 | 国色天香社区在线视频 | 国产精品手机免费 | 国产后入清纯学生妹 | 国产精品第一国产精品 | 蜜桃av蜜臀av色欲av麻 999久久久国产精品消防器材 | 老熟女乱子伦 | 人人爽人人爽人人片av亚洲 | 亚洲综合无码一区二区三区 | 亚洲人成网站在线播放942 | 中文无码成人免费视频在线观看 | 色一情一乱一伦一区二区三欧美 | 日韩欧美群交p片內射中文 | 国产乱人伦偷精品视频 | 亚洲精品综合一区二区三区在线 | 亚洲欧美日韩成人高清在线一区 | 久久99精品国产.久久久久 | 国产片av国语在线观看 | 国产国产精品人在线视 | 国产人妻人伦精品1国产丝袜 | 狠狠综合久久久久综合网 | 在线a亚洲视频播放在线观看 | 亚洲毛片av日韩av无码 | 国内少妇偷人精品视频免费 | 丝袜美腿亚洲一区二区 | 99久久久无码国产精品免费 | 亚洲人成人无码网www国产 | 亚洲 a v无 码免 费 成 人 a v | 老子影院午夜精品无码 | 无码av岛国片在线播放 | 人妻少妇精品无码专区二区 | 亚洲熟悉妇女xxx妇女av | 国产乱人偷精品人妻a片 | 亚洲成在人网站无码天堂 | 日本一卡2卡3卡4卡无卡免费网站 国产一区二区三区影院 | 成人精品天堂一区二区三区 | 大乳丰满人妻中文字幕日本 | 中文字幕乱码亚洲无线三区 | 亚洲自偷自偷在线制服 | 国产乱子伦视频在线播放 | 99er热精品视频 | 婷婷五月综合缴情在线视频 | 日本丰满护士爆乳xxxx | 亚洲一区二区三区国产精华液 | 熟妇人妻无乱码中文字幕 | 成人欧美一区二区三区黑人 | 天堂亚洲免费视频 | 久久精品成人欧美大片 | 久久精品国产99精品亚洲 | 国产成人午夜福利在线播放 | 一本无码人妻在中文字幕免费 | 少妇太爽了在线观看 | 中文字幕 亚洲精品 第1页 | 久久精品女人天堂av免费观看 | 国产精品久久久久影院嫩草 | aⅴ亚洲 日韩 色 图网站 播放 | 性生交大片免费看女人按摩摩 | 狠狠躁日日躁夜夜躁2020 | 久久久久久a亚洲欧洲av冫 | 最新国产乱人伦偷精品免费网站 | 亚洲国产高清在线观看视频 | 亚洲国产精品一区二区美利坚 | 欧美熟妇另类久久久久久多毛 | 色窝窝无码一区二区三区色欲 | 成人aaa片一区国产精品 | 日韩在线不卡免费视频一区 | 国产精品丝袜黑色高跟鞋 | 精品一区二区三区波多野结衣 | 2020最新国产自产精品 | 成人免费视频在线观看 | 国产精品高潮呻吟av久久 | 在线欧美精品一区二区三区 | 性欧美疯狂xxxxbbbb | 激情内射亚州一区二区三区爱妻 | 99国产精品白浆在线观看免费 | 一本久道久久综合婷婷五月 | 女人高潮内射99精品 | 欧美老妇交乱视频在线观看 | 免费无码肉片在线观看 | a片免费视频在线观看 | 少妇无码一区二区二三区 | 欧美freesex黑人又粗又大 | 亚洲熟悉妇女xxx妇女av | 人人妻人人澡人人爽人人精品 | 久久亚洲中文字幕无码 | 欧美国产亚洲日韩在线二区 | 东北女人啪啪对白 | 老太婆性杂交欧美肥老太 | 377p欧洲日本亚洲大胆 | 欧美午夜特黄aaaaaa片 | 亚洲精品成a人在线观看 | 精品久久久无码人妻字幂 | 日韩欧美成人免费观看 | 无码人中文字幕 | 欧美日韩亚洲国产精品 | 未满小14洗澡无码视频网站 | 亚洲娇小与黑人巨大交 | 国内丰满熟女出轨videos | 露脸叫床粗话东北少妇 | 日日摸夜夜摸狠狠摸婷婷 | 奇米综合四色77777久久 东京无码熟妇人妻av在线网址 | 色情久久久av熟女人妻网站 | 国产av久久久久精东av | 精品成人av一区二区三区 | 色综合久久久久综合一本到桃花网 | 内射欧美老妇wbb | 国精品人妻无码一区二区三区蜜柚 | 国产精品成人av在线观看 | 中文字幕+乱码+中文字幕一区 | 97色伦图片97综合影院 | 人妻无码αv中文字幕久久琪琪布 | 精品国产国产综合精品 | 欧美xxxx黑人又粗又长 | 欧美性黑人极品hd | 国产成人精品无码播放 | 久久久久成人片免费观看蜜芽 | 国产人妻精品一区二区三区不卡 | 欧美真人作爱免费视频 | 亚洲天堂2017无码 | 久激情内射婷内射蜜桃人妖 | 学生妹亚洲一区二区 | 欧美亚洲日韩国产人成在线播放 | 日韩精品无码一区二区中文字幕 | 久久人人爽人人爽人人片av高清 | 久久综合九色综合欧美狠狠 | 丰腴饱满的极品熟妇 | 成在人线av无码免观看麻豆 | 亚洲の无码国产の无码步美 | 黑人粗大猛烈进出高潮视频 | 精品aⅴ一区二区三区 | 对白脏话肉麻粗话av | 国产色视频一区二区三区 | 波多野结衣一区二区三区av免费 | 美女毛片一区二区三区四区 | 国产va免费精品观看 | 日韩av激情在线观看 | 亚洲成av人综合在线观看 | 久久zyz资源站无码中文动漫 | 奇米影视7777久久精品 | 一本久久伊人热热精品中文字幕 | 国产精品国产自线拍免费软件 | 欧美性猛交内射兽交老熟妇 | 中文字幕无线码 | 青青青手机频在线观看 | 国内综合精品午夜久久资源 | 国精产品一品二品国精品69xx | 老司机亚洲精品影院 | 黑人巨大精品欧美黑寡妇 | 久久精品中文字幕一区 | 久久天天躁狠狠躁夜夜免费观看 | 亚洲精品中文字幕久久久久 | 亚洲自偷自拍另类第1页 | 亚洲人成无码网www | 久久亚洲中文字幕无码 | 国产色在线 | 国产 | 色一情一乱一伦一区二区三欧美 | 亚洲欧美日韩国产精品一区二区 | 中文字幕人妻丝袜二区 | 成人精品天堂一区二区三区 | 亚洲第一无码av无码专区 | 久久99精品久久久久久 | 免费乱码人妻系列无码专区 | 色五月丁香五月综合五月 | 久久久中文久久久无码 | 在线精品国产一区二区三区 | 初尝人妻少妇中文字幕 | 亚洲人交乣女bbw | 伊人久久大香线蕉av一区二区 | 国产午夜无码视频在线观看 | 国产成人av免费观看 | 亚洲国产精品久久久天堂 | 日韩欧美成人免费观看 | 婷婷五月综合缴情在线视频 | 天天拍夜夜添久久精品 | 亚洲欧美国产精品久久 | 小泽玛莉亚一区二区视频在线 | 成人影院yy111111在线观看 | 又粗又大又硬毛片免费看 | av在线亚洲欧洲日产一区二区 | 日本精品人妻无码免费大全 | 麻豆精品国产精华精华液好用吗 | 红桃av一区二区三区在线无码av | 国产精品美女久久久久av爽李琼 | 中文字幕色婷婷在线视频 | 伊人久久大香线蕉亚洲 | 性开放的女人aaa片 | 久久精品一区二区三区四区 | 国产精品怡红院永久免费 | 日欧一片内射va在线影院 | 欧美丰满老熟妇xxxxx性 | 扒开双腿疯狂进出爽爽爽视频 | 久久亚洲日韩精品一区二区三区 | 久久午夜夜伦鲁鲁片无码免费 | 玩弄少妇高潮ⅹxxxyw | 女人色极品影院 | 色婷婷久久一区二区三区麻豆 | 天堂一区人妻无码 | 黑森林福利视频导航 | 精品国产精品久久一区免费式 | 国产精品-区区久久久狼 | 久久精品一区二区三区四区 | 国产午夜视频在线观看 | a片免费视频在线观看 | 国产特级毛片aaaaaa高潮流水 | 极品尤物被啪到呻吟喷水 | аⅴ资源天堂资源库在线 | 成在人线av无码免费 | 亚洲日本va午夜在线电影 | 亚洲 a v无 码免 费 成 人 a v | 精品偷拍一区二区三区在线看 | 国产猛烈高潮尖叫视频免费 | 欧美人与牲动交xxxx | 国产成人无码a区在线观看视频app | 76少妇精品导航 | 婷婷六月久久综合丁香 | 欧美放荡的少妇 | 捆绑白丝粉色jk震动捧喷白浆 | 亚洲の无码国产の无码步美 | 97资源共享在线视频 | 成人综合网亚洲伊人 | 精品国产麻豆免费人成网站 | 久久无码人妻影院 | 窝窝午夜理论片影院 | 高清国产亚洲精品自在久久 | 动漫av一区二区在线观看 | 久久久久se色偷偷亚洲精品av | 亚洲欧美综合区丁香五月小说 | 亚洲gv猛男gv无码男同 | 亚洲精品一区二区三区婷婷月 | 国产三级久久久精品麻豆三级 | 性开放的女人aaa片 | 激情五月综合色婷婷一区二区 | 在线看片无码永久免费视频 | 亚洲成在人网站无码天堂 | 中文字幕乱妇无码av在线 | 亚洲成在人网站无码天堂 | 国产精品第一区揄拍无码 | 在线精品国产一区二区三区 | 狠狠噜狠狠狠狠丁香五月 | 偷窥村妇洗澡毛毛多 | 天天摸天天透天天添 | 亚洲乱亚洲乱妇50p | 国产人妻人伦精品 | 欧美日韩人成综合在线播放 | 人人妻人人澡人人爽人人精品 | 未满成年国产在线观看 | 妺妺窝人体色www在线小说 | 午夜丰满少妇性开放视频 | 欧美激情一区二区三区成人 | 国产成人无码av片在线观看不卡 | 自拍偷自拍亚洲精品10p | 国产又粗又硬又大爽黄老大爷视 | 精品一区二区三区无码免费视频 | 色老头在线一区二区三区 | 欧美xxxx黑人又粗又长 | 人人妻人人澡人人爽精品欧美 | 久久伊人色av天堂九九小黄鸭 | 熟妇女人妻丰满少妇中文字幕 | 色妞www精品免费视频 | 国产亚洲精品久久久久久国模美 | 久久久久se色偷偷亚洲精品av | 东京无码熟妇人妻av在线网址 | 亚洲区欧美区综合区自拍区 | 激情爆乳一区二区三区 | 日本丰满熟妇videos | 久久人人爽人人爽人人片ⅴ | 亚洲伊人久久精品影院 | 日韩成人一区二区三区在线观看 | 国产亚洲人成在线播放 | 人妻体内射精一区二区三四 | 国产一区二区三区影院 | 久久久久久久人妻无码中文字幕爆 | 熟女俱乐部五十路六十路av | 欧美性猛交xxxx富婆 | 亚洲欧洲中文日韩av乱码 | 色婷婷av一区二区三区之红樱桃 | 波多野42部无码喷潮在线 | 国产精品无码一区二区三区不卡 | 成熟女人特级毛片www免费 | 无码人中文字幕 | 成人av无码一区二区三区 | 国产精品久久久午夜夜伦鲁鲁 | 国产成人亚洲综合无码 | 国产片av国语在线观看 | 国产综合在线观看 | 国产情侣作爱视频免费观看 | 最新版天堂资源中文官网 | 99久久99久久免费精品蜜桃 | 亚洲人成网站在线播放942 | 亚洲色www成人永久网址 | 在教室伦流澡到高潮hnp视频 | 亚洲成av人影院在线观看 | 奇米综合四色77777久久 东京无码熟妇人妻av在线网址 | 图片小说视频一区二区 | 色欲综合久久中文字幕网 | 夜夜高潮次次欢爽av女 | 日本一区二区三区免费高清 | 真人与拘做受免费视频 | 无遮挡啪啪摇乳动态图 | 全球成人中文在线 | 无码av免费一区二区三区试看 | 亚洲毛片av日韩av无码 | 国产亚洲精品久久久闺蜜 | 久青草影院在线观看国产 | 亚洲自偷自拍另类第1页 | 久久综合给久久狠狠97色 | 国产在线无码精品电影网 | 亚洲 日韩 欧美 成人 在线观看 | 中国大陆精品视频xxxx | 六月丁香婷婷色狠狠久久 | 狠狠色噜噜狠狠狠7777奇米 | 欧美国产日韩久久mv | 国产精品久久久久9999小说 | 国产精品久久久久久久影院 | 国产一区二区不卡老阿姨 | ass日本丰满熟妇pics | 欧美日韩一区二区三区自拍 | 婷婷五月综合激情中文字幕 | 国产舌乚八伦偷品w中 | 久久99精品国产.久久久久 | 亚洲色成人中文字幕网站 | 美女黄网站人色视频免费国产 | 影音先锋中文字幕无码 | 天天拍夜夜添久久精品大 | 国产精品亚洲专区无码不卡 | 精品国产aⅴ无码一区二区 | 精品人人妻人人澡人人爽人人 | 久久久久99精品国产片 | 国产免费无码一区二区视频 | 伊人久久大香线蕉亚洲 | а√资源新版在线天堂 | 日本免费一区二区三区最新 | 精品欧美一区二区三区久久久 | 久久精品国产精品国产精品污 | 国产综合在线观看 | 久久久久久亚洲精品a片成人 | 色婷婷欧美在线播放内射 | 在线观看欧美一区二区三区 | 色婷婷欧美在线播放内射 | 99久久久无码国产精品免费 | 亚洲国产成人av在线观看 | 波多野结衣 黑人 | 夜精品a片一区二区三区无码白浆 | 99久久精品国产一区二区蜜芽 | 久久亚洲精品中文字幕无男同 | 鲁鲁鲁爽爽爽在线视频观看 | 欧美阿v高清资源不卡在线播放 | 青青青手机频在线观看 | 国产精品久久久久久久影院 | 色欲人妻aaaaaaa无码 | 狂野欧美性猛xxxx乱大交 | 国产成人一区二区三区别 | 无码av中文字幕免费放 | 日本护士毛茸茸高潮 | 精品国精品国产自在久国产87 | 精品久久久久久人妻无码中文字幕 | aⅴ亚洲 日韩 色 图网站 播放 | 97无码免费人妻超级碰碰夜夜 | 欧美人与善在线com | 国产精品igao视频网 | 性啪啪chinese东北女人 | 学生妹亚洲一区二区 | 国精产品一品二品国精品69xx | 欧美一区二区三区视频在线观看 | 免费中文字幕日韩欧美 | 99久久精品无码一区二区毛片 | 无码人妻丰满熟妇区五十路百度 | 国产精品亚洲五月天高清 | 曰本女人与公拘交酡免费视频 | 国产无套内射久久久国产 | 99re在线播放 | 欧美兽交xxxx×视频 | 夫妻免费无码v看片 | yw尤物av无码国产在线观看 | 激情内射亚州一区二区三区爱妻 | 日本一卡二卡不卡视频查询 | 乱人伦人妻中文字幕无码久久网 | 性欧美熟妇videofreesex | 亚洲另类伦春色综合小说 | 国产精品久久福利网站 | 成人精品天堂一区二区三区 | 国产成人无码av一区二区 | 亚洲精品国产a久久久久久 | 免费无码肉片在线观看 | 九一九色国产 | 久久久精品456亚洲影院 | 免费观看黄网站 | 无码av最新清无码专区吞精 | 久久精品国产一区二区三区 | 中文字幕色婷婷在线视频 | 日本护士毛茸茸高潮 | 天天躁日日躁狠狠躁免费麻豆 | 性色av无码免费一区二区三区 | 一本久久a久久精品vr综合 | 色欲久久久天天天综合网精品 | 亚洲中文无码av永久不收费 | 国产亚洲欧美日韩亚洲中文色 | 蜜臀aⅴ国产精品久久久国产老师 | 午夜精品久久久内射近拍高清 | 装睡被陌生人摸出水好爽 | 亚洲男人av天堂午夜在 | 欧美 亚洲 国产 另类 | 丰满岳乱妇在线观看中字无码 | 欧美黑人巨大xxxxx | 全球成人中文在线 | 四虎影视成人永久免费观看视频 | 中文字幕无线码免费人妻 | 中文字幕+乱码+中文字幕一区 | 久久久婷婷五月亚洲97号色 | 亚洲欧美日韩综合久久久 | 亚洲小说春色综合另类 | 欧美 丝袜 自拍 制服 另类 | 亚洲中文字幕乱码av波多ji | 国产黑色丝袜在线播放 | 成人免费视频视频在线观看 免费 | 麻豆成人精品国产免费 | 欧美zoozzooz性欧美 | 国产婷婷色一区二区三区在线 | 蜜臀aⅴ国产精品久久久国产老师 | a国产一区二区免费入口 | 亚洲精品无码人妻无码 | 国精产品一品二品国精品69xx | 国产成人精品必看 | 欧美人妻一区二区三区 | 波多野结衣av一区二区全免费观看 | 亚洲国产成人av在线观看 | 国产午夜手机精彩视频 | 日本丰满熟妇videos | 亚洲自偷自偷在线制服 | 国产人成高清在线视频99最全资源 | 欧美日韩一区二区三区自拍 | 国产精品久久久一区二区三区 | 人妻中文无码久热丝袜 | 亚洲狠狠色丁香婷婷综合 | 国产绳艺sm调教室论坛 | 国产激情一区二区三区 | 国产黑色丝袜在线播放 | 激情内射亚州一区二区三区爱妻 | 久久精品丝袜高跟鞋 | 特黄特色大片免费播放器图片 | 蜜臀av无码人妻精品 | 亚洲日韩av一区二区三区四区 | 国产在线精品一区二区高清不卡 | 欧美 亚洲 国产 另类 | √天堂资源地址中文在线 | 在线播放亚洲第一字幕 | 一本久道久久综合婷婷五月 | 亚洲色欲色欲欲www在线 | 久久久久亚洲精品男人的天堂 | 国产又爽又黄又刺激的视频 | 日日橹狠狠爱欧美视频 | 成 人 免费观看网站 | 丝袜 中出 制服 人妻 美腿 | 日韩精品成人一区二区三区 | 亚洲熟女一区二区三区 | 亚洲爆乳精品无码一区二区三区 | 国产sm调教视频在线观看 | √天堂资源地址中文在线 | 国产精品欧美成人 | 国产精品理论片在线观看 | 天堂亚洲2017在线观看 | 亚洲国产精品美女久久久久 | 久久午夜无码鲁丝片 | 欧美 丝袜 自拍 制服 另类 | 国产av无码专区亚洲awww | 国产精品久久久午夜夜伦鲁鲁 | 两性色午夜视频免费播放 | aⅴ在线视频男人的天堂 | av香港经典三级级 在线 | 欧美黑人性暴力猛交喷水 | 久久无码专区国产精品s | 国产精品久久久久无码av色戒 | 无码人妻少妇伦在线电影 | 99久久人妻精品免费二区 | aⅴ在线视频男人的天堂 | 97久久精品无码一区二区 | 激情内射日本一区二区三区 | 免费视频欧美无人区码 | 国产av一区二区精品久久凹凸 | 帮老师解开蕾丝奶罩吸乳网站 | 国产特级毛片aaaaaaa高清 | 鲁一鲁av2019在线 | 内射巨臀欧美在线视频 | 国産精品久久久久久久 | 国产精品无码mv在线观看 | 玩弄少妇高潮ⅹxxxyw | 伦伦影院午夜理论片 | 蜜桃无码一区二区三区 | 理论片87福利理论电影 | 久久久精品成人免费观看 | 亚洲小说春色综合另类 | 99久久婷婷国产综合精品青草免费 | 欧洲精品码一区二区三区免费看 | 成 人影片 免费观看 | 久久亚洲中文字幕精品一区 | 精品厕所偷拍各类美女tp嘘嘘 | av无码电影一区二区三区 | 人人澡人人妻人人爽人人蜜桃 | 日日躁夜夜躁狠狠躁 | 亚洲 高清 成人 动漫 | 亚洲人成网站在线播放942 | 中文字幕 人妻熟女 | 撕开奶罩揉吮奶头视频 | 欧美日韩在线亚洲综合国产人 | 中文字幕无码日韩专区 | 中文亚洲成a人片在线观看 | 亚洲国产精品一区二区美利坚 | 色婷婷久久一区二区三区麻豆 | 少妇被黑人到高潮喷出白浆 | 国产精品福利视频导航 | 久久99热只有频精品8 | 一二三四在线观看免费视频 | 国产人妻久久精品二区三区老狼 | 午夜成人1000部免费视频 | 性史性农村dvd毛片 | 欧美猛少妇色xxxxx | 国产无遮挡又黄又爽免费视频 | 色婷婷香蕉在线一区二区 | 亚洲人成网站色7799 | 精品国产av色一区二区深夜久久 | 成熟妇人a片免费看网站 | 色婷婷欧美在线播放内射 | 久久久婷婷五月亚洲97号色 | 国产成人人人97超碰超爽8 | 色综合久久久无码中文字幕 | 亚洲日韩一区二区三区 | 国产午夜无码精品免费看 | 久久zyz资源站无码中文动漫 | 18禁黄网站男男禁片免费观看 | 免费无码的av片在线观看 | 亚洲国产精品一区二区第一页 | 色欲久久久天天天综合网精品 | 精品久久久中文字幕人妻 | 激情内射亚州一区二区三区爱妻 | 日韩精品乱码av一区二区 | 亚洲精品www久久久 | 精品国产一区二区三区四区在线看 | 色偷偷av老熟女 久久精品人妻少妇一区二区三区 | 色综合视频一区二区三区 | 无码人妻av免费一区二区三区 | 欧美丰满熟妇xxxx | 一二三四在线观看免费视频 | 久久久成人毛片无码 | 免费人成在线观看网站 | 国产特级毛片aaaaaaa高清 | 图片小说视频一区二区 | 亚洲精品美女久久久久久久 | 亚洲日韩乱码中文无码蜜桃臀网站 | 日韩亚洲欧美精品综合 | 亚洲欧美日韩成人高清在线一区 | 亚洲一区二区三区香蕉 | 精品国产av色一区二区深夜久久 | 久久综合狠狠综合久久综合88 | 久久亚洲中文字幕精品一区 | 欧美亚洲国产一区二区三区 | 中文字幕无线码 | a片在线免费观看 | 欧洲熟妇精品视频 | 一本大道久久东京热无码av | 精品水蜜桃久久久久久久 | 亚洲精品一区二区三区在线 | 人妻与老人中文字幕 | 日韩av激情在线观看 | 又大又黄又粗又爽的免费视频 | 麻豆精品国产精华精华液好用吗 | 国精产品一品二品国精品69xx | 欧美人与禽猛交狂配 | 在线精品亚洲一区二区 | 亚洲国产精品久久久天堂 | 亚洲乱码中文字幕在线 | 欧美三级不卡在线观看 | 国产色在线 | 国产 | 少妇无码av无码专区在线观看 | 国产免费久久精品国产传媒 | 国产成人av免费观看 | 荫蒂添的好舒服视频囗交 | 2020久久超碰国产精品最新 | 日本大乳高潮视频在线观看 | 国产午夜无码视频在线观看 | 国产人成高清在线视频99最全资源 | 久久伊人色av天堂九九小黄鸭 | 欧美人与善在线com | 欧美xxxxx精品 | 亚洲国产av美女网站 | 人人澡人人妻人人爽人人蜜桃 | 丰满少妇人妻久久久久久 | 久久久久久亚洲精品a片成人 | 亚洲国产欧美国产综合一区 | 国产在线精品一区二区三区直播 | 久久久婷婷五月亚洲97号色 | 国产精品va在线观看无码 | 国产性猛交╳xxx乱大交 国产精品久久久久久无码 欧洲欧美人成视频在线 | 久久99热只有频精品8 | 伊人久久大香线蕉亚洲 | 天堂а√在线中文在线 | 装睡被陌生人摸出水好爽 | 一二三四在线观看免费视频 | 欧洲vodafone精品性 | 麻豆蜜桃av蜜臀av色欲av | 亚洲日韩精品欧美一区二区 | √8天堂资源地址中文在线 | 精品国产国产综合精品 | 牲欲强的熟妇农村老妇女视频 | 精品 日韩 国产 欧美 视频 | 精品久久久无码人妻字幂 | 永久免费观看国产裸体美女 | 夜夜躁日日躁狠狠久久av | 久久精品中文字幕大胸 | 男人扒开女人内裤强吻桶进去 | 性欧美熟妇videofreesex | 奇米影视7777久久精品 | 大屁股大乳丰满人妻 | 中文字幕无码免费久久9一区9 | 图片小说视频一区二区 | 色一情一乱一伦一视频免费看 | 红桃av一区二区三区在线无码av | 5858s亚洲色大成网站www | 亚洲日韩一区二区 | 久久亚洲中文字幕精品一区 | 久久综合色之久久综合 | 亚洲日韩精品欧美一区二区 | 久久精品国产一区二区三区肥胖 | 少妇高潮喷潮久久久影院 | 色一情一乱一伦 | 久久无码中文字幕免费影院蜜桃 | 成人性做爰aaa片免费看 | 国产精品无码永久免费888 | 久久综合激激的五月天 | 欧美大屁股xxxxhd黑色 | 精品亚洲韩国一区二区三区 | 一区二区传媒有限公司 | 欧美日韩人成综合在线播放 | 少妇高潮喷潮久久久影院 | 国产绳艺sm调教室论坛 | 丁香啪啪综合成人亚洲 | 东京无码熟妇人妻av在线网址 | 少女韩国电视剧在线观看完整 | 青草视频在线播放 | 精品无码av一区二区三区 | 久久亚洲精品中文字幕无男同 | 久久精品中文字幕一区 | 无码人妻久久一区二区三区不卡 | 日本精品少妇一区二区三区 | 300部国产真实乱 | 亚洲精品久久久久中文第一幕 | 欧美性猛交xxxx富婆 | 亚洲区小说区激情区图片区 | 一本色道久久综合狠狠躁 | 18黄暴禁片在线观看 | 成在人线av无码免费 | 欧美日韩久久久精品a片 | 高清国产亚洲精品自在久久 | 国产香蕉尹人综合在线观看 | 成熟妇人a片免费看网站 | 中文毛片无遮挡高清免费 | 中文亚洲成a人片在线观看 | 亚洲精品国产精品乱码不卡 | 精品夜夜澡人妻无码av蜜桃 | 国产精品爱久久久久久久 | 亚洲综合无码久久精品综合 | 亚洲精品久久久久中文第一幕 | 狂野欧美激情性xxxx | 久热国产vs视频在线观看 | 中文无码成人免费视频在线观看 | 欧美丰满老熟妇xxxxx性 | 亚洲男人av天堂午夜在 | 俄罗斯老熟妇色xxxx | 狠狠色欧美亚洲狠狠色www | а天堂中文在线官网 | 欧美高清在线精品一区 | 精品一区二区三区波多野结衣 | 成熟女人特级毛片www免费 | 国产精品人人爽人人做我的可爱 | 老太婆性杂交欧美肥老太 | 正在播放东北夫妻内射 | 国产精品久久久av久久久 | 白嫩日本少妇做爰 | 国产精品自产拍在线观看 | 国产99久久精品一区二区 | 成人影院yy111111在线观看 | 中国女人内谢69xxxxxa片 | 亚洲中文字幕在线无码一区二区 | 狠狠躁日日躁夜夜躁2020 | 国产成人无码一二三区视频 | 人人爽人人澡人人高潮 | 极品尤物被啪到呻吟喷水 | 性色欲网站人妻丰满中文久久不卡 | 国产性猛交╳xxx乱大交 国产精品久久久久久无码 欧洲欧美人成视频在线 | 巨爆乳无码视频在线观看 | 十八禁真人啪啪免费网站 | 久久国产精品_国产精品 | 中文字幕 亚洲精品 第1页 | 性色av无码免费一区二区三区 | 人妻少妇精品无码专区动漫 | 国产乱子伦视频在线播放 | 日韩精品无码免费一区二区三区 | 亚洲国产成人av在线观看 | 亚洲精品中文字幕乱码 | 成人女人看片免费视频放人 | 偷窥日本少妇撒尿chinese | 国产精品鲁鲁鲁 | 国产亚洲精品久久久久久久久动漫 | 黑人巨大精品欧美一区二区 | 国内老熟妇对白xxxxhd | 青青青手机频在线观看 | 国产又粗又硬又大爽黄老大爷视 | 波多野结衣 黑人 | 久久zyz资源站无码中文动漫 | 欧美人与物videos另类 | 久久久久免费精品国产 | 天天爽夜夜爽夜夜爽 | 国产精品久久久午夜夜伦鲁鲁 | 精品无码一区二区三区爱欲 | 99久久精品国产一区二区蜜芽 | 国产电影无码午夜在线播放 | 18无码粉嫩小泬无套在线观看 | 麻豆国产丝袜白领秘书在线观看 | 无码免费一区二区三区 | 天天躁夜夜躁狠狠是什么心态 | 婷婷丁香五月天综合东京热 | 无码乱肉视频免费大全合集 | 无套内谢的新婚少妇国语播放 | 国产精品无套呻吟在线 | 内射巨臀欧美在线视频 | 精品少妇爆乳无码av无码专区 | www成人国产高清内射 | 亚洲gv猛男gv无码男同 | 亚洲啪av永久无码精品放毛片 | 国产精品毛多多水多 | 国产精品久久久久久无码 | 国产精品自产拍在线观看 | 鲁鲁鲁爽爽爽在线视频观看 | 一本色道久久综合狠狠躁 | 亚洲欧洲无卡二区视頻 | 欧美丰满熟妇xxxx | 亚洲成av人片天堂网无码】 | 真人与拘做受免费视频 | 国产精品无码永久免费888 | 国产电影无码午夜在线播放 | 亚洲精品国产第一综合99久久 | 欧美日韩一区二区三区自拍 | 女人被男人躁得好爽免费视频 | 色一情一乱一伦一视频免费看 | √8天堂资源地址中文在线 | 三级4级全黄60分钟 | 亚洲熟女一区二区三区 | 中国女人内谢69xxxxxa片 | 欧美丰满熟妇xxxx | 亚洲一区二区三区无码久久 | 亚洲一区av无码专区在线观看 | 性做久久久久久久久 | 欧美日韩久久久精品a片 | 欧美真人作爱免费视频 | 久久亚洲日韩精品一区二区三区 | 国内精品久久久久久中文字幕 | 欧美喷潮久久久xxxxx | 无码人妻精品一区二区三区下载 | 国产高清av在线播放 | 国产精品久久精品三级 | 麻豆国产人妻欲求不满谁演的 | 中文字幕av日韩精品一区二区 | 午夜精品一区二区三区的区别 | 鲁一鲁av2019在线 | 亚洲精品综合五月久久小说 | 蜜桃无码一区二区三区 | 午夜精品一区二区三区在线观看 | 亚洲欧美国产精品专区久久 | 装睡被陌生人摸出水好爽 | 亚洲精品一区二区三区在线 | 国产成人一区二区三区别 | 欧美老妇与禽交 | 久久久无码中文字幕久... | 最新国产麻豆aⅴ精品无码 | 成人毛片一区二区 | 熟妇人妻激情偷爽文 | 精品无码国产一区二区三区av | 亚洲国产日韩a在线播放 | 成人影院yy111111在线观看 | 东北女人啪啪对白 | 激情五月综合色婷婷一区二区 | 樱花草在线播放免费中文 | 日本一卡二卡不卡视频查询 | 欧美亚洲国产一区二区三区 | 无码帝国www无码专区色综合 | 国产精品免费大片 | 日产精品高潮呻吟av久久 | 中文字幕无线码免费人妻 | 无套内谢的新婚少妇国语播放 | 撕开奶罩揉吮奶头视频 | 国内精品九九久久久精品 | 欧美阿v高清资源不卡在线播放 | 国产性生交xxxxx无码 | 成人无码视频免费播放 | 欧美人与牲动交xxxx | 亚洲男人av天堂午夜在 | 老子影院午夜精品无码 | 国产精品资源一区二区 | 精品久久久无码人妻字幂 | 国产精品人人爽人人做我的可爱 | 日本饥渴人妻欲求不满 | 国産精品久久久久久久 | 成人三级无码视频在线观看 | 国产精品人妻一区二区三区四 | 色婷婷香蕉在线一区二区 | 亚洲小说春色综合另类 | 麻豆人妻少妇精品无码专区 | 青青草原综合久久大伊人精品 | 国产精品亚洲五月天高清 | 99er热精品视频 | 日韩人妻系列无码专区 | 亚欧洲精品在线视频免费观看 | 久久综合九色综合97网 | 国产精品99久久精品爆乳 | 日韩欧美成人免费观看 | 领导边摸边吃奶边做爽在线观看 | 少妇厨房愉情理9仑片视频 | 在教室伦流澡到高潮hnp视频 | 亚洲精品综合五月久久小说 | 暴力强奷在线播放无码 | 国产国产精品人在线视 | 扒开双腿吃奶呻吟做受视频 | 鲁一鲁av2019在线 | 我要看www免费看插插视频 | 久久国内精品自在自线 | 日本精品人妻无码免费大全 | 亚洲精品国产精品乱码视色 | 无码人妻出轨黑人中文字幕 | 国产亚洲人成在线播放 | 亚洲精品一区三区三区在线观看 | 国产精品久久久久久久影院 | 乱人伦人妻中文字幕无码 | 久久婷婷五月综合色国产香蕉 | 亚洲 日韩 欧美 成人 在线观看 | 欧美真人作爱免费视频 | 日日碰狠狠躁久久躁蜜桃 | 97夜夜澡人人爽人人喊中国片 | 国产成人无码区免费内射一片色欲 | 久久99精品国产麻豆蜜芽 | 无码毛片视频一区二区本码 | 国产精品a成v人在线播放 | 亚洲成av人在线观看网址 | 亚洲国产成人av在线观看 | 无码一区二区三区在线观看 | 国产手机在线αⅴ片无码观看 | 樱花草在线社区www | 国产在线精品一区二区高清不卡 | 激情爆乳一区二区三区 | 日本免费一区二区三区最新 | 亚洲午夜福利在线观看 | 久久综合久久自在自线精品自 | 亚洲爆乳精品无码一区二区三区 | 久久亚洲国产成人精品性色 | 久久人人97超碰a片精品 | 亚洲成a人片在线观看日本 | 欧洲极品少妇 | 国产农村妇女aaaaa视频 撕开奶罩揉吮奶头视频 | 东京热一精品无码av | 久久精品国产日本波多野结衣 | 波多野结衣高清一区二区三区 | 亚洲国产精华液网站w | 久久精品国产一区二区三区 | 亚洲精品久久久久中文第一幕 | 四虎4hu永久免费 | av在线亚洲欧洲日产一区二区 | 日本饥渴人妻欲求不满 | 桃花色综合影院 | 一区二区三区乱码在线 | 欧洲 | 亚洲人成网站在线播放942 | 四虎永久在线精品免费网址 | 高清不卡一区二区三区 | 一本久久a久久精品vr综合 | 国产特级毛片aaaaaa高潮流水 | 亚洲自偷精品视频自拍 | 成人毛片一区二区 | 国产人成高清在线视频99最全资源 | 成人毛片一区二区 | 久久久无码中文字幕久... | 婷婷五月综合缴情在线视频 | 99riav国产精品视频 | 亚洲色成人中文字幕网站 | 夜精品a片一区二区三区无码白浆 | 亚洲gv猛男gv无码男同 | 亚洲国产高清在线观看视频 | 捆绑白丝粉色jk震动捧喷白浆 | 久久久精品国产sm最大网站 | 亚洲gv猛男gv无码男同 | 欧美刺激性大交 | 国产人妻精品午夜福利免费 | 日本一区二区三区免费高清 | 成年美女黄网站色大免费全看 | 纯爱无遮挡h肉动漫在线播放 | 国产乱码精品一品二品 | 啦啦啦www在线观看免费视频 | 久久精品国产一区二区三区肥胖 | 国产精品国产三级国产专播 | √8天堂资源地址中文在线 | 97久久超碰中文字幕 | 久久久婷婷五月亚洲97号色 | 亚洲小说图区综合在线 | 亚洲熟妇色xxxxx欧美老妇y | 亚洲小说春色综合另类 | 中文字幕人妻无码一夲道 | 久久国语露脸国产精品电影 | v一区无码内射国产 | 久久www免费人成人片 | 任你躁在线精品免费 | 国产内射爽爽大片视频社区在线 | 国产av一区二区三区最新精品 | 午夜不卡av免费 一本久久a久久精品vr综合 | 欧洲精品码一区二区三区免费看 | 亚洲精品国偷拍自产在线麻豆 | 亚洲日韩av一区二区三区四区 | 麻豆国产人妻欲求不满 | 日日摸天天摸爽爽狠狠97 | 国产麻豆精品一区二区三区v视界 | 久久精品国产日本波多野结衣 | 国产成人综合在线女婷五月99播放 | 亚洲精品中文字幕乱码 | 国产色在线 | 国产 | 中文字幕乱码中文乱码51精品 | 四虎国产精品免费久久 | 丰满少妇人妻久久久久久 | 成人精品视频一区二区三区尤物 | 荫蒂被男人添的好舒服爽免费视频 | 亚洲中文字幕乱码av波多ji | 水蜜桃亚洲一二三四在线 | 无码人妻av免费一区二区三区 | 国产成人无码av在线影院 | 5858s亚洲色大成网站www | 日韩人妻无码一区二区三区久久99 | 东京无码熟妇人妻av在线网址 | 日产精品高潮呻吟av久久 | 国产在线一区二区三区四区五区 | 中文字幕无码视频专区 | 波多野结衣 黑人 | 亚洲成av人片在线观看无码不卡 | 欧美精品在线观看 | 国产亚洲精品精品国产亚洲综合 |