home *** CD-ROM | disk | FTP | other *** search
/ CD Shareware Magazine 1999 April / CD_Shareware_Magazine_31.iso / WIN95 / INTERNET / h12395co.exe / data.1 / demoout.hei < prev    next >
Encoding:
Text File  |  1997-11-05  |  1.6 KB  |  57 lines

  1. <include sesfield.hei>
  2. <include layout/heilay.hei>
  3.  
  4. <include dbs.hei>
  5.  
  6.  
  7. <session mode="create">
  8.  
  9. <heitmlpage title="heitml - Outline Demo" banner="dbcity.gif"> 
  10.  
  11.  
  12. // Show Table of Content
  13. // <olTable c n>
  14. //  <if len(n)<3><p></if>
  15. //   <font size=+<?3- len(n)> <b> <olNum c> <a href="#<? c.file>"> <? c.name html> //
  16. //       </a> </font> <br>
  17. // </olTable>
  18. <olTable c n>
  19.    <nobr> //
  20.    <if !isempty(c.kids) || len(n)==1> //
  21.       <p>
  22.       <font size=+2> <b> <olNum c> <a href="#<? c.file>"> <? c.name html> </a> </b> </font> <br>
  23.    <else>
  24.        <olNum c> <a href="#<? c.file>"> <? c.name html> </a> <br>
  25.    </if> //
  26.    </nobr>
  27. </olTable>
  28.  
  29. <hr>
  30.  
  31. // Set some variable, to show pages a nicer way
  32. //
  33. <let
  34.   ff.Country="USA";                 // Display all guests from USA
  35.   se.help=true;                     // Show help in dbqdemo
  36.   se.Advanced=true;            // Show advanced options
  37.   se.AdvancedHelp=true;             // Show advanced help 
  38.   dbsQuery se.Scroller> Select * from guestbook </dbsQuery; 
  39.                                     // Show all all guests in the scroller
  40.   ff.first="t";                       // Show Guestbook 
  41. >  
  42.  
  43. <olTable c n>                       // walk all pages
  44.   <if c.sel && n[0]<7>              // everything but section 6
  45.      <a name=<? c.file quoted>>     // create anchor
  46. //     <? n><\include><? right(c.file,"/")><\/include>  // show page
  47.      <include><? right(c.file,"/")></include>  // show page
  48.      <hr>
  49.   </if>
  50. </olTable>
  51.  
  52.  
  53. <p>
  54.  
  55. <sa href="demo.hei"> back </sa>
  56. </heitmlpage>
  57. </session>
  58.  
  59.