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>{$address['ip']}</strong></td>"; print "</tr>"; # description print "<tr>"; print "\t<th>" . _('Description') . "</th>"; print "\t<td>{$address['description']}</td>"; print "</tr>"; # hierarchy print "<tr>"; print "\t<th>" . _('Hierarchy') . "</th>"; print "\t<td>"; print_breadcrumbs($Sections, $Subnets, $_GET, $Addresses); print "</td>"; print "</tr>"; # subnet print "<tr>"; print "\t<th>" . _('Subnet') . "</th>"; print "\t<td>{$subnet['ip']}/{$subnet['mask']} ({$subnet['description']})</td>"; print "</tr>"; # state print "<tr>"; print "\t<th>" . _('IP status') . "</th>"; print "\t<td>"; if ($address['state'] == "0") { $stateClass = _("Offline"); } else { if ($address['state'] == "2") {
print _('Subnet details'); ?> </th> <td><?php print "<b>{$subnet['ip']}/{$subnet['mask']}</b> ({$subnet_detailed['netmask']})"; ?> </td> </tr> <tr> <th><?php print _('Hierarchy'); ?> </th> <td> <?php print_breadcrumbs($Sections, $Subnets, $_GET); ?> </td> </tr> <tr> <th><?php print _('Subnet description'); ?> </th> <td><?php print html_entity_decode($subnet['description']); ?> </td> </tr> <tr> <th><?php
print _('Subnet details'); ?> </th> <td><?php print "<b>{$subnet['ip']}/{$subnet['mask']}</b> ({$subnet_detailed['netmask']})"; ?> </td> </tr> <tr> <th><?php print _('Hierarchy'); ?> </th> <td> <?php print_breadcrumbs($Sections, $Subnets, array("page" => "subnets", "section" => $subnet['sectionId'], "subnetId" => $subnet['id'])); ?> </td> </tr> <tr> <th><?php print _('Subnet description'); ?> </th> <td><?php print html_entity_decode($subnet['description']); ?> </td> </tr> <tr> <th><?php
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>{$address['ip']}</strong></td>"; print "</tr>"; # description print "<tr>"; print "\t<th>" . _('Description') . "</th>"; print "\t<td>{$address['description']}</td>"; print "</tr>"; # hierarchy print "<tr>"; print "\t<th>" . _('Hierarchy') . "</th>"; print "\t<td>"; print_breadcrumbs($Sections, $Subnets, array("page" => "subnets", "section" => $subnet['sectionId'], "subnetId" => $subnet['id'], "ipaddrid" => $address['id']), $Addresses); print "</td>"; print "</tr>"; # subnet print "<tr>"; print "\t<th>" . _('Subnet') . "</th>"; print "\t<td>{$subnet['ip']}/{$subnet['mask']} ({$subnet['description']})</td>"; print "</tr>"; # state print "<tr>"; print "\t<th>" . _('IP status') . "</th>"; print "\t<td>"; if ($address['state'] == "0") { $stateClass = _("Offline"); } else { if ($address['state'] == "2") {