mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	Device VLANs
git-svn-id: http://www.observium.org/svn/observer/trunk@94 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
		
							
								
								
									
										12
									
								
								html/pages/device/dev-vlans.inc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								html/pages/device/dev-vlans.inc
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
				
			|||||||
 | 
					<?php
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					   echo("<div style='margin: 5px;'><table border=0 cellspacing=0 cellpadding=5 width=100%>");
 | 
				
			||||||
 | 
					   $i = "1";
 | 
				
			||||||
 | 
					   $vlan_query = mysql_query("select * from vlans WHERE device_id = '$_GET[id]' ORDER BY 'vlan_vlan'");
 | 
				
			||||||
 | 
					   while($vlan = mysql_fetch_array($vlan_query)) {
 | 
				
			||||||
 | 
					     include("includes/print-vlan.inc");
 | 
				
			||||||
 | 
					     $i++;
 | 
				
			||||||
 | 
					   }
 | 
				
			||||||
 | 
					   echo("</table></div>");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					?>
 | 
				
			||||||
		Reference in New Issue
	
	Block a user