print "<table class='ipaddress_subnet table table-noborder table-condensed' style='margin-top:10px;'>"; //ip print "<tr>"; print "\t<th>" . _('IP address') . "</th>"; print "\t<td><strong>{$ip['ip_addr']}</strong></td>"; print "</tr>"; //description print "<tr>"; print "\t<th>" . _('Description') . "</th>"; print "\t<td>{$ip['description']}</td>"; print "</tr>"; //hierarchy print "<tr>"; print "\t<th>" . _('Hierarchy') . "</th>"; print "\t<td>"; printBreadCrumbs($_GET); print "</td>"; print "</tr>"; //subnet print "<tr>"; print "\t<th>" . _('Subnet') . "</th>"; print "\t<td>" . Transform2long($subnet['subnet']) . "/{$subnet['mask']} ({$subnet['description']})</td>"; print "</tr>"; //state print "<tr>"; print "\t<th>" . _('IP status') . "</th>"; print "\t<td>"; if ($ip['state'] == "0") { $stateClass = _("Offline"); } else { if ($ip['state'] == "2") {
print "<table class='ipaddress_subnet table table-noborder table-condensed' style='margin-top:10px;'>"; //ip print "<tr>"; print "\t<th>" . _('IP address') . "</th>"; print "\t<td><strong>{$ip['ip_addr']}</strong></td>"; print "</tr>"; //description print "<tr>"; print "\t<th>" . _('Description') . "</th>"; print "\t<td>{$ip['description']}</td>"; print "</tr>"; //hierarchy print "<tr>"; print "\t<th>" . _('Hierarchy') . "</th>"; print "\t<td>"; printBreadCrumbs($_REQUEST); print "</td>"; print "</tr>"; //subnet print "<tr>"; print "\t<th>" . _('Subnet') . "</th>"; print "\t<td>" . Transform2long($subnet['subnet']) . "/{$subnet['mask']} ({$subnet['description']})</td>"; print "</tr>"; //state print "<tr>"; print "\t<th>" . _('IP status') . "</th>"; print "\t<td>"; if ($ip['state'] == "0") { $stateClass = _("Offline"); } else { if ($ip['state'] == "2") {