home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 February
/
CHIP_2_98.iso
/
software
/
pelne
/
optionp
/
iis4_03.cab
/
iifmsg.asp
< prev
next >
Wrap
Text File
|
1997-11-12
|
2KB
|
110 lines
<%@ LANGUAGE=VBScript %>
<% Option Explicit %>
<% Response.Expires = 0 %>
<% if Session("FONTSIZE") = "" then %>
<!--#include file="iito.inc"-->
<% else %>
<%
Const L_VSERVERMSG_TEXT="FTP Messages"
Const L_WELCOME_TEXT="Welcome:"
Const L_EXIT_TEXT="Exit:"
Const L_MAX_TEXT="Maximum Connections:"
Const L_ACCESSDENIED_TEXT="Access Denied"
On Error Resume Next
Dim path, currentobj,agreeting, greeting, arraybound, i
path=Session("spath")
Session("path")=path
Set currentobj=GetObject(path)
Session("SpecObj")=""
Session("SpecProps")=""
if IsArray(currentobj.GreetingMessage) then
agreeting=currentobj.GreetingMessage
greeting= ""
arraybound=UBound(agreeting)
for i=0 to arraybound
greeting=greeting & agreeting(i)
Next
else
greeting=currentobj.GreetingMessage
end if
%>
<!--#include file="iiset.inc"-->
<HTML>
<HEAD>
<TITLE></TITLE>
<SCRIPT LANGUAGE="JavaScript">
var Global=top.title.Global;
top.title.Global.helpFileName="iipz_2";
function loadVals(){
}
</SCRIPT>
</HEAD>
<BODY BGCOLOR="#CCCCCC" TOPMARGIN=5 TEXT="#000000" LINK="#FFFFFF" onLoad="loadVals();" STYLE="font-face: Helv,Arial; font-size:10pt;">
<FONT SIZE=1 FACE="Helv,ARIAL">
<B><%= L_VSERVERMSG_TEXT %></B>
<FORM NAME="userform" onSubmit="return false">
<BLOCKQUOTE>
<TABLE BORDER=0 CELLPADDING=0>
<TR>
<TD><FONT SIZE=1 FACE="Helv,ARIAL"><%= L_WELCOME_TEXT %></FONT></TD>
</TR>
<TR>
<TD>
<% if Session("IsIE") then %>
<TEXTAREA NAME="txtGreetingMessage" ROWS=4 COLS=50><%= greeting %></TEXTAREA>
<% else %>
<TEXTAREA NAME="txtGreetingMessage" ROWS=4 COLS=65><%= greeting %></TEXTAREA>
<% end if %>
</TD>
</TR>
<TR>
<TD HEIGHT=4><FONT SIZE=1 FACE="Helv,ARIAL"> </FONT></TD>
</TR>
<TR>
<TD><FONT SIZE=1 FACE="Helv,ARIAL"><%= L_EXIT_TEXT %></FONT></TD>
</TR>
<TR>
<TD><FONT SIZE=1 FACE="Helv,ARIAL"><%= text("ExitMessage",75,"","","",false,false) %></FONT></TD>
</TR>
<TR>
<TD HEIGHT=4><FONT SIZE=1 FACE="Helv,ARIAL"> </FONT></TD>
</TR>
<TR>
<TD><FONT SIZE=1 FACE="Helv,ARIAL"><%= L_MAX_TEXT %></FONT></TD>
</TR>
<TR>
<TD><FONT SIZE=1 FACE="Helv,ARIAL"><%= text("MaxClientsMessage",75,"","","",false,false) %></FONT></TD>
</TR>
</TABLE>
</BLOCKQUOTE>
</FORM>
</FONT>
</BODY>
</HTML>
<% end if %>