home *** CD-ROM | disk | FTP | other *** search
/ Your Web Site Creator / Your Web Site Creator.iso / WebSite / data1.cab / Program_Executable_Files / scripts / offers.dat < prev    next >
Encoding:
Text File  |  1999-01-13  |  5.1 KB  |  152 lines

  1. ;OFFERS.DAT        Offer to make various sections
  2. ;    called from NEW_SITE and MODSTART
  3. ;
  4. ;xxxxxxxxxxxxxxxx OFFER TO MAKE OTHER SITE SECTIONS xxxxxxxxxxxxxxxx
  5. ;xxxxxxxxxxxxxx FAMILY FAVORITES xxxxxxxxxxxxx
  6. [OfferToMakeFavorites]
  7. ; add favorites
  8. SETTEMP inpL1 = 0
  9. SETTEMP the_prompt  = "Your Web site may have a section in your family Web site called `the Family Favorites'.  It contains pages that describe your family's favorite restaurants, shopping places, stores or vacation spots.  You can build the Family Favorites section now or wait until later."
  10.  
  11. PAGE
  12. WIZPIC wizpics\wizfavr.gif
  13. TYPE RADIOBUTTONS
  14. NAME inpL1
  15. DESCRIPTION_RE the_prompt
  16. ARGUMENT "&Build a Favorites section now"@0
  17. ARGUMENT "&Skip the Favorites section and build it later"@1
  18.  
  19. IF inpL1 = 0
  20.   SETTEMP pers_fam_mode = "family"
  21.   SETTEMP favoritesVarRoot = ""  ;not used for family favorites
  22.   SETTEMP FavSectnExists = NN
  23.   GOSUB AddToFavorites           ;ask for 3 favorites, build, & link
  24.   IF callPosition = "NewSite"
  25.     SETBACKSTOP BeforeMakingFavorites
  26.     GOSUB OfferToPreview
  27.   ENDIF
  28. ENDIF
  29.  
  30.  
  31. ;xxxxxxxxxxxxxxxx  FAMILY PASTIMES xxxxxxxxxxxx
  32. [OfferToMakePastimes]
  33. SETTEMP inpL1 = 0
  34.  
  35. PAGE
  36. WIZPIC wizpics\pastmwiz.gif
  37. TYPE RADIOBUTTONS
  38. NAME inpL1
  39. DESCRIPTION Your Web site may have a section that contains pages describing your family's pastimes and activities.  You can build such the pastimes and activities section now, or you can wait and build it later.
  40. ARGUMENT "&Build a 'Pastimes and Activities' section now"@0
  41. ARGUMENT "&Skip this section for the moment"@1
  42.  
  43. IF inpL1 = 0
  44.   SETTEMP pers_fam_mode = "family"
  45.   SETTEMP pastimeVarRoot = ""
  46.   SETTEMP PstmSectnExist = NN
  47.   GOSUB AddToPastimes
  48.   IF callPosition = "NewSite"
  49.     GOSUB OfferToPreview
  50.     SETBACKSTOP BeforeMakingPastimes
  51.   ENDIF
  52. ENDIF
  53.  
  54.  
  55. ;xxxxxxxxxxxxxxxxxx  FAMILY NOTIONS xxxxxxxxxxxxxxxx
  56. [OfferToMakeNotions]
  57. SETTEMP inpL1 = 0
  58.  
  59. PAGE
  60. WIZPIC wizpics\wiznotn.gif
  61. TYPE RADIOBUTTONS
  62. NAME inpL1
  63. DESCRIPTION Your Web site may have a section that contains pages describing your family's 'notions' such as jokes, comments, stories, and observations.\n\n You can build the notions section now, or wait for another time.
  64. ARGUMENT "&Build a 'Notions' section now"@0
  65. ARGUMENT "&Skip this section for the moment"@1
  66.  
  67. IF inpL1 = 0
  68.   SETTEMP notionVarRoot = ""      ;not used for family level
  69.   SETTEMP pers_fam_mode = "family"
  70.   SETTEMP NotnSectnExists = NN
  71.   GOSUB AddToNotions           ;adds or replaces
  72.   IF callPosition = "NewSite"
  73.     SETBACKSTOP BeforeMakingNotions
  74.     GOSUB OfferToPreview
  75.   ENDIF
  76. ENDIF
  77.  
  78.  
  79. ;xxxxxxxxxxxxxxxxxx  FAMILY NEWS xxxxxxxxxxxxxxxxxxxxxx
  80. [OfferToMakeNews]
  81. SETTEMP inpL1 = 0
  82.  
  83. PAGE
  84. WIZPIC wizpics\newslett.gif
  85. TYPE RADIOBUTTONS
  86. NAME inpL1
  87. DESCRIPTION Your Web site may have a newsletter, photograph album and announcement section. You can build the news section now, or wait for another time.
  88. ARGUMENT "&Build a 'News' section now"@0
  89. ARGUMENT "&Skip this section for the moment"@1
  90.  
  91. IF inpL1 = 0
  92.   SETTEMP pers_fam_mode = "family"
  93.   GOSUB AddToNews
  94.   IF callPosition = "NewSite"
  95.     GOSUB OfferToPreview
  96.     SETBACKSTOP BeforeMakingNews
  97.   ENDIF
  98. ENDIF
  99.  
  100. ;xxxxxxxxxxxxxxxxxx  FAMILY E-Mail DIRECTORY xxxxxxxxxxxx
  101. [OfferToMakeMailBook]
  102. SETTEMP inpL1 = 0
  103.  
  104. PAGE
  105. WIZPIC wizpics\mailwiz.gif
  106. TYPE RADIOBUTTONS
  107. NAME inpL1
  108. DESCRIPTION Your Web site may have a page devoted to a listing of E-Mail addresses for various local and distant members of your family, and your friends.  You can add this section now, or wait for another time.
  109. ARGUMENT "&Build an 'E-Mail list now"@0
  110. ARGUMENT "&Skip this section for the moment"@1
  111.  
  112. IF inpL1 = 0
  113.   GOSUB AddOrEditMailBook
  114.   IF callPosition = "NewSite"
  115.     GOSUB OfferToPreview
  116.     SETBACKSTOP BeforeMakingMailBook
  117.   ENDIF
  118. ENDIF
  119.  
  120.  
  121.  
  122. ;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx OFFER PREVIEW xxxxxxxxxxxxxxxxxxxxxxx
  123. [OfferToPreview]
  124. SETTEMP doPreview = 1
  125.  
  126. BACKSTOP
  127. PAGE
  128. TYPE CHECKBOXES
  129. WIZPIC wizpics\wizprevw.gif
  130. DESCRIPTION_RE "You may preview the work you have done so far on your family Web site by viewing the site in your browser.  You can do this without uploading files.  The wizard will simply load the current site into your browser from your hard disk.  To preview your work, check the box below and then press the Next button.  To proceed directly to the next stage, uncheck the box before pressing the Next button."
  131. ARGUMENT "P&review the Web site now"@doPreview@1,0@
  132.  
  133. IF doPreview = 1
  134.   BUSY 1
  135.   ARGUMENT PrevwTxt ;set in UTIL.DAT
  136.  
  137.   PREVIEW
  138.   BUSY 0
  139. ENDIF
  140.  
  141. ;xxxxxxxxxxxxxxxx  PREVIOUS BUTTON MESSAGE FOR SUBROUTINES xxxxxxxxxxxxxxx
  142. [AdvancePassage]
  143. SETTEMP check = eval( passageVar )
  144. IF check <= lastPassage  && skipExplanations = NN
  145.    SETTEMP m_arg1 = "BACKING UP                When you press the PREVIOUS button while entering an item with several screens, you are returned to the beginning of the previous item."
  146.    SETTEMP m_arg2 = "All of the values you entered before were saved, so as you go forward, you will see them."
  147.    MESSAGEBOX m_arg1,"     ",m_arg2
  148.    SETTEMP lastPassage = subtract( eval( passageVar ) 1 )
  149. ELSE
  150.    SETTEMP lastPassage = add( lastPassage 1 )
  151. ENDIF
  152.