
|
<%
if (pid != null) { // somebody is logged in
%>
| Logout |
You are logged in as "<%=pid%>"

|
<%
} // end: if ( pid == null )
else { // somebody is logged in
%>
<%
} // end: else: if ( pid == null)
%>
<%
if ( false && (pid == null || Config.enableOrganizationalAccounts.equals ( "1" ) ) ) {
%>
<%
}
%>
|

|
<%
if ( Config.homePageAnnounceFile != null && !Config.homePageAnnounceFile.equals ( "" ) ) {
java.io.File f = new java.io.File ( Config.filesysRoot+Account.getRelPath("admin"), Config.homePageAnnounceFile );
if ( f.exists() ) {
FileInputStream in = new FileInputStream (f);
int c;
while ( ( c = in.read () ) > 0 ) {
out.print ((char) c);
}
in.close();
}
else {
out.println("");
}
}
if ( Config.enableBrowsePersonalAccounts.equals ( "1" ) || Config.enableBrowseOrganizationalAccounts.equals ( "1" )) {
%>
Browse
<%
}
if ( Config.enableBrowsePersonalAccounts.equals ( "1" ) ) {
if ( Config.enableOrganizationalAccounts.equals ( "1" ) ) { %>Personal accounts <% } %>
<%
for ( char i=65; i <= 90; i++) {
String letter = String.valueOf ( i );
out.print ( "" + letter + " " );
}
} // end: if ( Config.enableBrowsePersonalAccounts.equals ( "1" ) )
if ( Config.enableOrganizationalAccounts.equals ( "1" ) && Config.enableBrowseOrganizationalAccounts.equals( "1" )) {
%>
<%
%>
Organizational accounts
<%
try {
TreeSet folderList = new TreeSet ( java.text.Collator.getInstance() );
java.io.File folderPath = new java.io.File ( Config.filesysRoot );
String[] dirList = folderPath.list ();
for ( int i = 0; i < dirList.length; i++ ) {
String entry = dirList [i];
java.io.File entryFile = new java.io.File ( folderPath, entry );
if ( entryFile.isDirectory () ) {
if ( !entry.equals ("users") &&
!entry.equals ("test") &&
!entry.equals ("f01") &&
!entry.equals ("f02") &&
!entry.equals ("f03") &&
!entry.equals ("f04") &&
!entry.equals ("lost+found") &&
!entry.equals ("fileman_data") &&
!entry.equals (".snapshot") &&
entry.length () > 1 ) {
folderList.add ( entry );
}
}
} // end: for
Iterator iFolder = folderList.iterator ();
String folderName = "";
int lines_per_col = (int) Math.round ( Math.ceil ( folderList.size () / 4 ) );
int count = 0;
for ( int col = 1; col <= 4; col++ ) {
out.print ( " \n" );
for ( int line = 1; line <= lines_per_col; line++ ) {
if ( iFolder.hasNext () ) {
folderName = (String) iFolder.next ();
out.print ( "" + folderName + " \n" );
}
}
out.print ( " | \n
| \n" );
}
}
catch ( Exception e ) {
out.print ("Error: Folder ""+Config.filesysRoot+"" does not exist or is not readable.");
}
%>
<%
} // end: if ( Config.enableOrganizationalAccounts.equals ( "1" ) )
%>
|

|
<%
if ( Config.homePageAboutFile != null && !Config.homePageAboutFile.equals ( "" ) ) {
%>
| <%=Config.serviceName%>...? |
|
<%
java.io.File f = new java.io.File ( Config.filesysRoot+Account.getRelPath("admin"), Config.homePageAboutFile );
if ( f.exists() ) {
FileInputStream in = new FileInputStream (f);
int c;
while ( ( c = in.read () ) > 0 ) {
out.print ((char) c);
}
in.close();
}
else {
out.println("");
}
%>
|
<%
}
%>
<%
if ( Config.homePageNewsFile != null && !Config.homePageNewsFile.equals ( "" ) ) {
%>
| News |
Filer has been moved to new server hardware. If you find any major issues, please let us know by calling the Helpdesk and describing the issue to them. If they tell you to email us, tell them to assign it to Engineering Computing. Thanks!
FTP access has been disabled. Please use WebDAV. Statistics are also unavailable.
Alumni accounts have been disabled. If you would like an archived copy of your files, please contact the Case Helpdesk (216.368.HELP) and ask that your request be assigned to Engineering Computing. If they tell you to email filer@case.edu, be insistant.
New accounts are no longer being created.
|
|
|
<%
java.io.File f = new java.io.File ( Config.filesysRoot+Account.getRelPath("admin"), Config.homePageNewsFile );
if ( f.exists() ) {
FileInputStream in = new FileInputStream (f);
int c;
while ( ( c = in.read () ) > 0 ) {
out.print ((char) c);
}
in.close();
}
else {
out.println("");
}
%>
|
<%
}
%>
|

|