IP Reg is a IPAM tool to keep track of assets, nodes (IP addresses, MAC addresses, DNS aliases) within different subnets, over different locations or even VLAN's. Written in PHP, used with a MySQL-database to have a unique insight in your local network.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 
ipreg/tpl/subnet.tpl

46 lines
1.1 KiB

<table class="title">
<tr>
<td class="header">
<img class="icon" src="images/plugin.png" alt="" />
{$lang_subnets} ({$subnets|@count})
</td>
<td align="right">
{if $suser_add || $suser_admin}
<a href="subnetadd.php"><img src="image.php?icon=add" alt="{$lang_subnet_add}"></a>
{/if}
</td>
</tr>
</table>
<table class="info">
<tr>
<td class="header">
{$lang_subnet_subnetaddress_mask}
</td>
<td class="header">
{$lang_nodes}
</td>
<td class="header">
{$lang_subnet_info}
</td>
</tr>
{foreach item=subnet from=$subnets}
<tr>
<td class="label">
<a href="subnetview.php?subnet_id={$subnet.subnet_id}">{$subnet.subnet_address}/{$subnet.subnet_mask}</a>
</td>
<td class="value">
<a href="node.php?subnet_id={$subnet.subnet_id}">{$subnet.node_counter}</a>
</td>
<td>
{$subnet.subnet_info}
</td>
</tr>
{foreachelse}
<tr>
<td colspan="3">
{$lang_subnet_none}
</td>
</tr>
{/foreach}
</table>