Vyvinuto a určeno pro pure-heart.zaantar.eu Version: 1.0 Author: Zaantar Author URI: http://zaantar.eu Plugin URI: http://zaantar.eu/index.php?page=admin-temp-dir License: GPL2 */ /* Copyright 2010 Zaantar (email: zaantar@gmail.com) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation. This program 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 General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ /* ************************************************************************* *\ WORDPRESS ADMIN \* ************************************************************************* */ add_action( 'admin_menu','atd_add_admin_menu' ); function atd_add_admin_menu() { add_submenu_page('index.php','Temp Directory','Temp Directory', 'read', 'temp-directory', 'atd_page'); } function atd_page() { ?>

Temp Directory

Top Organizer Directory

Common Directory

'; $myDirectory = opendir( $path ); // get each entry while($entryName = readdir($myDirectory)) { $dirArray[] = $entryName; } //print_r( $dirArray ); // close directory closedir($myDirectory); // count elements in array $indexCount = count($dirArray); //echo ("$indexCount files
\n"); // sort 'em sort($dirArray); // print 'em ?>
Soubor Typ Velikost [B]
Soubor Typ Velikost [B]