$this->dirOptionList .= "</select>\n";
}
/*
+----------------------------------+
| Show direct list
+----------------------------------+
| C / M : 2003-12-28 / 2004-3-24
+----------------------------------+
*/
function showDirList()
{
print("<center>\n");
print("<table width=\"80%\">\n");
print("<tbody>\n");
print("<tr>\n");
print("<td bgcolor=\"F7F7F7\" height=\"30\" style=\"border: 1px solid #CCCCCC\" width=\"100\">\n");
print("<CENTER>目次列表</CENTER>");
print("</td>\n");
print("<td bgcolor=\"F7F7F7\" height=\"30\" style=\"border: 1px solid #CCCCCC\">\n");
print(" " . $this->dirOptionList . " <input type=button value=\" 下级目次 \" OnClick=\"self.location='" . $_SERVER['PHP_SELF'] . "?path=" . rawurlencode($this->dirArray[0]) . "'\" alt=\"前往 下级目次\">");
print("</td>\n");
print("</tr>\n");
print("</tbody>\n");
print("</table>\n");
print("</center>\n");
}
/*
+----------------------------------+
| Cute the long file name
+----------------------------------+
| C / M : 2003-12-29 / --
+----------------------------------+
*/
function sortName($filename)
{
$filename = substr($filename, 0, strrpos($filename, '.'));
$strlen = strlen($filename);
if ($strlen > $this->strLenMax) $filename = substr($filename, 0, ($this->strLenMax)) . chr(0) . "...";
return $filename;
}
/*
+----------------------------------+
| Show picture list
+----------------------------------+
| C / M : 2003-12-28 / 2003-12-29
+----------------------------------+
*/
function showPicList()
{