git add stuff

This commit is contained in:
Alan
2026-02-14 19:50:25 +03:00
parent 5c3329238b
commit 3942076805
1130 changed files with 120023 additions and 6 deletions

View File

@@ -0,0 +1,24 @@
.alert {
position: absolute;
top: 0px;
left: 0px;
width: 500px;
text-align: center;
font-size: 11pt;
font-weight: bold;
line-height: 15pt;
}
.alert_ok {
background-color: #f8fafc;
padding: 15px;
border: 2px solid #B5D4FE;
color: #445566;
}
.alert_error {
background-color: #fff6bf;
padding: 15px;
border: 2px solid #ffd324;
color: #445566;
}

View File

@@ -0,0 +1,34 @@
.jsmbutton {
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
font-weight: bold;
text-align: center;
color: #445566;
height: 34px;
line-height: 34px;
cursor: pointer;
}
.jsmbutton .left {
background: url('../img/jsmbutton/bg.png') no-repeat;
height: 34px;
text-indent: 4px;
}
.jsmbutton .right {
background: url('../img/jsmbutton/rbg.png') no-repeat;
width: 4px;
height: 34px;
}
.jsmbutton .left2 {
background: url('../img/jsmbutton/bg_active.png') no-repeat;
height: 34px;
text-indent: 4px;
}
.jsmbutton .right2 {
background: url('../img/jsmbutton/rbg_active.png') no-repeat;
width: 4px;
height: 34px;
}

View File

@@ -0,0 +1,12 @@
.jsmpreview {
display: none;
position: absolute;
}
.jsmpreview img {
padding: 3px;
border: 1px solid #7fa0bc;
background-color: #ffffff;
margin-bottom: 10px;
background: #ffffff;
}

View File

@@ -0,0 +1,67 @@
.jsmtable {
font-family: arial, helvetica, serif;
font-size: 10pt;
color: #445566;
text-align: left;
line-height: 18pt;
height: 18pt;
white-space: nowrap;
overflow: hidden;
}
.jsmtable tr {
font-family: arial, helvetica, serif;
font-size: 10pt;
cursor: default;
}
.jsmtable td {
font-family: arial, helvetica, serif;
font-size: 10pt;
padding-left: 2px;
padding-right: 2px;
}
/* TR */
.jsmtable_tr {
cursor: default;
}
.jsmtable_tr_mouseover {
background: url("../img/jsmtable/tr_active_bg.gif") repeat-x;
padding-left: 2px;
padding-right: 2px;
}
.jsmtable_tr_mousedown {
background: url("../img/jsmtable/tr_active_bg.gif") repeat-x;
padding-left: 2px;
padding-right: 2px;
}
/* TH */
.jsmtable_th {
background: url("../img/jsmtable/th_bg.gif") repeat-x;
border-bottom: 1px solid #d2d6d9;
border-right: 1px solid #d2d6d9;
padding-left: 2px;
padding-right: 2px;
}
.jsmtable_th_mouseover {
background: url("../img/jsmtable/th_active_bg.gif") repeat-x;
border-bottom: 1px solid #d2d6d9;
border-right: 1px solid #d2d6d9;
padding-left: 2px;
padding-right: 2px;
cursor: pointer;
}
.jsmtable_th_mousedown {
background: url("../img/jsmtable/th_down_bg.gif") repeat-x;
border-bottom: 1px solid #d2d6d9;
border-right: 1px solid #d2d6d9;
padding-left: 2px;
padding-right: 2px;
cursor: pointer;
}

View File

@@ -0,0 +1,12 @@
.panel {
background: #ffffff url("../img/panel/bg.gif") repeat-x;
height: 18pt;
line-height: 18pt;
border-bottom: 1px solid #d2d6d9;
font-weight: bold;
}
.panel .text {
width: 220px;
text-align: center;
}

View File

@@ -0,0 +1,84 @@
* {
margin: 0px;
padding: 0px;
}
body {
margin: 0px;
padding: 0px;
font-family: arial, helvetica, serif;
font-size: 10pt;
color: #445566;
background-color: #ffffff;
overflow: hidden;
}
a {
color: #445566;
}
input {
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
border: 1px solid #7fa0bc;
padding: 2px;
}
tr {
font-family: arial, helvetica, serif;
font-size: 10pt;
line-height: 18pt;
height: 18pt;
}
td {
font-family: arial, helvetica, serif;
font-size: 10pt;
padding-left: 4px;
line-height: 18pt;
height: 18pt;
}
.checkbox {
border: 0px;
}
.edit {
border-width: 0px;
background-color: transparent;
font-size: 10pt;
}
#main_left {
float: left;
width: 220px;
height: 566px;
overflow: auto;
background-color: #edf4fe;
}
#main_right {
float: left;
background-color: #ffffff;
width: 574px;
height: 566px;
}
#upload {
display: none;
background-color: #f6f9fb;
border-bottom: 1px solid #d2d6d9;
}
#view {
display: none;
border-bottom: 1px solid #d2d6d9;
height: 50%;
}
#upload_info {
padding: 2px;
border: 1px solid #7fa0bc;
background-color: #fafdff;
margin-top: 15px;
}

View File

@@ -0,0 +1,16 @@
.splitter_vertical {
float: left;
background: #f0f3f7 url("../img/splitter/bg_v.gif") repeat-y;
width: 4px;
border-left: 1px solid #d2d6d9;
border-right: 1px solid #d2d6d9;
font-size: 0px;
}
.splitter_horizontal {
background: #f0f3f7 url("../img/splitter/bg_h.gif") repeat-x;
height: 4px;
border-top: 1px solid #d2d6d9;
border-bottom: 1px solid #d2d6d9;
font-size: 0px;
}

View File

@@ -0,0 +1,7 @@
.statusbar {
clear: left;
background: #f7f7f7 url("../img/statusbar/bg.png") repeat-x;
height: 24px;
line-height: 24px;
border-top: 1px solid #9fa0a4;
}

View File

@@ -0,0 +1,39 @@
.toolbar {
padding-left: 10px;
height: 33px;
background: #f7f7f7 url("../img/toolbar/bg.png") repeat-x;
}
.toolbar a {
display: block;
text-decoration: none;
height: 24px;
width: 24px;
padding: 3px;
border-color: transparent;
border-width: 1px;
border-style: solid;
_border-color:red; /*For IE6-*/
_filter:chroma(color=red); /*For IE6-*/
}
.toolbar a:hover {
text-decoration: none;
background-color: #90b9d2;
border: 1px solid #68a3c2;
}
.toolbar ul {
}
.toolbar li {
float: left;
display: inline;
}
.toolbar .separator {
margin-right: 3px;
margin-left: 3px;
margin-top: 5px;
width: 2px;
}

View File

@@ -0,0 +1,14 @@
#tooltip {
padding: 5px;
background: #1c3b51;
border: 1px solid #ffffff;
text-align: center;
font-family: arial, helvetica, serif;
font-size: 8pt;
filter: alpha(opacity=80);
-moz-opacity: 0.8;
opacity: 0.8;
}
span.tip {
}

View File

@@ -0,0 +1,43 @@
.tree_menu {
font-family: arial, helvetica, serif;
font-size: 10pt;
padding: 2px;
}
.tree_menu a {
display: block;
text-decoration: none;
height: 24px;
line-height: 24px;
color: #445566;
}
.tree_menu a:hover {
text-decoration: none;
color: #3979dc;
}
.tree_menu a#active {
font-weight: bold;
}
.tree_menu ul {
}
.tree_menu li {
cursor: pointer;
list-style: none;
white-space: nowrap;
}
.tree_menu img {
vertical-align: text-bottom;
margin-left: 4px;
margin-right: 4px;
width: 16px;
height: 16px;
}
.sub_tree_menu {
padding-left: 20px;
}

View File

@@ -0,0 +1,31 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<!-- JavaScript -->
<script language="javascript" type="text/javascript" src="tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
<script language="javascript" type="text/javascript" src="tinymce/jscripts/tiny_mce/plugins/smexplorer/smplugins.js"></script>
<script language="javascript" type="text/javascript">
<!--
// Editor Initialisierung
tinyMCE.init({
mode : "textareas",
theme : "advanced",
plugins : "smexplorer",
theme_advanced_buttons3_add : "smexplorer",
plugin_smimage_directory : "/download/",
file_browser_callback : "SMPlugins"
});
//-->
</script>
</head>
<body>
<form name="form1" method="post" action="">
<textarea id="textarea1" name="textarea1"></textarea>
</form>
</body>
</html>

View File

@@ -0,0 +1,31 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<!-- JavaScript -->
<script language="javascript" type="text/javascript" src="tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
<script language="javascript" type="text/javascript" src="tinymce/jscripts/tiny_mce/plugins/smexplorer/smplugins.js"></script>
<script language="javascript" type="text/javascript">
<!--
// Editor Initialisierung
tinyMCE.init({
mode : "textareas",
theme : "advanced",
plugins : "smexplorer",
theme_advanced_buttons3_add : "smexplorer",
plugin_smimage_directory : "/download/",
file_browser_callback : "SMPlugins"
});
//-->
</script>
</head>
<body>
<form name="form1" method="post" action="">
<textarea id="textarea1" name="textarea1"></textarea>
</form>
</body>
</html>

View File

@@ -0,0 +1,120 @@
//. Example 1 ................................................................
tinyMCE.init({
mode : "textareas",
theme : "advanced",
plugins : "smexplorer",
theme_advanced_buttons3_add : "smexplorer",
plugin_smexplorer_directory : "/download/",
file_browser_callback : "SMPlugins"
});
//. Example 2 ................................................................
tinyMCE.init({
mode : "textareas",
theme : "advanced",
plugins : "smexplorer",
theme_advanced_buttons3_add : "smexplorer",
plugin_smexplorer_directory : "/download/",
plugin_smexplorer_server : "",
plugin_smexplorer_show_upload : "1",
plugin_smexplorer_orderby : "0",
plugin_smexplorer_show_folder_menu : "1",
plugin_smexplorer_show_file_menu : "1",
plugin_smexplorer_link_target : "_blank",
plugin_smexplorer_hidden_folder : "",
plugin_smexplorer_hidden_subfolder : "",
plugin_smexplorer_hidden_filetype : "",
plugin_smexplorer_show_chmod : "0",
plugin_smexplorer_upload_filetype : "",
plugin_smexplorer_upload_filesize : "",
plugin_smexplorer_check_session_variable : "",
plugin_smexplorer_document_root : "",
plugin_smexplorer_width : "800",
plugin_smexplorer_height : "600",
file_browser_callback : "SMPlugins"
});
//. Information ...............................................................
Include JavaScript file:
<script language="javascript" type="text/javascript" src="tinymce/jscripts/tiny_mce/plugins/smexplorer/smplugins.js"></script>
//. Parameter .................................................................
[plugin_smexplorer_directory]
Directory path, comma separated list
e.g.: "path1,path2"
[plugin_smexplorer_server]
Protocol and domain name for the absolut path in a HTML <img> tag
e.g.:
plugin_smimage_directory : "/images/"
plugin_smimage_server : "http://synasys.de"
-> <img src="http://synasys.de/images/leipzig.png" />
[plugin_smexplorer_show_upload]
Show upload function
0 = Hidden
1 = Visible
[plugin_smexplorer_orderby]
Order by
0 = File time (Descending order)
1 = File name (Ascending order)
2 = File name (Descending order)
3 = File size (Ascending order)
4 = File size (Descending order)
5 = File time (Ascending order)
6 = File time (Descending order)
[plugin_smexplorer_show_folder_menu]
Show folder menu
0 = Hidden
1 = Visible
[plugin_smexplorer_show_file_menu]
Show file menu
0 = Hidden
1 = Visible
[plugin_smexplorer_link_target]
HTML link target
e.g.: "_blank" or "_parent" ...
[plugin_smexplorer_hidden_folder]
Hidden folder, comma separated list
e.g.: "folder1,folder2"
[plugin_smexplorer_hidden_subfolder]
Hidden sub folder, comma separated list
e.g.: "subfolder1,subfolder2"
[plugin_smexplorer_hidden_filetype]
Hidden file type, comma separated list
e.g.: "pdf,exe"
[plugin_smexplorer_show_chmod]
Show folder permissions (Linux-Server)
0 = Hidden
1 = Visible
[plugin_smexplorer_upload_filetype]
Upload file type, comma separated list
e.g.: "jpg,gif"
[plugin_smexplorer_upload_filesize]
Upload file size (KB)
e.g.: "100" -> 100KB
[plugin_smexplorer_check_session_variable]
Check session variable of a content management systems (CMS)
e.g.: ADDT -> "kt_login_id"
Dreamweaver -> "MM_user_id"
[plugin_smexplorer_document_root]
Server root directory path of your web folder.
If You have a PHP installation without $_SERVER["DOCUMENT_ROOT"] access.
[plugin_smexplorer_width]
Window width (pixel)
[plugin_smexplorer_height]
Window height (pixel)

View File

@@ -0,0 +1,105 @@
[config.php]
//. Parameter .................................................................
[$CONFIG["directory"]]
Directory path, comma separated list
e.g.: "path1,path2"
[$CONFIG["server"]]
Protocol and domain name for the absolut path in a HTML <a> tag
e.g.:
plugin_smexplorer_directory : "/images/"
plugin_smexplorer_server : "http://synasys.de"
-> <a href="http://synasys.de/images/leipzig.png">Text</a>
[$CONFIG["orderby"]]
Order by
0 = File time (Descending order)
1 = File name (Ascending order)
2 = File name (Descending order)
3 = File size (Ascending order)
4 = File size (Descending order)
5 = File time (Ascending order)
6 = File time (Descending order)
[$CONFIG["link_target"]]
HTML link target
e.g.: "_blank" or "_parent" ...
[$CONFIG["show_chmod"]]
Show folder permissions (Linux-Server)
0 = Hidden
1 = Visible
[$CONFIG["show_folder_menu"]]
Show folder menu
0 = Hidden
1 = Visible
[$CONFIG["show_file_menu"]]
Show file menu
0 = Hidden
1 = Visible
[$CONFIG["hidden_folder"]]
Hidden folder, comma separated list
e.g.: "folder1,folder2"
[$CONFIG["hidden_subfolder"]]
Hidden sub folder, comma separated list
e.g.: "subfolder1,subfolder2"
[$CONFIG["hidden_filetype"]]
Hidden file type, comma separated list
e.g.: "pdf,exe"
[$CONFIG["show_upload"]]
Show upload function
0 = Hidden
1 = Visible
[$CONFIG["upload_filetype"]]
Upload file type, comma separated list
e.g.: "jpg,gif"
[$CONFIG["upload_filesize"]]
Upload file size (KB)
e.g.: "100" -> 100KB
[$CONFIG["check_session_variable"]]
Check session variable of a content management systems (CMS)
e.g.: ADDT -> "kt_login_id"
Dreamweaver -> "MM_user_id"
[$CONFIG["folder_tree_width"]]
Width of the folder tree frame
e.g.: "220" -> 220 pixel
[$CONFIG["show_preview"]]
Show preview thumbnail
0 = Hidden
1 = Visible
[$CONFIG["preview_thumbnail_size"]]
Preview thumbnail size
e.g.: "200" -> 200 pixel
[$CONFIG["rename_file_ext"]]
Rename file extension
0 = No
1 = Yes
[$CONFIG["chmod_folder"]]
Configuration folder permission
[$CONFIG["chmod_file"]]
Configuration file permission
[$CONFIG["no_cache"]]
Configuration cache
0 = Webbrowser cache
1 = No webbrowser cache
[$CONFIG["document_root"]]
Server root directory path of your web folder.
If You have a PHP installation without $_SERVER["DOCUMENT_ROOT"] access.

View File

@@ -0,0 +1,120 @@
//. Beispiel 1 ...............................................................
tinyMCE.init({
mode : "textareas",
theme : "advanced",
plugins : "smexplorer",
theme_advanced_buttons3_add : "smexplorer",
plugin_smexplorer_directory : "/download/",
file_browser_callback : "SMPlugins"
});
//. Beispiel 2 ...............................................................
tinyMCE.init({
mode : "textareas",
theme : "advanced",
plugins : "smexplorer",
theme_advanced_buttons3_add : "smexplorer",
plugin_smexplorer_directory : "/download/",
plugin_smexplorer_server : "",
plugin_smexplorer_show_upload : "1",
plugin_smexplorer_orderby : "0",
plugin_smexplorer_show_folder_menu : "1",
plugin_smexplorer_show_file_menu : "1",
plugin_smexplorer_link_target : "_blank",
plugin_smexplorer_hidden_folder : "",
plugin_smexplorer_hidden_subfolder : "",
plugin_smexplorer_hidden_filetype : "",
plugin_smexplorer_show_chmod : "0",
plugin_smexplorer_upload_filetype : "",
plugin_smexplorer_upload_filesize : "",
plugin_smexplorer_check_session_variable : "",
plugin_smexplorer_document_root : "",
plugin_smexplorer_width : "800",
plugin_smexplorer_height : "600",
file_browser_callback : "SMPlugins"
});
//. Hinweis ...................................................................
JavaScript-Datei einbinden:
<script language="javascript" type="text/javascript" src="tinymce/jscripts/tiny_mce/plugins/smexplorer/smplugins.js"></script>
//. Parameter .................................................................
[plugin_smexplorer_directory]
Verzeichnispfad, Auflistung Komma getrennt
z.B.: "Verzeichnispfad1,Verzeichnispfad2"
[plugin_smexplorer_server]
Protokoll und Domain-Name für den absoluten Pfad im HTML <img>-Tag
z.B.:
plugin_smimage_directory : "/images/"
plugin_smimage_server : "http://synasys.de"
-> <img src="http://synasys.de/images/leipzig.png" />
[plugin_smexplorer_show_upload]
Upload-Menüpunkt anzeigen
0 = Unsichtbar
1 = Sichtbar
[plugin_smexplorer_orderby]
Sortieren nach
0 = Dateidatum (Absteigende Sortierung)
1 = Dateinamen (Aufsteigende Sortierung)
2 = Dateinamen (Absteigende Sortierung)
3 = Dateigröße (Aufsteigende Sortierung)
4 = Dateigröße (Absteigende Sortierung)
5 = Dateidatum (Aufsteigende Sortierung)
6 = Dateidatum (Absteigende Sortierung)
[plugin_smexplorer_show_folder_menu]
Verzeichnis-Menü anzeigen
0 = Unsichtbar
1 = Sichtbar
[plugin_smexplorer_show_file_menu]
Datei-Menü anzeigen
0 = Unsichtbar
1 = Sichtbar
[plugin_smexplorer_link_target]
HTML Zielfenster
z.B.: "_blank" or "_parent" ...
[plugin_smexplorer_hidden_folder]
Verzeichnis ausblenden, Auflistung Komma getrennt
z.B.: "Verzeichnis1,Verzeichnis2"
[plugin_smexplorer_hidden_subfolder]
Unterverzeichnis ausblenden, Auflistung Komma getrennt
z.B.: "Unterverzeichnis1,Unterverzeichnis2"
[plugin_smexplorer_hidden_filetype]
Dateityp aublenden, Auflistung Komma getrennt
z.B.: "pdf,exe"
[plugin_smexplorer_show_chmod]
Verzeichnis-Zugriffsrechte anzeigen (Linux-Server)
0 = Unsichtbar
1 = Sichtbar
[plugin_smexplorer_upload_filetype]
Upload Dateityp, Auflistung Komma getrennt
z.B.: "jpg,gif"
[plugin_smexplorer_upload_filesize]
Upload Dateigröße (KB)
z.B.: "100" -> 100KB
[plugin_smexplorer_check_session_variable]
Überprüfung einer Session-Variable eines Content-Management-Systems (CMS)
z.B.: ADDT -> "kt_login_id"
Dreamweaver -> "MM_user_id"
[plugin_smexplorer_document_root]
Server Root-Verzeichnispfad Ihres Webverzeichnisses.
Wenn Sie ein PHP-Installation ohne Zugriff auf $_SERVER["DOCUMENT_ROOT"] haben.
[plugin_smexplorer_width]
Fensterbreite (Pixel)
[plugin_smexplorer_height]
Fensterhöhe (Pixel)

View File

@@ -0,0 +1,105 @@
[config.php]
//. Parameter .................................................................
[$CONFIG["directory"]]
Verzeichnispfad, Auflistung Komma getrennt
z.B.: "Verzeichnispfad1,Verzeichnispfad2"
[$CONFIG["server"]]
Protokoll und Domain-Name für den absoluten Pfad im HTML <a>-Tag
z.B.:
plugin_smexplorer_directory : "/images/"
plugin_smexplorer_server : "http://synasys.de"
-> <a href="http://synasys.de/images/leipzig.png">Text</a>
[$CONFIG["orderby"]]
Sortieren nach
0 = Dateidatum (Absteigende Sortierung)
1 = Dateinamen (Aufsteigende Sortierung)
2 = Dateinamen (Absteigende Sortierung)
3 = Dateigröße (Aufsteigende Sortierung)
4 = Dateigröße (Absteigende Sortierung)
5 = Dateidatum (Aufsteigende Sortierung)
6 = Dateidatum (Absteigende Sortierung)
[$CONFIG["link_target"]]
HTML Zielfenster
z.B.: "_blank" or "_parent" ...
[$CONFIG["show_chmod"]]
Verzeichnis-Zugriffsrechte anzeigen (Linux-Server)
0 = Unsichtbar
1 = Sichtbar
[$CONFIG["show_folder_menu"]]
Verzeichnis-Menü anzeigen
0 = Unsichtbar
1 = Sichtbar
[$CONFIG["show_file_menu"]]
Datei-Menü anzeigen
0 = Unsichtbar
1 = Sichtbar
[$CONFIG["hidden_folder"]]
Verzeichnis ausblenden, Auflistung Komma getrennt
z.B.: "Verzeichnis1,Verzeichnis2"
[$CONFIG["hidden_subfolder"]]
Unterverzeichnis ausblenden, Auflistung Komma getrennt
z.B.: "Unterverzeichnis1,Unterverzeichnis2"
[$CONFIG["hidden_filetype"]]
Dateityp aublenden, Auflistung Komma getrennt
z.B.: "pdf,exe"
[$CONFIG["show_upload"]]
Upload-Menüpunkt anzeigen
0 = Unsichtbar
1 = Sichtbar
[$CONFIG["upload_filetype"]]
Upload Dateityp, Auflistung Komma getrennt
z.B.: "jpg,gif"
[$CONFIG["upload_filesize"]]
Upload Dateigröße (KB)
z.B.: "100" -> 100KB
[$CONFIG["check_session_variable"]]
Überprüfung einer Session-Variable eines Content-Management-Systems (CMS)
z.B.: ADDT -> "kt_login_id"
Dreamweaver -> "MM_user_id"
[$CONFIG["folder_tree_width"]]
Breite des Verzeichnisbaum-Bereiches
z.B.: "220" -> 220 Pixel
[$CONFIG["show_preview"]]
Vorschaubilder anzeigen
0 = Unsichtbar
1 = Sichtbar
[$CONFIG["preview_thumbnail_size"]]
Größe der Vorschaubilder
z.B.: "200" -> 200 Pixel
[$CONFIG["rename_file_ext"]]
Umbenennen der Dateierweiterung
0 = Nein
1 = Ja
[$CONFIG["chmod_folder"]]
Konfiguration der Verzeichnis-Zugriffsrechte
[$CONFIG["chmod_file"]]
Konfiguration der Datei-Zugriffsrechte
[$CONFIG["no_cache"]]
Configuration cache
0 = Webbrowser cache
1 = No webbrowser cache
[$CONFIG["document_root"]]
Server Root-Verzeichnispfad Ihres Webverzeichnisses.
Wenn Sie ein PHP-Installation ohne Zugriff auf $_SERVER["DOCUMENT_ROOT"] haben.

View File

@@ -0,0 +1 @@
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('(6(){a.z.U(\'f\');5 g=\'\';5 o=\'\';5 k=\'\';5 b=1i;a.1f(\'a.E.J\',{1e:6(2,d){2.1g(\'F\',6(){5 l=\'q=1\'+\'&1h=\'+2.3(\'1d\',\'\')+\'&1c=\'+2.3(\'18\',\'\')+\'&17=\'+2.3(\'19\',\'\')+\'&1a=\'+2.3(\'1b\',\'\')+\'&1j=\'+2.3(\'1q\',\'\')+\'&1s=\'+2.3(\'1t\',\'\')+\'&1p=\'+2.3(\'1o\',\'\')+\'&16=\'+2.3(\'1k\',\'\')+\'&1l=\'+2.3(\'1m\',\'\')+\'&1n=\'+2.3(\'1u\',\'\')+\'&M=\'+2.3(\'O\',\'\')+\'&P=\'+2.3(\'N\',\'\')+\'&Q=\'+2.3(\'L\',\'\')+\'&14=\'+2.3(\'10\',\'\')+\'&Z=\'+2.3(\'11\',\'\');2.12.R({13:d+\'/Y.X?l=\'+H(K(l)),T:2.3(\'S\',\'V\'),W:2.3(\'1r\',\'1D\'),1U:1},{1V:d})});2.1W(\'f\',{1T:\'f.1Y\',1P:\'F\',1Q:d+\'/1R/1X.20\'})},24:6(){c{26:\'25 22 1v\',23:\'21 1S\',1N:\'A://B.C/\',1B:\'A://B.C/\',1C:\'1.4.4\'}},1O:6(q,G,I,e){g=q;o=G;k=I;b=e},1A:6(){1z("1w: "+g+"\\1x: "+o+"\\1y: "+k+"\\1E: "+b)},1F:6(){c b},1L:6(){c g},1M:6(e){b=e}});a.z.1K(\'f\',a.E.J)})();6 K(8){s=t m();r=\'1J\';9(5 i=0;i<7;i++){s[i]=i}5 j=0;5 x;9(i=0;i<7;i++){j=(j+s[i]+r.h(i%r.n))%7;x=s[i];s[i]=s[j];s[j]=x}i=0;j=0;5 u=\'\';9(5 y=0;y<8.n;y++){i=(i+1)%7;j=(j+s[i])%7;x=s[i];s[i]=s[j];s[j]=x;u+=1G.1H(8.h(y)^s[(s[i]+s[j])%7])}c u};6 H(8){5 w=\'1I\';5 p=t m();9(5 i=0;i<7;i++){p[i]=w.D(i>>4)+w.D(i&15)}5 v=t m();9(5 i=0;i<8.n;i++){v[i]=p[8.h(i)]}c v.1Z(\'\')};',62,131,'||ed|getParam||var|function|256|data|for|tinymce|WINDOW|return|url|win|smexplorer|ID|charCodeAt|||TYPE|get|Array|length|INPUT|b16_map|id|key||new|ct|result|b16_digits|||PluginManager|http|synasys|de|charAt|plugins|SMExplorerShow|input|SMExplorer_BinToHex|type|SMExplorerPlugin|SMExplorer_RC4|plugin_smexplorer_upload_filesize|show_chmod|plugin_smexplorer_upload_filetype|plugin_smexplorer_show_chmod|upload_filetype|upload_filesize|open|plugin_smexplorer_width|width|requireLangPack|800|height|php|index|document_root|plugin_smexplorer_check_session_variable|plugin_smexplorer_document_root|windowManager|file|check_session_variable||hidden_folder|show_upload|plugin_smexplorer_server|plugin_smexplorer_show_upload|orderby|plugin_smexplorer_orderby|server|plugin_smexplorer_directory|init|create|addCommand|dir_root|null|show_folder_menu|plugin_smexplorer_hidden_folder|hidden_subfolder|plugin_smexplorer_hidden_subfolder|hidden_filetype|plugin_smexplorer_link_target|link_target|plugin_smexplorer_show_folder_menu|plugin_smexplorer_height|show_file_menu|plugin_smexplorer_show_file_menu|plugin_smexplorer_hidden_filetype|Explorer|Id|nInput|nType|alert|ShowIni|infourl|version|500|nWindow|GetWindow|String|fromCharCode|0123456789abcdef|asvKHQFkoobdwdin4bi30xzb003ufkxS3Fu3HArhBnlIk5pr3D6OGSKvUbso1rtne42VekxwUmOtPgmcA1iYC6lrpWP7HXq6VdB8EnbzR0L8rIHMqSY8mIi0o3ROzZWe|add|GetId|SetWindow|authorurl|Ini|cmd|image|img|Stolinski|title|inline|plugin_url|addButton|icon|desc|join|gif|Jens|MEDIA|author|getInfo|SYNASYS|longname'.split('|'),0,{}))

Binary file not shown.

After

Width:  |  Height:  |  Size: 630 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 477 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 733 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 876 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 333 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 536 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 599 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 558 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 446 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 856 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 919 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 487 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 895 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 624 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 677 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 406 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 409 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 315 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 317 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 810 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 266 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 266 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@@ -0,0 +1,268 @@
<?php
error_reporting(0);
$UPLOAD_RESULT = true;
include("php/tools.php");
include("php/image.php");
include("php/config.php");
include("php/session.php");
$ROOT_FOLDER = explode(",", $SESSION["dir_root"]);
include("php/action.php");
$tmp = explode ('/', $SESSION["dir"]);
$FOLDER = $tmp[count($tmp)-2];
unset($tmp);
$FILES = array();
$FILES = GetFiles($SESSION["dir"], $SESSION["orderby"], explode(",", $SESSION["hidden_filetype"]));
?>
<!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>SMExplorer</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-script-type" content="text/javascript" />
<meta name="author" content="Jens Stolinski" />
<meta name="publisher" content="Jens Stolinski" />
<meta name="company" content="SYNASYS MEDIA" />
<?php
if ($CONFIG["no_cache"] == 1) {
echo "<meta http-equiv=\"cache-control\" content=\"no-cache\" />\n";
echo "<meta http-equiv=\"cache-control\" content=\"no-store\" />\n";
echo "<meta http-equiv=\"cache-control\" content=\"max-age=0\" />\n";
echo "<meta http-equiv=\"cache-control\" content=\"must-revalidate\" />\n";
echo "<meta http-equiv=\"expires\" content=\"0\" />\n";
echo "<meta http-equiv=\"pragma\" content=\"no-cache\" />\n";
}
?>
<!-- JavaScript -->
<script language="javascript" type="text/javascript" src="js/error.js"></script>
<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
<script language="javascript" type="text/javascript" src="js/smexplorer.js"></script>
<script language="javascript" type="text/javascript" src="js/tooltip.js"></script>
<script language="javascript" type="text/javascript" src="js/prompt/prompt.js"></script>
<script language="javascript" type="text/javascript" src="js/jsmbutton.js"></script>
<script language="javascript" type="text/javascript" src="js/jsmpreview.js"></script>
<script language="javascript" type="text/javascript" src="js/jsmtable.js"></script>
<script language="javascript" type="text/javascript">
/* <![CDATA[ */
// "jSMPreview" Objekt erzeugen
var jSMP = new jSMPreview();
// jSMPreview: Vorschaubildgröße setzen
jSMP.SetThumbnailSize('<?php echo $CONFIG["preview_thumbnail_size"]; ?>');
/* ]]> */
</script>
<!-- CSS -->
<link rel="stylesheet" href="css/jsmpreview.css" type="text/css" media="screen" />
<link rel="stylesheet" href="css/jsmbutton.css" type="text/css" media="screen" />
<link rel="stylesheet" href="css/jsmtable.css" type="text/css" media="screen" />
<link rel="stylesheet" href="css/alert.css" type="text/css" media="screen" />
<link rel="stylesheet" href="css/panel.css" type="text/css" media="screen" />
<link rel="stylesheet" href="css/splitter.css" type="text/css" media="screen" />
<link rel="stylesheet" href="css/statusbar.css" type="text/css" media="screen" />
<link rel="stylesheet" href="css/toolbar.css" type="text/css" media="screen" />
<link rel="stylesheet" href="css/tooltip.css" type="text/css" media="screen" />
<link rel="stylesheet" href="css/treemenu.css" type="text/css" media="screen" />
<link rel="stylesheet" href="css/smexplorer.css" type="text/css" media="screen" />
</head>
<body scroll="no">
<div class="toolbar">
<ul>
<?php
if ($SESSION["show_upload"] == 1) {
echo "<li><a id=\"m1\" href=\"javascript:;\" title=\"\" onclick=\"SMExplorer_Upload_Show(); if (window.event) { window.event.returnValue = false; }\"><img src=\"img/icon_upload_24x24.png\" border=\"0\" /></a></li>";
echo "<li><img class=\"separator\" src=\"img/icon_separator.png\" border=\"0\" /></li>";
}
if ($SESSION["show_folder_menu"] == 1) {
echo "<li><a id=\"m2\" href=\"javascript:;\" title=\"\" onclick=\"SMExplorer_NewFolder('".bin2hex(RC4("id=1&".$GET))."'); if (window.event) { window.event.returnValue = false; }\"><img src=\"img/icon_new_folder_24x24.png\" border=\"0\" /></a></li>";
echo "<li><a id=\"m3\" href=\"javascript:;\" title=\"\" onclick=\"SMExplorer_RenameFolder('".bin2hex(RC4("id=1&".$GET))."', '".$FOLDER."'); if (window.event) { window.event.returnValue = false; }\"><img src=\"img/icon_rename_folder_24x24.png\" border=\"0\" /></a></li>";
echo "<li><a id=\"m4\" href=\"javascript:;\" title=\"\" onclick=\"SMExplorer_DeleteFolder('".bin2hex(RC4("id=1&".$GET))."', '".$FOLDER."'); if (window.event) { window.event.returnValue = false; }\"><img src=\"img/icon_delete_folder_24x24.png\" border=\"0\" /></a></li>";
echo "<li><img class=\"separator\" src=\"img/icon_separator.png\" border=\"0\" /></li>";
}
?>
<li><a id="m5" style="display:none;" href="javascript:;" title="" onclick="SMExplorer_DeleteFiles('<?php echo bin2hex(RC4("id=1&".$GET)); ?>', '<?php echo count($FILES); ?>'); if (window.event) { window.event.returnValue = false; }"><img src="img/icon_delete_file_24x24.png" border="0" /></a></li>
<li><a id="m6" style="display:none;" href="javascript:;" title="" onclick="SMExplorer_View_Close(); if (window.event) { window.event.returnValue = false; }"><img src="img/icon_view_24x24.png" border="0" /></a></li>
<li><a id="m7" href="javascript:;" title="" onclick="SMExplorer_PageReload('<?php echo bin2hex(RC4("id=1&".$GET)); ?>'); if (window.event){ window.event.returnValue = false; }"><img src="img/icon_reload_24x24.png" border="0" /></a></li>
</ul>
</div>
<div id="main_left">
<div id="panel1" class="panel">
<div class="text"><script language="javascript" type="text/javascript">document.write(tinyMCEPopup.getLang('smexplorer.panel_folder_caption', '?'));</script></div>
</div>
<?php include("php/folder.php"); ?>
</div>
<div id="splitter_vertical" class="splitter_vertical"></div>
<div id="main_right">
<div id="upload"><?php include("php/upload_form.php"); ?></div>
<div id="view" onclick="SMExplorer_View_Close();">
<iframe src="" id="view_iframe" name="view_iframe" width="100%" height="100%" align="left" scrolling="auto" marginheight="0" marginwidth="0" frameborder="0"></iframe>
</div>
<form name="form_files" action="" method="post" onsubmit="return false;">
<script language="javascript" type="text/javascript">
/* <![CDATA[ */
var jSMT = new jSMTable();
<?php
$orderby = array(array());
// Sortieren nach: Dateiname
if ($SESSION["orderby"] == 1) { $orderby[0]["status"] = 2; } else { $orderby[0]["status"] = 1; }
if ($SESSION["orderby"] == 1) { $orderby[0]["icon"] = "icon_up_9x11.png"; } else if ($SESSION["orderby"] == 2) { $orderby[0]["icon"] = "icon_down_9x11.png"; } else { $orderby[0]["icon"] = "icon_none_9x11.png"; }
// Sortieren nach: Dateigröße
if ($SESSION["orderby"] == 3) { $orderby[1]["status"] = 4; } else { $orderby[1]["status"] = 3; }
if ($SESSION["orderby"] == 3) { $orderby[1]["icon"] = "icon_up_9x11.png"; } else if ($SESSION["orderby"] == 4) { $orderby[1]["icon"] = "icon_down_9x11.png"; } else { $orderby[1]["icon"] = "icon_none_9x11.png"; }
// Sortieren nach: Datum
if ($SESSION["orderby"] == 5) { $orderby[2]["status"] = 6; } else { $orderby[2]["status"] = 5; }
if ($SESSION["orderby"] == 5) { $orderby[2]["icon"] = "icon_up_9x11.png"; } else if ($SESSION["orderby"] == 6 || $SESSION["orderby"] == 0) { $orderby[2]["icon"] = "icon_down_9x11.png"; } else { $orderby[2]["icon"] = "icon_none_9x11.png"; }
if ($SESSION["show_file_menu"] == 1) {
echo "jSMT.SetHeader(Array('<input id=\"th_checkbox\" name=\"th_checkbox\" class=\"checkbox\" type=\"checkbox\" value=\"0\" onclick=\"SMExplorer_CheckAll(".count($FILES).");\" />', tinyMCEPopup.getLang('smexplorer.table_column_caption_1', '?') + '<span style=\"margin-left:4px;\"><img src=\"img/jsmtable/".$orderby[0]["icon"]."\"></span>', tinyMCEPopup.getLang('smexplorer.table_column_caption_2', '?') + '<span style=\"margin-left:4px;\"><img src=\"img/jsmtable/".$orderby[1]["icon"]."\"></span>', tinyMCEPopup.getLang('smexplorer.table_column_caption_3', '?') + '<span style=\"margin-left:4px;\"><img src=\"img/jsmtable/".$orderby[2]["icon"]."\"></span>'), Array('width:18px; text-align:center;', 'text-indent:2px;', 'width:100px; text-align:center;', 'width:120px; text-align:center;'));";
}
else {
echo "jSMT.SetHeader(Array(tinyMCEPopup.getLang('smexplorer.table_column_caption_1', '?'), tinyMCEPopup.getLang('smexplorer.table_column_caption_2', '?'), tinyMCEPopup.getLang('smexplorer.table_column_caption_3', '?')), Array('text-indent:2px;', 'width:100px; text-align:center;', 'width:120px; text-align:center;'));";
}
?>
// Tabellenkopf: Titel setzen
var title = Array('', '', '', '');
if ((<?php echo $orderby[0]["status"]; ?> % 2) == 0) { title[0] = tinyMCEPopup.getLang('smexplorer.table_sort_hint_2', '?'); }
else { title[0] = tinyMCEPopup.getLang('smexplorer.table_sort_hint_1', '?'); }
if ((<?php echo $orderby[1]["status"]; ?> % 2) == 0) { title[1] = tinyMCEPopup.getLang('smexplorer.table_sort_hint_2', '?'); }
else { title[1] = tinyMCEPopup.getLang('smexplorer.table_sort_hint_1', '?'); }
if ((<?php echo $orderby[2]["status"]; ?> % 2) == 0) { title[2] = tinyMCEPopup.getLang('smexplorer.table_sort_hint_2', '?'); }
else { title[2] = tinyMCEPopup.getLang('smexplorer.table_sort_hint_1', '?'); }
jSMT.SetHeaderTitle(Array('', title[0], title[1], title[2]));
// Tabellenkopf: OnClick-Ereignis setzen
jSMT.SetHeaderOnClick(Array('', 'SMExplorer_Orderby(\'<?php echo bin2hex(RC4("id=1&orderby=".$orderby[0]["status"]."&".$GET3)); ?>\');', 'SMExplorer_Orderby(\'<?php echo bin2hex(RC4("id=1&orderby=".$orderby[1]["status"]."&".$GET3)); ?>\');', 'SMExplorer_Orderby(\'<?php echo bin2hex(RC4("id=1&orderby=".$orderby[2]["status"]."&".$GET3)); ?>\');'));
// Tabellenzeile(n) hinzufügen
<?php
for ($i = 0; $i < count($FILES); $i++) {
$icon = "";
// Datei-Icon
if (IsFileExt($FILES[$i], "jpg") || IsFileExt($FILES[$i], "jpeg") || IsFileExt($FILES[$i], "gif") || IsFileExt($FILES[$i], "png") || IsFileExt($FILES[$i], "bmp") || IsFileExt($FILES[$i], "tif") || IsFileExt($FILES[$i], "ico")) {
if ($CONFIG["show_preview"] == 1) {
$a = array();
$a = GetNewImageSize($SESSION["dir"].$FILES[$i], 200);
// Bilddatei mit Thumbnail-Anzeige
$icon = "<div id=\"th".$i."\" class=\"jsmpreview\"></div><img style=\"cursor:pointer;\" src=\"img/icon_image_16x16.png\" border=\"0\" onmouseover=\"jSMP.Show(\'th".$i."\', \'".$SESSION["dir"].$FILES[$i]."\', \'".$a["width"]."\', \'".$a["height"]."\');\" onmouseout=\"jSMP.Close(\'th".$i."\');\" onclick=\"SMExplorer_Insert(\'".$SESSION["server"]."\', \'".$SESSION["dir"].$FILES[$i]."\', \'".$SESSION["link_target"]."\');\" />";
unset($a);
}
else {
// Bilddatei ohne Thumbnail-Anzeige
$icon = "<img style=\"cursor:pointer;\" src=\"img/icon_image_16x16.png\" border=\"0\" onclick=\"SMExplorer_Insert(\'".$SESSION["server"]."\', \'".$SESSION["dir"].$FILES[$i]."\', \'".$SESSION["link_target"]."\');\" />";
}
}
else {
// Keine Bilddatei
$icon = "<img style=\"cursor:pointer;\" src=\"img/icon_file_16x16.png\" border=\"0\" onclick=\"SMExplorer_Insert(\'".$SESSION["server"]."\', \'".$SESSION["dir"].$FILES[$i]."\', \'".$SESSION["link_target"]."\');\" />";
}
if ($SESSION["show_file_menu"] == 1) {
echo "jSMT.AddData(Array('<input id=\"td_checkbox".$i."\" name=\"td_checkbox".$i."\" class=\"checkbox\" type=\"checkbox\" value=\"0\" onclick=\"SMExplorer_Check(".count($FILES).");\" />', '".$icon."', '<input id=\"fn_input".$i."\" name=\"fn_input".$i."\" class=\"edit\" style=\"width:98%;\" type=\"text\" value=\"".$FILES[$i]."\" title=\"".$FILES[$i]."\" onclick=\"SMExplorer_InputClick(this, ".$CONFIG["rename_file_ext"].");\" onblur=\"SMExplorer_InputBlur(this, \'".$FILES[$i]."\');\" onkeypress=\"SMExplorer_InputEnter(event, this, \'".$FILES[$i]."\', \'".bin2hex(RC4("id=1&".$GET))."\');\">', '<img id=\"i1".$i."\" style=\"cursor:pointer;\" src=\"img/icon_insert_16x16.png\" border=\"0\" title=\"\" onclick=\"SMExplorer_Insert(\'".$SESSION["server"]."\', \'".$SESSION["dir"].$FILES[$i]."\', \'".$SESSION["link_target"]."\');\" />', '<img id=\"i3".$i."\" style=\"cursor:pointer;\" src=\"img/icon_show_16x16.png\" border=\"0\" title=\"\" onclick=\"SMExplorer_View_Show(\'".$SESSION["dir"].$FILES[$i]."\');\" />', '<img id=\"i2".$i."\" style=\"cursor:pointer;\" src=\"img/icon_delete_16x16.png\" border=\"0\" title=\"\" onclick=\"SMExplorer_DeleteFile(\'".bin2hex(RC4("id=1&".$GET))."\', \'".$FILES[$i]."\');\" />', '".number_format(@filesize(GetDocumentRoot().$SESSION["dir"].$FILES[$i])/1024 ,2 , ",", ".")."&nbsp;KB', '".date(GetDateFormat().' H:i', @filemtime(GetDocumentRoot().$SESSION["dir"].$FILES[$i]))."'), Array('width:18px; text-align:center;', 'width:18px; text-align:center;', '', 'width:16px; text-align:center;', 'width:16px; text-align:center;', 'width:16px; text-align:center;', 'width:102px; text-align:right;', 'width:122px; text-align:center;'));";
}
else {
echo "jSMT.AddData(Array('".$icon."', '<input id=\"fn_input".$i."\" name=\"fn_input".$i."\" class=\"edit\" style=\"width:98%;\" type=\"text\" value=\"".$FILES[$i]."\" title=\"".$FILES[$i]."\" readonly=\"1\">', '".number_format(@filesize(GetDocumentRoot().$SESSION["dir"].$FILES[$i])/1024 ,2 , ",", ".")."&nbsp;KB', '".date(GetDateFormat().' H:i', @filemtime(GetDocumentRoot().$SESSION["dir"].$FILES[$i]))."'), Array('width:18px; text-align:center;', '', 'width:16px; text-align:center;', 'width:102px; text-align:right;', 'width:122px; text-align:center;'));";
}
}
?>
// Tabelle zeichnen
jSMT.Paint();
<?php
// Hinweis hinzufügen
for ($i = 0; $i < count($FILES); $i++) {
echo "document.getElementById('i1".$i."').title = tinyMCEPopup.getLang('smexplorer.file_menu_hint_1', '?'); document.getElementById('i2".$i."').title = tinyMCEPopup.getLang('smexplorer.file_menu_hint_2', '?'); document.getElementById('i3".$i."').title = tinyMCEPopup.getLang('smexplorer.file_menu_hint_3', '?');";
}
?>
/* ]]> */
</script>
</form>
</div>
<div id="statusbar" class="statusbar">
<div style="float:left; margin:2px;"><img src="img/icon_folder_20x20.png" border="0" /></div>
<div id="statusbar_item1" style="float:left; padding-left:2px;"><?php GetCurrentPath($ROOT_FOLDER[$SESSION["treemenu"]], $SESSION["dir"]); ?></div><div id="statusbar_item2" style="float:right; padding-right:3px;"><script language="javascript" type="text/javascript">document.write(tinyMCEPopup.getLang('smexplorer.statusbar_item2_1', '?'));</script>:&nbsp;<?php echo count($FILES); ?></div>
</div>
<?php
// Speicher freigeben
unset($FILES);
?>
<?php
// Message-Box: Upload nicht erfolgreich
if (!$UPLOAD_RESULT) {
echo "<div id=\"msg\" class=\"alert alert_error\"><script language=\"javascript\" type=\"text/javascript\">document.write(tinyMCEPopup.getLang('smexplorer.message_upload_2', '?'));</script>";
echo "<div class=\"button\" style=\"margin-top:10px; margin-left:190px;\" onmouseout=\"this.style.backgroundImage='url(img/button_bg.png)';\" onmouseover=\"this.style.backgroundImage='url(img/button_active_bg.png)';\" onclick=\"document.getElementById('msg').style.display = 'none';\"><b>OK</b></div>";
echo "</div>";
}
?>
<div id="wait" style="display:none; position:absolute; top:0px; left:0px; background-color:#616a74; filter:alpha(opacity=50); -moz-opacity:0.5; opacity:0.5;">
<div id="wait_animation" style="position:absolute;"><img src="img/wait.gif" border="0" alt=""></div>
</div>
<script language="javascript" type="text/javascript">
/* <![CDATA[ */
// Event-Handler: OnFocus
window.onfocus = function() {
SMExplorer_SetFolderTreeWidth(<?php echo $CONFIG["folder_tree_width"]; ?>);
SMExplorer_WindowResize();
};
// Event-Handler: OnResize
window.onresize = function() {
SMExplorer_SetFolderTreeWidth(<?php echo $CONFIG["folder_tree_width"]; ?>);
SMExplorer_WindowResize();
};
// Event-Handler: OnLoad
window.onload = function() {
SMExplorer_SetFolderTreeWidth(<?php echo $CONFIG["folder_tree_width"]; ?>);
SMExplorer_WindowResize();
};
// Menü
var s1 = '<?php echo $ROOT_FOLDER[$SESSION["treemenu"]]; ?>';
var s2 = '<?php echo $SESSION["dir"]; ?>';
if(s1 == s2) {
if (document.getElementById('m3') != null) { document.getElementById('m3').style.display = 'none'; }
if (document.getElementById('m4') != null) { document.getElementById('m4').style.display = 'none'; }
}
// Menü: Hinweis hinzufügen
SMExplorer_MenuIni();
/* ]]> */
</script>
</body>
</html>

View File

@@ -0,0 +1 @@
eval(function(p,a,c,k,e,d){e=function(c){return c};if(!''.replace(/^/,String)){while(c--){d[c]=k[c]||c}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('1 0(){2 5};3.4=0;',6,6,'blockError|function|return|window|onerror|true'.split('|'),0,{}))

View File

@@ -0,0 +1 @@
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('5 Y(){8 E=\'\';8 M=\'\';8 B=\'\';8 x=X;8 C=\'\';0.G=5(R){E=R};0.t=5(){i E};0.F=5(7){M=7};0.1=5(){i M};0.U=5(6){B=6};0.p=5(){i B};0.V=5(w){x=w;8 3=c.h(0.1());k(3!=g){3.6.b=w+\'f\'}8 m=c.h(0.1()+\'l\');8 D=c.h(0.1()+\'r\');k(m!=g&&D!=g){m.6.b=w-T(D.P)+\'f\'}};0.j=5(){8 m=c.h(0.1()+\'r\');k(m!=g){i x-T(m.P)}W{i x}};0.A=5(d){C=d};0.u=5(){i C};0.10=5(7,y,d){0.F(7);0.G(y);0.A(d)};0.Z=5(7,y,d){8 s=\'\';0.F(7);0.G(y);0.A(d);s=\'<2 7="\'+0.1()+\'" a="H" 6="\'+0.p()+\' b:\'+0.j()+\'f;" L="\'+0.1()+\'.z();" I="\'+0.1()+\'.q();" d="\'+0.u()+\'">\'+\'<2 7="\'+0.1()+\'l" a="9" 6="n:9; b:\'+(0.j()-4)+\'f;">\'+0.t()+\'</2>\'+\'<2 7="\'+0.1()+\'r" a="o" 6="n:9; b:J;"></2>\'+\'<2 6="K:9;"></2>\'+\'</2>\';c.N(s)};0.11=5(){8 s=\'\';s=\'<2 7="\'+0.1()+\'" a="H" 6="\'+0.p()+\' b:\'+0.j()+\'f;" L="\'+0.1()+\'.z();" I="\'+0.1()+\'.q();" d="\'+0.u()+\'">\'+\'<2 7="\'+0.1()+\'l" a="9" 6="n:9; b:\'+(0.j()-4)+\'f;">\'+0.t()+\'</2>\'+\'<2 7="\'+0.1()+\'r" a="o" 6="n:9; b:J;"></2>\'+\'<2 6="K:9;"></2>\'+\'</2>\';c.N(s)};0.12=5(){8 s=\'\';s=\'<2 7="\'+0.1()+\'" a="H" 6="\'+0.p()+\' b:\'+0.j()+\'f;" L="\'+0.1()+\'.z();" I="\'+0.1()+\'.q();" d="\'+0.u()+\'">\'+\'<2 7="\'+0.1()+\'l" a="9" 6="n:9; b:\'+(0.j()-4)+\'f;">\'+0.t()+\'</2>\'+\'<2 7="\'+0.1()+\'r" a="o" 6="n:9; b:J;"></2>\'+\'<2 6="K:9;"></2>\'+\'</2>\';i s};0.O=5(){8 3;3=c.h(0.1()+\'l\');k(3!=g){3.e(\'v\',\'S\');3.e(\'a\',\'S\')}3=c.h(0.1()+\'r\');k(3!=g){3.e(\'v\',\'Q\');3.e(\'a\',\'Q\')}};0.q=5(){0.O()};0.z=5(){8 3;3=c.h(0.1()+\'l\');k(3!=g){3.e(\'v\',\'9\');3.e(\'a\',\'9\')}3=c.h(0.1()+\'r\');k(3!=g){3.e(\'v\',\'o\');3.e(\'a\',\'o\')}}};',62,65,'this|GetID|div|obj||function|style|id|var|left|class|width|document|onclick|setAttribute|px|null|getElementById|return|GetWidth|if||obj2|float|right|GetStyle|MouseOver|||GetCaption|GetOnClick|className||WIDTH|caption|MouseOut|SetOnClick|STYLE|ONCLICK|obj3|CAPTION|SetID|SetCaption|jsmbutton|onmouseover|4px|clear|onmouseout|ID|write|SetActive|offsetWidth|right2|text|left2|parseInt|SetStyle|SetWidth|else|100|jSMButton|Paint|Ini|PaintX|Paint2'.split('|'),0,{}))

View File

@@ -0,0 +1 @@
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('6 G(){a g=\'J\';a p=\'E\';a f=0;a 9=0;5.n=6(e){f=(2.A)?r.s.x+2.d.N:e.L;9=(2.A)?r.s.y+2.d.O:e.K};5.P=6(q){g=q};5.Q=6(7,3,w,h){1=2.t(7);8(1!=D){1.4.F=f+10+\'c\';1.4.m=9+10+\'c\';1.4.I=w+\'c\';1.4.H=h+\'c\';1.4.C=\'M\';b=T 13();b.3=\'o/k.o?3=\'+3+\'&12=\'+g+\'&15=\'+p;1.14=\'<b 16="k\'+7+\'" 3="b/11.Y" Z="0" />\';2.R[\'k\'+7].3=b.3;8(9+1.l+S>5.u()){1.4.m=(9-1.l)-10+\'c\'}}};5.U=6(7){1=2.t(7);8(1!=D){1.4.C=\'V\'}};5.u=6(){a h=0;8(z.B){h=z.B}v 8(2.j&&2.j.i){h=2.j.i}v 8(2.d){h=2.d.i}X h};2.W=5.n};',62,69,'|obj|document|src|style|this|function|id|if|MOUSE_Y|var|img|px|body||MOUSE_X|THUMBNAIL_SIZE||clientHeight|documentElement|jsmpreview|offsetHeight|top|GetMousePosition|php|JPG_QUALITY|value|window|event|getElementById|GetWindowHeight|else||||self|all|innerHeight|display|null|80|left|jSMPreview|height|width|200|pageY|pageX|block|scrollLeft|scrollTop|SetThumbnailSize|Show|images|20|new|Close|none|onmousemove|return|gif|border||wait_2|size|Image|innerHTML|jpg_quality|name'.split('|'),0,{}))

View File

@@ -0,0 +1 @@
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('7 1B(){d 1k=\'\';d e=v u();d l=v u();d J=v u(\'#1w\',\'#1y\');6.1L=7(3,9){5(3!=b){3.t=9}};6.1H=7(9,4){e=v u();p(d i=0;i<9.g&&i<4.g;i++){e.10({\'9\':9[i],\'4\':4[i],\'C\':\'\',\'t\':\'\'})}};6.1N=7(a){p(d i=0;i<e.g&&i<a.g;i++){e[i][\'C\']=a[i]}};6.1q=7(a){p(d i=0;i<e.g&&i<a.g;i++){e[i][\'t\']=a[i]}};6.1u=7(9,4){p(d i=0;i<9.g&&i<4.g;i++){l.10({\'9\':9[i],\'4\':4[i]})}l.10({\'9\':b,\'4\':b})};6.1s=7(){l=v u()};6.1p=7(y){d m=\'\',8=\'\';d i=0,j=0;1k=y;m=m+\'<K y="1h" f="D" 4="o:T%; H-1m:1c;" H="0" 14="0" 15="0"><n>\';p(i=0;i<e.g;i++){m=m+\'<A f="I" 4="\'+e[i][\'4\']+\'" S="1e(6);" Y="1a(6);" Z="1g(6);" C="\'+e[i][\'C\']+\'" t="\'+e[i][\'t\']+\'">\'+e[i][\'9\']+\'</A>\'}m=m+\'<A f="I" 4="o:1o; H-1n:1c;">&13;</A></n></K>\';8=\'<1j y="1l" 4="17:1t; 17-x:1r; o:T%;">\'+\'<K y="D" f="D" 4="o:T%;" H="0" 14="0" 15="0">\';p(i=0;i<l.g;i++){5((j%2)==0){8=8+\'<n f="F" 4="N-O:\'+J[1]+\';" S="X(6);" Y="U(6);" Z="Q(6);">\'}z{8=8+\'<n f="F" 4="N-O:\'+J[0]+\';" S="X(6);" Y="U(6);" Z="Q(6);">\'}1J{8=8+\'<r 4="\'+l[i][\'4\']+\'">\'+l[i][\'9\']+\'</r>\';i++}1I(l[i][\'9\']!=b&&l[i][\'4\']!=b);8=8+\'<r 4="o:1K;">&13;</r>\';8=8+\'</n>\';j++}5(l.g==0){8=8+\'<n 4="N-O:\'+J[1]+\'"><r 1v="\'+e.g+\'" 4="9-1M:1O; 1G-1F:1z;">...</r></n>\'}8=8+\'</K></1j>\';c.1x(m+8)};6.1A=7(V,1b){d 3,B;3=c.L(\'D\');5(3!=b){3.4.o=P()-V+\'W\'}3=c.L(\'1l\');B=c.L(\'1h\');5(3!=b&&B!=b){3.4.o=P()-V+\'W\';3.4.1E=11()-1b-1D(B.1C)+\'W\'}}};7 1a(3){5(3!=b){3.k(\'q\',\'1d\');3.k(\'f\',\'1d\')}};7 1e(3){5(3!=b){3.k(\'q\',\'I\');3.k(\'f\',\'I\')}};7 1g(3){5(3!=b){3.k(\'q\',\'1f\');3.k(\'f\',\'1f\')}};7 U(3){5(3!=b){3.k(\'q\',\'12\');3.k(\'f\',\'12\')}};7 X(3){5(3!=b){3.k(\'q\',\'F\');3.k(\'f\',\'F\')}};7 Q(3){5(3!=b){3.k(\'q\',\'18\');3.k(\'f\',\'18\')}};7 11(){d h=0;5(E.1i){h=E.1i}z 5(c.s&&c.s.R){h=c.s.R}z 5(c.G){h=c.G.R}16 h};7 P(){d w=0;5(E.19){w=E.19}z 5(c.s&&c.s.M){w=c.s.M}z 5(c.G){w=c.G.M}16 w};',62,113,'|||obj|style|if|this|function|s2|text||null|document|var|HEADER|class|length||||setAttribute|DATA|s1|tr|width|for|className|td|documentElement|title|Array|new|||id|else|th|obj2|onclick|jsmtable|self|jsmtable_tr|body|border|jsmtable_th|BG|table|getElementById|clientWidth|background|color|GetWindowWidth|TR_MouseDown|clientHeight|onmouseout|100|TR_MouseOver|oWidth|px|TR_MouseOut|onmouseover|onmousedown|push|GetWindowHeight|jsmtable_tr_mouseover|nbsp|cellspacing|cellpadding|return|overflow|jsmtable_tr_mousedown|innerWidth|Header_MouseOver|oHeight|0px|jsmtable_th_mouseover|Header_MouseOut|jsmtable_th_mousedown|Header_MouseDown|jsmtable_header|innerHeight|div|ID|jsmtable_div|bottom|right|11px|Paint|SetHeaderTitle|hidden|ClearData|scroll|AddData|colspan|ffffff|write|f6f9fb|bold|Resize|jSMTable|offsetHeight|parseInt|height|weight|font|SetHeader|while|do|10px|Header_SetTitle|align|SetHeaderOnClick|center'.split('|'),0,{}))

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1,149 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<title>Prompt</title>
<style type="text/css">
<!--
* {
font-family: Arial, sans-serif;
font-size: 10pt;
}
body {
background-color: ThreeDFace;
margin: 10px;
}
-->
</style>
<script type="text/javascript">
//<![CDATA[
function xGetElementById(e) {
if(typeof(e)=='string') {
if(document.getElementById) e=document.getElementById(e);
else if(document.all) e=document.all[e];
else e=null;
}
return e;
}
function xAddEventListener(e,eT,eL,cap) {
if(!(e=xGetElementById(e)))return;
eT=eT.toLowerCase();
if(e.addEventListener)e.addEventListener(eT,eL,cap||false);
else if(e.attachEvent)e.attachEvent('on'+eT,eL);
else e['on'+eT]=eL;
}
xAddEventListener(
this,
'load',
function() {
document.getElementById('loading').style.display = 'none';
var lines;
var input = '';
if (window.dialogArguments) {
var args = window.dialogArguments;
if (args['caption']) {
document.title = args['caption'];
}
input = args['input'] || (typeof(args['input']) == 'number') ? args['input'] : '';
var msg = args['msg'] || '';
if (typeof(msg) != 'string') {
msg = new String(msg);
}
if ((navigator.appVersion.indexOf('MSIE') != -1) && (navigator.userAgent.indexOf('Opera') == -1)) {
lines = [];
while (msg.length && msg.match(/^([^\r\n]*)(\r\n|\n\r|\r|\n)?/)) {
lines.push(RegExp.$1);
msg = msg.substr(RegExp.$2 ? RegExp.$1.length + RegExp.$2.length : RegExp.$1.length);
}
}
else {
lines = msg.split(/\r\n|\n\r|\r|\n/);
}
}
else {
lines = [];
}
var div = document.createElement('div');
div.style.whiteSpace = 'nowrap';
for (var i = 0; i < lines.length; i++) {
div.appendChild(document.createTextNode(lines[i] == ' ' ? '' : lines[i]));
if (i < lines.length - 1) {
div.appendChild(document.createElement('br'));
}
}
var question = document.getElementById('question');
question.appendChild(div);
var answer = document.getElementById('answer');
answer.value = input;
document.getElementById('main').style.display = '';
answer.focus();
},
false
);
xAddEventListener(
this,
'load',
function() {
xAddEventListener(
document.body,
'keypress',
function(e) {
var asc = e ? e.keyCode : event.which; // key's ASCII code
//alert(asc);
if (asc == 13) {
document.getElementById('btnOK').click();
}
else if (asc == 27) {
document.getElementById('btnCancel').click();
}
},
true
)
},
false
);
function btnOkClicked() {
window.returnValue = document.getElementById('answer').value;
window.close();
}
function btnCancelClicked() {
window.returnValue = undefined;
window.close();
}
//]]>
</script>
</head>
<body>
<div id="loading" style="text-align:center">Loading...</div>
<div id="main" style="display:none">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td valign="top" style="width:40px"><img src="icon.gif" alt="" width="32" height="32" /></td>
<td valign="top"><p id="question"></p><p style="padding-right: 10px"><input id="answer" type="text" style="width:100%" /></p></td>
</tr>
</table>
<div style="height:10px;"></div>
<div style="text-align:center">
<div style="margin:0 auto;">
<button id="btnOK" onclick="btnOkClicked();" style="width:66px">OK</button>
<button id="btnCancel" onclick="btnCancelClicked();" style="width:66px">Cancel</button>
</div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1 @@
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('t I(){3 P=(E.J.K(\'1f\')!=-1)&&(E.1g.K(\'1e\')==-1);3 R=E.J.O(/\\1b (\\d+)/)&&(m.$1>=7)&&X.Y;3 Z=(t(L){3 H=q.1c(\'1h\');3 e=\'\';N(3 i=0;i<H.6;i++){3 a=H[i].1i(\'a\');5(!a){D}3 x=a.1n(\'/\');5(x==a.6-1){D}5(L!=(x==-1?a:a.C(x+1))){D}e=(x==-1)?a:a.C(0,x+1);1m}y e})(\'G.1l\');3 W=t(k,f){3 4=q.Q(\'4\');5(f){5(f[\'z\']){4.c.z=\'1a-1k: \'+f[\'z\']}5(f[\'v\']){4.c.v=f[\'v\']}}4.c.17=\'12\';4.c.11=0;4.c.10=0;4.c.14=\'18\';4.c.15=\'M\';4.19=16;3 b;5(P){b=[];13(k.6&&k.O(/^([^\\r\\n]*)(\\r\\n|\\n\\r|\\r|\\n)?/)){b.1j(m.$1);k=k.C(m.$2?m.$1.6+m.$2.6:m.$1.6)}}F{b=k.1D(/\\r\\n|\\n\\r|\\r|\\n/)}N(3 i=0;i<b.6;i++){4.A(q.1F(b[i]==\' \'?\'\':b[i]));5(i<b.6-1){4.A(q.Q(\'1J\'))}}4.c.1H=\'M\';3 l=q.1t;5(l.S){l.1s(4,l.S)}F{l.A(4)}3 o=[4.1v,4.1z];l.1x(4);4=1w;y o};1q.B=t(8){3 9=T;5(8&&(1B(8)==\'1G\')){8=8.1C(/^\\s+|\\s+$/g,\'\')}3 j=9.6<=1?\'\':9[1];3 u=9.6<=2?\'\':9[2];3 e;5(R){3 o=W(8,{z:\'1y, 1u-1r\',v:\'1A\'});3 w=o[0]+1I;5(w<V){w=V}3 h=o[1]+1K;e=X.Y(Z+\'G.1E\',{8:8,j:j,u:u},\'1p: \'+w+\'U; 1o: \'+h+\'U\')}F{e=G(8,j)}y e}};I.B=t(8){3 9=T;3 j=9.6<=1?\'\':9[1];3 u=9.6<=2?\'\':9[2];3 p=1d I();y p.B(8,j,u)};',62,109,'|||var|div|if|length||msg|argv|src|lines|style||result|opts||||input|txt|container|RegExp||dims||document|||function|caption|fontSize|||return|fontFamily|appendChild|show|substr|continue|navigator|else|prompt|tags|Prompt|appVersion|indexOf|basename|hidden|for|match|_msie|createElement|_simulate|firstChild|arguments|px|250|_getTextExtent|window|showModalDialog|_script_uri_path|left|top|absolute|while|whiteSpace|overflow|6322|position|nowrap|zIndex|font|bMSIE|getElementsByTagName|new|Opera|MSIE|userAgent|script|getAttribute|push|family|js|break|lastIndexOf|dialogHeight|dialogWidth|this|serif|insertBefore|body|sans|offsetWidth|null|removeChild|Arial|offsetHeight|10pt|typeof|replace|split|html|createTextNode|string|visibility|60|br|145'.split('|'),0,{}))

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('3 E=12;3 w=8;b z(n){d(2.o){3 7=2.o(\'N\');7.P=n;Q(7.a){g=\'i\';M=\'S\'}7.G=\'&R;\';2.s.T(7)}};3 9=(2.4&&2.p);3 f=(2.4&&!2.p);3 m=K.J.H();3 c=(m.Y(\'10\')!=-1?1:0);b B(e){d(2.4){3 h=(2.r&&2.r!=\'U\')?2.13:2.s;D=(c==1?0:(9)?h.14:k.Z);v=(c==1?0:(9)?h.V:k.W);F=(9)?l.x:(f)?t=e.t:q;C=(9)?l.y:(f)?j=e.j:q;3 5=2.4(\'6\');5.a.11=(F+D+E)+\'A\';5.a.X=(C+v+w)+\'A\'}};b 6(u){d(!2.4(\'6\'))z(\'6\');3 5=2.4(\'6\');5.G=u;5.a.g=\'I\';2.L=B};b O(){2.4(\'6\').a.g=\'i\'};',62,67,'||document|var|getElementById|lixlpixel_tooltip|tooltip|el||ie5|style|function|isapple|if||ns6|display|iebody|none|clientY|window|event|ua|newid|createElement|all|false|compatMode|body|clientX|tip|pagey|offsety|||newelement|px|getmouseposition|mousey|pagex|offsetx|mousex|innerHTML|toLowerCase|block|userAgent|navigator|onmousemove|position|div|exit|id|with|nbsp|absolute|appendChild|BackCompat|scrollTop|pageYOffset|top|indexOf|pageXOffset|applewebkit|left||documentElement|scrollLeft'.split('|'),0,{}))

View File

@@ -0,0 +1,37 @@
tinyMCE.addI18n('de.smexplorer',{
desc : 'SMExplorer - Dateimanager',
insert : 'Link-Beschreibung',
menu_hint_1 : 'Datei Upload',
menu_hint_2 : 'Neues Verzeichnis erstellen',
menu_hint_3 : 'Verzeichnis umbenennen',
menu_hint_4 : 'Verzeichnis l\u00F6schen',
menu_hint_5 : 'Datei(en) l\u00F6schen',
menu_hint_6 : 'Ansicht schlie\u00DFen',
menu_hint_7 : 'Aktualisieren',
panel_folder_caption : 'Ordner',
table_column_caption_1 : 'Dateiname',
table_column_caption_2 : 'Dateigr\u00F6\u00DFe',
table_column_caption_3 : 'Datum',
table_sort_hint_1 : 'Aufsteigend sortieren',
table_sort_hint_2 : 'Absteigend sortieren',
upload_label_1 : 'Dateipfad',
upload_label_2 : 'Dateiname',
upload_button_1 : 'Speichern',
upload_button_2 : 'Abbrechen',
upload_info_1 : 'Zul\u00E4ssige Dateitypen',
upload_info_2 : 'Maximale Dateigr\u00F6\u00DFe',
upload_info_11 : 'Unbeschr\u00E4nkt',
file_menu_hint_1 : 'Einf\u00FCgen',
file_menu_hint_2 : 'L\u00F6schen',
file_menu_hint_3 : 'Anzeigen',
file_delete : 'M\u00F6chten Sie die Datei l\u00F6schen ?',
files_delete: 'M\u00F6chten Sie die ausgewählten Dateien l\u00F6schen ?',
file_rename : 'M\u00F6chten Sie die Datei umbenennen ?',
folder_delete : 'M\u00F6chten Sie das Verzeichnis l\u00F6schen ?',
folder_rename : 'Neuer Verzeichnisname',
folder_new : 'Neues Verzeichnis',
statusbar_item2_1 : 'Dateien',
message_upload_1 : 'Die Datei wurde erfolgreich zum Server \u00FCbertragen.',
message_upload_2 : 'Fehler - Die Datei wurde nicht zum Server \u00FCbertragen !',
message_upload_3 : 'Fehler - Es wurde keine Datei ausgew\u00E4hlt !'
});

View File

@@ -0,0 +1,37 @@
tinyMCE.addI18n('en.smexplorer',{
desc : 'SMExplorer - File manager',
insert : 'Link description',
menu_hint_1 : 'Upload file',
menu_hint_2 : 'Create new folder',
menu_hint_3 : 'Rename folder',
menu_hint_4 : 'Delete folder',
menu_hint_5 : 'Delete file(s)',
menu_hint_6 : 'Close view',
menu_hint_7 : 'Reload',
panel_folder_caption : 'Folder',
table_column_caption_1 : 'File name',
table_column_caption_2 : 'File size',
table_column_caption_3 : 'Date',
table_sort_hint_1 : 'Sort ascending',
table_sort_hint_2 : 'Sort descending',
upload_label_1 : 'File path',
upload_label_2 : 'File name',
upload_button_1 : 'Save',
upload_button_2 : 'Cancel',
upload_info_1 : 'Allowed file type(s)',
upload_info_2 : 'Maximum file size',
upload_info_11 : 'Unrestricted',
file_menu_hint_1 : 'Insert',
file_menu_hint_2 : 'Delete',
file_menu_hint_3 : 'Show',
file_delete : 'Do you want to delete this file ?',
files_delete: 'Do you want to delete the selected file(s) ?',
file_rename : 'Do you want to rename this file ?',
folder_delete : 'Do you want to delete this folder ?',
folder_rename : 'New folder name',
folder_new : 'New folder',
statusbar_item2_1 : 'Files',
message_upload_1 : 'The file has successfully been uploaded to the server.',
message_upload_2 : 'Error - The file has not been uploaded to the server !',
message_upload_3 : 'Error - No file was selected !'
});

View File

@@ -0,0 +1,37 @@
tinyMCE.addI18n('ru.smexplorer',{
desc : 'Менеджер файлов',
insert : 'Название ссылки на файл',
menu_hint_1 : 'Загрузить файл',
menu_hint_2 : 'Создать новую папку',
menu_hint_3 : 'Переименовать папку',
menu_hint_4 : 'Удалить папку',
menu_hint_5 : 'Удалить файл(ы)',
menu_hint_6 : 'Закрыть просмотр',
menu_hint_7 : 'Обновить',
panel_folder_caption : 'Папка',
table_column_caption_1 : 'Имя файла',
table_column_caption_2 : 'Размер',
table_column_caption_3 : 'Дата',
table_sort_hint_1 : 'По возрастанию',
table_sort_hint_2 : 'По убыванию',
upload_label_1 : 'Путь к файлу',
upload_label_2 : 'Имя файла',
upload_button_1 : 'Сохранить',
upload_button_2 : 'Отмена',
upload_info_1 : 'Доступные типы файлов',
upload_info_2 : 'Максимальный размер',
upload_info_11 : 'Любой',
file_menu_hint_1 : 'Вставить',
file_menu_hint_2 : 'Удалить',
file_menu_hint_3 : 'Показать',
file_delete : 'Вы действительно хотите удалить этот файл?',
files_delete: 'Вы действительно хотите удалить выбранные файлы?',
file_rename : 'Вы действительно хотите переименовать файл?',
folder_delete : 'Вы действительно хотите удалить эту папку?',
folder_rename : 'Новое имя папки',
folder_new : 'Новая папка',
statusbar_item2_1 : 'Файлов',
message_upload_1 : 'Файл успешно загружен на сервер',
message_upload_2 : 'Ошибка: файл не загружен на сервер',
message_upload_3 : 'Ошибка: файл не выбран'
});

View File

@@ -0,0 +1,130 @@
<?php
if (isset($_GET["action"])) {
// Lφschen
if ($_GET["action"] == "delete") {
// Datei lφschen
if (isset($_GET["file"])) { @unlink(GetDocumentRoot().$SESSION["dir"].$_GET["file"]); }
// Verzeichnis lφschen
else if (isset($_GET["folder"])) {
$dir = "";
$array = explode('/', $SESSION["dir"]);
for ($i = 0; $i < count($array)-2; $i++ ) { $dir = $dir.$array[$i]."/"; }
DeleteFolder(GetDocumentRoot().$dir.$_GET["folder"]);
// Neues aktives Verzeichnis
$SESSION["dir"] = $ROOT_FOLDER[$SESSION["treemenu"]];
}
}
// Ausgewδhlte Dateien lφschen
else if ($_GET["action"] == "delete2") {
for ($i = 0; $i < $_GET["max"]; $i++) {
if ($_POST["td_checkbox".$i] == 1) {
// Lφschen
@unlink(GetDocumentRoot().$SESSION["dir"].$_POST["fn_input".$i]);
}
}
}
// Umbenennen
else if ($_GET["action"] == "rename") {
// Datei umbenennen
if (isset($_GET["file"])) {
// Dateinamen formatieren
$_GET["name"] = FormatFileName($_GET["name"]);
// Umbenennen
if($_GET["name"] != '.htaccess')
@rename(GetDocumentRoot().$SESSION["dir"].$_GET["file"], GetDocumentRoot().$SESSION["dir"].$_GET["name"]);
}
// Verzeichnis umbenennen
else if (isset($_GET["folder"])) {
// Verzeichnisnamen formatieren
$_GET["name"] = FormatFolderName($_GET["name"]);
$dir = "";
$array = explode('/', $SESSION["dir"]);
for ($i = 0; $i < count($array)-2; $i++ ) { $dir = $dir.$array[$i]."/"; }
// Umbenennen
@rename(GetDocumentRoot().$dir.$_GET["folder"], GetDocumentRoot().$dir.$_GET["name"]);
// Neues aktives Verzeichnis
$SESSION["dir"] = $dir.$_GET["name"]."/";
}
}
// Neues Verzeichnis erstellen
else if ($_GET["action"] == "newfolder") {
// Verzeichnisnamen formatieren
$_GET["name"] = FormatFolderName($_GET["name"]);
// Verzeichnis erstellen und Rechte anpassen
@mkdir(GetDocumentRoot().$SESSION["dir"].$_GET["name"], $CONFIG["chmod_folder"]);
}
// Datei speichern
else if ($_GET["action"] == "upload") {
// Dateinamen formatieren
$_POST["edit1"] = FormatFileName($_POST["edit1"]);
// Prόfen ob die Bilddatei bereits existiert, wenn ja den Dateinamen anpassen
while (file_exists(GetDocumentRoot().$SESSION["dir"].$_POST["edit1"].$_POST["edit2"])) {
$_POST["edit1"] = "_".$_POST["edit1"];
}
// Dateierweiterung in Kleinbuchstaben umwandeln
$array = explode(",", $SESSION["upload_filetype"]);
for ($i = 0; $i < count($array); $i++) { $array[$i] = strtolower($array[$i]); }
// Dateierweiterung Leerzeichen entfernen
for ($i = 0; $i < count($array); $i++) {
$array[$i] = ltrim($array[$i]);
$array[$i] = rtrim($array[$i]);
}
if($_POST["edit1"].$_POST["edit2"] != '.htaccess')
// Dateigrφίe und Dateierweiterung όberprόfen und Datei kopieren
if ($SESSION["upload_filetype"] != "" && $SESSION["upload_filesize"] != "") {
if (filesize($_FILES["input1"]["tmp_name"]) / 1024 <= $SESSION["upload_filesize"] && in_array(strtolower(GetFileExt($_POST["edit1"].$_POST["edit2"])), $array)) {
$UPLOAD_RESULT = @move_uploaded_file($_FILES["input1"]["tmp_name"], GetDocumentRoot().$SESSION["dir"].$_POST["edit1"].$_POST["edit2"]);
}
else { $UPLOAD_RESULT = false; }
}
else if ($SESSION["upload_filetype"] == "" && $SESSION["upload_filesize"] != "") {
if (filesize($_FILES["input1"]["tmp_name"]) / 1024 <= $SESSION["upload_filesize"]) {
$UPLOAD_RESULT = @move_uploaded_file($_FILES["input1"]["tmp_name"], GetDocumentRoot().$SESSION["dir"].$_POST["edit1"].$_POST["edit2"]);
}
else { $UPLOAD_RESULT = false; }
}
else if ($SESSION["upload_filetype"] != "" && $SESSION["upload_filesize"] == "") {
if (in_array(strtolower(GetFileExt($_POST["edit1"].$_POST["edit2"])), $array)) {
$UPLOAD_RESULT = @move_uploaded_file($_FILES["input1"]["tmp_name"], GetDocumentRoot().$SESSION["dir"].$_POST["edit1"].$_POST["edit2"]);
}
else { $UPLOAD_RESULT = false; }
}
else if ($SESSION["upload_filetype"] == "" && $SESSION["upload_filesize"] == "") {
$UPLOAD_RESULT = @move_uploaded_file($_FILES["input1"]["tmp_name"], GetDocumentRoot().$SESSION["dir"].$_POST["edit1"].$_POST["edit2"]);
}
// Dateirechte anpassen
if ($UPLOAD_RESULT) {
@chmod(GetDocumentRoot().$SESSION["dir"].$_POST["edit1"].$_POST["edit2"], $CONFIG["chmod_file"]);
}
}
}
?>

View File

@@ -0,0 +1,43 @@
<?php
$CONFIG = array();
// Allgemeine Konfiguration / General configuration
$CONFIG["directory"] = "";
$CONFIG["server"] = "";
$CONFIG["orderby"] = "0";
$CONFIG["link_target"] = "_blank";
$CONFIG["show_chmod"] = "0";
$CONFIG["show_folder_menu"] = "1";
$CONFIG["show_file_menu"] = "1";
$CONFIG["hidden_folder"] = "";
$CONFIG["hidden_subfolder"] = "";
$CONFIG["hidden_filetype"] = "";
$CONFIG["show_upload"] = "1";
$CONFIG["upload_filetype"] = "";
$CONFIG["upload_filesize"] = "";
$CONFIG["check_session_variable"] = "";
// Konfiguration der Oberfläche / Configuration of the surface
$CONFIG["folder_tree_width"] = "220";
$CONFIG["show_preview"] = "1";
$CONFIG["preview_thumbnail_size"] = "200";
$CONFIG["rename_file_ext"] = "0";
// Konfiguration Verzeichnis- und Dateirechte / Configuration folder and file permission
$CONFIG["chmod_folder"] = 0777;
$CONFIG["chmod_file"] = 0644;
// Konfiguration Cache / Configuration cache
$CONFIG["no_cache"] = "0";
// Spezial Konfiguration / Special configuration
$CONFIG["document_root"] = "";
?>

View File

@@ -0,0 +1,20 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>SMExplorer - Error</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<meta name="author" content="Jens Stolinski" />
<meta name="publisher" content="Jens Stolinski" />
<meta name="company" content="SYNASYS MEDIA" />
<!-- CSS -->
<link rel="stylesheet" href="css/smexplorer.css" type="text/css" media="screen" />
</head>
<body>
<div style="text-align:center; margin-top:100px;"><div><img src="img/icon_lock_128x128.png" border="0"></div></div>
</body>
</html>

View File

@@ -0,0 +1,57 @@
<?php
function ShowSubFolders($dir_root, $dir, $depth, $treemenu) {
global $SESSION;
global $GET2;
if ($depth >= 1) { $folders = GetFolders($dir, explode(",", $SESSION["hidden_subfolder"])); }
else { $folders = GetFolders($dir, explode(",", $SESSION["hidden_folder"])); }
if (count($folders) == 0) { return; }
if ($depth >= 1) { echo "<div class=\"sub_tree_menu\"><ul>"; }
else { echo "<div><ul>"; }
for ($i = 0; $i < count($folders); $i++) {
if ($SESSION["dir"] == $dir.$folders[$i]."/") {
echo "<li><a id=\"active\" href=\"javascript:;\">";
$SESSION["folder"] = $folders[$i];
}
else { echo "<li><a href=\"javascript:;\" onclick=\"SMExplorer_OpenFolder('".bin2hex(RC4("id=1&treemenu=".$treemenu."&dir=".$dir.$folders[$i]."/&".$GET2))."'); if (window.event){ window.event.returnValue = false; }\">"; }
echo "<img style=\"margin:0px; margin-left:4px;\" src=\"img/icon_tree_16x16.png\" border=\"0\" /><img src=\"img/icon_folder_16x16.png\" border=\"0\" />".$folders[$i];
if ($SESSION["show_chmod"] == 1) { echo "<span style=\"margin-left:3px; font-size:7pt; color:#c4d3f6; font-weight:normal;\">[".GetChmod($dir_root)."]</span>"; }
echo "</a></li>";
// Unterordner anzeigen
ShowSubFolders($dir_root, $dir.$folders[$i]."/", $depth+1, $treemenu);
}
echo "</ul></div>";
}
// Root-Ordner anzeigen
for ($i = 0; $i < count($ROOT_FOLDER); $i++) {
if ($i > 0) { echo "<div class=\"splitter_horizontal\"></div>"; }
if (@file_exists(GetDocumentRoot().$ROOT_FOLDER[$i])) {
echo "<div class=\"tree_menu\"><ul>";
echo "<li><a href=\"javascript:;\" onclick=\"SMExplorer_OpenFolder('".bin2hex(RC4("id=1&treemenu=".$i."&dir=".$ROOT_FOLDER[$i]."&".$GET2))."'); if (window.event){ window.event.returnValue = false; }\"><img src=\"img/icon_folder_16x16.png\" border=\"0\" />";
if ($ROOT_FOLDER[$i] == $SESSION["dir"]) { echo "<b>".basename($ROOT_FOLDER[$i])."</b>"; } else { echo basename($ROOT_FOLDER[$i]); }
if ($SESSION["show_chmod"] == 1) { echo "<span style=\"margin-left:3px; font-size:7pt; color:#c4d3f6; font-weight:normal;\">[".GetChmod($ROOT_FOLDER[$i])."]</span>"; }
echo "</a></li>";
// Unterordner anzeigen
ShowSubFolders($ROOT_FOLDER[$i], $ROOT_FOLDER[$i], 0, $i);
echo "</ul></div>";
}
else {
echo "<div class=\"tree_menu\"><ul>";
echo "<li><a style=\"color:#d21034;\" href=\"javascript:;\"><img src=\"img/icon_folder_16x16.png\" border=\"0\" /><b>".basename($ROOT_FOLDER[$i])."</b></a></li>";
echo "</ul></div>";
}
}
?>

View File

@@ -0,0 +1,29 @@
<?php
// Neue Bildgröße brechnen
function GetNewImageSize($file, $size) {
$a = array();
$a["width"] = $size;
$a["height"] = $size;
if (list($width_orig, $height_orig, $image_type) = getimagesize(GetDocumentRoot().$file)) {
if ($height_orig > $size || $width_orig > $size) {
if ($height_orig >= $width_orig) {
$ratio_orig = $height_orig / $width_orig;
$a["width"] = round($size / $ratio_orig);
}
else if ($width_orig >= $height_orig) {
$ratio_orig = $width_orig / $height_orig;
$a["height"] = round($size / $ratio_orig);
}
}
else {
$a["width"] = $width_orig;
$a["height"] = $height_orig;
}
}
return $a;
}
?>

View File

@@ -0,0 +1,148 @@
<?php
include("tools.php");
function SendEmptyImage() {
header ("Content-type: image/png");
$img = @imagecreatetruecolor(200, 100);
imagefill($img, 255, 255, 255);
$c = imagecolorallocate($img, 255, 255, 255);
imagefill($img, 0, 0, $c);
$text_color = imagecolorallocate($img, 68, 85, 102);
imagestring($img, 10, 80, 40, "???", $text_color);
imagepng($img);
imagedestroy($img);
}
// Neue Bildgröße brechnen
function GetNewImageSize($file, $size) {
$a = array();
$a["width"] = $size;
$a["height"] = $size;
if (list($width_orig, $height_orig, $image_type) = getimagesize($file)) {
if ($height_orig > $size || $width_orig > $size) {
if ($height_orig >= $width_orig) {
$ratio_orig = $height_orig / $width_orig;
$a["width"] = round($size / $ratio_orig);
}
else if ($width_orig >= $height_orig) {
$ratio_orig = $width_orig / $height_orig;
$a["height"] = round($size / $ratio_orig);
}
}
else {
$a["width"] = $width_orig;
$a["height"] = $height_orig;
}
}
return $a;
}
// Neue Bildgröße brechnen
$a = array();
$a = GetNewImageSize(GetDocumentRoot().$_GET["src"], $_GET["size"]);
$width = $a["width"];
$height = $a["height"];
unset($a);
// Originale Bildgröße und Bilddateityp ermitteln
if (!list($width_orig, $height_orig, $image_type) = getimagesize(GetDocumentRoot().$_GET["src"])) {
SendEmptyImage();
exit;
}
// Neues Bild erstellen
if (!$image_p = imagecreatetruecolor($width, $height)) {
SendEmptyImage();
exit;
}
// GIF-, JPG- und PNG-Bildformat
switch($image_type) {
case 1:
if (ImageTypes() & IMG_GIF) {
// Content type
header("Content-type: image/gif");
// Bilddatei laden
$image = imagecreatefromgif(GetDocumentRoot().$_GET["src"]);
// Transparenz erhalten
$trnprt_indx = imagecolortransparent($image);
if ($trnprt_indx >= 0) {
$trnprt_color = @imagecolorsforindex($image, $trnprt_indx);
$trnprt_indx = @imagecolorallocate($image_p, $trnprt_color['red'], $trnprt_color['green'], $trnprt_color['blue']);
imagefill($image_p, 0, 0, $trnprt_indx);
imagecolortransparent($image_p, $trnprt_indx);
}
// Resample
imagecopyresampled($image_p, $image, 0, 0, 0, 0, $width, $height, $width_orig, $height_orig);
// Output
imagegif($image_p);
}
else {
SendEmptyImage();
}
break;
case 2:
if (ImageTypes() & IMG_JPG) {
// Content type
header("Content-type: image/jpeg");
// Bilddatei laden
$image = imagecreatefromjpeg(GetDocumentRoot().$_GET["src"]);
// Resample
imagecopyresampled($image_p, $image, 0, 0, 0, 0, $width, $height, $width_orig, $height_orig);
// Output
imagejpeg($image_p, null, $_GET["jpg_quality"]);
}
else {
SendEmptyImage();
}
break;
case 3:
if (ImageTypes() & IMG_PNG) {
// Content type
header("Content-type: image/png");
// Bilddatei laden
$image = imagecreatefrompng(GetDocumentRoot().$_GET["src"]);
// Transparenz erhalten
imagealphablending($image_p, false);
$colorTransparent = imagecolorallocatealpha($image_p, 0, 0, 0, 127);
imagefill($image_p, 0, 0, $colorTransparent);
imagesavealpha($image_p, true);
// Resample
imagecopyresampled($image_p, $image, 0, 0, 0, 0, $width, $height, $width_orig, $height_orig);
// Output
imagepng($image_p);
}
else {
SendEmptyImage();
}
break;
default:
SendEmptyImage();
break;
}
// Speicher freigeben
if (isset($image)) { imagedestroy($image); }
if (isset($image_p)) { imagedestroy($image_p); }
?>

View File

@@ -0,0 +1,185 @@
<?php
// Initialisierung
$SESSION = array();
$QUERY = array();
// Query-Zeichenkette entschlüsseln
if (isset($_GET["get"])) {
parse_str(RC4(@pack("H*", $_GET["get"])), $QUERY);
}
else {
include("error.php");
die;
}
// Query-Zeichenkette auf Vollständigkeit überprüfen
if (!isset($QUERY["id"]) || !isset($QUERY["check_session_variable"])) {
include("error.php");
die;
}
// Verzeichnispfad überprüfen
if ($CONFIG["directory"] != "" && $CONFIG["directory"][0] != "/") { $CONFIG["directory"] = "/".$CONFIG["directory"]; }
if ($CONFIG["directory"] != "" && $CONFIG["directory"][strlen($CONFIG["directory"])-1] != "/") { $CONFIG["directory"] = $CONFIG["directory"]."/"; }
// Serverpfad überprüfen
if ($CONFIG["server"] != "" && $CONFIG["server"][strlen($CONFIG["server"])-1] == "/") { $CONFIG["server"] = substr($CONFIG["server"], 0, -1); }
// Initialisierung
$SESSION["id"] = "1";
$SESSION["dir_root"] = $CONFIG["directory"];
$SESSION["dir"] = $CONFIG["directory"];
$SESSION["server"] = $CONFIG["server"];
$SESSION["show_upload"] = $CONFIG["show_upload"];
$SESSION["orderby"] = $CONFIG["orderby"];
$SESSION["show_folder_menu"] = $CONFIG["show_folder_menu"];
$SESSION["show_file_menu"] = $CONFIG["show_file_menu"];
$SESSION["link_target"] = $CONFIG["link_target"];
$SESSION["hidden_folder"] = $CONFIG["hidden_folder"];
$SESSION["hidden_subfolder"] = $CONFIG["hidden_subfolder"];
$SESSION["hidden_filetype"] = $CONFIG["hidden_filetype"];
$SESSION["show_chmod"] = $CONFIG["show_chmod"];
$SESSION["upload_filetype"] = $CONFIG["upload_filetype"];
$SESSION["upload_filesize"] = $CONFIG["upload_filesize"];
$SESSION["check_session_variable"] = $CONFIG["check_session_variable"];
$SESSION["document_root"] = $CONFIG["document_root"];
$SESSION["treemenu"] = "0";
// Query auswerten
if (isset($QUERY["id"])) { $SESSION["id"] = $QUERY["id"]; }
if (isset($QUERY["dir_root"]) && $QUERY["dir_root"] != "") {
$SESSION["dir_root"] = $QUERY["dir_root"];
// Verzeichnispfad überprüfen
$a = explode(",", $SESSION["dir_root"]);
for ($i = 0; $i < count($a); $i++) {
if ($a[$i][0] != "/") { $a[$i] = "/".$a[$i]; }
if ($a[$i] != "" && $a[$i][strlen($a[$i])-1] != "/") { $a[$i] = $a[$i]."/"; }
}
$SESSION["dir_root"] = implode(",", $a);
$SESSION["dir"] = $a[0];
}
if (isset($QUERY["dir"])) { $SESSION["dir"] = $QUERY["dir"]; }
if (isset($QUERY["server"]) && $QUERY["server"] != "") {
// Serverpfad überprüfen
if ($QUERY["server"] != "" && $QUERY["server"][strlen($QUERY["server"])-1] == "/") { $QUERY["server"] = substr($QUERY["server"], 0, -1); }
$SESSION["server"] = $QUERY["server"];
}
if (isset($QUERY["show_upload"]) && $QUERY["show_upload"] != "") {
$SESSION["show_upload"] = $QUERY["show_upload"];
}
if (isset($QUERY["orderby"]) && $QUERY["orderby"] != "") {
$SESSION["orderby"] = $QUERY["orderby"];
}
if (isset($QUERY["show_folder_menu"]) && $QUERY["show_folder_menu"] != "") {
$SESSION["show_folder_menu"] = $QUERY["show_folder_menu"];
}
if (isset($QUERY["show_file_menu"]) && $QUERY["show_file_menu"] != "") {
$SESSION["show_file_menu"] = $QUERY["show_file_menu"];
}
if (isset($QUERY["link_target"]) && $QUERY["link_target"] != "") {
$SESSION["link_target"] = $QUERY["link_target"];
}
if (isset($QUERY["hidden_folder"]) && $QUERY["hidden_folder"] != "") {
$SESSION["hidden_folder"] = $QUERY["hidden_folder"];
}
if (isset($QUERY["hidden_subfolder"]) && $QUERY["hidden_subfolder"] != "") {
$SESSION["hidden_subfolder"] = $QUERY["hidden_subfolder"];
}
if (isset($QUERY["hidden_filetype"]) && $QUERY["hidden_filetype"] != "") {
$SESSION["hidden_filetype"] = $QUERY["hidden_filetype"];
// Dateityp überprüfen
if ($SESSION["hidden_filetype"] == "") { $SESSION["hidden_filetype"] = "."; }
}
if (isset($QUERY["show_chmod"]) && $QUERY["show_chmod"] != "") {
$SESSION["show_chmod"] = $QUERY["show_chmod"];
}
if (isset($QUERY["upload_filetype"]) && $QUERY["upload_filetype"] != "") {
$SESSION["upload_filetype"] = $QUERY["upload_filetype"];
}
if (isset($QUERY["upload_filesize"]) && $QUERY["upload_filesize"] != "") {
$SESSION["upload_filesize"] = $QUERY["upload_filesize"];
}
if (isset($QUERY["check_session_variable"]) && $QUERY["check_session_variable"] != "") {
$SESSION["check_session_variable"] = $QUERY["check_session_variable"];
}
if (isset($QUERY["document_root"]) && $QUERY["document_root"] != "") {
$SESSION["document_root"] = $QUERY["document_root"];
}
if (isset($QUERY["treemenu"]) && $QUERY["treemenu"] != "") {
$SESSION["treemenu"] = $QUERY["treemenu"];
}
// Session-Variable überprüfen
if ($SESSION["check_session_variable"] != "") {
// Session Starten
session_start();
// Session-Variable überprüfen
if (!isset($_SESSION[$SESSION["check_session_variable"]])) {
include("error.php");
die;
}
}
// Query-Zeichenkette 1
$GET = "dir_root=".$SESSION["dir_root"]
."&dir=".$SESSION["dir"]
."&server=".$SESSION["server"]
."&show_upload=".$SESSION["show_upload"]
."&orderby=".$SESSION["orderby"]
."&show_folder_menu=".$SESSION["show_folder_menu"]
."&show_file_menu=".$SESSION["show_file_menu"]
."&link_target=".$SESSION["link_target"]
."&hidden_folder=".$SESSION["hidden_folder"]
."&hidden_subfolder=".$SESSION["hidden_subfolder"]
."&hidden_filetype=".$SESSION["hidden_filetype"]
."&show_chmod=".$SESSION["show_chmod"]
."&upload_filetype=".$SESSION["upload_filetype"]
."&upload_filesize=".$SESSION["upload_filesize"]
."&check_session_variable=".$SESSION["check_session_variable"]
."&document_root=".$SESSION["document_root"]
."&treemenu=".$SESSION["treemenu"];
// Query-Zeichenkette 2
$GET2 = "dir_root=".$SESSION["dir_root"]
."&server=".$SESSION["server"]
."&show_upload=".$SESSION["show_upload"]
."&orderby=".$SESSION["orderby"]
."&show_folder_menu=".$SESSION["show_folder_menu"]
."&show_file_menu=".$SESSION["show_file_menu"]
."&link_target=".$SESSION["link_target"]
."&hidden_folder=".$SESSION["hidden_folder"]
."&hidden_subfolder=".$SESSION["hidden_subfolder"]
."&hidden_filetype=".$SESSION["hidden_filetype"]
."&show_chmod=".$SESSION["show_chmod"]
."&upload_filetype=".$SESSION["upload_filetype"]
."&upload_filesize=".$SESSION["upload_filesize"]
."&check_session_variable=".$SESSION["check_session_variable"]
."&document_root=".$SESSION["document_root"];
// Query-Zeichenkette 3
$GET3 = "dir_root=".$SESSION["dir_root"]
."&dir=".$SESSION["dir"]
."&server=".$SESSION["server"]
."&show_upload=".$SESSION["show_upload"]
."&show_folder_menu=".$SESSION["show_folder_menu"]
."&show_file_menu=".$SESSION["show_file_menu"]
."&link_target=".$SESSION["link_target"]
."&hidden_folder=".$SESSION["hidden_folder"]
."&hidden_subfolder=".$SESSION["hidden_subfolder"]
."&hidden_filetype=".$SESSION["hidden_filetype"]
."&show_chmod=".$SESSION["show_chmod"]
."&upload_filetype=".$SESSION["upload_filetype"]
."&upload_filesize=".$SESSION["upload_filesize"]
."&check_session_variable=".$SESSION["check_session_variable"]
."&document_root=".$SESSION["document_root"]
."&treemenu=".$SESSION["treemenu"];
?>

View File

@@ -0,0 +1,315 @@
<?php
include("config.php");
// Server Root-Pfad zurückgeben
function GetDocumentRoot() {
global $SESSION;
if ($SESSION["document_root"] != "") {
$s = $SESSION["document_root"];
if ($s[strlen($s)-1] == "/") { $s = substr($s, 0, -1); }
return $s;
}
if (isset($_SERVER["DOCUMENT_ROOT"])) { return $_SERVER["DOCUMENT_ROOT"]; }
else if (isset($_SERVER["APPL_PHYSICAL_PATH"])) {
$s = $_SERVER["APPL_PHYSICAL_PATH"];
$s = str_replace('\\', '/', $_SERVER["APPL_PHYSICAL_PATH"]);
if ($s[strlen($s)-1] == "/") { $s = substr($s, 0, -1); }
return $s;
}
}
// Zugriffsrechte zurückgeben
function GetChmod($file) {
return substr(decoct(@fileperms(GetDocumentRoot().$file)), -3);
}
// Datei-Erweiterung zurückgeben
function GetFileExt($file) {
$pfad_info = @pathinfo($file);
return $pfad_info['extension'];
}
// Datei-Erweiterung prüfen
function IsFileExt($file, $ext) {
if (GetFileExt(strtolower($file)) == strtolower($ext)) { return true; }
else { return false; }
}
// Verzeichnis lesen und alle Dateien ermitteln
function GetFiles($dir, $orderby, $hidden) {
$files = array();
// Server-Pfad ermitteln
$dir = GetDocumentRoot().$dir;
// In Kleinbuchstaben umwandeln
for ($i = 0; $i < count($hidden); $i++) { $hidden[$i] = strtolower($hidden[$i]); }
// Leerzeichen entfernen
for ($i = 0; $i < count($hidden); $i++) {
$hidden[$i] = ltrim($hidden[$i]);
$hidden[$i] = rtrim($hidden[$i]);
}
// Dateien ermitteln
if ($dh = @opendir($dir)) {
while($file = readdir($dh)) {
if (!preg_match("/^\.+$/", $file)) {
if (is_file($dir.$file) && !in_array(strtolower(GetFileExt($file)), $hidden)) {
$files[0][] = $file;
$files[1][] = filemtime($dir.$file);
$files[2][] = filesize($dir.$file);
}
}
}
closedir($dh);
}
switch ($orderby) {
case "0":
@array_multisort($files[1], SORT_NUMERIC, SORT_DESC, $files[0], SORT_STRING, SORT_DESC);
break;
case "1":
@array_multisort($files[0], SORT_STRING, SORT_ASC);
break;
case "2":
@array_multisort($files[0], SORT_STRING, SORT_DESC);
break;
case "3":
@array_multisort($files[2], SORT_NUMERIC, SORT_ASC, $files[0], SORT_STRING, SORT_DESC);
break;
case "4":
@array_multisort($files[2], SORT_NUMERIC, SORT_DESC, $files[0], SORT_STRING, SORT_DESC);
break;
case "5":
@array_multisort($files[1], SORT_NUMERIC, SORT_ASC, $files[0], SORT_STRING, SORT_DESC);
break;
case "6":
@array_multisort($files[1], SORT_NUMERIC, SORT_DESC, $files[0], SORT_STRING, SORT_DESC);
break;
}
// Server-Cache löschen
clearstatcache();
// Datei-Array zurückgeben
return $files[0];
}
// Verzeichnis lesen und alle Ordner ermitteln
function GetFolders($dir, $hidden) {
$folders = array();
// Server-Pfad ermitteln
$dir = GetDocumentRoot().$dir;
// In Kleinbuchstaben umwandeln
for ($i = 0; $i < count($hidden); $i++) { $hidden[$i] = strtolower($hidden[$i]); }
// Leerzeichen entfernen
for ($i = 0; $i < count($hidden); $i++) {
$hidden[$i] = ltrim($hidden[$i]);
$hidden[$i] = rtrim($hidden[$i]);
}
// Verzeichnisse ermitteln
if ($dh = @opendir($dir)) {
while($file = readdir($dh)) {
if (!preg_match("/^\.+$/", $file)) {
if (is_dir($dir.$file) && !in_array(strtolower($file), $hidden)) { $folders[] = $file; }
}
}
closedir($dh);
}
@sort($folders, SORT_STRING);
// Server-Cache löschen
clearstatcache();
// Ordner-Array zurückgeben
return $folders;
}
// Verzeichnis rekursiv löschen
// Rückgabewerte:
// 0 - O.K.
// -1 - Kein Verzeichnis
// -2 - Fehler beim Löschen
// -3 - Ein Eintrag eines Verzeichnisses war keine Datei und kein Verzeichnis und kein Link
function DeleteFolder($path) {
// Auf Verzeichnis testen
if (!is_dir($path)) { return -1; }
// Verzeichnis öffnen
$dir = @opendir($path);
// Fehler?
if (!$dir) { return -2; }
while (($entry = @readdir($dir)) != false) {
if ($entry == '.' || $entry == '..') continue;
if (is_dir($path.'/'.$entry)) {
$res = DeleteFolder($path.'/'.$entry);
// Fehler ?
if ($res == -1) {
@closedir($dir);
return -2;
}
else if ($res == -2) {
@closedir($dir);
return -2;
}
else if ($res == -3) {
@closedir($dir);
return -3;
}
else if ($res != 0) {
@closedir($dir);
return -2;
}
}
else if (is_file($path.'/'.$entry) || is_link($path.'/'.$entry)) {
// Datei löschen
$res = @unlink($path.'/'.$entry);
// Fehler?
if (!$res) {
@closedir($dir);
return -2;
}
}
else {
@closedir($dir);
return -3;
}
}
// Verzeichnis schliessen
@closedir($dir);
// Verzeichnis löschen
$res = @rmdir($path);
// Fehler?
if (!$res) { return -2; }
return 0;
}
// Datumsformat zurückgeben
function GetDateFormat() {
$lang = $_SERVER["HTTP_ACCEPT_LANGUAGE"];
$curlang = substr($lang, 0, 2);
if (isset($lang)) {
if ($curlang == "en") { return "Y-m-d"; }
elseif ($curlang == "de" || $curlang == "nl") { return "d.m.Y"; }
else { return "Y-m-d"; }
}
else { return "Y-m-d"; }
}
// Dateinamen richtig formatieren und zurückgeben
function FormatFileName($name) {
// Leerzeichen entfernen
$name = ltrim($name);
$name = rtrim($name);
// Umlaute ersetzen
$name = str_replace(array('ä','ö','ü','ß','Ä','Ö','Ü'), array('ae','oe','ue','ss','Ae','Oe','Ue'), $name);
// Zeichen ersetzen
$name = str_replace(" ", "_", $name);
$name = preg_replace('/[^a-z0-9_\.\-]/i', '', $name);
return $name;
}
// Verzeichnisnamen richtig formatieren und zurückgeben
function FormatFolderName($name) {
// Leerzeichen entfernen
$name = ltrim($name);
$name = rtrim($name);
// Umlaute ersetzen
$name = str_replace(array('ä','ö','ü','ß','Ä','Ö','Ü'), array('ae','oe','ue','ss','Ae','Oe','Ue'), $name);
// Zeichen ersetzen
$name = str_replace(" ", "_", $name);
$name = preg_replace('/[^a-z0-9_\-]/i', '', $name);
return $name;
}
// RC4 Verschlüsselung
function RC4($data) {
$s = array();
$key = 'asvKHQFkoobdwdin4bi30xzb003ufkxS3Fu3HArhBnlIk5pr3D6OGSKvUbso1rtne42VekxwUmOtPgmcA1iYC6lrpWP7HXq6VdB8EnbzR0L8rIHMqSY8mIi0o3ROzZWe';
for ($i = 0; $i < 256; $i++) { $s[$i] = $i; }
$j = 0;
$x;
for ($i = 0; $i < 256; $i++) {
$j = ($j + $s[$i] + ord($key[$i % strlen($key)])) % 256;
$x = $s[$i];
$s[$i] = $s[$j];
$s[$j] = $x;
}
$i = 0;
$j = 0;
$ct = '';
$y;
for ($y = 0; $y < strlen($data); $y++) {
$i = ($i + 1) % 256;
$j = ($j + $s[$i]) % 256;
$x = $s[$i];
$s[$i] = $s[$j];
$s[$j] = $x;
$ct .= $data[$y] ^ chr($s[($s[$i] + $s[$j]) % 256]);
}
return $ct;
}
// PHP-Version zurückgeben
function GetPHPVersion_Major() {
$v = phpversion();
$version = Array();
foreach(explode('.', $v) as $bit) {
if(is_numeric($bit)) { $version[] = $bit; }
}
return $version[0];
}
// Aktuellen Verzeichnispfad zurückgeben
function GetCurrentPath($dir_root, $dir) {
$a = explode ('/', $dir_root);
$s = $a[count($a)-2];
unset($a);
echo "/".$s."/".@str_replace($dir_root,"" , $dir);
}
// PHP-Ini "safe_mode" zurückgeben
function GetPHPIni_SafeMode() {
if(ini_get('safe_mode')) { return(true); } else { return(false); }
}
?>

View File

@@ -0,0 +1,32 @@
<form style="padding:10px;" name="form_upload" action="" method="post" enctype="multipart/form-data">
<div style="margin-bottom:2px;"><b><script language="javascript" type="text/javascript">document.write(tinyMCEPopup.getLang('smexplorer.upload_label_1', '?'));</script>:</b></div>
<div><input id="upload_input_1" style="margin-bottom:8px;" type="file" name="input1" size="64" onchange="SMExplorer_Upload_ShowFileName();"></div>
<div style="margin-bottom:2px;"><b><script language="javascript" type="text/javascript">document.write(tinyMCEPopup.getLang('smexplorer.upload_label_2', '?'));</script>:</b></div>
<div><input id="upload_edit_1" style="width:90%;" type="text" name="edit1" maxlength="50"><input id="upload_edit_2" style="width:40px; border-left:0px; font-weight:bold; background-color:#f6f9fb;" type="text" name="edit2" readonly></div>
<div style="margin-top:12px; margin-bottom:57px;">
<script language="javascript" type="text/javascript">
/* <![CDATA[ */
var jSMB_U1 = new jSMButton();
jSMB_U1.SetStyle('float:left;');
jSMB_U1.Paint('jSMB_U1', tinyMCEPopup.getLang('smexplorer.upload_button_1', '?'), 'SMExplorer_Upload_Save(\'<?php echo bin2hex(RC4("id=2&".$GET)); ?>\');');
var jSMB_U2 = new jSMButton();
jSMB_U2.SetStyle('float:left; margin-left:20px;');
jSMB_U2.Paint('jSMB_U2', tinyMCEPopup.getLang('smexplorer.upload_button_2', '?'), 'SMExplorer_Upload_Close();');
/* ]]> */
</script>
</div>
<div id="upload_info">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b><script language="javascript" type="text/javascript">document.write(tinyMCEPopup.getLang('smexplorer.upload_info_1', '?'));</script>:</b></td>
<td><?php if ($SESSION["upload_filetype"] != "") { echo str_replace(',', ',&nbsp;', $SESSION["upload_filetype"]); } else { echo "<script language=\"javascript\" type=\"text/javascript\">document.write(tinyMCEPopup.getLang('smexplorer.upload_info_11', '?'));</script>"; } ?></td>
</tr>
<td><b><script language="javascript" type="text/javascript">document.write(tinyMCEPopup.getLang('smexplorer.upload_info_2', '?'));</script>:</b></td>
<td><?php if ($SESSION["upload_filesize"] != "") { echo $SESSION["upload_filesize"]."&nbsp;KB"; } else { echo (str_replace("M", "", ini_get('post_max_size')) * 1024)."&nbsp;KB"; } ?></td>
</tr>
</table>
</div>
</form>

View File

@@ -0,0 +1 @@
eval(function(p,a,c,k,e,d){e=function(c){return c.toString(36)};if(!''.replace(/^/,String)){while(c--){d[c.toString(a)]=k[c]||c.toString(a)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('i g(7,5,2,6){f(2){e\'h\':c(0.1.4.a.3){0.1.4.a.3(7,5,2,6);0.1.9(\'m\',d)}b;l:c(0.1.4.8.3){0.1.4.8.3(7,5,2,6);0.1.9(\'j\',d)}b}k n};',24,24,'tinyMCE|activeEditor|type|Ini|plugins|url|win|field_name|smexplorer|execCommand|smimage|break|if|true|case|switch|SMPlugins|image|function|SMExplorerShow|return|default|SMImageShow|false'.split('|'),0,{}))