Xprotector-开源

  • B3_557139
    了解作者
  • 132.1KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-05-27 03:36
    上传日期
Xprotector是php中的一个程序(附加程序),用于为网络访问者创建和管理受限制的SPIP部分(www.uzine.net)。 您还可以管理有权访问这些部分的用户。
xprotector-1.0.8.zip
  • xprotector-1.0.8
  • admin
  • tpl_usergroups.php
    6KB
  • tpl_create_user.php
    1.9KB
  • tpl_addgroup.php
    1.7KB
  • tpl_admin.php
    3.9KB
  • tpl_this_user_admin.php
    1.6KB
  • tpl_admingroup.php
    1.7KB
  • adduser.php
    6.1KB
  • tpl_default.php
    1.9KB
  • index.php
    5.9KB
  • class.htaccess.php
    8KB
  • tpl_users.php
    2.3KB
  • login.tpl
    1.9KB
  • doc
  • index.html
    26KB
  • xprotector.gif
    8.2KB
  • smarty
  • configs
  • empty
    5B
  • Smarty.class.php
    85.8KB
  • debug.tpl
    4.9KB
  • plugins
  • modifier.upper.php
    320B
  • modifier.count_paragraphs.php
    438B
  • function.eval.php
    767B
  • modifier.lower.php
    320B
  • function.cycle.php
    2.8KB
  • function.popup.php
    3.6KB
  • modifier.date_format.php
    826B
  • function.html_table.php
    2.2KB
  • modifier.cat.php
    493B
  • modifier.escape.php
    1.3KB
  • function.html_select_date.php
    8.1KB
  • modifier.regex_replace.php
    412B
  • function.mailto.php
    3.8KB
  • modifier.capitalize.php
    330B
  • modifier.spacify.php
    463B
  • modifier.nl2br.php
    600B
  • function.counter.php
    1.4KB
  • modifier.strip.php
    601B
  • modifier.replace.php
    387B
  • function.html_select_time.php
    6KB
  • modifier.string_format.php
    380B
  • function.assign_debug_info.php
    955B
  • modifier.truncate.php
    848B
  • modifier.debug_print_var.php
    1.5KB
  • block.textformat.php
    1.7KB
  • function.debug.php
    534B
  • function.popup_init.php
    765B
  • modifier.count_sentences.php
    467B
  • outputfilter.trimwhitespace.php
    2.4KB
  • function.html_image.php
    3.4KB
  • function.math.php
    2.3KB
  • function.assign.php
    654B
  • function.fetch.php
    5.8KB
  • modifier.count_words.php
    574B
  • modifier.wordwrap.php
    390B
  • shared.make_timestamp.php
    952B
  • modifier.indent.php
    368B
  • function.html_radios.php
    3.1KB
  • function.html_options.php
    2.9KB
  • function.html_area.php
    1.8KB
  • shared.escape_special_chars.php
    654B
  • modifier.count_characters.php
    491B
  • modifier.default.php
    454B
  • function.html_checkboxes.php
    3.1KB
  • modifier.strip_tags.php
    485B
  • Config_File.class.php
    9.7KB
  • templates_c
  • empty
    5B
  • .cvsignore
    3B
  • Smarty_Compiler.class.php
    63.8KB
  • templates
  • adduser.tpl
    2.1KB
  • admingroup.tpl
    7.5KB
  • addgroup.tpl
    1.8KB
  • admin.tpl
    3.4KB
  • usergroups.tpl
    7.4KB
  • default.tpl
    2.7KB
  • index.tpl
    2.5KB
  • this_user_admin.tpl
    4.1KB
  • create_user.tpl
    3.2KB
  • users.tpl
    7.8KB
  • login.php
    2.4KB
  • .htaccess.dist
    115B
  • include
  • delete.php
    2.5KB
  • base.inc.php
    3.2KB
  • install.php
    4.2KB
  • class.login.php
    11.7KB
  • class.protect.php
    11.1KB
  • class.rub.php
    11.5KB
  • utils.php
    3.8KB
  • Xprotect.php
    2.9KB
  • class.usersgroups.php
    18.1KB
  • .htaccess
    13B
  • version.php
    55B
  • mysql.php
    8.8KB
  • class.pagination.php
    3.9KB
内容介绍
<?php /** * Project: Smarty: the PHP compiling template engine * File: Smarty.class.php * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * For questions, help, comments, discussion, etc., please join the * Smarty mailing list. Send a blank e-mail to * smarty-general-subscribe@lists.php.net * * You may contact the authors of Smarty by e-mail at: * monte@ispi.net * andrei@php.net * * Or, write to: * Monte Ohrt * Director of Technology, ispi * 237 S. 70th suite 220 * Lincoln, NE 68510 * * The latest version of Smarty can be obtained from: * http://smarty.php.net/ * * @link http://smarty.php.net/ * @copyright 2001,2002 ispi of Lincoln, Inc. * @author Monte Ohrt <monte@ispi.net> * @author Andrei Zmievski <andrei@php.net rel='nofollow' onclick='return false;'> * @package Smarty * @version 2.5.0 */ /* $Id: Smarty.class.php,v 1.1.1.1 2003/05/19 19:46:29 atur Exp $ */ /** * set SMARTY_DIR to absolute path to Smarty library files. * if not defined, include_path will be used. */ define('DIR_SEP', DIRECTORY_SEPARATOR); /** * Sets SMARTY_DIR only if user application has not already defined it */ if (!defined('SMARTY_DIR')) { define('SMARTY_DIR', dirname(__FILE__) . DIR_SEP); } define('SMARTY_PHP_PASSTHRU', 0); define('SMARTY_PHP_QUOTE', 1); define('SMARTY_PHP_REMOVE', 2); define('SMARTY_PHP_ALLOW', 3); /** * @package Smarty */ class Smarty { /**#@+ * Smarty Configuration Section */ /** * The name of the directory where templates are located. * * @var string */ var $template_dir = 'templates'; /** * The directory where compiled templates are located. * * @var string */ var $compile_dir = 'templates_c'; /** * The directory where config files are located. * * @var string */ var $config_dir = 'configs'; /** * An array of directories searched for plugins. * * @var array */ var $plugins_dir = array('plugins'); /** * If debugging is enabled, a debug console window will display * when the page loads (make sure your browser allows unrequested * popup windows) * * @var boolean */ var $debugging = false; /** * This is the path to the debug console template. If not set, * the default one will be used. * * @var string */ var $debug_tpl = ''; /** * This determines if debugging is enable-able from the browser. * <ul> * <li>NONE => no debugging control allowed</li> * <li>URL => enable debugging when SMARTY_DEBUG is found in the URL.</li> * </ul> * @link http://www.foo.dom/index.php?SMARTY_DEBUG * @var string */ var $debugging_ctrl = 'NONE'; /** * This tells Smarty whether to check for recompiling or not. Recompiling * does not need to happen unless a template or config file is changed. * Typically you enable this during development, and disable for * production. * * @var boolean */ var $compile_check = true; /** * This forces templates to compile every time. Useful for development * or debugging. * * @var boolean */ var $force_compile = false; /** * This enables template caching. * <ul> * <li>0 = no caching</li> * <li>1 = use class cache_lifetime value</li> * <li >2 = use cache_lifetime in cache file</li> * </ul> * @var integer */ var $caching = 0; /** * The name of the directory for cache files. * * @var string */ var $cache_dir = 'cache'; /** * This is the number of seconds cached content will persist. * <ul> * <li>0 = always regenerate cache</li> * <li>-1 = never expires</li> * </ul> * * @var integer */ var $cache_lifetime = 3600; /** * Only used when $caching is enabled. If true, then If-Modified-Since headers * are respected with cached content, and appropriate HTTP headers are sent. * This way repeated hits to a cached page do not send the entire page to the * client every time. * * @var boolean */ var $cache_modified_check = false; /** * This determines how Smarty handles <?php ?> tags in templates. * possible values: * <ul> * <li>SMARTY_PHP_PASSTHRU -> print tags as plain text</li> * <li>SMARTY_PHP_QUOTE -> escape tags as entities</li> * <li>SMARTY_PHP_REMOVE -> remove php tags</li> * <li>SMARTY_PHP_ALLOW -> execute php tags</li> * </ul> * * @var integer */ var $php_handling = SMARTY_PHP_PASSTHRU; /** * This enables template security. When enabled, many things are restricted * in the templates that normally would go unchecked. This is useful when * untrusted parties are editing templates and you want a reasonable level * of security. (no direct execution of PHP in templates for example) * * @var boolean */ var $security = false; /** * This is the list of template directories that are considered secure. This * is used only if {@link $security} is enabled. One directory per array * element. {@link $template_dir} is in this list implicitly. * * @var array */ var $secure_dir = array(); /** * These are the security settings for Smarty. They are used only when * {@link $security} is enabled. * * @var array */ var $security_settings = array( 'PHP_HANDLING' => false, 'IF_FUNCS' => array('array', 'list', 'isset', 'empty', 'count', 'sizeof', 'in_array', 'is_array', 'true','false'), 'INCLUDE_ANY' => false, 'PHP_TAGS' => false, 'MODIFIER_FUNCS' => array('count'), 'ALLOW_CONSTANTS' => false ); /** * This is an array of directories where trusted php scripts reside. * {@link $security} is disabled during their inclusion/execution. * * @var array */ var $trusted_dir = array(); /** * The left delimiter used for the template tags. * * @var string */ var $left_delimiter = '{'; /** * The right delimiter used for the template tags. * * @var string */ var $right_delimiter = '}'; /** * The order in which request variables are registered, similar to * variables_order in php.ini E = Environment, G = GET, P = POST, * C = Cookies, S = Server * * @var string */ var $request_vars_order = "EGPCS"; /** * Set this if you want different sets of compiled files for the same * templates. This is useful for things like different languages. * Instead of creating separate sets of te
评论
    相关推荐
    • google maps api v3 源码(.NET PHP 等通用)
      用的是Google_maps_api_v3。可以操作类似:上海市所有大众汽车4S店,之间的google地图查找、切换,以及放大、缩小、卫星视图等等,首先需要...代码很简单,纯js,适合.netphp等各类网站。本代码仅适合新手学习、交流。
    • Muse.Net PHP SDK-开源
      Muse.Net是媒体收藏的通用遥控器。 您可以使用WSDL直接针对我们的Web服务进行编程,也可以使用Muse.Net SDK简化编程。 该SDK用于使用PHP NuSOAP构建Muse.Net客户端。
    • google maps api 源码(.NET PHP 等通用)
      用的是Google的maps api。可以操作类似:上海市所有大众汽车4S店,之间的google地图查找、切换,以及放大、缩小、卫星视图等等(本程序以...代码很简单,纯js,适合.netphp等各类网站。本代码仅适合新手学习、交流。
    • 网银4种语言接口 支持 asp asp.net php jsp
      网银4种语言接口 支持 asp asp.net php jsp
    • java .net php .js 乱码转换器
      方便 快捷 可以直接将乱码复制到文本框中 程序将自动进行乱码转换 也可以手动进行转换。有示例!
    • 免费下载WEBIM java pushlet .net php
      免费下载 WEBIM java pushlet .net php 大家下载,测试下,能够运行,免费下载
    • .net中调用PHP原码
      .net中调用PHP原码.net中调用PHP原码.net中调用PHP原码.net中调用PHP原码
    • 人才网 asp asp.net php
      人才网 asp版 asp.netphp版 易想人才网V1.0 浙江人才网 新安人才网 江西人才网 深圳人才网……
    • php.net 官方中文手册
      php.net 官方中文手册 包括所有的函数和说明 还是很不错的参考手册
    • Sorry.NET PHP在线生成王境泽表情
      PHP在线生成王境泽表情、为所欲为、切瓦拉格、曾小贤答题等热门GIF表情