db_select($query); $smarty->assign("subnets", $subnets); $smarty->display("subnet.tpl"); include("footer.php"); ?>