code
stringlengths
1
2.01M
language
stringclasses
1 value
<?php /** Chinese Simplified localization file for KCFinder * author: yutuo * country: China * E-mail: yutuo5@gmail.com * URL: yutuo.net */ $lang = array( '_locale' => "zh_CN.UTF-8", // UNIX localization code '_charset' => "utf-8", // Browser charset // Date time formats. See http://www...
PHP
<?php /** Greek localization file for KCFinder * author: Spiros Kabasakalis */ $lang = array( '_locale' => "el_GR.UTF-8", // UNIX localization code '_charset' => "utf-8", // Browser charset // Date time formats. See http://www.php.net/manual/en/function.strftime.php '_dateTimeFull' => "%...
PHP
<?php /** French localization file for KCFinder * author: Krzysztof Lorenc */ $lang = array( '_locale' => "pl_PL.UTF-8", // UNIX localization code '_charset' => "utf-8", // Browser charset // Date time formats. See http://www.php.net/manual/en/function.strftime.php '_dateTimeFull' => "%A,...
PHP
<?php /** Turkish localization file for KCFinder * translation by: Kursad Olmez <kursad.olmez@gmail.com> **/ $lang = array( '_locale' => "en_US.UTF-8", // UNIX localization code '_charset' => "utf-8", // Browser charset // Date time formats. See http://www.php.net/manual/en/function.strftime.php ...
PHP
<?php /** Catalan localization file for KCFinder * author: Xevi Fuster * country: Catalunya */ $lang = array( '_locale' => "ca_ES.UTF-8", // UNIX localization code '_charset' => "utf-8", // Browser charset // Date time formats. See http://www.php.net/manual/en/function.strftime.php '_da...
PHP
<?php /** Hungarian localization file for KCFinder * Dubravszky József <joe@chilicreative.hu> */ $lang = array( '_locale' => "hu_HU.UTF-8", // UNIX localization code '_charset' => "utf-8", // Browser charset // Date time formats. See http://www.php.net/manual/en/function.strftime.php '_da...
PHP
<?php /** German localization file for KCFinder * author: Tim Wahrendorff <wahrendorff@users.sourceforge.net> */ $lang = array( '_locale' => "de_DE.UTF-8", // UNIX localization code '_charset' => "utf-8", // Browser charset // Date time formats. See http://www.php.net/manual/en/function.strft...
PHP
<?php /** Danish translation by Thomas Schou <thomas@schouweb.dk> **/ $lang = array( '_locale' => "da_DK.UTF-8", // UNIX localization code '_charset' => "utf-8", // Browser charset // Date time formats. See http://www.php.net/manual/en/function.strftime.php '_dateTimeFull' => "%A, %e.%B.%Y %H...
PHP
<?php /** Italian localization file for KCFinder * author: Ivano Raffeca */ $lang = array( '_locale' => "it_IT.UTF-8", // UNIX localization code '_charset' => "utf-8", // Browser charset // Date time formats. See http://www.php.net/manual/en/function.strftime.php '_dateTimeFull' => "%A, %...
PHP
<?php /** Bulgarian localization file for KCFinder * author: Pavel Tzonkov <pavelc@users.sourceforge.net> */ $lang = array( '_locale' => "bg_BG.UTF-8", // UNIX localization code '_charset' => "utf-8", // Browser charset // Date time formats. See http://www.php.net/manual/en/function.strftime....
PHP
<?php /** This file is part of KCFinder project * * @desc Persian(Farsi) localization file * @package KCFinder * @version 2.2 * @author Hamid Kamalpour <djhamidfatal@gmail.com><http://www.ssfmusic.com> * @copyright 2010 KCFinder Project * @license http://www.opensource.org/licenses/gpl-2.0....
PHP
<?php /** Norwegian localization file for KCFinder * author: Robin Helgesen (robin@konsept-it.no) * country: Norway */ $lang = array( '_locale' => "nb_NO.UTF-8", // UNIX localization code '_charset' => "utf-8", // Browser charset // Date time formats. See http://www.php.net/manual/en/functi...
PHP
<?php /** Slovak localization file for KCFinder * author: drejk1 <drejk@inmail.sk> */ $lang = array( '_locale' => "sk_SK.UTF-8", // UNIX localization code '_charset' => "utf-8", // Browser charset // Date time formats. See http://www.php.net/manual/en/function.strftime.php '_dateTimeFull'...
PHP
<?php /** Russian localization file for KCFinder * author: Dark Preacher * E-mail: dark@darklab.ru */ $lang = array( '_locale' => "ru_RU.UTF-8", // UNIX localization code '_charset' => "utf-8", // Browser charset // Date time formats. See http://www.php.net/manual/en/function.strftime.php ...
PHP
<?php /** Portugues Brasil localization file for KCFinder * author: Alexandre Benegas Ferreira * country: Brasil * company website: www.hostcataratas.com.br * e-mail: contato@hostcataratas.com.br */ $lang = array( '_locale' => "pt_BR.UTF-8", // UNIX localization code '_charset' => "utf-8", /...
PHP
<?php /** vi localization file for KCFinder * Tran Van Quyet - HQV ltd */ $lang = array( '_locale' => "vi_VN.UTF-8", // UNIX localization code '_charset' => "utf-8", // Browser charset // Date time formats. See http://www.php.net/manual/en/function.strftime.php '_dateTimeFull' => "%A, %e ...
PHP
<?php /** This file is part of KCFinder project * * @desc Browser actions class * @package KCFinder * @version 2.51 * @author Pavel Tzonkov <pavelc@users.sourceforge.net> * @copyright 2010, 2011 KCFinder Project * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 * @license ...
PHP
<?php /** This file is part of KCFinder project * * @desc GD image detection class * @package KCFinder * @version 2.51 * @author Pavel Tzonkov <pavelc@users.sourceforge.net> * @copyright 2010, 2011 KCFinder Project * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 * @licen...
PHP
<?php /** This file is part of KCFinder project * * @desc MIME type detection class * @package KCFinder * @version 2.51 * @author Pavel Tzonkov <pavelc@users.sourceforge.net> * @copyright 2010, 2011 KCFinder Project * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 * @lice...
PHP
<?php /** This file is part of KCFinder project * * @desc This file is included first, before each other * @package KCFinder * @version 2.51 * @author Pavel Tzonkov <pavelc@users.sourceforge.net> * @copyright 2010, 2011 KCFinder Project * @license http://www.opensource.org/licenses/gpl-2.0....
PHP
<?php /** This file is part of KCFinder project * * @desc Uploader class * @package KCFinder * @version 2.51 * @author Pavel Tzonkov <pavelc@users.sourceforge.net> * @copyright 2010, 2011 KCFinder Project * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 * @license http://...
PHP
<?php /** This file is part of KCFinder project1 * * @desc Browser calling script * @package KCFinder * @version 2.51 * @author Pavel Tzonkov <pavelc@users.sourceforge.net> * @copyright 2010, 2011 KCFinder Project * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 * ...
PHP
<?php /** This file is part of KCFinder project * * @desc Load language labels into JavaScript * @package KCFinder * @version 2.51 * @author Pavel Tzonkov <pavelc@users.sourceforge.net> * @copyright 2010, 2011 KCFinder Project * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 ...
PHP
<?php /** This file is part of KCFinder project * * @desc Base configuration file * @package KCFinder * @version 2.51 * @author Pavel Tzonkov <pavelc@users.sourceforge.net> * @copyright 2010, 2011 KCFinder Project * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 * @licens...
PHP
<?php /** This file is part of KCFinder project * * @desc File helper class * @package KCFinder * @version 2.51 * @author Pavel Tzonkov <pavelc@users.sourceforge.net> * @copyright 2010, 2011 KCFinder Project * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 * @license http...
PHP
<?php /** This file is part of KCFinder project * * @desc Input class for GET, POST and COOKIE requests * @package KCFinder * @version 2.51 * @author Pavel Tzonkov <pavelc@users.sourceforge.net> * @copyright 2010, 2011 KCFinder Project * @license http://www.opensource.org/licenses/gpl-2.0.p...
PHP
<?php /** This file is part of KCFinder project. The class are taken from * http://www.php.net/manual/en/function.ziparchive-addemptydir.php * * @desc Directory to ZIP file archivator * @package KCFinder * @version 2.51 * @author Pavel Tzonkov <pavelc@users.sourceforge.net> * @copyright 2010,...
PHP
<?php /** This file is part of KCFinder project * * @desc Path helper class * @package KCFinder * @version 2.51 * @author Pavel Tzonkov <pavelc@users.sourceforge.net> * @copyright 2010, 2011 KCFinder Project * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 * @license http...
PHP
<?php /** This file is part of KCFinder project * * @desc HTTP cache helper class * @package KCFinder * @version 2.51 * @author Pavel Tzonkov <pavelc@users.sourceforge.net> * @copyright 2010, 2011 KCFinder Project * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 * @licens...
PHP
<?php /** This file is part of KCFinder project * * @desc Directory helper class * @package KCFinder * @version 2.51 * @author Pavel Tzonkov <pavelc@users.sourceforge.net> * @copyright 2010, 2011 KCFinder Project * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 * @license...
PHP
<?php /** This file is part of KCFinder project * * @desc Text processing helper class * @package KCFinder * @version 2.51 * @author Pavel Tzonkov <pavelc@users.sourceforge.net> * @copyright 2010, 2011 KCFinder Project * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 * @l...
PHP
<?php /** This file is part of KCFinder project * * @desc GD extension class * @package KCFinder * @version 2.51 * @author Pavel Tzonkov <pavelc@users.sourceforge.net> * @copyright 2010, 2011 KCFinder Project * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 * @license htt...
PHP
<?php /* * To change this template, choose Tools | Templates * and open the template in the editor. */ if (!function_exists("get_data")) { function get_data($url) { $ch = curl_init(); $timeout = 50; curl_setopt($ch,CURLOPT_URL,$url); curl_setopt($ch,CURLOPT_RETURNTRANSFER,1); curl_seto...
PHP
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>jQuery MultiSelect Plugin Tests</title> <link rel="stylesheet" type="text/css" href="../../jquery.multiselect.css" /> <link rel="stylesheet" type="text/css" href="style.css" /> <link rel="stylesheet" typ...
PHP
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>jQuery MultiSelect Plugin Tests</title> <link rel="stylesheet" type="text/css" href="../../jquery.multiselect.css" /> <link rel="stylesheet" type="text/css" href="style.css" /> <link rel="stylesheet" typ...
PHP
<?php // Errors $lang['auth_incorrect_password'] = 'Contraseña incorrecta'; $lang['auth_incorrect_login'] = 'Login incorrecto'; $lang['auth_incorrect_email_or_username'] = 'El usuario o email no existen'; $lang['auth_email_in_use'] = 'Email en uso. Por favor, seleccione otro.'; $lang['auth_username_in_use'] = 'Nombre ...
PHP
<?php // Errors $lang['auth_incorrect_password'] = 'Falsches Passwort'; $lang['auth_incorrect_login'] = 'Falscher Login'; $lang['auth_incorrect_email_or_username'] = 'Login oder E-Mail existiert nicht'; $lang['auth_email_in_use'] = 'Diese E-Mail-Adresse wird bereits von einem anderen Benutzer verwendet. Bitte wählen S...
PHP
<?php // Errors $lang['auth_incorrect_password'] = 'Неправильный пароль'; $lang['auth_incorrect_login'] = 'Неправильный логин'; $lang['auth_incorrect_email_or_username'] = 'Неправильный логин или email'; $lang['auth_email_in_use'] = 'Этот email уже занят. Пожалуйста, укажите другой.'; $lang['auth_username_in_use'] = '...
PHP
<?php $lang['alpha_dash_dot'] = 'The %s field may only contain alpha-numeric characters, underscores, dashes, and full stops.'; $lang['alpha_slash_dot'] = 'The %s field may only contain alpha-numeric characters, underscores, dashes, slashes, and full stops.'; $lang['min_date'] = 'The %s field must be at least %s.';...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /** * Name: flexi auth lang - English * * Author: * Rob Hussey * flexiauth@haseydesign.com * haseydesign.com/flexi-auth * * Released: 13/09/2012 * * Description: * English language file for flexi auth * * Requirements: PHP5 or above and Codei...
PHP
<?php // Errors $lang['auth_incorrect_password'] = 'Incorrect password'; $lang['auth_incorrect_login'] = 'Incorrect login'; $lang['auth_incorrect_email_or_username'] = 'Login or email doesn\'t exist'; $lang['auth_email_in_use'] = 'Email is already used by another user. Please choose another email.'; $lang['auth_userna...
PHP
<?php // Errors $lang['auth_incorrect_password'] = 'Mot de passe incorrect'; $lang['auth_incorrect_login'] = 'Authentification incorrect'; $lang['auth_incorrect_email_or_username'] = 'Authentification ou courriel inexistant'; $lang['auth_email_in_use'] = 'Courriel déjà utilisé par un autre usager. S.v.p., choisir un n...
PHP
<?php /* Translated by E-Finity Internet www.e-finity.nl */ // Errors $lang['auth_incorrect_password'] = 'Ongeldig wachtwoord'; $lang['auth_incorrect_login'] = 'Ongeldig gebruikersnaam'; $lang['auth_incorrect_email_or_username'] = 'Ongeldig gebruikersnaam'; $lang['auth_email_in_use'] = 'Uw e-mailadres bestaat al. Gebr...
PHP
<?php // Errors $lang['auth_incorrect_password'] = 'Senha incorreta'; $lang['auth_incorrect_login'] = 'Login incorreto'; $lang['auth_incorrect_email_or_username'] = 'Login ou e-mail não existe'; $lang['auth_email_in_use'] = 'Esse e-mail já esta cadastrado por outro usuário. Por favor escolha outro e-mail.'; $lang['aut...
PHP
<?php // Errors $lang['auth_incorrect_password'] = "Password non corretta"; $lang['auth_incorrect_login'] = "Login non corretto"; $lang['auth_incorrect_email_or_username'] = "Login o indirizzo e-mail non esistenti"; $lang['auth_email_in_use'] = "Indirizzo e-mail gi&agrave; presente. Perfavore, seleziona un nuovo indir...
PHP
<?php // Errors $lang['auth_incorrect_password'] = 'Parolă greșită'; $lang['auth_incorrect_login'] = 'Nume utilizator greșit'; $lang['auth_incorrect_email_or_username'] = 'Adresa e-mail sau utilizatorul nu există'; $lang['auth_email_in_use'] = 'Adresa e-mail este deja utilizată de către un alt utilizator. Folosește o ...
PHP
<?php // Errors $lang['auth_incorrect_password'] = 'パスワードが正しくありません'; $lang['auth_incorrect_login'] = '不正なログインです'; $lang['auth_incorrect_email_or_username'] = 'ユーザー名もメールアドレスも登録されていません'; $lang['auth_email_in_use'] = 'メールアドレスはすでに使われています。他のメールアドレスをお使いください。'; $lang['auth_username_in_use'] = 'ユーザー名はすでに使われています。他のユーザー名をお使いくださ...
PHP
<?php // Errors $lang['auth_incorrect_password'] = '密码不正确'; $lang['auth_incorrect_login'] = '错误登录名'; $lang['auth_incorrect_email_or_username'] = '登录名或电子邮件不正确'; $lang['auth_email_in_use'] = '电子邮件已在用,请使用另外一个电子邮件注册.'; $lang['auth_username_in_use'] = '用户名已存在,请选择另外一个用户名.'; $lang['auth_current_email'] = '这是您当前使用的电子邮件'; $lan...
PHP
<? /* Project : 48c6c450f1a4a0cc53d9585dc0fee742 Created on : Mar 16, 2013, 11:29:15 PM Author : Truong Khuong - khuongxuantruong@gmail.com Description : Purpose of the stylesheet follows. */ class auth_backend extends CI_Module { public $controller; public $auth_login_uri; ...
PHP
<?php /* Project : 48c6c450f1a4a0cc53d9585dc0fee742 Created on : Mar 16, 2013, 11:29:15 PM Author : Truong Khuong - khuongxuantruong@gmail.com Description : Purpose of the stylesheet follows. */ class frontend extends CI_Module { function __construct() { p...
PHP
<?php /* * To change this template, choose Tools | Templates * and open the template in the editor. */ ?> <? echo $this->parser->parse_string($this->lang->language['welcome'],array('user'=>'icarus12345'),true) ?><br/> <? echo sprintf($this->lang->language['welcome'],'icarus12345') ?><br/> <? echo $welcome ...
PHP
<?php error_reporting(E_ALL & ~E_NOTICE) ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Admin Panel 11.09</title> <meta http-equiv="content-type" content="text/javascript;charset=UTF-8" /> <link type="t...
PHP
<?php /* * To change this template, choose Tools | Templates * and open the template in the editor. */ ?> <div id="jqxMenuBackend" style="border: none"> <ul> <li><a href="<?php echo base_url() ?>backend/home">Home</a></li> <li>System <ul> <li><a href="/admin...
PHP
<div><b class="">User : </b><?php echo$user->ause_name ?></div> <div class="p-12 grid_13"> <table class="w-i"> <tr class="f-w-b"> <td>Privilege</td> <td>Position</td> <td>Read/Write</td> <td>Read only</td> <td>Disable</td> </tr> <?php foreach($privileges as $pri...
PHP
<div class="grid_8 p-20"> <form id="ause_frm" name="ause_frm" action="<?php echo base_url("admincp/excution") ?>" method="POST" onsubmit="return false;" target="integration_asynchronous" autocomplete="off" > <!-- title --> <div class="p-r p-b-12"> ...
PHP
<?php include 'includes/01_head.php'; include 'includes/02_menu.php'; //include APPPATH . 'views/views_backend/includes/01_head.php'; //include APPPATH . 'views/views_backend/includes/02_menu.php'; ?>
PHP
<?php //include '../includes/01_head.php'; //include '../includes/02_menu.php'; include APPPATH . 'views/views_backend/includes/01_head.php'; ?> <div class="l-h-32 g-d-w b-r-t-4 p-l-20 b-d-b-c-ddd dotum- p-r"> <span>Backend</span> <span class="arrow_space"></span> <span>User Manage </span> ...
PHP
<?php //include '../includes/01_head.php'; //include '../includes/02_menu.php'; include APPPATH . 'views/views_backend/00_includes/01_head.php'; ?> <div class="l-h-32 g-d-w b-r-t-4 p-l-20 b-d-b-c-ccc dotum- p-r"> <span>Backend</span> <span class="arrow_space"></span> <span>Layout </span> ...
PHP
<?php error_reporting(E_ALL & ~E_NOTICE) ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Admin Panel 11.09</title> <meta http-equiv="content-type" content="text/javascript;charset=UTF-8" /> <link type="t...
PHP
<?php /* * To change this template, choose Tools | Templates * and open the template in the editor. */ ?> <div id="jqxMenuBackend" style="border: none"> <ul> <li><a href="<?php echo base_url() ?>backend/home">Home</a></li> <li>System <ul> <li><a href="/admin...
PHP
<?php error_reporting(E_ALL & ~E_NOTICE) ?> <input type="hidden" value="<?php echo $item->cate_title ?>" id="cate_title_curent" name="cate_title_curent" /> <form id="category_form_edit_panel" name="category_form_edit_panel" action="<?php echo base_url("admincp/excution") ?>" method="POST" ...
PHP
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Admin Panel 11.09</title> <meta http-equiv="content-type" content="text/javascript;charset=UTF-8" /> <link type="text/css" rel="stylesheet" hre...
PHP
<div class="b-s-d-big- tranf-b-20" style=""> <div class="container_24"> <div id="backend_menu" class="tranf-b-10- p-r dotum"> <ul style="padding-left: 0"> <li id="menu-home"><a href="/admincp">Home</a></li> <li id='menu-system'> <span>Sys...
PHP
<?php require "/../00_include/01_head.php" ?> <script type="text/javascript">var base_url = "/", edialog, ndialog;</script> <div class='l-h-28 g-d-w b-r-t-4 p-l-20 b-d-b-c-ddd dotum p-r'> <span>Home</span> <span class="arrow_space"></span> <span>Configs</span> <span class="arrow_space"></span> ...
PHP
<?php require "/../00_include/01_head.php" ?> <script type="text/javascript">var base_url = "/", edialog, ndialog;</script> <div class='l-h-28 g-d-w b-r-t-4 p-l-20 b-d-b-c-ddd dotum p-r'> <span>Home</span> <span class="arrow_space"></span> <span>Clear cache</span> </div> <div class="b-g-c-eee- b-d-...
PHP
<?php print_r($this->benchmark,true); memory_get_usage(); print_r($this->category_model->_get(66),true); print_r($this->benchmark,true); memory_get_usage(); ?> {memory_get_usage()} <p>Content<br/>hixhix</p>
PHP
<?php require '01_head.php'; echo '<pre>'; echo $content; require '02_foot.php'; ?>
PHP
<?php /* * This is a PHP library that handles calling reCAPTCHA. * - Documentation and latest version * http://recaptcha.net/plugins/php/ * - Get a reCAPTCHA API Key * https://www.google.com/recaptcha/admin/create * - Discussion group * http://groups.google.com/group/recaptcha...
PHP
<?php die('<!DOCTYPE html> <html lang="en"> <head> <title>Error Database</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <style type="text/css"> body{background: #ebebeb;font-family: dotum,tahoma} .error_contain{ padding: 0px; width: 500px; height: 350px; ...
PHP
<?php die('<!DOCTYPE html> <html lang="en"> <head> <title>Error general</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <style type="text/css"> body{background: #ebebeb;font-family: dotum,tahoma} .error_contain{ padding: 0px; width: 500px; height: 350px; ...
PHP
<?php die('<!DOCTYPE html> <html lang="en"> <head> <title>A PHP Error was encountered</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <style type="text/css"> body{background: #ebebeb;font-family: dotum,tahoma} .error_contain{ padding: 0px; width: 500px; he...
PHP
<?php /** * Vietnamese Version */ $PHPMAILER_LANG['provide_address'] = 'Bạn chưa nhập địa chỉ email người nhận!'; $PHPMAILER_LANG['mailer_not_supported'] = ' mailer không được hỗ trợ.'; $PHPMAILER_LANG['execute'] = 'Không thể thực hiện: '; $PHPMAILER_LANG['instantiate'] = 'Không thể thực hiện hàm mail.'; $PHPMAILER_...
PHP
<?php /* ~ class.phpmailer.php .---------------------------------------------------------------------------. | Software: PHPMailer - PHP email class | | Version: 5.2.1 | | Site: https://code.google.com/a/apache-...
PHP
<?php /* ~ class.smtp.php .---------------------------------------------------------------------------. | Software: PHPMailer - PHP email class | | Version: 5.2.1 | | Site: https://code.google.com/a/apache-extra...
PHP
<?php /* ~ class.pop3.php .---------------------------------------------------------------------------. | Software: PHPMailer - PHP email class | | Version: 5.2.1 | | Site: https://code.google.com/a/apache-extra...
PHP
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); /* * This class is written based entirely on the work found below * www.techbytes.co.in/blogs/2006/01/15/consuming-rss-with-php-the-simple-way/ * All credit should be given to the original author * * Example: $this->load->library(...
PHP
<?php # # This is a test program for the portable PHP password hashing framework. # # Written by Solar Designer and placed in the public domain. # See PasswordHash.php for more information. # require "PasswordHash.php"; header("Content-type: text/plain"); $ok = 0; # Try to use stronger but system-specific hashes, w...
PHP
<?php # # Portable PHP password hashing framework. # # Version 0.1 / genuine. # # Written by Solar Designer <solar at openwall.com> in 2004-2006 and placed in # the public domain. # # There's absolutely no warranty. # # The homepage URL for this framework is: # # http://www.openwall.com/phpass/ # # Please be sure to up...
PHP
<?php /* * This is a PHP library that handles calling reCAPTCHA. * - Documentation and latest version * http://recaptcha.net/plugins/php/ * - Get a reCAPTCHA API Key * https://www.google.com/recaptcha/admin/create * - Discussion group * http://groups.google.com/group/recaptcha...
PHP
<?php # # This is a test program for the portable PHP password hashing framework. # # Written by Solar Designer and placed in the public domain. # See PasswordHash.php for more information. # require 'PasswordHash.php'; header('Content-type: text/plain'); $ok = 0; # Try to use stronger but system-specific hashes, w...
PHP
<?php # # Portable PHP password hashing framework. # # Version 0.3 / genuine. # # Written by Solar Designer <solar at openwall.com> in 2004-2006 and placed in # the public domain. Revised in subsequent years, still public domain. # # There's absolutely no warranty. # # The homepage URL for this framework is: # # http:...
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); require_once("smarty3/Smarty.class.php"); class CI_Smarty3 extends Smarty { var $lang = ''; function __construct() { parent::__construct(); //$this->template_dir = APPPATH."views/"; $this->compile_dir = 'views'; ...
PHP
<?php /** * Smarty plugin * @package Smarty * @subpackage PluginsModifierCompiler */ /** * Smarty lower modifier plugin * * Type: modifier<br> * Name: lower<br> * Purpose: convert string to lowercase * * @link http://www.smarty.net/manual/en/language.modifier.lower.php lower (Smarty o...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsModifier */ /** * Smarty capitalize modifier plugin * * Type: modifier<br> * Name: capitalize<br> * Purpose: capitalize words in the string * * {@internal {$string|capitalize:true:true} is the fastest option for MB...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsModifierCompiler */ /** * Smarty count_sentences modifier plugin * * Type: modifier<br> * Name: count_sentences * Purpose: count the number of sentences in a text * * @link http://www.smarty.net/manual/en/language.mo...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsModifier */ /** * Smarty date_format modifier plugin * * Type: modifier<br> * Name: date_format<br> * Purpose: format datestamps via strftime<br> * Input:<br> * - string: input date string * - f...
PHP
<?php /** * Smarty plugin to format text blocks * * @package Smarty * @subpackage PluginsBlock */ /** * Smarty {textformat}{/textformat} block plugin * * Type: block function<br> * Name: textformat<br> * Purpose: format text a certain way with preset styles * or custom wrap/...
PHP
<?php /** * Smarty plugin * @package Smarty * @subpackage PluginsFunction */ /** * Smarty {counter} function plugin * * Type: function<br> * Name: counter<br> * Purpose: print out a counter value * * @author Monte Ohrt <monte at ohrt dot com> * @link http://www.smarty.net/manual/en/...
PHP
<?php /** * Smarty shared plugin * * @package Smarty * @subpackage PluginsShared */ /** * Function: smarty_make_timestamp<br> * Purpose: used by other smarty functions to make a timestamp from a string. * * @author Monte Ohrt <monte at ohrt dot com> * @param DateTime|int|string $string date ...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsModifierCompiler */ /** * Smarty wordwrap modifier plugin * * Type: modifier<br> * Name: wordwrap<br> * Purpose: wrap a string of text at a given length * * @link http://smarty.php.net/manual/en/language.modifier.w...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsModifierCompiler */ /** * @ignore */ require_once( SMARTY_PLUGINS_DIR .'shared.literal_compiler_param.php' ); /** * Smarty escape modifier plugin * * Type: modifier<br> * Name: escape<br> * Purpose: escape string...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsShared */ /** * evaluate compiler parameter * * @param array $params parameter array as given to the compiler function * @param integer $index array index of the parameter to convert * @param mixed $default value to be ret...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsModifierCompiler */ /** * Smarty strip modifier plugin * * Type: modifier<br> * Name: strip<br> * Purpose: Replace all repeated spaces, newlines, tabs * with a single space or supplied replacement string.<...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsModifierCompiler */ /** * Smarty strip_tags modifier plugin * * Type: modifier<br> * Name: strip_tags<br> * Purpose: strip html tags from text * * @link http://www.smarty.net/manual/en/language.modifier.strip.tags.ph...
PHP
<?php /** * Smarty plugin * * This plugin is only for Smarty2 BC * @package Smarty * @subpackage PluginsFunction */ /** * Smarty {math} function plugin * * Type: function<br> * Name: math<br> * Purpose: handle math computations in template * * @link http://www.smarty.net/manual/en...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsFunction */ /** * Smarty {html_options} function plugin * * Type: function<br> * Name: html_options<br> * Purpose: Prints the list of <option> tags generated from * the passed parameters<br> * Params: *...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage Debug */ /** * Smarty debug_print_var modifier plugin * * Type: modifier<br> * Name: debug_print_var<br> * Purpose: formats variable contents for display in the console * * @author Monte Ohrt <monte at ohrt dot com> * ...
PHP
<?php /** * Smarty plugin * @package Smarty * @subpackage PluginsModifier */ /** * Smarty spacify modifier plugin * * Type: modifier<br> * Name: spacify<br> * Purpose: add spaces between characters in a string * * @link http://smarty.php.net/manual/en/language.modifier.spacify.php s...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsModifier */ /** * Smarty escape modifier plugin * * Type: modifier<br> * Name: escape<br> * Purpose: escape string for output * * @link http://www.smarty.net/manual/en/language.modifier.count.characters.php count_cha...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsModifierCompiler */ /** * Smarty to_charset modifier plugin * * Type: modifier<br> * Name: to_charset<br> * Purpose: convert character encoding from internal encoding to $charset * * @author Rodney Rehm * @param ar...
PHP