<tmpl_var header_template escape="none">

<center>
<table cellpadding="0" cellspacing="0" border="0" align="center" width="95%">
<tr>
  <td nowrap class="titlebar" colspan="2">List View</td>
</tr>

<form action="<tmpl_var url_cgi escape="none">/openwebmail-cal.pl" method="post" name="dateselform" enctype="multipart/form-data">
<input type="hidden" name="action" value="callist">
<input type="hidden" name="folder" value="<tmpl_var folder escape="html">">
<input type="hidden" name="message_id" value="<tmpl_var message_id escape="html">">
<input type="hidden" name="sessionid" value="<tmpl_var sessionid escape="html">">

<tr>
  <td nowrap class="menubar">
    <a href="<tmpl_var url_cgi escape="none">/openwebmail-cal.pl?action=calyear&amp;sessionid=<tmpl_var sessionid escape="url">&amp;folder=<tmpl_var folder escape="url">&amp;message_id=<tmpl_var message_id escape="url">&amp;year=<tmpl_var year>" title="Yearview Year <tmpl_var year>"><img src="<tmpl_var url_html escape="none">/images/iconsets/<tmpl_var iconset escape="html">/yearview.gif" border="0" align="absmiddle" alt="Yearview Year <tmpl_var year>"></a>
    <a href="<tmpl_var url_cgi escape="none">/openwebmail-cal.pl?action=calmonth&amp;sessionid=<tmpl_var sessionid escape="url">&amp;folder=<tmpl_var folder escape="url">&amp;message_id=<tmpl_var message_id escape="url">&amp;year=<tmpl_var year>&amp;month=<tmpl_var month>" title="Monthview <tmpl_var monthname escape="html"> <tmpl_var current_year>"><img src="<tmpl_var url_html escape="none">/images/iconsets/<tmpl_var iconset escape="html">/monthview.gif" border="0" align="absmiddle" alt="Monthview <tmpl_var monthname escape="html"> <tmpl_var current_year>"></a>
    <a href="<tmpl_var url_cgi escape="none">/openwebmail-cal.pl?action=calweek&amp;sessionid=<tmpl_var sessionid escape="url">&amp;folder=<tmpl_var folder escape="url">&amp;message_id=<tmpl_var message_id escape="url">&amp;year=<tmpl_var current_year>&amp;month=<tmpl_var month>&amp;day=<tmpl_var day>" title="Weekview <tmpl_var monthname> <tmpl_var day> <tmpl_var current_year>"><img src="<tmpl_var url_html escape="none">/images/iconsets/<tmpl_var iconset escape="html">/weekview.gif" border="0" align="absmiddle" alt="Weekview <tmpl_var monthname> <tmpl_var day> <tmpl_var current_year>"></a>
    <a href="<tmpl_var url_cgi escape="none">/openwebmail-cal.pl?action=calday&amp;sessionid=<tmpl_var sessionid escape="url">&amp;folder=<tmpl_var folder escape="url">&amp;message_id=<tmpl_var message_id escape="url">&amp;year=<tmpl_var current_year>&amp;month=<tmpl_var month>&amp;day=<tmpl_var day>" title="Dayview <tmpl_var monthname> <tmpl_var day> <tmpl_var current_year>"><img src="<tmpl_var url_html escape="none">/images/iconsets/<tmpl_var iconset escape="html">/dayview.gif" border="0" align="absmiddle" alt="Dayview <tmpl_var monthname> <tmpl_var day> <tmpl_var current_year>"></a>
    <a href="<tmpl_var url_cgi escape="none">/openwebmail-cal.pl?action=callist&amp;sessionid=<tmpl_var sessionid escape="url">&amp;folder=<tmpl_var folder escape="url">&amp;message_id=<tmpl_var message_id escape="url">&amp;action=callist&amp;year=<tmpl_var year>" title="Listview Year <tmpl_var year>"><img src="<tmpl_var url_html escape="none">/images/iconsets/<tmpl_var iconset escape="html">/listview.gif" border="0" align="absmiddle" alt="Listview Year <tmpl_var year>"></a>
    <tmpl_if not_current>
    &nbsp;
    <a href="<tmpl_var url_cgi escape="none">/openwebmail-cal.pl?action=callist&amp;sessionid=<tmpl_var sessionid escape="url">&amp;folder=<tmpl_var folder escape="url">&amp;message_id=<tmpl_var message_id escape="url">&amp;year=<tmpl_var current_year>" title="Return to Year <tmpl_var current_year>"><img src="<tmpl_var url_html escape="none">/images/iconsets/<tmpl_var iconset escape="html">/refresh.gif" border="0" align="absmiddle" alt="Return to Year <tmpl_var current_year>"></a>
    </tmpl_if>
    &nbsp;
    <tmpl_if enable_webmail><a href="<tmpl_var url_cgi escape="none">/openwebmail-main.pl?action=listmessages&amp;sessionid=<tmpl_var sessionid escape="url">&amp;folder=<tmpl_var folder escape="url">&amp;sort=<tmpl_var sort escape="url">&amp;msgdatetype=<tmpl_var msgdatetype escape="url">&amp;page=<tmpl_var page escape="url">&amp;longpage=<tmpl_var longpage escape="url">&amp;searchtype=<tmpl_var searchtype escape="url">&amp;keyword=<tmpl_var keyword escape="url">&amp;message_id=<tmpl_var message_id escape="url">" accesskey="M" class="icon"><tmpl_if use_texticon>webmail<tmpl_else><img src="<tmpl_var url_html escape="none">/images/iconsets/<tmpl_var iconset escape="html">/owm.gif" title="webmail" alt="webmail" border="0" align="absmiddle"></tmpl_if></a></tmpl_if>

    <tmpl_if enable_addressbook><a href="<tmpl_var url_cgi escape="none">/openwebmail-abook.pl?action=addrlistview&amp;sessionid=<tmpl_var sessionid escape="url">&amp;folder=<tmpl_var folder escape="url">&amp;sort=<tmpl_var sort escape="url">&amp;msgdatetype=<tmpl_var msgdatetype escape="url">&amp;page=<tmpl_var page escape="url">&amp;longpage=<tmpl_var longpage escape="url">&amp;searchtype=<tmpl_var searchtype escape="url">&amp;keyword=<tmpl_var keyword escape="url">&amp;message_id=<tmpl_var message_id escape="url">" accesskey="A" class="icon"><tmpl_if use_texticon>addressbook<tmpl_else><img src="<tmpl_var url_html escape="none">/images/iconsets/<tmpl_var iconset escape="html">/addrbook.gif" title="addressbook" alt="addressbook" border="0" align="absmiddle"></tmpl_if></a></tmpl_if>

    <tmpl_if enable_webdisk><a href="<tmpl_var url_cgi escape="none">/openwebmail-webdisk.pl?action=showdir&amp;sessionid=<tmpl_var sessionid escape="url">&amp;folder=<tmpl_var folder escape="url">&amp;sort=<tmpl_var sort escape="url">&amp;msgdatetype=<tmpl_var msgdatetype escape="url">&amp;page=<tmpl_var page escape="url">&amp;longpage=<tmpl_var longpage escape="url">&amp;searchtype=<tmpl_var searchtype escape="url">&amp;keyword=<tmpl_var keyword escape="url">&amp;message_id=<tmpl_var message_id escape="url">" accesskey="E" class="icon"><tmpl_if use_texticon>webdisk<tmpl_else><img src="<tmpl_var url_html escape="none">/images/iconsets/<tmpl_var iconset escape="html">/webdisk.gif" title="webdisk" alt="webdisk" border="0" align="absmiddle"></tmpl_if></a></tmpl_if>

    <tmpl_if enable_sshterm><tmpl_if use_ssh2><a href="#" onclick="window.open('<tmpl_var url_html escape="none">/applet/mindterm2/ssh2.html', '_applet', 'width=400,height=100,top=2000,left=2000,resizable=no,menubar=no,scrollbars=no');" accesskey="T" class="icon"><tmpl_if use_texticon>ssh terminal<tmpl_else><img src="<tmpl_var url_html escape="none">/images/iconsets/<tmpl_var iconset escape="html">/sshterm.gif" title="ssh terminal" alt="ssh terminal" border="0" align="absmiddle"></tmpl_if></a><tmpl_else><tmpl_if use_ssh1><a href="#" onclick="window.open('<tmpl_var url_html escape="none">/applet/mindterm/ssh.html', '_applet', 'width=400,height=100,top=2000,left=2000,resizable=no,menubar=no,scrollbars=no');" accesskey="T" class="icon"><tmpl_if use_texticon>ssh terminal<tmpl_else><img src="<tmpl_var url_html escape="none">/images/iconsets/<tmpl_var iconset escape="html">/sshterm.gif" title="ssh terminal" alt="ssh terminal" border="0" align="absmiddle"></tmpl_if></a></tmpl_if></tmpl_if></tmpl_if>

    <tmpl_if enable_preference><a href="<tmpl_var url_cgi escape="none">/openwebmail-prefs.pl?action=editprefs&amp;prefs_caller=cal&amp;sessionid=<tmpl_var sessionid escape="url">&amp;folder=<tmpl_var folder escape="url">&amp;sort=<tmpl_var sort escape="url">&amp;msgdatetype=<tmpl_var msgdatetype escape="url">&amp;page=<tmpl_var page escape="url">&amp;longpage=<tmpl_var longpage escape="url">&amp;searchtype=<tmpl_var searchtype escape="url">&amp;keyword=<tmpl_var keyword escape="url">&amp;message_id=<tmpl_var message_id escape="url">" accesskey="O" class="icon"><tmpl_if use_texticon>user preferences<tmpl_else><img src="<tmpl_var url_html escape="none">/images/iconsets/<tmpl_var iconset escape="html">/prefs.gif" title="user preferences" alt="user preferences" border="0" align="absmiddle"></tmpl_if></a></tmpl_if>

    <a href="<tmpl_var url_cgi escape="none">/openwebmail-main.pl?action=logout&amp;sessionid=<tmpl_var sessionid escape="url">" accesskey="Q" class="icon"><tmpl_if use_texticon>logout<tmpl_else><img src="<tmpl_var url_html escape="none">/images/iconsets/<tmpl_var iconset escape="html">/logout.gif" title="logout" alt="logout" border="0" align="absmiddle"></tmpl_if></a>
  </td>
  <td nowrap class="menubar" align="right">
    <select name="year"  accesskey="G" onchange="submit()">
    <tmpl_loop yearselectloop>
      <option value="<tmpl_var option escape="html">" <tmpl_if selected>selected</tmpl_if>><tmpl_var label escape="html"></option>
    </tmpl_loop>
  </td>

</tr>
</form>
<tr>
  <td colspan="2">&nbsp;</td>
</tr>
</table>

<table cellpadding="1" cellspacing="0" border="0" align="center" width="95%">
<tr class="rowdark">
  <td nowrap align="center">
  <a accesskey="U" href="<tmpl_var url_cgi escape="none">/openwebmail-cal.pl?action=callist&amp;sessionid=<tmpl_var sessionid escape="url">&amp;folder=<tmpl_var folder escape="url">&amp;message_id=<tmpl_var message_id escape="url">&amp;year=<tmpl_var prev_year>" title="Year <tmpl_var prev_year escape="html">"><img src="<tmpl_var url_html escape="none">/images/iconsets/<tmpl_var iconset escape="html">/left.gif" border="0" align="absmiddle" alt="Year <tmpl_var prev_year escape="html">"></a> 
  <b>Year <tmpl_var year></b> 
  <a accesskey="D" href="<tmpl_var url_cgi escape="none">/openwebmail-cal.pl?action=callist&amp;sessionid=<tmpl_var sessionid escape="url">&amp;folder=<tmpl_var folder escape="url">&amp;message_id=<tmpl_var message_id escape="url">&amp;year=<tmpl_var next_year>" title="Year <tmpl_var next_year escape="html">"><img src="<tmpl_var url_html escape="none">/images/iconsets/<tmpl_var iconset escape="html">/right.gif" border="0" align="absmiddle" alt="Year <tmpl_var next_year escape="html">"></a> 
  </td>
</tr>
</table>

&nbsp;
<table width="95%" border="0" cellspacing="1">
 <tr>
  <td class="columnheader" nowrap>Date</td>
  <td class="columnheader" nowrap>Weekday</td>
  <td class="columnheader" nowrap align="center" width="5%">Days</td>
  <td class="columnheader" nowrap align="center" width="75%">Items</td>
 </tr>
 <tmpl_loop daysloop>
 <tr class="<tmpl_if today>rowdark<tmpl_else>rowlight</tmpl_if>" <tmpl_if uselightbar>onmouseover="this.className='rowhilite';" onmouseout="this.className='<tmpl_if today>rowdark<tmpl_else>rowlight</tmpl_if>';"</tmpl_if> onclick="window.location.href='<tmpl_var url_cgi escape="none">/openwebmail-cal.pl?action=calday&amp;sessionid=<tmpl_var sessionid escape="url">&amp;folder=<tmpl_var folder escape="url">&amp;message_id=<tmpl_var message_id escape="url">&amp;year=<tmpl_var year>&amp;month=<tmpl_var month>&amp;day=<tmpl_var day>';">
  <td nowrap>
   <a accesskey="<tmpl_var accesskey>" href="<tmpl_var url_cgi escape="none">/openwebmail-cal.pl?action=calday&amp;sessionid=<tmpl_var sessionid escape="url">&amp;folder=<tmpl_var folder escape="url">&amp;message_id=<tmpl_var message_id escape="url">&amp;year=<tmpl_var year>&amp;month=<tmpl_var month>&amp;day=<tmpl_var day>">
   <b><tmpl_var monthstr>-<tmpl_var daystr></b>
   </a>
   <tmpl_if lunar>&nbsp;<font class="<tmpl_if lunarnew>smalltext<tmpl_else>smalllighttext</tmpl_if>"><tmpl_var lunar escape="html"></font></tmpl_if>
  </td>
  <td>
   <a href="<tmpl_var url_cgi escape="none">/openwebmail-cal.pl?action=calday&amp;sessionid=<tmpl_var sessionid escape="url">&amp;folder=<tmpl_var folder escape="url">&amp;message_id=<tmpl_var message_id escape="url">&amp;year=<tmpl_var year>&amp;month=<tmpl_var month>&amp;day=<tmpl_var day>">
   <tmpl_var weekday>
   </a>
  </td>
  <td  align="right" nowrap>
   <tmpl_var daydiffstr> &nbsp;
  </td>
  <td>
   <table width="100%" cellspacing="0" cellpadding="2">
    <tmpl_loop eventsloop>
    <tr <tmpl_if eventcolor>bgcolor="<tmpl_var eventcolor escape="html">"</tmpl_if>>
     <td width="120" nowrap>
      <font color="#c00000"><tmpl_var eventtime escape="html"></font>&nbsp;
     </td>
     <td >
      <tmpl_if notglobal>
      <a title="Edit" href="<tmpl_var url_cgi escape="none">/openwebmail-cal.pl?action=caledit&amp;sessionid=<tmpl_var sessionid escape="url">&amp;folder=<tmpl_var folder escape="url">&amp;message_id=<tmpl_var message_id escape="url">&amp;year=<tmpl_var year>&amp;month=<tmpl_var month>&amp;day=<tmpl_var day>&amp;index=<tmpl_var eventindex>&amp;callist=1"<tmpl_if eventmult> onclick="return confirm('This item was added for multiple dates.\nEditing it will change the item for all dates.\nContinue with Edit?')"</tmpl_if>>
      </tmpl_if>
      <tmpl_var eventtxt escape="html">
      <tmpl_if notglobal></a></tmpl_if>
      <tmpl_if eventlink>
      <a href="<tmpl_var eventlinktxt escape="html">" target="_blank" title="<tmpl_var eventlinktxt escape="html">">
      <tmpl_if use_texticon>link<tmpl_else><img src="<tmpl_var url_html escape="none">/images/iconsets/<tmpl_var iconset escape="html">/cal-link.gif" border="0" align="absmiddle" alt="<tmpl_var eventlinktxt escape="html">"></tmpl_if></a>
      </tmpl_if>
      <tmpl_if eventemail>
      <a title="<tmpl_var eventemail escape="html">">
      <tmpl_if use_texticon>email<tmpl_else><img src="<tmpl_var url_html escape="none">/images/iconsets/<tmpl_var iconset escape="html">/email.gif" border="0" align="absmiddle" alt="<tmpl_var eventemail escape="html">"></tmpl_if></a>
      </tmpl_if>
      <tmpl_if notglobal>
      &nbsp;&nbsp;
      <a title="Delete" href="<tmpl_var url_cgi escape="none">/openwebmail-cal.pl?action=caldel&amp;sessionid=<tmpl_var sessionid escape="url">&amp;folder=<tmpl_var folder escape="url">&amp;message_id=<tmpl_var message_id escape="url">&amp;year=<tmpl_var year>&amp;month=<tmpl_var month>&amp;day=<tmpl_var day>&amp;index=<tmpl_var eventindex>&amp;callist=1" onclick="return confirm(<tmpl_if eventmult>'This item was added for multiple dates.\\nDeleting it will delete the item for all dates.\\nContinue with Delete?'<tmpl_else>'Are you sure you want to delete this item?'</tmpl_if>)">
      <tmpl_if use_texticon>delete<tmpl_else><img src="<tmpl_var url_html escape="none">/images/iconsets/<tmpl_var iconset escape="html">/cal-delete.gif" border="0" align="absmiddle" alt="delete"></tmpl_if></a>
      </tmpl_if>
     </td>
    </tr>
    </tmpl_loop>
   </table>
  </td>
 </tr>
 </tmpl_loop>
</table>
<tmpl_var footer_template escape="none">


