{include file="header.html"} {if $unlockedit}{/if}

{$layout.pagetitle}

{if $unlockedit}{/if} {if !$unlockedit} {else} {/if} {if $unlockedit}{/if} {else} {t}Edit{/t} [ {t}Edit{/t} ]{t}Remove{/t} [ {t}Remove{/t} ] {/if} {if $network.page} {/if}
{$network.name|upper} ({$network.id|string_format:"%04d"}) {t}Name:{/t} ({$network.id|string_format:"%04d"})
{t}Address/prefix:{/t} {if $unlockedit} / {else}{$network.address}/{$network.prefix}{/if} {t}DHCP range:{/t} {if $unlockedit}
{else} {$network.dhcpstart}
{$network.dhcpend} {/if}
{t}Network size:{/t} {t 0=$network.size}$0 addresses{/t}
{t}Interface:{/t} {if $unlockedit} {else} {$network.interface} {/if}
{t}Gateway:{/t} {if $unlockedit} {else} {$network.gateway} {/if} {t}DNS servers:{/t} {if $unlockedit}
{else} {$network.dns}
{$network.dns2} {/if}
{t}WINS server:{/t} {if $unlockedit} {else} {$network.wins} {/if} {t}Domain:{/t} {if $unlockedit} {else} {$network.domain} {/if}
{if $unlockedit}
{t}Put in order{/t} [ {t}Put in order{/t} ]
{if $netlistsize > 1} {t}Reassign to network:{/t}
{/if} {t}Submit{/t} [ {t}Submit{/t} ] {t}Remove{/t} [ {t}Remove{/t} ] {t}Cancel{/t} [ {t}Cancel{/t} ]
{t}IP addresses status:{/t} {if $network.page > 1}«««{else}«««{/if} {t 0=$network.page 1=$network.pages}Page $0 of $1{/t} {if $network.page < $network.pages}»»»{else}»»»{/if}
{cycle values="light,lucid" print=false} {section name=network loop=$network.nodes.id max=$network.rows} {section name=subnetwork loop=$network.nodes.address start=$smarty.section.network.index step=$network.rows} {/section} {/section}
{if !$network.nodes.ownerid[subnetwork] && $network.nodes.netdev[subnetwork]} {$network.nodes.name[subnetwork]} {else} {if $network.nodes.id[subnetwork]} {$network.nodes.name[subnetwork]} {else} {if $network.nodes.name[subnetwork]} {$network.nodes.name[subnetwork]} {else} {$network.nodes.address[subnetwork]} {/if} {/if} {/if}
{if $network.page > 1}«««{else}«««{/if} {t 0=$network.page 1=$network.pages}Page $0 of $1{/t} {if $network.page < $network.pages}»»»{else}»»»{/if} {t 0=$network.assigned}Total: $0{/t} ({t}this page:{/t} {$network.pageassigned|default:"0"}, {t}free:{/t} {$network.free})
{include file="footer.html"}