home *** CD-ROM | disk | FTP | other *** search
- <%@ LANGUAGE = VBScript %>
- <%
- Option Explicit
- Dim intpage
- Dim ranWizard
- Dim pageType
- If Request.Form("counter") <>"" Then
- intpage = Request.Form("counter")
- If Request.Form("Back") <> "" Then
- call BACK_OnClick
- Else
- intpage = intpage + 1
- End If
- ElseIf request("nav") <> "" then
- intpage = request("nav")
- ElseIf request("intpage") <> "" Then
- intpage = intpage + 1
- Else
- intpage = 0
- End If
- %>
-
- <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
- <html>
- <!--
- $Date: 10/08/97 10:35a $
- $ModTime: $
- $Revision: 6 $
- $Workfile: wizard.asp $
- -->
- <HEAD>
- <%
- If request.Form("personal") <> "" Then
- %>
- <SCRIPT Language="VBSCRIPT">
- <!--
- window.open "template.asp"
- -->
- </SCRIPT>
- <%
- myinfo.ranWizard=-1
- %>
- <META HTTP-EQUIV="Refresh" CONTENT="0; url=default.asp?ranWizard=True">
- <%
- End If
- %>
- <meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
- <meta name="GENERATOR" content="Microsoft FrontPage (Visual InterDev Edition) 2.0">
- <title>Kreator strony tytu│owej programu PWS</title>
- <%
- If Request.Form("theme") <> "" Then
- myinfo.Theme = Request.Form("Theme")
- End If
-
- If Request.Form("guestbook") <> "" Then
- myinfo.guestbook = Request.Form("guestbook")
- End If
-
- If Request.Form("messages") <> "" Then
- myinfo.messages = Request.Form("messages")
- End If
-
- %>
- </HEAD>
- <BODY bgcolor="#FFFFFF" topmargin="0" leftmargin="2">
- <Font FACE="Arial" SIZE=-2><B>
- <FORM NAME="HPWiz" ACTION="wizard.asp" METHOD="POST" >
- <table border="0" cellpadding="0" cellspacing="0" width="100%">
- <TR>
- <TD Background="msg.gif" Colspan="3" Align="center" Height="50">
- <Font FACE="Arial" SIZE="5"><B>
- <IMG SRC="/images/space.gif" height="20" width="1" Align="right">
- Kreator strony tytu│owej
- </B></Font>
- </TD>
- </TR>
- <TR>
- <TD Width="90" VAlign="top">
- <Font FACE="Arial" size="-1"><B>
- <% call NAV %>
- </B>
- </TD>
- <TD valign="top" Width="150" Height="150">
- <Font FACE="Arial" size="-1"><B>
- <%
- Select Case intpage
- Case 0
- response.write "<INPUT TYPE='image' SRC='merlin.gif' NAME='Next' VALUE=' >> '>"
- 'response.write "<IMG ALT='Kreator strony tytu│owej '>"
- Case 2
- %>
- <IMG SRC="message.gif" ALT="*" Align="middle" Width=50 height=40 Vspace=7>
- <BR><Font Color="#0000FF" Size=2>Wskaz≤wka:</FONT>
- Ta czynno£µ umie£ci na stronie g│≤wnej │╣cze do miejsca w kt≤rym go£cie bΩd╣ mogli wpisaµ siΩ i ogl╣daµ wpisy z ksi╣┐ki go£ci.
- <%
- Case 3
- %>
- <IMG SRC="dropbox.gif" ALT="*" Align="middle" Width=50 height=50 Vspace=7>
- <BR><Font Color="#0000FF" Size=2>Wskaz≤wka:</FONT>
- Pole wiadomo£ci to miejsce, gdzie go£cie mog╣ zostawiµ wiadomo£µ tylko dla Ciebie.
- <%
- Case 4
- %>
- <IMG SRC="streamer.gif" ALT="*"><BR>
- <%
- Case Else
- %>
- <P><IMG SRC='generic.gif' width='143' height='174'>
- <%
- End Select
- %>
- </B>
- </TD>
- <TD Valign="middle" width="220">
-
- <Font FACE="Arial" size="-1"><B>
- <% 'Page Wizard
- Select Case intpage
- Case 1
- %>
- <!--#include file="themes.inc" -->
- <%
- Case 2
- %>
- Czy chcesz utworzyµ ksi╣┐kΩ go£ci?<BR>
- <blockquote>
- <INPUT TYPE=radio VALUE=-1 NAME="Guestbook"
- <%
- If myinfo.Guestbook = "-1" or myinfo.Guestbook = "" Then
- response.write "CHECKED"
- End If
- %>>Tak
- <BR>
- <INPUT TYPE=radio VALUE=0 NAME="Guestbook"
- <%
- If myinfo.Guestbook="0" Then
- response.write "CHECKED"
- End If
- %>>Nie
- </blockquote>
- <%
- Case 3
- %>
- Czy chcesz utworzyµ pole wiadomo£ci?<BR>
- <blockquote>
- <INPUT TYPE=radio VALUE="-1" NAME="Messages"
- <%
- If myinfo.Messages = "-1" or myinfo.Messages = "" Then
- response.write "CHECKED"
- End If
- %>>Tak
- <BR>
- <INPUT TYPE=radio VALUE=0 NAME="Messages"
- <%
- If myinfo.Messages="0" Then
- response.write "CHECKED"
- End If
- %>>Nie
- </blockquote>
- <%
- Case 4
- %>
- Gratulacje!<BR>
- Teraz mo┐esz spersonalizowaµ informacje na swojej stronie g│≤wnej.
- <%
- Case Else
- %>
- Kreator strony g│≤wnej pomaga utworzyµ swoj╣ stronΩ g│≤wn╣ │atwo
- i szybko. Aby utworzyµ stronΩ g│≤wn╣, kliknij kreatora.
- <%
- intpage = 0
- End Select
- %>
- </B>
- </Font>
- <P>
- <%
- call NavButtons
- %>
- </TD>
- </TR>
- </table>
- </FORM>
- </Font>
- </BODY>
- </html>
-
- <%
- SUB BACK_OnClick
- intpage = intpage - 1
- If intpage < 0 Then
- intpage = 0
- End If
- END SUB
-
- Sub NAV
- IF intpage => 2 THEN
- response.write "<A HREF='wizard.asp?nav=1'>temat</A><BR>"
- END IF
- IF intpage => 3 THEN
- response.write "<A HREF='wizard.asp?nav=2'>ksi╣┐ka go£ci</A><BR>"
- END IF
- IF intpage => 4 THEN
- response.write "<A HREF='wizard.asp?nav=3'>pole wiadomo£ci</A><BR>"
- END IF
- End Sub
-
- Sub navButtons
- response.write "<blockquote>"
- IF intpage = 4 THEN
- response.write "<INPUT TYPE='Submit' NAME='personal' VALUE=' >> '>"
- intpage = -1
- ELSE
- response.write "<INPUT TYPE='hidden' NAME='counter' VALUE =" & intpage & ">"
- If intpage > 0 Then
- response.write "<INPUT TYPE='Submit' NAME='Back' VALUE=' << '>"
- End If
- response.write "<INPUT TYPE='Submit' NAME='Next' VALUE=' >> '>"
- END IF
- response.write "</blockquote>"
- End Sub
- %>
-