mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
rename some gui include files
git-svn-id: http://www.observium.org/svn/observer/trunk@891 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
16
html/includes/service-add.inc.php
Normal file
16
html/includes/service-add.inc.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
$updated = '1';
|
||||
|
||||
$sql = "INSERT INTO `services` (`service_host`,`service_ip`,`service_type`,`service_desc`,`service_param`,`service_ignore`)
|
||||
VALUES ('" . mres($_POST['device']). "','" . mres($_POST['ip']) . "','" . mres($_POST['type']) . "',
|
||||
'" . mres($_POST['descr']) . "','" . mres($_POST['params']) . "','0')";
|
||||
|
||||
$query = mysql_query($sql);
|
||||
$affected = mysql_affected_rows() . "records affected";
|
||||
|
||||
$message .= $message_break . "Service added!";
|
||||
$message_break .= "<br />"
|
||||
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user