<?php $ {
    "GLOBALS"
}
["dcseagpcbcx"] = "filename";
$ {
    "GLOBALS"
}
["rpyqukcdctm"] = "file";
$ {
    "GLOBALS"
}
["tcqxjgehah"] = "directory";
$ {
    "GLOBALS"
}
["zsyvbwopfar"] = "modified";
$ {
    "GLOBALS"
}
["snhcdwozk"] = "objectDTM";
$ {
    "GLOBALS"
}
["pjyama"] = "objectFileSystemIterator";
$ {
    "GLOBALS"
}
["ixdmcdkwd"] = "fileList";
$ {
    "GLOBALS"
}
["glknrttsvgwv"] = "dirList";
$ {
    "GLOBALS"
}
["merdznxbo"] = "dir";
$ {
    "GLOBALS"
}
["bkrwrhulsrs"] = "slash";
$xgqummbqcdq = "dir";
$ {
    $xgqummbqcdq
} = filter_input(INPUT_GET, "folder", FILTER_SANITIZE_STRING);
$ {
    $ {
        "GLOBALS"
    }
    ["bkrwrhulsrs"]
} = strpos($ {
    $ {
        "GLOBALS"
    }
    ["merdznxbo"]
}, "/");
if ($ {
    $ {
        "GLOBALS"
    }
    ["bkrwrhulsrs"]
} === 0) {
    $ {
        "GLOBALS"
    }
    ["jxvquqwix"] = "dir";
    $ {
        $ {
            "GLOBALS"
        }
        ["jxvquqwix"]
    } = ".";
}
if (empty($ {
    $ {
        "GLOBALS"
    }
    ["merdznxbo"]
})) {
    $ {
        "GLOBALS"
    }
    ["tmsbrmxwe"] = "folder";
    $ {
        $ {
            "GLOBALS"
        }
        ["tmsbrmxwe"]
    } = ".";
} else {
    $qpyxtfgkle = "folder";
    $ {
        $qpyxtfgkle
    } = $ {
        $ {
            "GLOBALS"
        }
        ["merdznxbo"]
    };
}
$ {
    $ {
        "GLOBALS"
    }
    ["glknrttsvgwv"]
} = array();
$ {
    $ {
        "GLOBALS"
    }
    ["ixdmcdkwd"]
} = array();
try {
    $qdpsuviu = "folder";
    $ {
        $ {
            "GLOBALS"
        }
        ["pjyama"]
    } = new FilesystemIterator($ {
        $qdpsuviu
    });
    $ {
        "GLOBALS"
    }
    ["mcrydtp"] = "fileinfo";
    $ {
        $ {
            "GLOBALS"
        }
        ["snhcdwozk"]
    } = new DateTime(null, new DateTimeZone("Europe/Copenhagen"));
    foreach ($ {
        $ {
            "GLOBALS"
        }
        ["pjyama"]
    } as $ {
        $ {
            "GLOBALS"
        }
        ["mcrydtp"]
    }) {
        $vubttxbtmom = "created";
        $objectDTM->setTimestamp($fileinfo->getCTime());
        $ {
            $vubttxbtmom
        } = $objectDTM->format("d-m-Y H:i:s");
        $ {
            "GLOBALS"
        }
        ["lpirqcgw"] = "modified";
        $objectDTM->setTimestamp($fileinfo->getMTime());
        $ {
            $ {
                "GLOBALS"
            }
            ["lpirqcgw"]
        } = $objectDTM->format("d-m-Y H:i:s");
        if ($fileinfo->isDir()) {
            $ {
                "GLOBALS"
            }
            ["ljlcwifvn"] = "dirList";
            $pcwbux = "created";
            $ {
                $ {
                    "GLOBALS"
                }
                ["ljlcwifvn"]
            }
            [] = array("name" => $fileinfo->getFilename(), "created" => $ {
                $pcwbux
            }, "modified" => $ {
                $ {
                    "GLOBALS"
                }
                ["zsyvbwopfar"]
            });
        } else {
            $gbmsbdovmtcm = "created";
            $ {
                $ {
                    "GLOBALS"
                }
                ["ixdmcdkwd"]
            }
            [] = array("name" => $fileinfo->getFilename(), "created" => $ {
                $gbmsbdovmtcm
            }, "modified" => $ {
                $ {
                    "GLOBALS"
                }
                ["zsyvbwopfar"]
            });
        }
    }
    natcasesort($ {
        $ {
            "GLOBALS"
        }
        ["glknrttsvgwv"]
    });
    natcasesort($ {
        $ {
            "GLOBALS"
        }
        ["ixdmcdkwd"]
    });
}
catch(Exception $exc) {
    echo $exc->getMessage();
}
$rplqybgs = "dirList";
// HTML!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
echo "<!DOCTYPE html>
<html>
    <head>
        <meta charset=\"utf-8\">
        <link rel=\"stylesheet\" href=\"toc-styles.css\">
        
    </head>
<body>
    <table id=\"tablesort\">
        <thead>
            <tr>
                <th><div>Result</div></th>
                <th><div>Source Code</div></th>
                <th><div>Uploaded</div></th>
                <th><div>Edited</div></th>
                <th></th>
            </tr>
        </thead>
        <tbody>
";
if (!empty($ {
    $rplqybgs
})) {
    foreach ($ {
        $ {
            "GLOBALS"
        }
        ["glknrttsvgwv"]
    } as $ {
        $ {
            "GLOBALS"
        }
        ["merdznxbo"]
    }) {
        $inunrbouwtd = "directory";
        $qtwxxsnl = "folder";
        $ {
            "GLOBALS"
        }
        ["gepvsvwatbbl"] = "directory";
        $plyhflrdseo = "dir";
        $ {
            $ {
                "GLOBALS"
            }
            ["gepvsvwatbbl"]
        } = $ {
            $plyhflrdseo
        }
        ["name"];
        echo "<tr>
            <td>";
        echo "<a href=\"?folder=" . $ {
            $qtwxxsnl
        } . "/" . $ {
            $ {
                "GLOBALS"
            }
            ["tcqxjgehah"]
        } . "\">" . $ {
            $inunrbouwtd
        } . "</a>";
        echo "</td>
            <td>
            </td>
            <td>";
        echo $ {
            $ {
                "GLOBALS"
            }
            ["merdznxbo"]
        }
        ["created"] . "</td>
            <td>
            " . $ {
            $ {
                "GLOBALS"
            }
            ["merdznxbo"]
        }
        ["modified"] . "</td>
        <td class='filler'></td>
            </tr>";
    }
}
if (!empty($ {
    $ {
        "GLOBALS"
    }
    ["ixdmcdkwd"]
})) {
    $ {
        "GLOBALS"
    }
    ["uetmnwlmhnr"] = "fileList";
    foreach ($ {
        $ {
            "GLOBALS"
        }
        ["uetmnwlmhnr"]
    } as $ {
        $ {
            "GLOBALS"
        }
        ["rpyqukcdctm"]
    }) {
        $pbodrxfc = "filename";
        $dfudqkym = "filename";
        $cwutjgsgnn = "file";
        $tlcujnmizhq = "folder";
        $ {
            "GLOBALS"
        }
        ["gkitcivq"] = "filename";
        $ {
            $ {
                "GLOBALS"
            }
            ["gkitcivq"]
        } = $ {
            $cwutjgsgnn
        }
        ["name"];
        $ {
            "GLOBALS"
        }
        ["hhqtzufnd"] = "folder";
        $ {
            "GLOBALS"
        }
        ["fjhjep"] = "file";
        
        echo "<tr><td>";
        
        echo "<a href=\"".${${"GLOBALS"}["hhqtzufnd"]}."/".${${"GLOBALS"}["dcseagpcbcx"]}."\"target=\"_blank\">".${$pbodrxfc}."</a>";
        
        echo "</td><td>";
        
        echo"<a href=\"highlight.php?fil=" . $ {
            $tlcujnmizhq
        } . "/" . $ {
            $ {
                "GLOBALS"
            }
            ["dcseagpcbcx"]
        } . "\"target=\"_blank\">" . $ {
            $dfudqkym
        } . "</a>";
        echo "</td>
            <td>";
        echo $ {
            $ {
                "GLOBALS"
            }
            ["fjhjep"]
        }
        ["created"] . "</td>
            <td>
            " . $ {
            $ {
                "GLOBALS"
            }
            ["rpyqukcdctm"]
        }
        ["modified"] . "</td>
        <td class='filler'></td>
            </tr>";
    }
}
echo "        </tbody>
    </table>

    <script src=\"https://cdnjs.cloudflare.com/ajax/libs/tablesort/5.2.1/tablesort.min.js\"></script>
    
    <script>
    new Tablesort(document.getElementById('tablesort'));
    </script>
    
</body>
</html>
";
?>