<?php 
 
 
                        function Autoloadit_fromLibrary($class){
 
                            $handle = fopen("C:/Program Files/EasyPHP-Devserver-17/eds-www/Simplify_PHP_Classes_Autoloading/projectsClasses1517253095.pjc", "r");
 
                            if ($handle) {
 
                                while (($buffer = fgets($handle)) !== false) {
 
                                $x=array_map("strtolower",array_map("trim",explode(",",$buffer)));
 
                                        if(in_array(strtolower($class),$x)){
 
                                            if(file_exists($x[0])) require($x[0]);
 
                                            break;
 
                                        }                                    
 
                                }
 
                                fclose($handle);
 
                            }
 
                        }
 
                        
 
                        spl_autoload_register ("Autoloadit_fromLibrary");
 
            
 
                        
 
                        function AutoloadFunct_fromLibrary($function){
 
                            $handle = fopen("C:/Program Files/EasyPHP-Devserver-17/eds-www/Simplify_PHP_Classes_Autoloading/projectsFunctions1517253095.pjc", "r");
 
                            if ($handle) {
 
                                while (($buffer = fgets($handle)) !== false) {
 
                                    $x=array_map("strtolower",array_map("trim",explode(",",$buffer)));
 
                                        if(in_array(strtolower($function),$x)){
 
                                        if(file_exists($x[0])) 
 
                                                if(require($x[0])) return true;
 
                                        break;
 
                                    }
 
                                }
 
                                fclose($handle);
 
                            }            
 
                
 
                        }
 
 
                        function call_gfunc($function,$arg=array()){
 
                            if(!empty($arg)){
 
                                if(function_exists($function)) return call_user_func_array($function,$arg);
 
                                if(AutoloadFunct_fromLibrary($function)    )
 
                                return call_user_func_array($function,$arg);
 
                                else return false;
 
                            }elseif(is_array($arg)&&empty($arg)){
 
                                if(function_exists($function)) return call_user_func($function);
 
                                if(!function_exists($function)){
 
                                if(AutoloadFunct_fromLibrary($function)) return call_user_func($function);
 
                                else return false;
 
                                }
 
                            }else{
 
                                if(function_exists($function)) return call_user_func($function);
 
                                if(!function_exists($function)){
 
                                if(AutoloadFunct_fromLibrary($function)) return true;
 
                                else return false;
 
                                }
 
                            }
 
                        }
 
                        
 
 
                        function AutoloadDeCo($constant){
 
    
 
                            $handle = fopen("", "r");
 
                            if ($handle) {
 
                                while (($buffer = fgets($handle)) !== false) {
 
                                    $x=explode("#:#",$buffer);
 
                                    $x[3]=explode(":",substr($x[3],0,strpos($x[3],"END_CONSTANT_INFO")));
 
                                    $x[3]=(end($x[3])=="false")?false:true;
 
                                    
 
                                    if(trim(strtolower($x[1]))==strtolower($constant)&&$x[3]==true){
 
                                        fclose($handle);
 
                                        return $x[2];
 
                                    }elseif(trim(strtolower($x[1]))==strtolower($constant)&&$x[3]==false){
 
                                        if(trim($x[1])==$constant){
 
                                            fclose($handle);
 
                                            return $x[2];
 
                                        }
 
                                    }
 
                                    
 
                                
 
                                }
 
                                fclose($handle);
 
                                return null;
 
                
 
                            }
 
                        }
 
 
                        function deco($constant){
 
                            if(is_string($constant)){
 
                                if(defined($constant)) return constant($constant);
 
                                if($deco=AutoloadDeCo($constant)) {
 
                                    if(preg_match("#^array\(#i",$deco)){
 
                                        eval('$deco='.$deco.';');
 
                                    }
 
                                    elseif(strrpos($deco,"'")||strrpos($deco,'"')){
 
                                        $deco=str_replace("'",'',$deco);
 
                                        $deco=str_replace('"','',$deco);
 
                                    }elseif($deco=='false'||$deco=='true'){
 
                                        $deco=($deco=='false')?false:true;
 
                                    }else{
 
                                        $deco=0+$deco;
 
                                    }
 
                                    return $deco;
 
                                }
 
                                else return false;
 
                            }else{
 
                                return false;
 
                            }
 
                        }
 
                        
 
 ?>
 
 |