home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 September / PCWorld_2000-09_cd.bin / Komunik / sambar / _setup.1 / mailsrch.stm < prev    next >
Text File  |  2000-04-10  |  4KB  |  125 lines

  1. <!--- Login Check --->
  2. <RCif RCEloggedin ! true>
  3. <html><head><title>You have been logged out.</title></head><body>
  4. <RCZMAIL_ERROR_START><BR>
  5. <FONT SIZE=+2 COLOR=#ff0000><B>Mail user not logged in!</B></FONT><RCZMAIL_ERROR_END></body></HTML>
  6. <RCexit>
  7. <RCendif>
  8. <!--- /Login Check --->
  9. <RC$this_page =RCShome/RCEdocument_name>
  10. <RC$npage = RCShome/webmail.stm>
  11. <HTML>
  12. <HEAD><TITLE>Sambar Server WebMail</TITLE>
  13. <!--- Set the stylesheets --->
  14.     <!--- A test for RCSusecss is done. Allthough a link to the stylesheet will not interfere greatly with display (ie classnames will not be parsed in the tables), browsers who are capable of css, will still download the css files, even if the user specified they don't want to use it. The test here, saves bandwidth and allows the default bgcolor and font choices. --->
  15. <RCif RCSusecss = true>
  16.     <LINK REL="StyleSheet" HREF="/syscss/webmail_<RCSstylesheet>.css" type="text/css">
  17.     <LINK REL="StyleSheet" HREF="/syscss/filters_<RCSstylesheet>.css" type="text/css">    
  18.     <RCif RCSstylesheet = winter>
  19.         <RC$nextsheet = spring>
  20.     <RCelseif RCSstylesheet = spring>
  21.         <RC$nextsheet = summer>
  22.     <RCelseif RCSstylesheet = summer>
  23.         <RC$nextsheet = autumn>
  24.     <RCelseif RCSstylesheet = autumn>
  25.         <RC$nextsheet = winter>
  26.     <RCendif>
  27. <RCendif>
  28. <!--- /Set the stylesheets --->
  29. </HEAD>
  30. <BODY BGCOLOR="#ffffff" LINK="#0000ff" VLINK="#0000ff" ALINK="#0000ff" TEXT="#000000">
  31. <table width="100%" border=0 cellpadding=4 cellspacing=0>
  32.     <tr>
  33.         <td align="right" colspan=2><RCVwmheader></td>
  34.     </tr>
  35.     <RCif RCSusecss = true>
  36.     <!--- This section is customized. Original code using the mailnav RPC is used when usecss is disabled. Only the logo will be used in this table. The original code is part of the second table.--->
  37.     <tr>
  38.         <td class="wmmainheader">
  39.             <span class="headline">Search Results</span>
  40.             </td>
  41.         <td align=right nowrap class="wmmainheader" valign="bottom">
  42.             Query: <RC$query>
  43.         </td>
  44.     </tr>
  45. </table>
  46.     <RCendif>
  47. <TABLE WIDTH=100% border=0 cellspacing=4>
  48.     <RCif RCSusecss ! true>
  49.     <TR VALIGN=top>
  50.         <TD nowrap>
  51.             <FONT SIZE=+2><B><RCEusername></B></FONT><BR>
  52.             <FONT SIZE=-1><RCEdatetime></FONT>
  53.         </td>
  54.         <td nowrap>
  55.             <FONT SIZE=+2><B><RCSfolder></B></FONT><BR>
  56.             <FONT SIZE=-1>Search query: <RC$query></FONT><BR><BR>
  57.         </td>
  58.     </tr>
  59.     <RCendif>
  60.     <RCinclude RCShome/snippets/actions.stm>
  61.     <RCinclude RCShome/snippets/features.stm>
  62.             </TABLE>
  63.         </TD>
  64.         <TD WIDTH=80% valign="top">
  65.             <FORM METHOD=POST NAME="mform" ACTION="/session/maildele">
  66.             <INPUT type=hidden name=RCpage value="<RCShome>/webmail.stm">
  67.             <INPUT TYPE=hidden NAME=start VALUE="<RC$start>">
  68.             <INPUT TYPE=hidden NAME=count VALUE="<RCScount>">
  69.             <INPUT TYPE=hidden NAME=folder VALUE="<RCSfolder>">
  70.             <TABLE border=0 cellpadding=4 cellspacing=0>
  71.                 <RCif RCSusecss = true>
  72.                 <TR bgcolor=#000080>
  73.                     <TH align=left width=5%>
  74.                         Message
  75.                     </TH>
  76.                     <TH align=left width=15%>
  77.                         Sender
  78.                     </TH>
  79.                     <TH align=left width=5%>
  80.                         Date
  81.                     </TH>
  82.                     <TH align=left width=5%>
  83.                         .
  84.                     </TH>
  85.                     <TH align=left width=5%>
  86.                         Size
  87.                     </TH>
  88.                     <TH align=left>
  89.                         Subject
  90.                     </TH>
  91.                 </TR>
  92.                 <RCelse>
  93.                 <TR bgcolor=#000080>
  94.                     <TH align=left width=5%>
  95.                         <FONT color=white>Message</FONT>
  96.                     </TH>
  97.                     <TH align=left width=15%>
  98.                         <FONT color=white>Sender</FONT>
  99.                     </TH>
  100.                     <TH align=left width=5%>
  101.                         <FONT color=white>Date</FONT>
  102.                     </TH>
  103.                     <TH align=left width=5%>
  104.                         <FONT color=#000080>.</FONT>
  105.                     </TH>
  106.                     <TH align=left width=5%>
  107.                         <FONT color=white>Size</FONT>
  108.                     </TH>
  109.                     <TH align=left>
  110.                         <FONT color=white>Subject</FONT>
  111.                     </TH>
  112.                 </TR>
  113.                 <RCendif>
  114. <RCXmailsearch usecss=RCSusecss folder=RCSfolder home=RCShome query=RC$query>
  115.  
  116.             </TABLE>
  117.         </TD>
  118.     </TR>
  119. </TABLE>
  120. <P>
  121. <A HREF="/" TARGET=_top><IMG border=0 SRC="/sysimage/system/powerby.gif"></A>
  122.  
  123. </body>
  124. </HTML>
  125.