23 lines
		
	
	
		
			659 B
		
	
	
	
		
			PHP
		
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			659 B
		
	
	
	
		
			PHP
		
	
	
	
<?php
 | 
						|
/*****************************************************************************
 | 
						|
IP Reg, a PHP/MySQL IPAM tool
 | 
						|
Copyright (C) 2007-2009 Wietse Warendorff (up to v0.5)
 | 
						|
Copyright (C) 2011-2023 Thomas Hooge
 | 
						|
 | 
						|
SPDX-License-Identifier: GPL-3.0-or-later
 | 
						|
*****************************************************************************/
 | 
						|
	
 | 
						|
include("includes.php");
 | 
						|
		
 | 
						|
$zone_id = sanitize($_GET['zone_id']);
 | 
						|
		
 | 
						|
include("header.php");
 | 
						|
		
 | 
						|
$sth = $dbh->prepare("SELECT zone_id, zone_origin, zone_serial FROM zone WHERE zone_id=?");
 | 
						|
$sth->execute($sql);
 | 
						|
$smarty->assign("zone", $sth->fetchAll(PDO::FETCH_ASSOC));
 | 
						|
 | 
						|
$smarty->display("zonedel.tpl");
 | 
						|
 | 
						|
include("footer.php");
 | 
						|
?>
 |