C:\$Recycle.Bin\S-1-5-21-3967099092-2644009230-141905953-500\$R30CG93\phpmyserver\dirtools.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<?php

//----------------------------------//
//    Copyright by Matthias Speer   //
//----------------------------------//

include('./config.inc.php');

include(
'./auth.php');

$action=(isset($_GET['action']))?$_GET['action']:'';
$option=(isset($_GET['option']))?$_GET['option']:'';
$encpath=(isset($_GET['path']))?$_GET['path']:'';
$encfile=(isset($_GET['file']))?$_GET['file']:'';
$path=($encpath=='')?'':realpath(DecodeGET($encpath));
$file=($encfile=='')?'':DecodeGET($encfile);
$fullpath=GetPath($path, ($action=='dd')?'':$file);

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Toolbar</TITLE>
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<LINK href="style/global.css" rel="stylesheet" type="text/css">
<SCRIPT language="JavaScript" src="./script/frames.js" type="text/JavaScript"></SCRIPT>
</HEAD>

<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" class="body_tool">
<TABLE width="100%" height=100% border="0" cellspacing="1" cellpadding="0">
  <TR class="text1"> 
    <TD width="50%"><?php echo GetLocText('dir_dir').': <SPAN class=text3b>'.GetDirName($path); ?></SPAN></TD>
    <TD width="50%"><?php echo GetLocText('dir_file').': <SPAN class=text3b>'.$file?></SPAN></TD>
  </TR>
  <TR class="text1"> 
    <TD> 
      <TABLE border="0" cellspacing="1" cellpadding="0">
        <TR> 
          <TD>
            <?php 
                
echo '<A href=./directory_fs.php?action=u&path='.(($encpath=='')?EncodeGET(GetStartDir()):$encpath).'&option='.$option.' target=frm_main>';
                echo 
'<IMG src=./img/ul.gif width=20 height=20 border=0 alt="'.GetLocText('dir_file_ul').'"></A>'
            
?>
          </TD>
          <TD><IMG src="./img/1.gif" width="4" height="20"></TD>
          <TD>
            <?php 
                
echo '<A href=./directory_fs.php?action=ug&path='.(($encpath=='')?EncodeGET(GetStartDir()):$encpath).'&option='.$option.' target=frm_main>';
                echo 
'<IMG src=./img/lfu.gif width=20 height=20 border=0 alt="'.GetLocText('dir_file_url').'"></A>'
            
?>
          </TD>
          <TD><IMG src="./img/1.gif" width="4" height="20"></TD>
          <TD>
            <?php 
                
echo '<A href=./directory_fs.php?action=nf&path='.(($encpath=='')?EncodeGET(GetStartDir()):$encpath).'&option='.$option.' target=frm_main>';
                echo 
'<IMG src=./img/nfld.gif width=20 height=20 border=0 alt="'.GetLocText('dir_dir_nf').'"></A>'
            
?>
          </TD>
          <TD><IMG src="./img/1.gif" width="4" height="20"></TD>
          <TD>
            <?php 
                
echo '<A href=./directory_fs.php?action=cf&path='.(($encpath=='')?EncodeGET(GetStartDir()):$encpath).'&option='.$option.' target=frm_main>';
                echo 
'<IMG src=./img/nfi.gif width=20 height=20 border=0 alt="'.GetLocText('dir_dir_cf').'"></A>'
            
?>
          </TD>
          <TD><IMG src="./img/1.gif" width="4" height="20"></TD>
          <TD>
            <?php 
                
echo '<A href=./directory_fs.php?action=pd&path='.(($encpath=='')?EncodeGET(GetStartDir()):$encpath).'&option='.$option.' target=frm_main>';
                echo 
'<IMG src=./img/prop.gif width=20 height=20 border=0 alt="'.GetLocText('dir_prop_d').'"></A>'
            
?>
          </TD>
          <TD><IMG src="./img/1.gif" width="4" height="20"></TD>
          <TD>
            <?php 
              
if ($fullpath === false)
              {
                 echo 
'<IMG src=./img/deld1.gif width=20 height=20>';
            } else
            {            
                echo 
'<A href=./directory_fs.php?action=dd&path='.(($encpath=='')?EncodeGET(GetStartDir()):$encpath).'&option='.$option.' target=frm_main>';
                echo 
'<IMG src=./img/deld.gif width=20 height=20 border=0 alt="'.GetLocText('dir_dir_del').'"></A>'
            }
            
?>
          </TD>
        </TR>
      </TABLE></TD>
    <TD><TABLE border="0" cellspacing="1" cellpadding="0">
        <TR> 
          <TD>
            <?php 
              
if (($fullpath === false) || ($file==''))
              {
                 echo 
'<IMG src=./img/dl1.gif width=20 height=20>';
            } else
            {            
                echo 
'<A href=./directory_fs.php?action=d&path='.$encpath.'&file='.$encfile.'&option='.$option.' target=frm_main>';
                echo 
'<IMG src=./img/dl.gif width=20 height=20 border=0 alt="'.GetLocText('dir_file_dl').'"></A>'
            }
            
?>
          </TD>
          <TD><IMG src="./img/1.gif" width="4" height="20"></TD>
          <TD>
            <?php 
              
if (($fullpath === false) || ($file==''))
              {
                 echo 
'<IMG src=./img/prop1.gif width=20 height=20>';
            } else
            {            
                echo 
'<A href=./directory_fs.php?action=pf&path='.$encpath.'&file='.$encfile.'&option='.$option.' target=frm_main>';
                echo 
'<IMG src=./img/prop.gif width=20 height=20 border=0 alt="'.GetLocText('dir_prop_f').'"></A>'
            }
            
?>
          </TD>
          <TD><IMG src="./img/1.gif" width="4" height="20"></TD>
          <TD>
            <?php 
              
if (($fullpath === false) || ($file==''))
              {
                 echo 
'<IMG src=./img/delf1.gif width=20 height=20>';
            } else
            {            
                echo 
'<A href=./directory_fs.php?action=df&path='.$encpath.'&file='.$encfile.'&option='.$option.' target=frm_main>';
                echo 
'<IMG src=./img/delf.gif width=20 height=20 border=0 alt="'.GetLocText('dir_file_del').'"></A>'
            }
            
?>
          </TD>
          <TD><IMG src="./img/1.gif" width="4" height="20"></TD>
          <TD>
            <?php 
              
if (($fullpath === false) || ($file==''))
              {
                 echo 
'<IMG src=./img/edit1.gif width=20 height=20>';
            } else
            {            
                echo 
'<A href=./directory_fs.php?action=ed&path='.$encpath.'&file='.$encfile.'&option='.$option.' target=frm_main>';
                echo 
'<IMG src=./img/edit.gif width=20 height=20 border=0 alt="'.GetLocText('dir_file_ed').'"></A>'
            }
            
?>
          </TD>
        </TR>
      </TABLE></TD>
  </TR>
</TABLE>
</BODY>
</HTML>