久久精品国产精品国产精品污,男人扒开添女人下部免费视频,一级国产69式性姿势免费视频,夜鲁夜鲁很鲁在线视频 视频,欧美丰满少妇一区二区三区,国产偷国产偷亚洲高清人乐享,中文 在线 日韩 亚洲 欧美,熟妇人妻无乱码中文字幕真矢织江,一区二区三区人妻制服国产

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程语言 > 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)站內容還不錯,歡迎將生活随笔推薦給好友。

久久久av男人的天堂 | 乱人伦中文视频在线观看 | 国产av剧情md精品麻豆 | 久久综合给久久狠狠97色 | 久久久久久久久888 | 久久久久久国产精品无码下载 | 人人妻在人人 | 蜜桃视频韩日免费播放 | 亚欧洲精品在线视频免费观看 | 亚洲欧美中文字幕5发布 | 亚洲国产精品无码一区二区三区 | 久久久久免费看成人影片 | 自拍偷自拍亚洲精品被多人伦好爽 | 国产精品va在线播放 | 国产成人无码av片在线观看不卡 | 亚洲成av人片在线观看无码不卡 | 强奷人妻日本中文字幕 | 久久久亚洲欧洲日产国码αv | 日本成熟视频免费视频 | 亚洲s色大片在线观看 | 在线观看国产午夜福利片 | 麻豆果冻传媒2021精品传媒一区下载 | 精品无码国产自产拍在线观看蜜 | 小泽玛莉亚一区二区视频在线 | 亚洲精品久久久久久久久久久 | 97精品人妻一区二区三区香蕉 | 精品国产麻豆免费人成网站 | 99久久婷婷国产综合精品青草免费 | 亚洲第一网站男人都懂 | 蜜桃臀无码内射一区二区三区 | 午夜熟女插插xx免费视频 | 少妇被黑人到高潮喷出白浆 | 最近中文2019字幕第二页 | 在线天堂新版最新版在线8 | 久久久久久a亚洲欧洲av冫 | 蜜桃视频插满18在线观看 | 女高中生第一次破苞av | 久久人人爽人人人人片 | 日韩欧美群交p片內射中文 | 日日摸日日碰夜夜爽av | 樱花草在线社区www | 亚洲中文字幕无码一久久区 | 欧美精品国产综合久久 | 国产在线aaa片一区二区99 | 捆绑白丝粉色jk震动捧喷白浆 | 久久亚洲中文字幕无码 | 中文字幕乱码亚洲无线三区 | 亚洲欧美中文字幕5发布 | 欧美人与禽zoz0性伦交 | 夜夜高潮次次欢爽av女 | 亚洲日韩av一区二区三区四区 | 亚洲一区二区三区 | 51国偷自产一区二区三区 | 久久久久av无码免费网 | 小鲜肉自慰网站xnxx | 免费网站看v片在线18禁无码 | 风流少妇按摩来高潮 | 狠狠色丁香久久婷婷综合五月 | 偷窥村妇洗澡毛毛多 | 国产精品怡红院永久免费 | 色情久久久av熟女人妻网站 | 一本色道婷婷久久欧美 | 无码午夜成人1000部免费视频 | 久久久av男人的天堂 | 亚洲一区二区三区无码久久 | 久久亚洲中文字幕无码 | 亚洲人成人无码网www国产 | 最新国产乱人伦偷精品免费网站 | 丝袜足控一区二区三区 | 男女猛烈xx00免费视频试看 | 天天摸天天碰天天添 | 亚洲精品一区三区三区在线观看 | 国语精品一区二区三区 | 成人一区二区免费视频 | 精品成在人线av无码免费看 | 欧美黑人性暴力猛交喷水 | 成人片黄网站色大片免费观看 | av在线亚洲欧洲日产一区二区 | 小泽玛莉亚一区二区视频在线 | 亚洲精品中文字幕乱码 | 在线а√天堂中文官网 | 久久精品国产99精品亚洲 | 色综合久久网 | 无码人妻久久一区二区三区不卡 | 蜜桃视频韩日免费播放 | 沈阳熟女露脸对白视频 | 无码人妻精品一区二区三区不卡 | 99国产精品白浆在线观看免费 | 中文字幕乱码中文乱码51精品 | 捆绑白丝粉色jk震动捧喷白浆 | 久久亚洲国产成人精品性色 | 88国产精品欧美一区二区三区 | 天海翼激烈高潮到腰振不止 | 国产9 9在线 | 中文 | 国产亚洲人成a在线v网站 | 动漫av一区二区在线观看 | 精品无人区无码乱码毛片国产 | 中文字幕av日韩精品一区二区 | 女人被男人躁得好爽免费视频 | 久久久成人毛片无码 | 天天躁日日躁狠狠躁免费麻豆 | 亚洲午夜无码久久 | 帮老师解开蕾丝奶罩吸乳网站 | 欧美人与牲动交xxxx | 成在人线av无码免观看麻豆 | 精品一区二区不卡无码av | 波多野结衣av一区二区全免费观看 | 亚洲日韩中文字幕在线播放 | 乱码午夜-极国产极内射 | 成年美女黄网站色大免费视频 | 亚洲色无码一区二区三区 | 亚洲色欲色欲欲www在线 | 在线看片无码永久免费视频 | 久久久中文久久久无码 | 久久国内精品自在自线 | 在线播放亚洲第一字幕 | 国产亚av手机在线观看 | 国产97在线 | 亚洲 | 午夜精品一区二区三区的区别 | 黑人玩弄人妻中文在线 | 国产成人无码午夜视频在线观看 | 一本大道久久东京热无码av | 无码精品人妻一区二区三区av | 一本久久a久久精品亚洲 | 日日碰狠狠丁香久燥 | 久久久精品人妻久久影视 | 又粗又大又硬毛片免费看 | 99久久99久久免费精品蜜桃 | 奇米综合四色77777久久 东京无码熟妇人妻av在线网址 | 色噜噜亚洲男人的天堂 | 98国产精品综合一区二区三区 | 成人亚洲精品久久久久软件 | а天堂中文在线官网 | 精品一二三区久久aaa片 | 最近免费中文字幕中文高清百度 | 欧美人与动性行为视频 | 色婷婷香蕉在线一区二区 | 成人一在线视频日韩国产 | 日韩欧美群交p片內射中文 | 亚洲aⅴ无码成人网站国产app | 国产精品久久精品三级 | 国产亲子乱弄免费视频 | 久久国产36精品色熟妇 | 亚洲色大成网站www国产 | 亚洲综合色区中文字幕 | 日本大香伊一区二区三区 | 久久zyz资源站无码中文动漫 | √天堂资源地址中文在线 | 午夜福利一区二区三区在线观看 | 成人无码影片精品久久久 | 西西人体www44rt大胆高清 | 国产色精品久久人妻 | 一本大道伊人av久久综合 | 亚洲精品国产精品乱码视色 | 2019午夜福利不卡片在线 | 亚洲精品一区三区三区在线观看 | 亚洲色偷偷男人的天堂 | 欧美老妇与禽交 | 东京一本一道一二三区 | 亚洲a无码综合a国产av中文 | 国内精品久久久久久中文字幕 | 国产超碰人人爽人人做人人添 | 亚洲狠狠色丁香婷婷综合 | 夜夜躁日日躁狠狠久久av | 欧美熟妇另类久久久久久多毛 | 中文字幕无线码免费人妻 | 97精品人妻一区二区三区香蕉 | 亚洲中文字幕成人无码 | 免费网站看v片在线18禁无码 | 少妇无码一区二区二三区 | v一区无码内射国产 | 99精品久久毛片a片 | 极品嫩模高潮叫床 | 国产精品无码一区二区桃花视频 | 国产精品-区区久久久狼 | 伊人色综合久久天天小片 | 荫蒂被男人添的好舒服爽免费视频 | 成人aaa片一区国产精品 | 永久免费精品精品永久-夜色 | 欧美变态另类xxxx | 中国大陆精品视频xxxx | 免费无码av一区二区 | 国产色xx群视频射精 | 日本肉体xxxx裸交 | 久久精品一区二区三区四区 | 国产特级毛片aaaaaa高潮流水 | 老子影院午夜伦不卡 | 一本久道久久综合婷婷五月 | 国产特级毛片aaaaaa高潮流水 | 呦交小u女精品视频 | 久久精品成人欧美大片 | 国产精品丝袜黑色高跟鞋 | 蜜桃臀无码内射一区二区三区 | 亚洲一区二区三区偷拍女厕 | 亚洲区小说区激情区图片区 | 中文无码成人免费视频在线观看 | 中文无码成人免费视频在线观看 | 美女毛片一区二区三区四区 | 久久99精品久久久久久动态图 | 亚洲色www成人永久网址 | 青草视频在线播放 | 又大又硬又爽免费视频 | 18无码粉嫩小泬无套在线观看 | 给我免费的视频在线观看 | 67194成是人免费无码 | 国产三级久久久精品麻豆三级 | 午夜时刻免费入口 | 国产精品久久久久无码av色戒 | 日产精品高潮呻吟av久久 | 激情亚洲一区国产精品 | 免费观看又污又黄的网站 | 国产成人一区二区三区别 | 国产片av国语在线观看 | 动漫av网站免费观看 | 亚洲色大成网站www国产 | 天天躁日日躁狠狠躁免费麻豆 | 国内综合精品午夜久久资源 | 国产精品a成v人在线播放 | 国产午夜手机精彩视频 | 任你躁在线精品免费 | 亚洲精品欧美二区三区中文字幕 | 综合激情五月综合激情五月激情1 | 亚洲综合色区中文字幕 | 亚洲日本va午夜在线电影 | 国产成人av免费观看 | 中文字幕无码免费久久99 | 熟女少妇在线视频播放 | 国产精品久久福利网站 | 一区二区三区乱码在线 | 欧洲 | 少妇被黑人到高潮喷出白浆 | 精品人妻人人做人人爽 | 在线天堂新版最新版在线8 | 少妇激情av一区二区 | 久久精品人人做人人综合试看 | 中文字幕无码免费久久9一区9 | 日日天日日夜日日摸 | 久久午夜无码鲁丝片秋霞 | 天天躁夜夜躁狠狠是什么心态 | 装睡被陌生人摸出水好爽 | 久久亚洲精品中文字幕无男同 | 免费人成网站视频在线观看 | 高潮毛片无遮挡高清免费视频 | 中文字幕精品av一区二区五区 | 亚洲爆乳大丰满无码专区 | √天堂中文官网8在线 | 成人毛片一区二区 | 久久精品99久久香蕉国产色戒 | 国产无套内射久久久国产 | 十八禁视频网站在线观看 | 日韩视频 中文字幕 视频一区 | 老熟妇乱子伦牲交视频 | 粗大的内捧猛烈进出视频 | 精品国产av色一区二区深夜久久 | 少妇无套内谢久久久久 | 青青青手机频在线观看 | 欧美兽交xxxx×视频 | 亚洲成a人片在线观看日本 | 亚洲精品一区三区三区在线观看 | 亚洲综合另类小说色区 | 日韩人妻少妇一区二区三区 | 成人欧美一区二区三区黑人免费 | 蜜桃av蜜臀av色欲av麻 999久久久国产精品消防器材 | 亚洲另类伦春色综合小说 | 在线播放免费人成毛片乱码 | 色偷偷av老熟女 久久精品人妻少妇一区二区三区 | 无码免费一区二区三区 | 国产综合色产在线精品 | 精品成人av一区二区三区 | 国产精品久免费的黄网站 | 亚洲成色www久久网站 | 亚洲日韩乱码中文无码蜜桃臀网站 | 玩弄中年熟妇正在播放 | 国产真实乱对白精彩久久 | 日日碰狠狠丁香久燥 | 成人无码精品一区二区三区 | 鲁一鲁av2019在线 | 久久久精品欧美一区二区免费 | 亚洲日本va午夜在线电影 | 日产精品99久久久久久 | 77777熟女视频在线观看 а天堂中文在线官网 | 小泽玛莉亚一区二区视频在线 | 午夜肉伦伦影院 | 夜夜夜高潮夜夜爽夜夜爰爰 | 国产免费观看黄av片 | 超碰97人人做人人爱少妇 | 国产精品亚洲专区无码不卡 | 国产精品毛片一区二区 | 中文字幕无线码免费人妻 | 天堂а√在线中文在线 | 久久伊人色av天堂九九小黄鸭 | 国产99久久精品一区二区 | 日本一卡二卡不卡视频查询 | 亚洲の无码国产の无码影院 | 人妻天天爽夜夜爽一区二区 | 欧美日韩色另类综合 | 久久精品无码一区二区三区 | 久久久国产精品无码免费专区 | 亚洲欧美日韩国产精品一区二区 | 亚洲欧美日韩综合久久久 | 欧美丰满熟妇xxxx | 久久国内精品自在自线 | 国产精品久久久av久久久 | 日韩无套无码精品 | 国产内射爽爽大片视频社区在线 | 福利一区二区三区视频在线观看 | 一本久道久久综合婷婷五月 | www国产亚洲精品久久久日本 | 一个人看的www免费视频在线观看 | а天堂中文在线官网 | 国产午夜手机精彩视频 | 国产麻豆精品一区二区三区v视界 | 在线 国产 欧美 亚洲 天堂 | 蜜桃av抽搐高潮一区二区 | 久久综合久久自在自线精品自 | 女人被男人躁得好爽免费视频 | 日日干夜夜干 | 99在线 | 亚洲 | 亚洲日韩av片在线观看 | 中文字幕无码热在线视频 | 18精品久久久无码午夜福利 | 一本久久a久久精品vr综合 | 亚洲精品一区国产 | 国产av剧情md精品麻豆 | 九九在线中文字幕无码 | 亚洲综合另类小说色区 | 男女超爽视频免费播放 | 欧美 日韩 人妻 高清 中文 | 色综合视频一区二区三区 | 亚洲精品久久久久中文第一幕 | 亚洲无人区午夜福利码高清完整版 | 人人爽人人爽人人片av亚洲 | 免费国产黄网站在线观看 | 色综合视频一区二区三区 | 波多野结衣高清一区二区三区 | 99视频精品全部免费免费观看 | 国产一区二区三区精品视频 | 国产人妻人伦精品 | 伊人色综合久久天天小片 | 国产绳艺sm调教室论坛 | 亚洲一区二区三区无码久久 | 成人欧美一区二区三区黑人 | 丰满人妻被黑人猛烈进入 | 精品国产aⅴ无码一区二区 | 无码播放一区二区三区 | 欧美野外疯狂做受xxxx高潮 | 我要看www免费看插插视频 | 在线观看免费人成视频 | 久久人人爽人人人人片 | 在线天堂新版最新版在线8 | 国内精品久久毛片一区二区 | 亚洲va欧美va天堂v国产综合 | 任你躁国产自任一区二区三区 | www成人国产高清内射 | 啦啦啦www在线观看免费视频 | √8天堂资源地址中文在线 | 青青草原综合久久大伊人精品 | 国产免费久久久久久无码 | 97夜夜澡人人爽人人喊中国片 | 日韩欧美成人免费观看 | 在线播放无码字幕亚洲 | 亚欧洲精品在线视频免费观看 | 永久免费观看美女裸体的网站 | 夜夜躁日日躁狠狠久久av | 亚洲精品中文字幕 | 99久久人妻精品免费一区 | 欧美人与善在线com | 欧美性黑人极品hd | 亚洲国产欧美国产综合一区 | 精品久久久久久亚洲精品 | 欧美人与善在线com | 国产另类ts人妖一区二区 | 久久国内精品自在自线 | 性生交大片免费看女人按摩摩 | 国产激情无码一区二区app | 成人三级无码视频在线观看 | 无码任你躁久久久久久久 | 色欲av亚洲一区无码少妇 | 国产激情艳情在线看视频 | 亚洲 a v无 码免 费 成 人 a v | 久久久婷婷五月亚洲97号色 | 精品无码国产自产拍在线观看蜜 | 国产乱人伦av在线无码 | 亚洲国产精品毛片av不卡在线 | 在教室伦流澡到高潮hnp视频 | 全黄性性激高免费视频 | 老子影院午夜精品无码 | 高中生自慰www网站 | 免费观看黄网站 | 国产片av国语在线观看 | 久久国产36精品色熟妇 | 女人被爽到呻吟gif动态图视看 | 无码人妻精品一区二区三区下载 | 亚洲成色www久久网站 | 丰满肥臀大屁股熟妇激情视频 | 樱花草在线播放免费中文 | 国产一区二区三区日韩精品 | 97夜夜澡人人爽人人喊中国片 | 天堂亚洲免费视频 | 捆绑白丝粉色jk震动捧喷白浆 | 国产亚洲精品久久久闺蜜 | 无码任你躁久久久久久久 | 国产精品国产三级国产专播 | 欧美丰满熟妇xxxx性ppx人交 | 日韩人妻少妇一区二区三区 | 亚洲精品午夜国产va久久成人 | 日日摸夜夜摸狠狠摸婷婷 | 18禁黄网站男男禁片免费观看 | 国产精品亚洲综合色区韩国 | 国产色xx群视频射精 | 成人无码视频在线观看网站 | 久久亚洲日韩精品一区二区三区 | 成人精品视频一区二区三区尤物 | 在线a亚洲视频播放在线观看 | 久久伊人色av天堂九九小黄鸭 | 欧美日韩一区二区综合 | 亚洲欧洲中文日韩av乱码 | 成人无码精品1区2区3区免费看 | 国产9 9在线 | 中文 | 特级做a爰片毛片免费69 | 最近的中文字幕在线看视频 | 日韩av无码一区二区三区 | 撕开奶罩揉吮奶头视频 | 亚洲 a v无 码免 费 成 人 a v | 无码人妻精品一区二区三区下载 | 国内精品人妻无码久久久影院蜜桃 | 精品乱子伦一区二区三区 | 国产午夜手机精彩视频 | 伊人久久大香线焦av综合影院 | 日日鲁鲁鲁夜夜爽爽狠狠 | 在线播放无码字幕亚洲 | 伊人久久婷婷五月综合97色 | 日韩视频 中文字幕 视频一区 | 131美女爱做视频 | 国产国产精品人在线视 | 国产av一区二区精品久久凹凸 | 婷婷丁香六月激情综合啪 | 欧美日韩在线亚洲综合国产人 | 99久久精品午夜一区二区 | 中文无码伦av中文字幕 | 人妻与老人中文字幕 | 欧美日本日韩 | 麻豆国产丝袜白领秘书在线观看 | 久久精品无码一区二区三区 | 人人爽人人澡人人高潮 | 玩弄少妇高潮ⅹxxxyw | 欧美成人高清在线播放 | 精品久久8x国产免费观看 | 少妇无码吹潮 | 成人免费无码大片a毛片 | 国内揄拍国内精品人妻 | 亚洲国产欧美日韩精品一区二区三区 | 久久久久久a亚洲欧洲av冫 | 蜜桃av蜜臀av色欲av麻 999久久久国产精品消防器材 | 欧美丰满熟妇xxxx性ppx人交 | 日本一卡二卡不卡视频查询 | 无码人妻精品一区二区三区不卡 | 日韩av无码一区二区三区不卡 | 国产亚洲精品久久久ai换 | 熟女俱乐部五十路六十路av | 丰腴饱满的极品熟妇 | 亚洲国产精品一区二区美利坚 | 丰满肥臀大屁股熟妇激情视频 | а√资源新版在线天堂 | 沈阳熟女露脸对白视频 | 国产电影无码午夜在线播放 | 国产午夜福利100集发布 | 丰满少妇人妻久久久久久 | 国产猛烈高潮尖叫视频免费 | 久久久中文字幕日本无吗 | 久久久久se色偷偷亚洲精品av | 欧美日韩一区二区综合 | 午夜理论片yy44880影院 | 天天爽夜夜爽夜夜爽 | 成年女人永久免费看片 | 人妻少妇精品无码专区动漫 | 免费无码一区二区三区蜜桃大 | 国产精品久久久久久久9999 | 日本丰满护士爆乳xxxx | 欧美一区二区三区 | 国产成人一区二区三区在线观看 | 一区二区三区乱码在线 | 欧洲 | 毛片内射-百度 | 在线а√天堂中文官网 | 国产特级毛片aaaaaaa高清 | 一本色道久久综合狠狠躁 | 久在线观看福利视频 | 国产疯狂伦交大片 | 国产精品久免费的黄网站 | 久久久无码中文字幕久... | 内射欧美老妇wbb | 国产乡下妇女做爰 | 成人欧美一区二区三区黑人免费 | 人人爽人人爽人人片av亚洲 | 人妻天天爽夜夜爽一区二区 | 天堂无码人妻精品一区二区三区 | 欧美肥老太牲交大战 | 性啪啪chinese东北女人 | 免费人成在线视频无码 | 亲嘴扒胸摸屁股激烈网站 | 美女毛片一区二区三区四区 | 精品国精品国产自在久国产87 | 国产亲子乱弄免费视频 | 亚洲精品成人av在线 | 三上悠亚人妻中文字幕在线 | 草草网站影院白丝内射 | 无码国产色欲xxxxx视频 | 亚洲成a人片在线观看无码3d | 成人性做爰aaa片免费看不忠 | √天堂中文官网8在线 | 亚洲小说图区综合在线 | 国产在线无码精品电影网 | 国产免费久久精品国产传媒 | 一本色道久久综合亚洲精品不卡 | 久久久久久a亚洲欧洲av冫 | 欧美性生交xxxxx久久久 | 日日噜噜噜噜夜夜爽亚洲精品 | 亚洲国产精品毛片av不卡在线 | 在线a亚洲视频播放在线观看 | 网友自拍区视频精品 | 国产偷国产偷精品高清尤物 | 人妻aⅴ无码一区二区三区 | 一本无码人妻在中文字幕免费 | 国产精品无码一区二区桃花视频 | 天海翼激烈高潮到腰振不止 | 荡女精品导航 | 中文字幕无码日韩专区 | 欧美色就是色 | 日日天干夜夜狠狠爱 | 久久综合九色综合97网 | 日韩少妇内射免费播放 | 国产亚洲欧美日韩亚洲中文色 | 国产热a欧美热a在线视频 | 久久久久久久女国产乱让韩 | 久久视频在线观看精品 | 国产美女极度色诱视频www | 亚洲一区二区三区播放 | 亚洲中文字幕无码中文字在线 | 国内揄拍国内精品少妇国语 | 亚洲精品成a人在线观看 | 欧美亚洲日韩国产人成在线播放 | 性色欲情网站iwww九文堂 | 无码人妻久久一区二区三区不卡 | 亚洲成熟女人毛毛耸耸多 | аⅴ资源天堂资源库在线 | 色欲久久久天天天综合网精品 | 日本大乳高潮视频在线观看 | 久久99精品久久久久久动态图 | а√天堂www在线天堂小说 | 久久精品国产99久久6动漫 | 日韩精品成人一区二区三区 | 欧美黑人巨大xxxxx | 图片小说视频一区二区 | 国产人妻精品一区二区三区不卡 | 精品久久久无码人妻字幂 | 夜夜影院未满十八勿进 | 欧美日韩一区二区三区自拍 | 熟妇人妻激情偷爽文 | 在线观看免费人成视频 | 国产乱人伦偷精品视频 | 无遮挡啪啪摇乳动态图 | 欧美性色19p | 亚洲狠狠色丁香婷婷综合 | 精品久久久无码中文字幕 | 日韩av激情在线观看 | 亚洲男女内射在线播放 | 亚洲一区二区三区偷拍女厕 | 18精品久久久无码午夜福利 | 婷婷六月久久综合丁香 | 女人和拘做爰正片视频 | 六月丁香婷婷色狠狠久久 | 一本色道久久综合狠狠躁 | 精品乱码久久久久久久 | 色窝窝无码一区二区三区色欲 | 国产成人一区二区三区在线观看 | 午夜精品一区二区三区的区别 | 亚洲成av人片在线观看无码不卡 | 少妇性俱乐部纵欲狂欢电影 | 精品偷自拍另类在线观看 | 2019nv天堂香蕉在线观看 | 久久久精品国产sm最大网站 | 久久精品成人欧美大片 | 好屌草这里只有精品 | 中文字幕人成乱码熟女app | 国产精品18久久久久久麻辣 | 永久免费观看美女裸体的网站 | 欧美大屁股xxxxhd黑色 | 色狠狠av一区二区三区 | 午夜福利不卡在线视频 | 中文字幕日产无线码一区 | 中文字幕无码av波多野吉衣 | 国产一区二区三区精品视频 | 亚洲 另类 在线 欧美 制服 | 国产精品亚洲专区无码不卡 | 中文无码伦av中文字幕 | 天天拍夜夜添久久精品 | 国产农村妇女高潮大叫 | 夜精品a片一区二区三区无码白浆 | 国产尤物精品视频 | 日本一卡2卡3卡4卡无卡免费网站 国产一区二区三区影院 | 亚洲爆乳大丰满无码专区 | 色一情一乱一伦一区二区三欧美 | 蜜桃视频插满18在线观看 | www国产精品内射老师 | 国产另类ts人妖一区二区 | 国产精品亚洲lv粉色 | 日欧一片内射va在线影院 | 久久人妻内射无码一区三区 | 成人欧美一区二区三区黑人免费 | 国产精品国产自线拍免费软件 | 国产一区二区三区四区五区加勒比 | 日日天干夜夜狠狠爱 | 黑人巨大精品欧美一区二区 | 亚洲国产av美女网站 | 中文字幕人妻丝袜二区 | 少妇无码一区二区二三区 | 装睡被陌生人摸出水好爽 | 牛和人交xxxx欧美 | 国产在线无码精品电影网 | 久久亚洲日韩精品一区二区三区 | 亚洲精品无码人妻无码 | 亚洲自偷自偷在线制服 | 2019午夜福利不卡片在线 | 日韩人妻无码中文字幕视频 | 一本一道久久综合久久 | 无码精品国产va在线观看dvd | 丰满护士巨好爽好大乳 | 一本久久伊人热热精品中文字幕 | 亚洲aⅴ无码成人网站国产app | 人人爽人人澡人人高潮 | 99riav国产精品视频 | 国产精品办公室沙发 | 任你躁国产自任一区二区三区 | 女人高潮内射99精品 | 国产婷婷色一区二区三区在线 | 日日噜噜噜噜夜夜爽亚洲精品 | 欧美激情综合亚洲一二区 | 狂野欧美性猛xxxx乱大交 | 亚洲成a人片在线观看无码3d | 免费人成在线观看网站 | 亚洲一区二区观看播放 | 骚片av蜜桃精品一区 | 丰满岳乱妇在线观看中字无码 | 无码人妻久久一区二区三区不卡 | 亚洲中文字幕无码中字 | 男女下面进入的视频免费午夜 | 青青青爽视频在线观看 | 成 人 免费观看网站 | 激情国产av做激情国产爱 | 欧美野外疯狂做受xxxx高潮 | 国产超碰人人爽人人做人人添 | 中文字幕无码av波多野吉衣 | 国产av一区二区精品久久凹凸 | 欧美 日韩 亚洲 在线 | 久激情内射婷内射蜜桃人妖 | 波多野结衣 黑人 | 狂野欧美性猛交免费视频 | 亚洲一区二区三区含羞草 | 免费观看黄网站 | 欧洲vodafone精品性 | 男人和女人高潮免费网站 | 欧美人与物videos另类 | 色老头在线一区二区三区 | 无码国模国产在线观看 | 国产一精品一av一免费 | 小sao货水好多真紧h无码视频 | 伊人久久大香线蕉av一区二区 | 一二三四在线观看免费视频 | 免费看男女做好爽好硬视频 | 亚洲aⅴ无码成人网站国产app | 色婷婷综合中文久久一本 | 国产精品久久久 | 国产精品无码mv在线观看 | 国产午夜福利100集发布 | 国产成人久久精品流白浆 | 久精品国产欧美亚洲色aⅴ大片 | 在线亚洲高清揄拍自拍一品区 | 国产黑色丝袜在线播放 | 中国女人内谢69xxxxxa片 | 久久精品成人欧美大片 | 国产xxx69麻豆国语对白 | 国产成人精品一区二区在线小狼 | 成人无码视频免费播放 | 成人免费视频视频在线观看 免费 | 国产成人av免费观看 | 在线观看免费人成视频 | 天天躁日日躁狠狠躁免费麻豆 | 国产午夜无码视频在线观看 | 狂野欧美激情性xxxx | 国产区女主播在线观看 | 亚洲一区av无码专区在线观看 | 国产黄在线观看免费观看不卡 | 国产猛烈高潮尖叫视频免费 | 老太婆性杂交欧美肥老太 | 人人妻人人澡人人爽人人精品浪潮 | 亚洲国产av美女网站 | 国产无套粉嫩白浆在线 | 国产超级va在线观看视频 | 精品无码国产一区二区三区av | 欧美日韩综合一区二区三区 | 亚洲区小说区激情区图片区 | 内射欧美老妇wbb | 99精品无人区乱码1区2区3区 | 国产成人亚洲综合无码 | 久久久久成人精品免费播放动漫 | 东京热男人av天堂 | 曰韩无码二三区中文字幕 | 无码精品国产va在线观看dvd | 蜜臀aⅴ国产精品久久久国产老师 | 色综合久久久无码网中文 | 精品无码一区二区三区的天堂 | 成 人 免费观看网站 | 中国大陆精品视频xxxx | 国产亲子乱弄免费视频 | а√资源新版在线天堂 | 色妞www精品免费视频 | 国产综合久久久久鬼色 | 搡女人真爽免费视频大全 | ass日本丰满熟妇pics | 亚洲精品综合一区二区三区在线 | 国产农村妇女高潮大叫 | 日韩视频 中文字幕 视频一区 | 国产另类ts人妖一区二区 | 一本大道久久东京热无码av | 国产成人精品必看 | 国产欧美熟妇另类久久久 | 国产熟女一区二区三区四区五区 | 全球成人中文在线 | 麻豆国产丝袜白领秘书在线观看 | 日本xxxx色视频在线观看免费 | 麻豆国产丝袜白领秘书在线观看 | 精品日本一区二区三区在线观看 | 999久久久国产精品消防器材 | 国产成人无码区免费内射一片色欲 | 国产女主播喷水视频在线观看 | 精品国精品国产自在久国产87 | 国产真实夫妇视频 | 日本欧美一区二区三区乱码 | 亚洲国产高清在线观看视频 | 国产精品自产拍在线观看 | 黑人玩弄人妻中文在线 | 亚洲色欲色欲天天天www | 成人性做爰aaa片免费看不忠 | 国产精品久久久久无码av色戒 | 老司机亚洲精品影院无码 | 国产精品久久久久7777 | 夜精品a片一区二区三区无码白浆 | 大胆欧美熟妇xx | 波多野结衣高清一区二区三区 | 激情爆乳一区二区三区 | 亚洲熟女一区二区三区 | 国产成人无码专区 | 日韩精品无码免费一区二区三区 | 男女下面进入的视频免费午夜 | 亚洲精品一区国产 | 国产办公室秘书无码精品99 | 亚洲日本一区二区三区在线 | 久久精品丝袜高跟鞋 | 久久亚洲中文字幕无码 | 少妇人妻偷人精品无码视频 | 日本欧美一区二区三区乱码 | 国产人妻久久精品二区三区老狼 | 成人无码精品1区2区3区免费看 | 在线看片无码永久免费视频 | 亚洲国产精品久久久久久 | 亚洲精品一区二区三区四区五区 | 精品偷自拍另类在线观看 | 奇米影视7777久久精品人人爽 | a在线观看免费网站大全 | 国产精品-区区久久久狼 | 国产乱人偷精品人妻a片 | 精品久久久久香蕉网 | 欧洲欧美人成视频在线 | 亚洲国产欧美国产综合一区 | 国产乱子伦视频在线播放 | 无码一区二区三区在线 | 中文字幕乱码人妻二区三区 | 我要看www免费看插插视频 | 无遮挡国产高潮视频免费观看 | 国产av一区二区精品久久凹凸 | 国产成人精品必看 | 天堂а√在线地址中文在线 | 人妻aⅴ无码一区二区三区 | 色狠狠av一区二区三区 | 99久久人妻精品免费二区 | 亚洲欧洲日本综合aⅴ在线 | 色妞www精品免费视频 | 国产成人精品优优av | 欧美日本免费一区二区三区 | 无套内谢的新婚少妇国语播放 | 久久午夜无码鲁丝片午夜精品 | 成在人线av无码免费 | 欧美激情综合亚洲一二区 | 国产色视频一区二区三区 | 国产精品久免费的黄网站 | 午夜福利试看120秒体验区 | 亚洲色偷偷男人的天堂 | 久久熟妇人妻午夜寂寞影院 | www国产精品内射老师 | 国产偷国产偷精品高清尤物 | 老熟妇仑乱视频一区二区 | 久久精品人人做人人综合试看 | 婷婷综合久久中文字幕蜜桃三电影 | 国模大胆一区二区三区 | 黑人粗大猛烈进出高潮视频 | 狠狠噜狠狠狠狠丁香五月 | www国产精品内射老师 | 国产熟女一区二区三区四区五区 | 成人性做爰aaa片免费看 | 真人与拘做受免费视频一 | 成 人 免费观看网站 | 麻豆精品国产精华精华液好用吗 | 精品国产成人一区二区三区 | 人人澡人人透人人爽 | 蜜臀av无码人妻精品 | 99久久精品午夜一区二区 | 小sao货水好多真紧h无码视频 | 在线播放亚洲第一字幕 | 人妻少妇被猛烈进入中文字幕 | 青青久在线视频免费观看 | 久久综合激激的五月天 | 特级做a爰片毛片免费69 | av香港经典三级级 在线 | 久久国产精品萌白酱免费 | 国产无遮挡又黄又爽免费视频 | 欧美人与物videos另类 | 国产疯狂伦交大片 | 国产69精品久久久久app下载 | 强伦人妻一区二区三区视频18 | 久久精品国产一区二区三区 | 少妇性荡欲午夜性开放视频剧场 | 国产成人无码区免费内射一片色欲 | 欧美大屁股xxxxhd黑色 | 东京热一精品无码av | 中文字幕乱码人妻二区三区 | 亚洲综合伊人久久大杳蕉 | 精品久久久久久亚洲精品 | 99er热精品视频 | 乱人伦人妻中文字幕无码久久网 | 动漫av网站免费观看 | 亚洲色欲久久久综合网东京热 | 一本加勒比波多野结衣 | 亚洲中文字幕久久无码 | 天堂亚洲免费视频 | 精品aⅴ一区二区三区 | 色 综合 欧美 亚洲 国产 | 国产婷婷色一区二区三区在线 | 国产香蕉97碰碰久久人人 | 成人免费视频视频在线观看 免费 | 中文字幕人妻无码一区二区三区 | 男女爱爱好爽视频免费看 | 午夜男女很黄的视频 | 狠狠亚洲超碰狼人久久 | 成人无码精品一区二区三区 | 成熟女人特级毛片www免费 | 一本久久a久久精品vr综合 | 国产九九九九九九九a片 | 粗大的内捧猛烈进出视频 | 乌克兰少妇性做爰 | 天天拍夜夜添久久精品 | 国内精品人妻无码久久久影院蜜桃 | 亚洲狠狠色丁香婷婷综合 | 伦伦影院午夜理论片 | 日日夜夜撸啊撸 | 国产精品无套呻吟在线 | 亚洲精品美女久久久久久久 | 少妇被粗大的猛进出69影院 | 人妻少妇被猛烈进入中文字幕 | 真人与拘做受免费视频 | 性色av无码免费一区二区三区 | 国产成人无码专区 | 精品久久久久久人妻无码中文字幕 | 欧美日韩一区二区综合 | 18无码粉嫩小泬无套在线观看 | 中文字幕乱妇无码av在线 | 亚洲天堂2017无码 | 国产一区二区不卡老阿姨 | 欧美xxxxx精品 | 国产va免费精品观看 | 狂野欧美激情性xxxx | 精品无码成人片一区二区98 | 成人精品视频一区二区 | 午夜理论片yy44880影院 | 99久久精品午夜一区二区 | 色情久久久av熟女人妻网站 | 香港三级日本三级妇三级 | 亚洲成熟女人毛毛耸耸多 | 九月婷婷人人澡人人添人人爽 | 国产莉萝无码av在线播放 | 欧美日韩在线亚洲综合国产人 | 中文字幕精品av一区二区五区 | 成在人线av无码免观看麻豆 | 午夜精品久久久内射近拍高清 | 国产在线aaa片一区二区99 | 欧美精品无码一区二区三区 | 欧美熟妇另类久久久久久多毛 | 亚洲国产欧美在线成人 | 无码福利日韩神码福利片 | 国产超级va在线观看视频 | 牛和人交xxxx欧美 | 色窝窝无码一区二区三区色欲 | 超碰97人人做人人爱少妇 | 国产人妻人伦精品1国产丝袜 | 影音先锋中文字幕无码 | 任你躁国产自任一区二区三区 | 久久久亚洲欧洲日产国码αv | 亚洲熟女一区二区三区 | 九九综合va免费看 | 亚洲a无码综合a国产av中文 | 国内精品九九久久久精品 | 国产绳艺sm调教室论坛 | 国产片av国语在线观看 | 精品国偷自产在线 | 国产深夜福利视频在线 | 国产综合在线观看 | 国产精品怡红院永久免费 | 亚洲国产精品久久人人爱 | 又大又硬又黄的免费视频 | 国产人妻人伦精品1国产丝袜 | 国产精品久久久久影院嫩草 | 少妇愉情理伦片bd | 国精产品一区二区三区 | 美女黄网站人色视频免费国产 | 国语自产偷拍精品视频偷 | 午夜理论片yy44880影院 | 国产97色在线 | 免 | 少妇一晚三次一区二区三区 | 欧美亚洲国产一区二区三区 | 亚拍精品一区二区三区探花 | 欧美日本免费一区二区三区 | 狠狠综合久久久久综合网 | 2020久久香蕉国产线看观看 | 人妻体内射精一区二区三四 | 亚洲欧洲日本综合aⅴ在线 | 亚洲中文字幕va福利 | 国产va免费精品观看 | 黑人大群体交免费视频 | 樱花草在线播放免费中文 | 一区二区三区高清视频一 | 亚洲成a人片在线观看日本 | 久久午夜无码鲁丝片 | 久久这里只有精品视频9 | 亚洲精品无码人妻无码 | 97资源共享在线视频 | 俺去俺来也在线www色官网 | 亚洲熟悉妇女xxx妇女av | 露脸叫床粗话东北少妇 | 东京热一精品无码av | 色婷婷久久一区二区三区麻豆 | 久久人人爽人人爽人人片av高清 | 曰韩少妇内射免费播放 | 思思久久99热只有频精品66 | 无码毛片视频一区二区本码 | 天干天干啦夜天干天2017 | 久久人人爽人人爽人人片av高清 | 中文亚洲成a人片在线观看 | 欧美激情一区二区三区成人 | 久久久精品成人免费观看 | 欧美黑人巨大xxxxx | 欧美放荡的少妇 | 欧美三级不卡在线观看 | 蜜桃视频插满18在线观看 | 久久精品一区二区三区四区 | 精品久久久久久人妻无码中文字幕 | 无码免费一区二区三区 | 最新版天堂资源中文官网 | 精品偷拍一区二区三区在线看 | 天干天干啦夜天干天2017 | 精品人妻人人做人人爽夜夜爽 | 小鲜肉自慰网站xnxx | 中文字幕无码热在线视频 | 国产乱码精品一品二品 | 夜夜夜高潮夜夜爽夜夜爰爰 | 日本欧美一区二区三区乱码 | 日本丰满熟妇videos | 日韩人妻少妇一区二区三区 | 丰满诱人的人妻3 | 欧美日本日韩 | 日韩 欧美 动漫 国产 制服 | 免费无码的av片在线观看 | 久久熟妇人妻午夜寂寞影院 | 亚洲成在人网站无码天堂 | 国产精品久久久久久无码 | 精品少妇爆乳无码av无码专区 | 国产成人人人97超碰超爽8 | 欧美精品无码一区二区三区 | av无码电影一区二区三区 | 亚洲精品国产a久久久久久 | 呦交小u女精品视频 | 国产无套内射久久久国产 | 在线看片无码永久免费视频 | 色婷婷久久一区二区三区麻豆 | 奇米影视7777久久精品人人爽 | 在线成人www免费观看视频 | 国产农村乱对白刺激视频 | 九九在线中文字幕无码 | 精品人妻人人做人人爽 | 女人高潮内射99精品 | 免费看男女做好爽好硬视频 | 又大又紧又粉嫩18p少妇 | 无码毛片视频一区二区本码 | 午夜时刻免费入口 | 亚洲经典千人经典日产 | 少妇无码一区二区二三区 | 欧美一区二区三区 | 午夜理论片yy44880影院 | 99久久精品日本一区二区免费 | 中文字幕av无码一区二区三区电影 | 亚洲熟妇自偷自拍另类 | 色一情一乱一伦 | 欧美老熟妇乱xxxxx | 麻豆av传媒蜜桃天美传媒 | 波多野结衣av一区二区全免费观看 | 黄网在线观看免费网站 | 亚洲无人区午夜福利码高清完整版 | 自拍偷自拍亚洲精品被多人伦好爽 | 国产精品亚洲一区二区三区喷水 | 亚洲乱亚洲乱妇50p | 成人女人看片免费视频放人 | 中文字幕av日韩精品一区二区 | 久久久亚洲欧洲日产国码αv | 性生交片免费无码看人 | av在线亚洲欧洲日产一区二区 | 国产福利视频一区二区 | 在线精品国产一区二区三区 | 久久久国产精品无码免费专区 | 成人片黄网站色大片免费观看 | 丰满岳乱妇在线观看中字无码 | 97夜夜澡人人双人人人喊 | 一个人看的www免费视频在线观看 | 免费观看又污又黄的网站 | 蜜臀av在线观看 在线欧美精品一区二区三区 | 亚洲综合精品香蕉久久网 | 国产精品嫩草久久久久 | 成人动漫在线观看 | 国产在线精品一区二区三区直播 | 蜜臀aⅴ国产精品久久久国产老师 | 亚洲精品一区二区三区在线 | 日韩精品成人一区二区三区 | 成人无码精品一区二区三区 | 国产精品美女久久久网av | 天天摸天天透天天添 | 精品一区二区三区波多野结衣 | 国产精品久久久av久久久 | 成人精品天堂一区二区三区 | 人妻少妇精品无码专区二区 | 97久久精品无码一区二区 | 红桃av一区二区三区在线无码av | 国产极品美女高潮无套在线观看 | 兔费看少妇性l交大片免费 | 中文精品无码中文字幕无码专区 | 国产sm调教视频在线观看 | 水蜜桃亚洲一二三四在线 | 波多野结衣乳巨码无在线观看 | 日韩欧美成人免费观看 | 欧洲vodafone精品性 | 一本加勒比波多野结衣 | 国产成人精品三级麻豆 | 国产真实夫妇视频 | 在线播放免费人成毛片乱码 | 亚洲人成人无码网www国产 | 乌克兰少妇性做爰 | 国产电影无码午夜在线播放 | 欧美激情综合亚洲一二区 | 图片区 小说区 区 亚洲五月 | 四十如虎的丰满熟妇啪啪 | 国产一区二区三区日韩精品 | 久久综合狠狠综合久久综合88 | 精品国产av色一区二区深夜久久 | 欧美三级不卡在线观看 | 欧美 日韩 亚洲 在线 | 一本久道久久综合婷婷五月 | 在线欧美精品一区二区三区 | 免费观看的无遮挡av | 女人高潮内射99精品 | 亚洲综合伊人久久大杳蕉 | 无码一区二区三区在线 | 男女爱爱好爽视频免费看 | 香港三级日本三级妇三级 | 76少妇精品导航 | 日日天日日夜日日摸 | 国产精品人人妻人人爽 | 国产麻豆精品精东影业av网站 | 又粗又大又硬毛片免费看 | 玩弄少妇高潮ⅹxxxyw | 激情内射亚州一区二区三区爱妻 | 国产午夜手机精彩视频 | 久久亚洲中文字幕精品一区 | 国精产品一品二品国精品69xx | 任你躁国产自任一区二区三区 | 亚洲理论电影在线观看 | 无码国产乱人伦偷精品视频 | 国产成人人人97超碰超爽8 | 精品无码一区二区三区爱欲 | 成人精品天堂一区二区三区 | 亚洲色大成网站www | 扒开双腿吃奶呻吟做受视频 | 免费无码一区二区三区蜜桃大 | 日日摸天天摸爽爽狠狠97 | 国产精品高潮呻吟av久久4虎 | 岛国片人妻三上悠亚 | 少妇被黑人到高潮喷出白浆 | 玩弄少妇高潮ⅹxxxyw | 色五月五月丁香亚洲综合网 | 日本丰满护士爆乳xxxx | 免费无码av一区二区 | 中文字幕乱码亚洲无线三区 | 亚洲国产欧美国产综合一区 | 精品偷拍一区二区三区在线看 | 亚洲精品国产a久久久久久 | 精品人妻av区 | 亚洲а∨天堂久久精品2021 | 国产精品鲁鲁鲁 | 天堂а√在线地址中文在线 | 中文字幕亚洲情99在线 | 无套内射视频囯产 | 国产乱人伦偷精品视频 | 亚洲精品久久久久avwww潮水 | 成人aaa片一区国产精品 | a在线亚洲男人的天堂 | 狠狠cao日日穞夜夜穞av | 国产精品久免费的黄网站 | 亚洲色欲久久久综合网东京热 | 无码一区二区三区在线观看 | 日本大香伊一区二区三区 | 国产婷婷色一区二区三区在线 | 精品久久久无码人妻字幂 | 欧美xxxx黑人又粗又长 | 国产精品二区一区二区aⅴ污介绍 | 天天拍夜夜添久久精品大 | 国产亚洲精品久久久久久久 | 77777熟女视频在线观看 а天堂中文在线官网 | 欧美变态另类xxxx | 久久97精品久久久久久久不卡 | 国产偷国产偷精品高清尤物 | 国产精品无码一区二区三区不卡 | 亚洲区欧美区综合区自拍区 | 久久久婷婷五月亚洲97号色 | 亚洲精品成a人在线观看 | 亚洲色偷偷偷综合网 | 亚洲乱码中文字幕在线 | 国产热a欧美热a在线视频 | 日本熟妇大屁股人妻 | 小鲜肉自慰网站xnxx | 日韩视频 中文字幕 视频一区 | 欧美一区二区三区 | 日日麻批免费40分钟无码 | 丁香花在线影院观看在线播放 | 亚洲精品国产精品乱码视色 | 中文字幕 亚洲精品 第1页 | 中文字幕无码乱人伦 | 久久久久久久女国产乱让韩 | 免费观看黄网站 | 国产肉丝袜在线观看 | 成人免费视频视频在线观看 免费 | 曰韩无码二三区中文字幕 | 国产手机在线αⅴ片无码观看 | 欧美性猛交xxxx富婆 | 亚洲精品国偷拍自产在线观看蜜桃 | 强伦人妻一区二区三区视频18 | 精品人妻人人做人人爽夜夜爽 | aa片在线观看视频在线播放 | 国产麻豆精品精东影业av网站 | 台湾无码一区二区 | 激情亚洲一区国产精品 | 日产精品高潮呻吟av久久 | 日本护士毛茸茸高潮 | 伊人久久大香线蕉亚洲 | 国产精品亚洲专区无码不卡 | 日本丰满熟妇videos | 18禁止看的免费污网站 | 亚洲欧美日韩成人高清在线一区 | 欧美大屁股xxxxhd黑色 | 日本大香伊一区二区三区 | 成人影院yy111111在线观看 | 国产亚洲欧美日韩亚洲中文色 | 人妻少妇精品久久 | 婷婷五月综合缴情在线视频 | 欧美人妻一区二区三区 | 久久久www成人免费毛片 | 精品欧洲av无码一区二区三区 | 中文字幕乱妇无码av在线 | 欧美黑人性暴力猛交喷水 | 国产亚av手机在线观看 | 国产成人精品三级麻豆 | 一本久久a久久精品vr综合 | 成人一在线视频日韩国产 | 中文字幕无码人妻少妇免费 | 欧美性色19p | 爆乳一区二区三区无码 | 久久久久久久人妻无码中文字幕爆 | 六月丁香婷婷色狠狠久久 | 在线播放无码字幕亚洲 | 男女爱爱好爽视频免费看 | 国产精品第一区揄拍无码 | 丰满诱人的人妻3 | 亚洲毛片av日韩av无码 | 人妻人人添人妻人人爱 | 国产精品久久久久久久影院 | 亚洲综合久久一区二区 | ass日本丰满熟妇pics | 国产口爆吞精在线视频 | ass日本丰满熟妇pics | 亚洲精品久久久久久久久久久 | 狠狠cao日日穞夜夜穞av | 成人无码影片精品久久久 | 日本成熟视频免费视频 | 免费男性肉肉影院 | 久久综合久久自在自线精品自 | 丰腴饱满的极品熟妇 | 青青久在线视频免费观看 | 午夜成人1000部免费视频 | 无码一区二区三区在线 | 亚洲一区二区三区国产精华液 | 国产成人久久精品流白浆 | 久久久精品成人免费观看 | 国产色视频一区二区三区 | 四十如虎的丰满熟妇啪啪 | 国产午夜无码视频在线观看 | 97色伦图片97综合影院 | 色五月五月丁香亚洲综合网 | 国内揄拍国内精品少妇国语 | 国产热a欧美热a在线视频 | 精品一区二区三区波多野结衣 | 激情综合激情五月俺也去 | 亚洲色无码一区二区三区 | 亚洲精品一区二区三区四区五区 | 日日麻批免费40分钟无码 | 国产极品美女高潮无套在线观看 | 又色又爽又黄的美女裸体网站 | 国产精品怡红院永久免费 | 精品国产成人一区二区三区 | 日本熟妇人妻xxxxx人hd | 久在线观看福利视频 | 日韩人妻无码中文字幕视频 | 日本一区二区更新不卡 | 精品无码成人片一区二区98 | 内射老妇bbwx0c0ck | 性色欲网站人妻丰满中文久久不卡 | 亚洲の无码国产の无码影院 | 亚洲国产精品一区二区美利坚 | 亚洲欧洲日本综合aⅴ在线 | 亚洲欧美精品伊人久久 | 国产成人午夜福利在线播放 | 日本爽爽爽爽爽爽在线观看免 | 高潮喷水的毛片 | 亚洲理论电影在线观看 | 人妻aⅴ无码一区二区三区 | 麻豆国产人妻欲求不满谁演的 | 欧洲vodafone精品性 | 亚洲熟女一区二区三区 | 男女性色大片免费网站 | 亚洲精品午夜国产va久久成人 | 日韩成人一区二区三区在线观看 | 久9re热视频这里只有精品 | 成人亚洲精品久久久久软件 | 精品久久久久香蕉网 | 俄罗斯老熟妇色xxxx | 国产在线精品一区二区高清不卡 | 国产精品久久久 | 亚洲爆乳精品无码一区二区三区 | 东京无码熟妇人妻av在线网址 | 亚洲人亚洲人成电影网站色 | 国产人妻精品一区二区三区 | av无码不卡在线观看免费 | 国产精品久久久久无码av色戒 | 99精品无人区乱码1区2区3区 | 日韩欧美成人免费观看 | 欧美第一黄网免费网站 | 亚洲国产精品久久人人爱 | 国产精品福利视频导航 | 亚洲自偷自拍另类第1页 | 综合人妻久久一区二区精品 | 欧美黑人乱大交 | 色偷偷av老熟女 久久精品人妻少妇一区二区三区 | 日日橹狠狠爱欧美视频 | 99久久精品国产一区二区蜜芽 | 色偷偷人人澡人人爽人人模 | 人人爽人人澡人人高潮 | 波多野结衣av在线观看 | 无码人妻久久一区二区三区不卡 | 亚洲阿v天堂在线 | 少妇激情av一区二区 | 激情内射亚州一区二区三区爱妻 | 六月丁香婷婷色狠狠久久 | 一本加勒比波多野结衣 | 98国产精品综合一区二区三区 | 日韩视频 中文字幕 视频一区 | 日本护士毛茸茸高潮 | 无码国产乱人伦偷精品视频 | 99久久人妻精品免费二区 | 扒开双腿疯狂进出爽爽爽视频 | 亚洲毛片av日韩av无码 | 国产内射爽爽大片视频社区在线 | 国产精品无码一区二区三区不卡 | 日本大乳高潮视频在线观看 | 性色欲情网站iwww九文堂 | 精品无码成人片一区二区98 | 久久久久久久女国产乱让韩 | 最近中文2019字幕第二页 | 奇米影视7777久久精品 | 日韩欧美中文字幕在线三区 | 大地资源网第二页免费观看 | 中文字幕av无码一区二区三区电影 | 国产成人精品久久亚洲高清不卡 | 久久精品99久久香蕉国产色戒 | 大地资源中文第3页 | 九九热爱视频精品 | 亚洲中文字幕无码中文字在线 | 天堂亚洲免费视频 | 免费视频欧美无人区码 | 亚洲中文字幕av在天堂 | 国产绳艺sm调教室论坛 | 亚洲国产精品无码一区二区三区 | 99er热精品视频 | 久激情内射婷内射蜜桃人妖 | 亚洲狠狠婷婷综合久久 | 99er热精品视频 | 国产精品久久精品三级 | 青青青手机频在线观看 | 久久精品国产99久久6动漫 | 日韩av无码中文无码电影 | 内射老妇bbwx0c0ck | 丰满人妻精品国产99aⅴ | 麻豆成人精品国产免费 | 国产精品99爱免费视频 | 精品人妻av区 | 成人片黄网站色大片免费观看 | 帮老师解开蕾丝奶罩吸乳网站 | 内射爽无广熟女亚洲 | 中文字幕精品av一区二区五区 | 免费观看黄网站 | 国产亚洲欧美在线专区 | 国产人妻精品一区二区三区 | 色噜噜亚洲男人的天堂 | 乱人伦中文视频在线观看 | 国产精品无码一区二区桃花视频 | 国产精品美女久久久久av爽李琼 | 人妻少妇被猛烈进入中文字幕 | 日日天干夜夜狠狠爱 | 色婷婷综合中文久久一本 | 无人区乱码一区二区三区 | 国产成人一区二区三区在线观看 | 成人无码精品一区二区三区 | 鲁鲁鲁爽爽爽在线视频观看 | 久久久中文久久久无码 | 麻豆精品国产精华精华液好用吗 | 久久亚洲日韩精品一区二区三区 | 1000部夫妻午夜免费 | 男女超爽视频免费播放 | 亚洲精品无码国产 | 超碰97人人做人人爱少妇 | 亚洲人成无码网www | 99久久精品日本一区二区免费 | 日本乱偷人妻中文字幕 | 国产熟妇高潮叫床视频播放 | 亚洲国产高清在线观看视频 | 国内精品久久久久久中文字幕 | 无码人妻精品一区二区三区下载 | 一本一道久久综合久久 | 色一情一乱一伦一视频免费看 | 欧美性生交活xxxxxdddd | 内射后入在线观看一区 | 国产亚洲精品久久久久久大师 | 色一情一乱一伦一区二区三欧美 | 青春草在线视频免费观看 | 日本精品人妻无码免费大全 | 人妻天天爽夜夜爽一区二区 | 亚洲国产精品久久久久久 | 免费看少妇作爱视频 | 2019午夜福利不卡片在线 | 国产午夜亚洲精品不卡下载 | 国产卡一卡二卡三 | 精品人妻人人做人人爽夜夜爽 | 国产真实伦对白全集 | 精品国偷自产在线视频 | 欧美国产日产一区二区 | 一本久道久久综合婷婷五月 | 国产熟妇另类久久久久 | 国产激情综合五月久久 | 成人试看120秒体验区 | 久久人人97超碰a片精品 | 性欧美疯狂xxxxbbbb | 国产电影无码午夜在线播放 | 日日摸天天摸爽爽狠狠97 | 成人性做爰aaa片免费看不忠 | 国产国语老龄妇女a片 | 亚洲人成网站色7799 | 国产片av国语在线观看 | 国产精品高潮呻吟av久久4虎 | 色综合久久网 | 色综合久久久无码中文字幕 | 国产乱人无码伦av在线a | 给我免费的视频在线观看 | 国产亚洲tv在线观看 | 午夜时刻免费入口 | www成人国产高清内射 | 欧美猛少妇色xxxxx | 国产后入清纯学生妹 | 精品国产一区二区三区四区在线看 | 国产精品二区一区二区aⅴ污介绍 | 精品亚洲韩国一区二区三区 | 日本饥渴人妻欲求不满 | 欧美精品国产综合久久 | 偷窥村妇洗澡毛毛多 | 亚洲s色大片在线观看 | 国产片av国语在线观看 | 性欧美牲交xxxxx视频 | 日韩 欧美 动漫 国产 制服 | 国产av剧情md精品麻豆 | 青青草原综合久久大伊人精品 | 大屁股大乳丰满人妻 | av无码电影一区二区三区 | 野外少妇愉情中文字幕 | 国产乱人无码伦av在线a | 精品无码国产自产拍在线观看蜜 | 亚洲精品国产第一综合99久久 | 国产精品丝袜黑色高跟鞋 | 色妞www精品免费视频 | 国产在热线精品视频 | 日本精品久久久久中文字幕 | 高中生自慰www网站 | 国产精品久久久av久久久 | 成人一在线视频日韩国产 | 国产成人无码a区在线观看视频app | 国产精品久久久久7777 | 狠狠色欧美亚洲狠狠色www | 2020久久超碰国产精品最新 | 人妻少妇精品无码专区二区 | 狠狠色噜噜狠狠狠7777奇米 | 国产另类ts人妖一区二区 | 曰本女人与公拘交酡免费视频 | 欧美日韩亚洲国产精品 | 国产成人av免费观看 | 中文字幕 亚洲精品 第1页 | 欧美阿v高清资源不卡在线播放 | 黑人粗大猛烈进出高潮视频 | 国产精品手机免费 | 国产无套粉嫩白浆在线 | 久久久无码中文字幕久... | 高潮毛片无遮挡高清免费 | 成年美女黄网站色大免费视频 | 伊人久久婷婷五月综合97色 | 亚洲国产精品久久久天堂 | 国产免费无码一区二区视频 | 成人精品视频一区二区三区尤物 | 欧美 日韩 亚洲 在线 | 成人影院yy111111在线观看 | 午夜无码区在线观看 | 亚洲人成影院在线无码按摩店 | 亚洲中文字幕在线观看 | 荡女精品导航 | 国内精品人妻无码久久久影院蜜桃 | 欧美性生交活xxxxxdddd | 又粗又大又硬又长又爽 | 影音先锋中文字幕无码 | 久久久久免费看成人影片 | 国产一区二区三区四区五区加勒比 | www一区二区www免费 | 又紧又大又爽精品一区二区 | 大色综合色综合网站 | 色综合久久中文娱乐网 | 97久久国产亚洲精品超碰热 | 欧美日韩视频无码一区二区三 | 午夜理论片yy44880影院 | 婷婷色婷婷开心五月四房播播 | 欧洲欧美人成视频在线 | 好男人www社区 | 精品无码一区二区三区的天堂 | 久久精品成人欧美大片 | 学生妹亚洲一区二区 | 在线观看免费人成视频 | 亚洲色www成人永久网址 | 国产乱人伦app精品久久 国产在线无码精品电影网 国产国产精品人在线视 | 日韩少妇白浆无码系列 | 狂野欧美激情性xxxx | 无码人妻丰满熟妇区五十路百度 | 亚洲中文字幕无码中文字在线 | 色一情一乱一伦一视频免费看 | 国产免费无码一区二区视频 | 国产亚洲精品久久久久久国模美 | 成人免费视频视频在线观看 免费 | 亚洲国产日韩a在线播放 | 欧美黑人巨大xxxxx | 国产真实伦对白全集 | 色一情一乱一伦 | 中文字幕av无码一区二区三区电影 | 一本久道久久综合婷婷五月 | 人人澡人人透人人爽 | 亚洲综合在线一区二区三区 | 欧美喷潮久久久xxxxx | 亚洲日本va午夜在线电影 | 久久久久免费精品国产 | 在线观看欧美一区二区三区 | 中文字幕人妻丝袜二区 | 亚洲精品久久久久久久久久久 | 麻豆果冻传媒2021精品传媒一区下载 | 午夜肉伦伦影院 | 成人无码视频在线观看网站 | 麻豆国产人妻欲求不满谁演的 | 日本丰满护士爆乳xxxx | 55夜色66夜色国产精品视频 | 中文毛片无遮挡高清免费 | 日日碰狠狠躁久久躁蜜桃 | 国产超碰人人爽人人做人人添 | 精品少妇爆乳无码av无码专区 | 亚洲国产av美女网站 | 久久久久99精品成人片 | 国产无av码在线观看 | 国产在线精品一区二区三区直播 | 亚洲中文字幕成人无码 | 国产成人精品一区二区在线小狼 | 精品偷自拍另类在线观看 | 国产97色在线 | 免 | 亚洲成av人影院在线观看 | 好男人www社区 | 麻豆精产国品 | 久久国产精品偷任你爽任你 | 亚洲最大成人网站 | 亚洲自偷精品视频自拍 | 7777奇米四色成人眼影 | 日产精品高潮呻吟av久久 | 亚洲国产精华液网站w | 在线а√天堂中文官网 | 精品国产国产综合精品 | 2020久久香蕉国产线看观看 | 亚洲s色大片在线观看 | 亚洲 欧美 激情 小说 另类 | 亚洲综合精品香蕉久久网 | 精品国偷自产在线 | 夜精品a片一区二区三区无码白浆 | 国产精品久久久久久无码 | 婷婷丁香六月激情综合啪 | 久久国产精品二国产精品 | 亚洲 激情 小说 另类 欧美 | 一本久道久久综合狠狠爱 | 国产精品第一区揄拍无码 | 婷婷六月久久综合丁香 | 天天摸天天碰天天添 | 人人妻人人澡人人爽精品欧美 | 国产精品99久久精品爆乳 | 97久久超碰中文字幕 | 亚洲s色大片在线观看 | 欧美真人作爱免费视频 | 日产精品99久久久久久 | 日日橹狠狠爱欧美视频 | 精品国产av色一区二区深夜久久 | 精品人妻av区 | 日日摸天天摸爽爽狠狠97 | 水蜜桃av无码 | 中文字幕无码乱人伦 | 漂亮人妻洗澡被公强 日日躁 | 67194成是人免费无码 | 国产av剧情md精品麻豆 | 亚洲国产高清在线观看视频 | 搡女人真爽免费视频大全 | 超碰97人人做人人爱少妇 | 九月婷婷人人澡人人添人人爽 | 亚无码乱人伦一区二区 | 小泽玛莉亚一区二区视频在线 | 18禁黄网站男男禁片免费观看 | 国产人妻大战黑人第1集 | 国产亚洲精品久久久久久久久动漫 | 国产农村妇女高潮大叫 | 亚洲精品一区二区三区在线 | 99精品无人区乱码1区2区3区 | 国产成人无码av片在线观看不卡 | 国内老熟妇对白xxxxhd | 色欲综合久久中文字幕网 | 人人妻人人澡人人爽人人精品 | 蜜桃av蜜臀av色欲av麻 999久久久国产精品消防器材 | 国色天香社区在线视频 | 老熟女乱子伦 | 青草视频在线播放 | 国产精品自产拍在线观看 | 狠狠色欧美亚洲狠狠色www | 日本丰满护士爆乳xxxx | 国产婷婷色一区二区三区在线 | 又湿又紧又大又爽a视频国产 | 久久亚洲中文字幕无码 | 国产做国产爱免费视频 | 夜精品a片一区二区三区无码白浆 | 午夜免费福利小电影 | 99久久久无码国产精品免费 | 亚洲熟妇色xxxxx欧美老妇 | 无码人妻少妇伦在线电影 | 亚洲成a人片在线观看日本 | 日韩 欧美 动漫 国产 制服 | 丰满肥臀大屁股熟妇激情视频 | 欧美性生交xxxxx久久久 | 中文字幕av日韩精品一区二区 | 国产午夜亚洲精品不卡 | 男女下面进入的视频免费午夜 | 亚洲区欧美区综合区自拍区 | 天堂无码人妻精品一区二区三区 | 鲁鲁鲁爽爽爽在线视频观看 | 东京热男人av天堂 | 国产乱人伦app精品久久 国产在线无码精品电影网 国产国产精品人在线视 | 最近免费中文字幕中文高清百度 | 成熟妇人a片免费看网站 | 国产午夜无码视频在线观看 | 人妻夜夜爽天天爽三区 | 成人免费视频在线观看 | 亚欧洲精品在线视频免费观看 | 国产亚洲日韩欧美另类第八页 | 国产精品va在线观看无码 | 无码国产色欲xxxxx视频 | 成人无码精品1区2区3区免费看 | 国产精品理论片在线观看 | а天堂中文在线官网 | 成人性做爰aaa片免费看 | 成人精品视频一区二区三区尤物 | 少妇太爽了在线观看 | 午夜理论片yy44880影院 | 久久久成人毛片无码 | 无码精品人妻一区二区三区av | 夜精品a片一区二区三区无码白浆 | 色窝窝无码一区二区三区色欲 | 欧美国产亚洲日韩在线二区 | 无码一区二区三区在线 | 日本爽爽爽爽爽爽在线观看免 | 波多野结衣一区二区三区av免费 | 欧洲欧美人成视频在线 | 97夜夜澡人人双人人人喊 | 97se亚洲精品一区 | 中文字幕av伊人av无码av | 国产在线aaa片一区二区99 | 色综合久久久久综合一本到桃花网 | 亚洲色www成人永久网址 | 骚片av蜜桃精品一区 | 97精品人妻一区二区三区香蕉 | 99国产精品白浆在线观看免费 | 久激情内射婷内射蜜桃人妖 | 人人爽人人澡人人高潮 | 国产97人人超碰caoprom | 亚洲综合伊人久久大杳蕉 | 婷婷五月综合缴情在线视频 | 国产熟女一区二区三区四区五区 | 蜜臀aⅴ国产精品久久久国产老师 | 玩弄中年熟妇正在播放 | 少妇太爽了在线观看 | 成人欧美一区二区三区黑人免费 | 国产av无码专区亚洲a∨毛片 | 国产av剧情md精品麻豆 | 国产精品无码一区二区三区不卡 | 在线播放免费人成毛片乱码 | 亚洲自偷自拍另类第1页 | 亚洲欧美日韩国产精品一区二区 | 美女扒开屁股让男人桶 | 久久久精品人妻久久影视 | 亚洲熟妇自偷自拍另类 | 黑森林福利视频导航 | 精品aⅴ一区二区三区 | 中文字幕无码av波多野吉衣 | 精品国产乱码久久久久乱码 | 色窝窝无码一区二区三区色欲 | 国产精品无码一区二区三区不卡 | 成年美女黄网站色大免费全看 | 成 人 免费观看网站 | 熟妇人妻中文av无码 | 国产深夜福利视频在线 | 亚洲欧美国产精品久久 | 亚洲精品一区二区三区四区五区 | 亚洲成在人网站无码天堂 | 亚洲精品久久久久中文第一幕 | 国产精品亚洲lv粉色 | 国产午夜手机精彩视频 | 欧美第一黄网免费网站 | 131美女爱做视频 | 乱人伦中文视频在线观看 | 欧美国产亚洲日韩在线二区 | 亚洲人成无码网www | 成熟妇人a片免费看网站 | 久久精品人人做人人综合试看 | 国产午夜精品一区二区三区嫩草 | 精品国产一区二区三区四区在线看 | 狠狠噜狠狠狠狠丁香五月 |