echo "<a href=\"#\" onclick=\"with (document.forms[0]) { sort_box.value='group'; submit();}\" class=\"head\">" . $Translate[85] . "</a>\n"; echo "</td>\n"; echo "<td class=\"last-header\">\n"; // echo ("<a href=\"".$_SERVER[PHP_SELF]."?sort=permission\" class=\"head\">Attributes</a>\n"); echo "<a href=\"#\" onclick=\"with (document.forms[0]) { sort_box.value='permission'; submit();}\" class=\"head\">" . $Translate[86] . "</a>\n"; echo "</td>\n"; echo "</tr>\n"; $dir2ectoryListing = new directorylist($dir2); if (strlen($dir2ectoryListing->error) != 0) { echo "<script language=\"JavaScript\" type=\"text/javascript\">\n"; echo "<!--\n\n"; echo " alert(\"" . $Translate[26] . "\");\n\n"; echo "-->\n"; echo "</script>\n"; } $dir2ectoryListing->order($sort, "ASC"); for ($iElement = 0; $iElement < $dir2ectoryListing->nrof_elements(); $iElement++) { $File = $dir2ectoryListing->directory_element($iElement); if ($File->Type() != 'DIRECTORYREFRESH') { echo "<tr bgcolor=\"#FFFFFF\">\n"; echo "<td class=\"left\" style=\"vertical-align:bottom\" title=\"" . $File->Name() . "\">"; if ($File->Type() == 'DIRECTORY' || $File->Type() == 'DIRECTORYUP') { echo "<a href=\"#\" onclick=\"with (document.forms[0]) { dir_box.value='" . $File->Path() . "';dir_box2.value='" . $File->Path() . "';saveScroll(); submit();}\">"; echo "<img style=\"margin:0px 0px 2px ; vertical-align:middle\" src=\"{$LocationImages}/icons/" . $File->Icon() . "\" class=\"icon\" >"; echo "<input style=\"width:170px; margin:0px 3px\" class=\"description\" value=\"" . $File->Name() . "\" name=\"textfield\" type=\"text\">"; echo "</a>"; } else { if ($File->Type() == 'FILE') { echo "<img style=\"margin:0px 0px 2px ; vertical-align:middle\" src=\"{$LocationImages}/icons/" . $File->Icon() . "\" class=\"icon\" >"; echo "<input style=\"width:170px; margin:0px 3px\" class=\"description\" value=\"" . $File->Name() . "\" name=\"textfield\" type=\"text\">"; }
echo "<a href=\"#\" onclick=\"with (document.forms[0]) { sort_box.value='group'; submit();}\" class=\"head\">" . $Translate[85] . "</a>\n"; echo "</td>\n"; echo "<td class=\"last-header\">\n"; // echo ("<a href=\"".$_SERVER[PHP_SELF]."?sort=permission\" class=\"head\">Attributes</a>\n"); echo "<a href=\"#\" onclick=\"with (document.forms[0]) { sort_box.value='permission'; submit();}\" class=\"head\">" . $Translate[86] . "</a>\n"; echo "</td>\n"; echo "</tr>\n"; $DirectoryListing = new directorylist($dir); if (strlen($DirectoryListing->error) != 0) { echo "<script language=\"JavaScript\" type=\"text/javascript\">\n"; echo "<!--\n\n"; echo " alert(\"" . $Translate[26] . "\");\n\n"; echo "-->\n"; echo "</script>\n"; } $DirectoryListing->order($sort, "ASC"); for ($iElement = 0; $iElement < $DirectoryListing->nrof_elements(); $iElement++) { $File = $DirectoryListing->directory_element($iElement); if ($File->Type() != 'DIRECTORYREFRESH') { echo "<tr bgcolor=\"#FFFFFF\">\n"; echo "<td class=\"left\" style=\"vertical-align:bottom\" title=\"" . $File->Name() . "\">"; if ($File->Type() == 'DIRECTORY' || $File->Type() == 'DIRECTORYUP') { echo "<a href=\"#\" onclick=\"with (document.forms[0]) { dir_box.value='" . $File->Path() . "';saveScroll(); submit();}\">"; echo "<img style=\"margin:0px 0px 2px ; vertical-align:middle\" src=\"{$LocationImages}/icons/" . $File->Icon() . "\" class=\"icon\" >"; echo "<input style=\"width:170px; margin:0px 3px\" class=\"description\" value=\"" . $File->Name() . "\" name=\"textfield\" type=\"text\">"; echo "</a>"; } else { if ($File->Type() == 'FILE') { echo "<img style=\"margin:0px 0px 2px ; vertical-align:middle\" src=\"{$LocationImages}/icons/" . $File->Icon() . "\" class=\"icon\" >"; echo "<input style=\"width:170px; margin:0px 3px\" class=\"description\" value=\"" . $File->Name() . "\" name=\"textfield\" type=\"text\">"; }