home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1999 September
/
CHIPCD_9_99.iso
/
software
/
uaktualnienia
/
OptionPackPL
/
iis4_07.cab
/
Default.asp4
< prev
next >
Wrap
Text File
|
1998-04-27
|
5KB
|
163 lines
<%
' Are we using SSL for this page?
Dim m_fUsingSSL
m_fUsingSSL = False
If UCase(Request.ServerVariables("HTTPS")) = "ON" Then m_fUsingSSL = True
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<!--META TAGS ARE RECOMMENDED FOR THE SEARCH ENGINE-->
<META NAME="DESCRIPTION" CONTENT="Exploration Air Business Partners Home Page">
<META NAME="KEYWORDS" CONTENT="">
<META NAME="GENERATOR" CONTENT="Microsoft Visual InterDev 1.0">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso8859-1">
<!--END META TAGS-->
<TITLE>Exploration Air Business Partners Uploads Page</TITLE>
</HEAD>
<BODY BGCOLOR=#FFFFFF TOPMARGIN=0 LEFTMARGIN=0 ALINK=#23238E VLINK=#228B22 LINK=#23238E>
<BASEFONT FACE="VERDANA, ARIAL, HELVETICA" SIZE=2>
<!--Change link color on mouseover
Only if running Internet Explorer 4.0 or later -->
<!--#include file=..\libHighlight.inc-->
<!--#include file=..\libGlobalFuncs.inc-->
<!--COLOR BANNER_START-->
<TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
<TR>
<TD BGCOLOR="#C71585" WIDTH=100% HEIGHT=20>
</TD>
</TR>
</TABLE>
<!--COLOR BANNER_END-->
<!--BEGIN TABLE CONTAINING LOGO, TITLE AND NAVIGATIONAL LINK-->
<TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
<TR>
<TD VALIGN=TOP WIDTH=415>
<A HREF="<%=HomePage("..")%>"><IMG SRC="../images/logo_sm.gif" WIDTH=200 HEIGHT=100 ALT="Return to Exploration Air Home Page" BORDER=0></A>
<BR>
</TD>
<TD VALIGN=MIDDLE WIDTH=200><FONT FACE="VERDANA, ARIAL, HELVETICA" COLOR="#0000FF" SIZE=5>Business Partner Uploads</FONT>
</TD>
<TD ALIGN=RIGHT VALIGN=MIDDLE>
<A HREF="../HowItWorks/HIWUpload.asp"><IMG SRC="../images/btssmall.gif" WIDTH="115" HEIGHT="52" ALT="Click here to learn how this page works" BORDER=0></A>
</TD>
</TR>
</TABLE>
<!--END TABLE CONTAINING LOGO, TITLE AND NAVIGATIONAL LINK -->
<BR>
<BR>
<% If IsPostingAcceptorInstalled() Then %>
<!-- BEGIN TABLE CONTAINING -->
<TABLE WIDTH=100% BORDER=0>
<TR>
<TD VALIGN=TOP BGCOLOR="#FFFFFF">
<TABLE WIDTH=100% CELLPADDING=5 CELLSPACING=5 BORDER=0>
<TR>
<TD>
<%
' If this is an SSL connection then place some text
' on the screen to make the users feel comfortable!
If m_fUsingSSL Then
%>
<TABLE>
<TR>
<TD BGCOLOR=#FFFFCC VALIGN=TOP WIDTH=191>
<FONT SIZE=2>
<IMG SRC="..\images\secure.gif" ALIGN=RIGHT>
The site operates in a secure environment while in the Business Partner section.
This ensures the integrity of your name, password and any details you provide.
</FONT>
</TD>
</TR>
</TABLE>
<% End If %>
</TD>
<TD>
<CENTER>
<H2>Update Your Exploration Air Advertisements!</H2>
</CENTER>
<% If m_fUsingSSL Then %>
Your certificate indicates that you work for the
<I><%= Request.ClientCertificate("SUBJECTOU") %></I>
unit of <I><%= Request.ClientCertificate("SUBJECTCN") %></I>,
it was signed by <I><%= Request.ClientCertificate("ISSUERO") %></I>
and is valid until <I><%= Request.ClientCertificate("VALIDUNTIL") %></I>.
Finally, your email alias is <I><%= Request.ClientCertificate("SUBJECTEMAIL") %></I>.
<% End If %>
<P>
As a valued business partner, we can accept your advertisement updates over the Web!
We don't charge for this service! You can change your running advertisements anytime, day or night.
<P>
<%
Dim strPrefix, strPathToUpload
If UseSSLOnBusinessPartners() Then
strPrefix = GetSecurePrefixValue()
strPathToUpload = strPrefix & "/Upload/" & Request.ClientCertificate("SUBJECTCN")
Else
strPrefix = GetPrefixValue()
strPathToUpload = strPrefix & "/Upload/" & Request.ServerVariables("LOGON_USER")
End If
%>
<!-- This is where the real work happens. Upload a file to a 'safe' area of the ExAir
Each business partner has there own area-->
<%
strAction="http://" & Request.ServerVariables("SERVER_NAME") & _
"/scripts/cpshost.dll?PUBLISH?" & _
strPrefix & "/Verify.asp"
%>
<CENTER>
<FORM ENCTYPE="multipart/form-data"
ACTION="<%=strAction%>"
METHOD=post>
Advertisement to upload:
<INPUT NAME="my_file" TYPE="file">
<INPUT TYPE=hidden NAME="TargetURL" VALUE="<%=strPathToUpload%>">
<INPUT TYPE="submit" VALUE="Upload">
</FORM>
</CENTER>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
<% Else %>
<CENTER><H2>Error: To use the file upload facility you must install the<BR>Microsoft Posting Acceptor on your server first.</H2></CENTER>
<% End If ' IsPostingAcceptorInstalled %>
<P>
<HR WIDTH=400>
<P>
<CENTER>
<FONT FACE="VERDANA, ARIAL, HELVETICA" SIZE="1"><A HREF="..\legal.htm">©1997 Microsoft Corporation. All rights reserved. Terms of Use.</A></FONT>
</CENTER>
<P>
<!--BEGIN COLOR BANNER-->
<TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
<TR>
<TD BGCOLOR="#C71585" WIDTH=100% HEIGHT=20>
</TD>
</TR>
</TABLE>
<!--END COLOR BANNER-->
</BODY>
</HTML>