earthdan substring loader.php