home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / tsw / TSW_3.4.0.exe / Apache2 / spyce / *.* / head.spi < prev    next >
Encoding:
Text File  |  2004-05-18  |  5.9 KB  |  140 lines

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. [[\
  3.   try: pre = include.context['prefix']+'/'
  4.   except: pre = ''
  5. ]]
  6. <html>
  7. <head>
  8.   <style type="text/css"><!--
  9.     a { text-decoration: none; color: #0000cc }
  10.     a:hover { text-decoration: underline; color: #0000cc; }
  11.   --></style>
  12. <title>Spyce - Python Server Pages (PSP)</title>
  13.   <meta NAME="LANGUAGE" CONTENT="en-US">
  14.   <meta NAME="RATING" CONTENT="GENERAL">
  15.   <meta NAME="ROBOTS" CONTENT="ALL">
  16.   <meta name="abstract" content="Spyce is a server-side language that supports simple and efficient Python-based dynamic HTML generation. Those who like Python and are familiar with JSP, or PHP, or ASP, should have a look at Spyce.">
  17.   <meta name="description" content="Spyce - Python Server Pages: a server-side language that supports simple and efficient Python-based dynamic HTML generation.">
  18.   <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  19.   <meta HTTP-EQUIV="Refresh" CONTENT="1800">
  20.   <meta HTTP-EQUIV="Revisit-After" CONTENT="15 days">
  21.   <link rel="icon" href="spycefav.ico" type="image/x-icon">
  22.   <link rel="shortcut icon" href="spycefav.ico" type="image/x-icon">
  23.   [[\
  24.     try:
  25.       print '<link rel="Next" href="%s">' % include.vars.nexturl
  26.       print '<link rel="next" href="%s">' % include.vars.nexturl
  27.     except: pass
  28.     try:
  29.       print '<link rel="Previous" href="%s">' % include.vars.nexturl
  30.       print '<link rel="Prev" href="%s">' % include.vars.prevurl
  31.       print '<link rel="prev" href="%s">' % include.vars.prevurl
  32.     except: pass
  33.     try:
  34.       print '<link rel="Contents" href="%s">' % include.vars.contentsurl
  35.       print '<link rel="contents" href="%s">' % include.vars.contentsurl
  36.     except: pass
  37.   ]]
  38. </head>
  39.  
  40. <body bgcolor="#e9dac6">
  41.  
  42. <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td valign=top>
  43.  
  44. <!-- links section -->
  45. [[
  46. def emitIndexLink(currpage, page, pagename, pre=pre):{
  47.   if currpage==page:{
  48.     ]] <b><a href="[[=page]]"><font color="#cc0000">[[=pagename]]</b></font></a><br> [[
  49.   } else: {
  50.     if page[:7]=='http://' or page[:1]=='/': {
  51.       ]] <b><a href="[[=page]]">[[=pagename]]</a></b><br> [[
  52.     } else: {
  53.       ]] <b><a href="[[=pre]][[=page]]">[[=pagename]]</a></b><br> [[
  54.     }
  55.   }
  56. }
  57. ]]
  58.  
  59. <!-- index -->
  60. <table border=0 align=center width="100%"><tr><td align=center nowrap>
  61.   <a href="http://spyce.sourceforge.net"><img src="spyce.gif" border=0 alt="spyce" width=58 height=70></a>
  62. </td></tr></table>
  63.  
  64. <table align=center border=1 cellpadding=4 cellspacing=0 bgcolor="#CCCCCC">
  65. <tr><td align=left bgColor="#AAAAAA"><b>
  66.   <font face="arial, helvetica" size="-1">
  67.     [[emitIndexLink(include.context['page'], 'index.html', 'home')]]
  68.   </font>
  69. </b></td></tr>
  70. <tr><td align=left>
  71.   <font face="arial, helvetica" size="-1">
  72.     [[emitIndexLink(include.context['page'], 'license.html', 'license')]]
  73.     [[emitIndexLink(include.context['page'], 'mail.html', 'community')]]
  74.     [[emitIndexLink(include.context['page'], 'get.html', 'download')]]
  75.     [[emitIndexLink(include.context['page'], 'eg.html', 'examples')]]
  76.     [[emitIndexLink(include.context['page'], 'links.html', 'resources')]]
  77.     [[emitIndexLink(include.context['page'], 'wishlist.html', 'wishlist')]]
  78.     [[emitIndexLink(include.context['page'], 'http://spyce.sourceforge.net/contrib/index.html', 'contrib (@sf)')]]
  79.   </font>
  80. </td></tr>
  81. <tr><td align=left bgColor="#AAAAAA"><b>
  82.   <font face="arial, helvetica" size="-1">
  83.     [[emitIndexLink(include.context['page'], 'doc.html', 'documentation')]]
  84.   </font>
  85. </b></td></tr>
  86. <tr><td align=left>
  87.   <font face="arial, helvetica" size="-1">
  88.     [[emitIndexLink(include.context['page'], 'doc-intro.html', 'intro')]]
  89.     [[emitIndexLink(include.context['page'], 'doc-lang.html', 'lang')]]
  90.     [[emitIndexLink(include.context['page'], 'doc-runtime.html', 'runtime')]]
  91.     [[emitIndexLink(include.context['page'], 'doc-mod.html', 'modules')]]
  92.     [[emitIndexLink(include.context['page'], 'doc-tag.html', 'tags')]]
  93.     [[emitIndexLink(include.context['page'], 'doc-conf.html', 'install')]]
  94.   </font>
  95. </td></tr>
  96. <tr><td align=left bgColor="#AAAAAA"><b>
  97.   <font face="arial, helvetica" size="-1">
  98.       <b>exits</b>
  99.   </font>
  100. </b></td></tr>
  101. <tr><td align=left>
  102.   <font face="arial, helvetica" size="-1">
  103.     [[emitIndexLink(None, 'http://sourceforge.net/projects/spyce/', 'sourceforge')]]
  104.     [[emitIndexLink(None, 'http://sourceforge.net/project/stats/?group_id=53655', 'statistics')]]
  105.     [[emitIndexLink(None, 'http://freshmeat.net/projects/spyce/', 'freshmeat')]]
  106.   </font>
  107. </td></tr></table><br>
  108.  
  109. <!-- logging -->
  110. <script type="text/javascript" language="JavaScript"><!--
  111.   d=document; d.write('<img src="http://polar.cs.cornell.edu/cgi-bin/wwwlogger.cgi?'+escape(d.referrer)+'" alt="*" border=0 width="1" height="1" align="right">');
  112. // --></script>
  113. <noscript>
  114.   <img src="http://polar.cs.cornell.edu/cgi-bin/wwwlogger.cgi" alt="*" border=0 width="1" height="1" align="right">
  115. </noscript>
  116.  
  117. <!-- spacers -->
  118. </td>
  119. <td width=15><img src=trans1x1.gif width=15 height=1 alt=transparent></td>
  120. <td width=1 bgcolor="#888888"><img src=trans1x1.gif width=1 height=1 alt=transparent></td>
  121. <td width=15><img src=trans1x1.gif width=15 height=1 alt=transparent></td>
  122. <td width="100%" valign=top>
  123.  
  124. <!-- page title -->
  125. <table border=0 width="100%"><tr>
  126.   <td nowrap valign=bottom>
  127.     <b><font face="arial, helvetica" size="-1"><big>[[=include.context['pagename'] ]]</big></font></b><br clear=all>
  128.   </td>
  129.   <td align=right nowrap valign=bottom>
  130.     <font face="arial, helvetica" size="-1">
  131.     <b><big>\[[ <font face="arial, helvetica" color="#cc0000">Spyce</font> \]]</big></b><br>
  132.     <small>Python Server Pages<br>by <a href="http://www.cs.cornell.edu/barr">Rimon Barr</a></small></td>
  133.     </font>
  134. </tr></table>
  135.  
  136. <hr>
  137. <font face="arial, helvetica" size="-1">
  138.  
  139. <!-- body -->
  140.