Location: PHPKode > projects > RosInfo > rosinfo-1.30/graphs.tpl
[array]
<div class="post">
  <h4>Interface {interface_printable}</h4>
  <table>
    <thead>
      <tr>
        <th>Info</th>
        <th>Graph</th>
      </tr>
    </thead>
    <tbody>
      [array_inner]
      <tr>
        <td>
          Interface:&nbsp;{interface_printable}
        </td>
        <td>
          <a href="rrdgraph.php?type=signal&amp;id={id}&amp;ip={ip}&amp;interface={interface}&amp;mac={mac}&amp;timestamp=now-1h&amp;">Hour</a>,
          <a href="rrdgraph.php?type=signal&amp;id={id}&amp;ip={ip}&amp;interface={interface}&amp;mac={mac}&amp;timestamp=now-1d&amp;">Day</a>,
          <a href="rrdgraph.php?type=signal&amp;id={id}&amp;ip={ip}&amp;interface={interface}&amp;mac={mac}&amp;timestamp=now-7d&amp;">Week</a>,
          <a href="rrdgraph.php?type=signal&amp;id={id}&amp;ip={ip}&amp;interface={interface}&amp;mac={mac}&amp;timestamp=now-1month&amp;">Month</a>,
          <a href="rrdgraph.php?type=signal&amp;id={id}&amp;ip={ip}&amp;interface={interface}&amp;mac={mac}&amp;timestamp=now-3month&amp;">Quartal</a>,
          <a href="rrdgraph.php?type=signal&amp;id={id}&amp;ip={ip}&amp;interface={interface}&amp;mac={mac}&amp;timestamp=now-6month&amp;">1/2 Year</a>,
          <a href="rrdgraph.php?type=signal&amp;id={id}&amp;ip={ip}&amp;interface={interface}&amp;mac={mac}&amp;timestamp=now-12month&amp;">Year</a>
        </td>
      </tr>
      <tr>
        <td style="vertical-align: top">MAC:&nbsp;{mac}</td>
        <td>
          <a href="signaldetail.php?id={id}&amp;ip={ip}&amp;interface={interface}&amp;mac={mac}"><img alt="graph" src="rrdgraph.php?type=signal&amp;id={id}&amp;ip={ip}&amp;interface={interface}&amp;mac={mac}&amp;timestamp={timestamp}"/></a>
        </td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      [/array_inner]     
    </tbody>
  </table>
</div>
[/array]

Return current item: RosInfo