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/assetview.tpl

114 lines
1.9 KiB

<table border="0" width="100%">
<tr>
<td>
<b>{lang_asset}:</b>
</td>
<td align="right">
<a href="assigniptoasset.php?asset_id={asset_id}"><img src="images/add.gif" border="0" title="{lang_assigniptoasset}"></a>
<a href="assetedit.php?asset_id={asset_id}"><img src="images/edit.gif" border="0" title="{lang_asset_edit}"></a>
<a href="assetdel.php?asset_id={asset_id}"><img src="images/del.gif" border="0" title="{lang_asset_del}"></a>
</td>
</tr>
</table>
<p>
<table border="0">
<tr>
<td>
<b>{lang_asset_name}:</b>
</td>
<td>
{asset_name}
</td>
</tr>
<tr>
<td>
<b>{lang_hostname}:</b>
</td>
<td>
{hostname}
</td>
</tr>
<tr>
<td>
<b>{lang_assetclass}:</b>
</td>
<td>
<a href="assetclassview.php?assetclass_id={assetclass_id}">{assetclass_name}</a>
</td>
</tr>
<tr>
<td>
<b>{lang_asset_info}:</b>
</td>
<td>
{asset_info}
</td>
</tr>
</table>
<p>
[BLOCK table AS node]
<table border="0">
[BLOCK noderow]
<tr>
<td>
&nbsp;
</td>
<td>
<b>{lang_node} #{nodecount}</b>
</td>
</tr>
<tr>
<td>
<b>{lang_ip}:</b>
</td>
<td>
<a href="nodeview.php?node_id={node_id}">{ip}</a>
</td>
</tr>
<tr>
<td>
<b>{lang_subnet}:</b>
</td>
<td>
<a href="subnetview.php?subnet_id={subnet_id}&page={ip}">{subnet_address}/{subnet_mask}</a>
</td>
</tr>
<tr>
<td>
<b>{lang_mac}:</b>
</td>
<td>
{mac}
</td>
</tr>
<tr>
<td>
<b>{lang_dns1}:</b>
</td>
<td>
{dns1}
</td>
</tr>
<tr>
<td>
<b>{lang_dns2}:</b>
</td>
<td>
{dns2}
</td>
</tr>
<tr>
<td>
<b>{lang_node_info}:</b>
</td>
<td>
{node_info}
</td>
</tr>
[END noderow]
</table>
[END table]