Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by deZender.Net
- * @ deZender (PHP5 Decoder for Zend Encoder/SafeGuard & PhpExpress)
- *
- * @ Version : 1.1.6.0
- * @ Author : DeZender
- * @ Release on : 02.06.2013
- * @ Official site : http://DeZender.Net
- *
- */
- public function smartslashes($string) {
- return (get_magic_quotes_gpc( ) ? $string : addslashes( $string ));
- }
- public function my_array_shift($array) {
- array_push( $array, $array[0] );
- reset( $array );
- $i = 0;
- $newArray = array( );
- while (list( $key, $val ) = each( $array )) {
- if (0 < $i) {
- $newArray[$key] = $val;
- } else {
- $toReturn = $array[$key];
- }
- ++$i;
- }
- $array = $newArray;
- asort( $array );
- reset( $array );
- return (!is_array( $toReturn ) ? array( 1 => $toReturn ) : $toReturn);
- }
- public function get_dir_array($path) {
- $handle = opendir( $path );
- while ($file = readdir( $handle )) {
- if (( ( ( $file != '.' && $file != '..' ) && $file != 'CVS' ) && $file != 'index.html' )) {
- $file = explode( '.', $file );
- $array[$file[0]] = ucwords( $file[0] );
- ....................................................................
- ..................................
- ............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement