Can't running phpMyAdmin

I want create simple application php to upload and file manager on browser (design similar total commander, mediafire or dropbox).
It have some function:

Upload file
Create folder
Delete file

In phpMyAdmin 0.97, I can’t running it on my localhost.
It show on my browser. Click this image to zoom on your screen.

On line 67, my script here:

    $ip = $_SERVER["REMOTE_ADDR"];
    if (strlen($_SERVER["HTTP_X_FORWARDED_FOR"])) $ip = $_SERVER["HTTP_X_FORWARDED_FOR"]; // using proxy
	if ($ip == "::1") $ip = "";
    $islinux = !(strtoupper(substr(PHP_OS, 0, 3)) === 'WIN');
    function getServerURL() {
        $url = ($_SERVER["HTTPS"] == "on")?"https://":"http://";
        $url .= $_SERVER["SERVER_NAME"]; // variável do servidor, $_SERVER["HTTP_HOST"] é equivalente
        if ($_SERVER["SERVER_PORT"] != "80") $url .= ":".$_SERVER["SERVER_PORT"];
        return $url;

Or you can get it:
Sorry to my friend, my english is bad. Thanks all people

Please help me!!!