Changes adopted from version 0.5

This commit is contained in:
2023-02-13 10:42:09 +01:00
parent faf5f368f5
commit 76ccecca7f
198 changed files with 10261 additions and 5068 deletions

View File

@@ -1,7 +1,7 @@
<?php
/*****************************************************************************
IP Reg, a PHP/MySQL IPAM tool
Copyright (C) 2008 Wietse Warendorff
Copyright (C) 2007-2009 Wietse Warendorff
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -20,24 +20,27 @@
or contact me at wietsew@users.sourceforge.net
*****************************************************************************/
// includes
include("includes.php");
// start page
// includes
include("includes.php");
// check authorisation
$auth = auth("subnet", $config_auth_subnetadd, 0);
// get id
if((isset($_GET['vlan_id'])) ? $vlan_id = sanitize($_GET['vlan_id']) : $vlan_id = "");
// start output
include("header.php");
// set template
$tp = new Template("tpl/subnetadd.tpl", $config_yapter_error);
// set language variables
$tp->setvars($lang);
// start output
include("header.php");
// set template
$tp = new Template("tpl/subnetadd.tpl");
// set language variables
$tp->setvars($lang);
// output
$tp->parse();
$tp->spit();
include("footer.php");
// end page
// output
$tp->parse();
$tp->spit();
// end output
include("footer.php");
?>