This commit is contained in:
tuend-work
2025-11-13 07:41:56 +07:00
parent 7f357f3a30
commit 4478491d73
1729 changed files with 193578 additions and 20 deletions

View File

@@ -0,0 +1,16 @@
|?TREE=&raquo; <a class=tree href="/CMD_FILE_MANAGER">`LANG_FILEMANAGER`</a> &raquo; <a class=tree href="/CMD_FILE_MANAGER`path`">`path`</a>|
|?HELP_SECTION=`USER_HELPER`/filemanager.html#copy|
|HTM_USER_TOP|
<center>
<table class=list style='width: 50%' cellpadding=3 cellspacing=1>
<form name=info action='/CMD_FILE_MANAGER' method='POST'>
<input type=hidden name=action value="copy">
<input type=hidden name=path value="|path|">
<input type=hidden name=old value="|FILENAME_VALUE|">
<tr ><td class=listtitle colspan=2>|LANG_COPY_1| |FILENAME| |LANG_COPY_2|:</td ></tr>
<tr><td class=list align=center><input type=text name=filename value="|FILENAME|"></td><td class=list><input type=checkbox name=overwrite value="yes">|LANG_OVERWRITE|</td></tr>
<tr><td class=listtitle colspan=2 align=right><input type=submit value="|LANG_COPY|"></td ></tr >
</form></table>
</center>
|HTM_USER_BOTTOM|

View File

@@ -0,0 +1,42 @@
|?TREE=&raquo; <a class=tree href="/CMD_FILE_MANAGER">`LANG_FILEMANAGER`</a> &raquo; <a class=tree href="/CMD_FILE_MANAGER`path`">`path`</a>|
|?HELP_SECTION=`USER_HELPER`/filemanager.html#edit|
|HTM_HEADER_FULL|
<script language="Javascript">
<!--
var preview=0;
var save=1;
function showPreview(text)
{
if (preview && !preview.closed) preview.document.close();
preview = window.open("","preview","width=800,height=600,scrollbars=yes,resizable=yes");
preview.focus();
preview.document.write(text.value);
}
function askSaveIt()
{
if (save == 1)
if (confirm("|LANG_SAVE_CHANGES_1| " + document.info.filename.value + "|LANG_SAVE_CHANGES_2|"))
document.info.submit();
}
//onUnload="askSaveIt()" will be called.
// -->
</script>
<table class=list cellpadding=3 cellspacing=1>
<form name=info action='/CMD_FILE_MANAGER' method='POST'>
<input type=hidden name=action value="edit">
<input type=hidden name=path value="|path|">
<tr ><td class=listtitle>|LANG_EDIT_FILE|</td ></tr>
<tr><td class=list align=center><textarea class="code_edit" name=text rows=24 cols=120 wrap=off>
|TEXT|</textarea></td></tr>
<tr><td class=list align=center><input type=button value="|LANG_PREVIEW|" onClick="javascript:showPreview(document.info.text);"></td></tr>
<tr><td class=listtitle align=right><input type=submit onClick="save=0;" value="|LANG_SAVE_AS|"><input type=text name=filename value="|FILENAME|"> <input type=button value="|LANG_CANCEL|" onClick="if (confirm('|LANG_DISCARD|')) {save=0; location.href='/CMD_FILE_MANAGER|path|';}"></td ></tr >
</form></table >
|HTM_FOOTER_FULL|

View File

@@ -0,0 +1,26 @@
|LF_STANDARD|
|?TREE=&raquo; <a class=tree href="/CMD_FILE_MANAGER">`LANG_FILEMANAGER`</a> &raquo; <a class=tree href="/CMD_FILE_MANAGER`path`?action=extract&page=1">`path`</a>|
|?HELP_SECTION=`USER_HELPER`/filemanager.html#extract|
|HTM_HEADER_FULL|
<center>
<table class=list style='width: 65%' cellpadding=3 cellspacing=1>
<tr><td class=listtitle>|LANG_EXTRACT_1| |path| |LANG_EXTRACT_2|</td ></tr>
<form name=info action='/CMD_FILE_MANAGER' method='POST'>
<input type=hidden name=action value="extract">
<input type=hidden name=page value="2">
<input type=hidden name=path value="|path|">
<tr><td class=list>|LANG_DIRECTORY|: <input type=text name=directory value="|directory|"></td></tr>
<tr><td class=listtitle align=right><input type=submit value="|LANG_EXTRACT|"></td ></tr>
</form>
</table><br>
|*if file_info="yes"|
|INFO|
|*else|
|LANG_CONTENTS| |path|:<br>
<textarea cols=100 rows=20 wrap=off readonly style='FONT-FAMILY: courier new;'>|OUTPUT|</textarea>
|*endif|
</center>
|HTM_FOOTER_FULL|

View File

@@ -0,0 +1,54 @@
|LF_STANDARD|
|?TREE=&raquo; <a class=tree href="/CMD_FILE_MANAGER">`LANG_FILEMANAGER`</a> &raquo; <a class=tree href="/CMD_FILE_MANAGER`path`">`path`</a>|
|?HELP_SECTION=`USER_HELPER`/filemanager.html|
|HTM_HEADER_FULL|
<div class='breadcrumb_div'><span class='breadcrumbs'><a href='/CMD_FILE_MANAGER/'>|LANG_FILEMANAGER|</a> &raquo; |BREADCRUMBS|</span></div>
|DIRECTORYLIST|
|LANG_TO_MOVE|
<br>
<table class=list cellpadding=3 cellspacing=1>
<tr><td class=listtitle colspan=4>|LANG_TOOLS|</td></tr>
<tr>
<form name=folderform action="/CMD_FILE_MANAGER" method="POST"><input type=hidden name=action value="folder"><input type=hidden name="path" value="|path|">
<td class=list>|LANG_NEW_FOLDER|</td><td class=list><input type=text name=name size=15> <input type=submit value="|LANG_CREATE|"></td>
</form>
<form name=fileform action="/CMD_FILE_MANAGER" method="POST"><input type=hidden name=action value="file"><input type=hidden name="path" value="|path|">
<td class=list>|LANG_NEW_FILE|</td><td class=list><input type=text name=name size=15> <input type=submit name=file value="|LANG_CREATE|"><input type=checkbox name=template value="yes"><font style="FONT-SIZE: 6pt;">|LANG_TEMPLATE|</font></td>
</form>
</tr>
<tr><td class=list colspan=4 align=center><input type=button value="|LANG_UPLOAD_TO_HERE|" onClick="location.href='/HTM_FILE_UPLOAD?path=|path|'"> ( |path| )</td></tr>
<tr>
<form action="/CMD_FILE_MANAGER" method="POST">
<input type=hidden name=action value="compress">
<input type=hidden name=path value="|path|">
<td class=list colspan=4 align=center>|LANG_COMPRESS| |path|/<input type=text size=8 name=file>
|*if HAVE_ZIP="yes"|
.<select name=type><option selected>tar.gz</option><option>zip</option></select>
|*else|
.tar.gz
|*endif|
<input type=submit value="|LANG_CREATE|"></td>
</form>
</tr>
</table>
<form id='reset_owner_form' action='/CMD_FILE_MANAGER' method='POST'>
<input id='reset_path' type='hidden' name='path' value=''>
<input type='hidden' name='action' value='resetowner'>
<input id='reset_method' type='hidden' name='method' value=''>
</form>
<script type="text/javascript">
function reset_owner(f, recursive)
{
if (recursive == "1")
{
document.getElementById("reset_method").value = "recursive";
}
document.getElementById("reset_path").value = f;
document.getElementById("reset_owner_form").submit();
}
</script>
|HTM_FOOTER_FULL|

View File

@@ -0,0 +1,30 @@
|LF_STANDARD|
|?TREE=&raquo; <a class=tree href="/CMD_FILE_MANAGER">`LANG_FILEMANAGER`</a> &raquo; <a class=tree href="/CMD_FILE_MANAGER`path`">`path`</a>|
|?HELP_SECTION=`USER_HELPER`/misc.html#password|
|HTM_USER_TOP|
<table class=list style='width: 65%' cellpadding=3 cellspacing=1>
<form name=info action='/CMD_FILE_MANAGER' method='POST'>
|HTM_PREVENT_AUTOFILL|
<input type=hidden name=action value="protect">
<input type=hidden name=path value="|path|">
<tr><td class=listtitle colspan=2>|LANG_PROTECTION_ON| |path|</td ></tr>
<tr><td class=list>|LANG_PROMPT|</td><td class=list><input type=text name=name value="|NAME|"> |LANG_EG|</td></tr>
<tr><td class=list>|LANG_SET_USER|</td><td class=list><input type=text name=user> |LANG_NOT_REQUIRED|</td></tr>
<tr><td class=list>|LANG_AND_PASS|</td><td class=list><input type=password name=passwd></td></tr>
<tr><td class=list>|LANG_RE-ENTER_PASS|</td><td class=list><input type=password name=passwd2></td></tr>
<tr><td class=listtitle colspan=2 align=right>|LANG_PROTECTION_ENABLED|: <input type=checkbox name=enabled value="yes" |ENABLED|> <input type=submit value="|LANG_SAVE|"></td ></tr >
</table>
</form>
|USERS|
<br>
<a href="/CMD_PROTECTED_DIRECTORIES?domain=|domain|">|LANG_GO_BACK|</a><br>
<br>
|LANG_PROTECT_NOT_REQUIRED_DESC|
|HTM_USER_BOTTOM|

View File

@@ -0,0 +1,10 @@
|?TREE=&raquo; `ALL_DOMAINS_SELECT` &raquo; <a class=tree href="/CMD_PROTECTED_DIRECTORIES?domain=`domain`">`LANG_PROTECTED`</a>|
|?HELP_SECTION=`USER_HELPER`/misc.html#password|
|HTM_USER_TOP|
<a href="/CMD_FILE_MANAGER/domains/|domain|/public_html">|LANG_FIND_DIR|</a><br>
<br>
|DIRECTORIES|
|HTM_USER_BOTTOM|

View File

@@ -0,0 +1,15 @@
|?TREE=&raquo; <a class=tree href="/CMD_FILE_MANAGER">`LANG_FILEMANAGER`</a> &raquo; <a class=tree href="/CMD_FILE_MANAGER`path`">`path`</a>|
|?HELP_SECTION=`USER_HELPER`/filemanager.html#rename|
|HTM_USER_TOP|
<table class=list style='width: 50%' cellpadding=3 cellspacing=1>
<form name=info action='/CMD_FILE_MANAGER' method='POST'>
<input type=hidden name=action value="rename">
<input type=hidden name=path value="|path|">
<input type=hidden name=old value="|FILENAME_VALUE|">
<tr ><td class=listtitle colspan=2>|LANG_RENAME_1| |FILENAME| |LANG_RENAME_2|:</td ></tr>
<tr><td class=list align=center><input type=text name=filename value="|FILENAME|"></td><td class=list><input type=checkbox name=overwrite value="yes">|LANG_OVERWRITE|</td></tr>
<tr><td class=listtitle colspan=2 align=right><input type=submit value="|LANG_RENAME|"></td ></tr >
</form></table >
|HTM_USER_BOTTOM|

View File

@@ -0,0 +1,61 @@
|?TREE=&raquo; <a class=tree href="/CMD_FILE_MANAGER">`LANG_FILEMANAGER`</a> &raquo; <a class=tree href="/CMD_FILE_MANAGER`path`">`path`</a>|
|?HELP_SECTION=`USER_HELPER`/filemanager.html#upload|
|HTM_HEADER_FULL|
<script language="Javascript">
<!--
function is_a_number(num)
{
var checker = /^([0-9])+$/;
if (checker.test(num)) return 1;
else return 0;
}
function uploadMultipleFiles(num)
{
if (num.length == 0) return;
if (!is_a_number(num))
alert('|LANG_NOT_A_NUMBER|');
else
{
file_window = window.open("","files","width=500, height=400, resizable=yes, scrollbars=yes");
file_window.focus();
file_window.document.writeln("<html><head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=|LANG_ENCODING|\"><title>|LANG_MULTIPLE|</title><link rel=Stylesheet href=\"/CSS_STYLE\"></head><body>");
file_window.document.writeln("<form action=\"CMD_FILE_MANAGER\" ENCTYPE=\"multipart/form-data\" method=\"POST\">");
file_window.document.writeln("<table class=list cellpadding=3 cellspacing=1>");
file_window.document.writeln("<tr><td class=listtitle colspan=2>|LANG_SELECT_FILES|</td></tr>");
file_window.document.writeln("<input type=hidden name=\"MAX_FILE_SIZE\" value=\"|MAX_FILE_SIZE|\">");
file_window.document.writeln("<input type=hidden name=\"action\" value=\"upload\">");
file_window.document.writeln("<input type=hidden name=\"path\" value=\"|path|\">");
for (var i=0; i<num; i++)
{
file_window.document.writeln("\t<tr><td class=list align=right>" + (i+1) + ":</td><td class=list align=center><input type=file name=\"file" + i + "\" size=35></td></tr>");
}
file_window.document.writeln("<tr><td class=listtitle colspan=2 align=right><input type=submit value=\"|LANG_UP_FILES|\"></td></tr>");
file_window.document.writeln("</table></form></body></html>");
}
}
// -->
</script>
<table class=list cellpadding=3 cellspacing=1>
<tr><td class=listtitle colspan=4>|LANG_UP_TO| <b>|path|</b> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|LANG_MAX_SIZE| : |MAX_FILE_SIZE_STR|</td></tr>
<form name=uploadform action="/CMD_FILE_MANAGER" enctype="multipart/form-data" method="POST">
<input type="hidden" name="MAX_FILE_SIZE" value="|MAX_FILE_SIZE|">
<input type=hidden name="action" value="upload">
<input type=hidden name="path" value="|path|">
<tr><td class=list colspan=2>1: <input type=file name="file1" size=40></td><td class=list colspan=2>5: <input type=file name="file5" size=40></td></tr>
<tr><td class=list colspan=2>2: <input type=file name="file2" size=40></td><td class=list colspan=2>6: <input type=file name="file6" size=40></td></tr>
<tr><td class=list colspan=2>3: <input type=file name="file3" size=40></td><td class=list colspan=2>7: <input type=file name="file7" size=40></td></tr>
<tr><td class=list colspan=2>4: <input type=file name="file4" size=40></td><td class=list colspan=2>8: <input type=file name="file8" size=40></td></tr>
<tr><td class=listtitle colspan=4 align=center><input type=submit value="|LANG_UP_FILES|"> <input type=button value="|LANG_UP_MORE|" onClick="uploadMultipleFiles(prompt('|LANG_HOW_MANY|', '10'));"></td></tr>
</form>
</table>
|HTM_FOOTER_FULL|