<!--%%INCLUDE "i_defaulthead.incl" ("PolluStop License")-->
   <form action="license" method="post">
   <fieldset><legend>Actual License</legend>

   <p>Status: <span class="tt">%%license.status%%</span></p>

   <!--%%IF EXISTS(license.users)-->
      <p>Valid for: <span class="tt"><!--%%IF EQUALS(license.users AND "-1")-->Unlimited<!--%%ELSE-->%%license.users%%<!--%%ENDIF--></span> scanned objects</p>
   <!--%%ENDIF-->

   <!--%%IF EXISTS(license.expiration) & EQUALS(license.expiration AND "2999-12-31")-->
      <p><span class="tt">No Time Limit</span></p>
   <!--%%ELSE-->
      <p>Until: <span class="tt">%%license.expiration%%</span></p>
   <!--%%ENDIF-->
   </fieldset>

   <!--%%IF NOT(EQUALS(license.scanned AND "Unlimited"))-->
   <fieldset><legend>On this server</legend>

   <table style="margin-left:20px;" width="550"><tr><td>
      <p style="font-weight:bold; white-space:nowrap">Total objects:</p>
      <table style="margin-left:20px;">
         <tr><td>Accounts:          </td><td style="text-align:right"><span class="tt">%%license.total_accounts%%</span></td></tr>
         <tr><td colspan="2">&nbsp;</td></tr>
         <tr><td>Relayed *:         </td><td style="text-align:right"><span class="tt">%%license.total_relayed%%</span></td></tr>
         <tr><td>Forwarders:        </td><td style="text-align:right"><span class="tt">%%license.total_forwarders%%</span></td></tr>
         <tr><td>Groups:            </td><td style="text-align:right"><span class="tt">%%license.total_groups%%</span></td></tr>
         <tr><td>Lists:             </td><td style="text-align:right"><span class="tt">%%license.total_lists%%</span></td></tr>
         <tr><td colspan=2 style="font-size:0; border-bottom:1px solid black">&nbsp;</td></tr>
         <tr><td>Total:             </td><td style="text-align:right">&nbsp;&nbsp;&nbsp;<span class="tt">%%license.total%%</span></td></tr>
      </table>
   </td><td>
      <p style="font-weight:bold; white-space:nowrap">Scanned objects (according to settings):</p>
      <table style="margin-left:20px;">
         <tr><td>Accounts:          </td><td style="text-align:right"><span class="tt">%%license.scanned_accounts%%</span></td></tr>
         <tr><td>Ignored non-mail:  </td><td style="text-align:right"><span class="tt">%%license.ignored_nonmail%%</span></td></tr>
         <tr><td>Relayed *:         </td><td style="text-align:right"><span class="tt">%%license.scanned_relayed%%</span></td></tr>
         <tr><td>Forwarders:        </td><td style="text-align:right"><span class="tt">%%license.scanned_forwarders%%</span></td></tr>
         <tr><td>Groups:            </td><td style="text-align:right"><span class="tt">%%license.scanned_groups%%</span></td></tr>
         <tr><td>Lists:             </td><td style="text-align:right"><span class="tt">%%license.scanned_lists%%</span></td></tr>
         <tr><td colspan=2 style="font-size:0; border-bottom:1px solid black">&nbsp;</td></tr>
         <tr><td>Total:             </td><td style="text-align:right">&nbsp;&nbsp;&nbsp;<span class="tt">%%license.scanned%%</span></td></tr>
      </table>
   </td>
   </tr></table>
   <p class="explain" style="font-size:xx-small">*number of explicitely relayed recipients (unique external accounts to which non-wildcard router entries points).</p>
   </fieldset>
   <!--%%ENDIF-->

   <fieldset><legend>Upgrade license</legend>
      <p class="explain">Paste your new license here:</p>
      <p><textarea name="newlicense" style="font-size:x-small; width:630px;" rows="2" onchange="trimLicense(this)"></textarea></p>
      <p><input type="submit" name="Apply" value="Apply new license" /></p>
   </fieldset></form>

   <script type="text/javascript">
      window.onload=function(){disableWrap(document.forms[0].newlicense);};
   </script>
<!--%%INCLUDE "i_defaultfoot.incl"-->
