<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>YaCy '#[clientname]#': Status</title>
    #%env/templates/metas.template%#
    <meta http-equiv="REFRESH" content="30" />
  </head>
  <body style="margin:0px;">
    #%env/templates/header.template%#
    <h2>System-, Index- and Peer-Status</h2>
    
    <p>Welcome to YaCy!</p>
    
    <form action="Steering.html" method="get" class="PeerControl">
      <fieldset>#(restartEnabled)#::
        <button type="submit" name="restart" value="Restart">
          <img src="/env/grafics/lock.gif" alt="Only the administrator may restart this peer" />
          Restart
        </button>#(/restartEnabled)#
        <button type="submit" name="shutdown" value="Shutdown">
          <img src="/env/grafics/lock.gif" alt="Only the administrator may shutdown this peer" />
          Shutdown
        </button>
      </fieldset>
    </form>
    
    <table class="StatusTable">
      <tr class="TableHeader"><td colspan="2"><strong>Public System Properties</strong></td></tr>
      <tr class="TableCellLight"><td>System version</td><td>
      #[versionpp]# #(versioncomment)#:: - the latest public version is #[latestVersion]#. Click here to <a href="http://www.yacy.net/yacy/Download.html">download</a> it.#(/versioncomment)#
      </td></tr>
      <tr class="TableCellDark"><td>This&nbsp;peer's&nbsp;address</td><td>
      #(peerAddress)#
      Not assigned
      ::
      Not assigned. The peer must go online to get an address.
      The peer does not go online until you use the proxy to surf the internet,
      thus proving that you <em>want</em> to go online.
      If you don't know how to configure your system to use a proxy,
      see the <a href="http://www.yacy.net/yacy/Installation.html#wininst">installation instructions</a>.
      ::
      #[address]# ; Your '.yacy' home at http://www.#[peername]#.yacy
      #(/peerAddress)#
      </td></tr>
      <tr class="TableCellLight"><td>This peer's name</td><td>#[peerName]#/#[hash]#</td></tr>
      <tr class="TableCellDark"><td>This peer's statistics</td><td>
      #(peerStatistics)#
      Unknown
      ::
      <div>Uptime: #[uptime]#</div>
      <div>Links/RWI: #[links]# / #[words]#</div>
      <div>PPM/QPH: #[pagesperminute]# / #[queriesperhour]#</div>
      <div>Connects: 
        <span title="connected Juniors">#[juniorConnects]#</span> | <span title="connected Seniors">#[seniorConnects]#</span> | <span title="connected Principals">#[principalConnects]#</span> | <span title="disconnected peers">#[disconnects]#</span> (#[connects]# peers/hour)
      #(/peerStatistics)#
      </div>
      </td></tr>
      <tr class="TableCellLight"><td>This peer's status</td><td>
      #(peerStatus)#
      Virgin - You have not published your peer seed yet. This happens automatically, just wait. While you have this status you are not allowed to search other peers.
      ::
      Junior - You cannot be reached from outside. A possible reason is that you are behind a firewall, NAT or Router. But you can <a href="index.html">search the internet</a> using the other peers' global index on your own search page. We encourage you to open your firewall for the port you configured (usually: 8080), or to set up a 'virtual server' in your router settings (often called DMZ). Please be fair, contribute your own index to the global index.
      ::
      Senior - You are running a server and you support the global internet index, which you can also <a href="index.html">search yourself</a>. Thank you!
      ::
      Principal - You are senior and you publish your seed-list to a public accessible server where it can be retrieved using the URL <a href="#[seedURL]#">#[seedURL]#</a>.<br />
      You can of course <a href="index.html">search the internet</a> using the other peers' global index on your own search page.
      #(/peerStatus)#
      </td></tr>
      <tr class="TableCellDark"><td>Other peers</td><td>#(otherPeers)#not online::#[num]# other peers online.#(/otherPeers)#</td></tr>
      <tr class="TableCellLight"><td>Online-mode</td><td>
      #(omode)#
      You are in <em>Cache-browsing</em> mode.<br />
      Only websites from the proxy-cache are accessible.
      To switch online-mode, press one of the following buttons:
      <form action="SettingsAck_p.html" method="get">
        <div><input type="submit" name="emode" value="event-based Mode" />
        <input type="submit" name="pmode" value="Permanent Mode" /></div>
      </form>
      ::
      You are in <em>event-based</em> online mode.<br />
      The YaCy p2p network will boot when you start using YaCy as a web proxy or you switch to permanent mode.
      To switch online-mode, press one of the following buttons:
      <form action="SettingsAck_p.html" method="get">
        <div><input type="submit" name="pmode" value="Go on-line" />
        <input type="submit" name="cmode" value="Go to Cache-Mode" /></div>
      </form>
      ::
      You are in <em>permanent</em> mode.
      To switch online-mode, press one of the following buttons:
      <form action="SettingsAck_p.html" method="get">
        <div><input type="submit" name="emode" value="event-based Mode" />
        <input type="submit" name="cmode" value="Go to Cache-Mode" /></div>
      </form>
      #(/omode)#
      </td></tr>
    </table>
    #(showPrivateTable)#
    Click here to <a href="Status.html?login=">log in</a> as administrator and see full status. 
    ::
    #(/showPrivateTable)#
    #%[privateStatusTable]%#
    <p><em>Last Refresh:</em> #[date]#</p>
    
    #%env/templates/footer.template%#
  </body>
</html>