Beispiel #1
0
                    $esc->Details = $_POST['details'];
                    $esc->CreateEscalation();
                    break;
                case 'Update':
                    $esc->Details = $_POST['details'];
                    $status = __("Updated");
                    $esc->UpdateEscalation();
                    break;
                case 'Delete':
                    $esc->DeleteEscalation();
                    header('Location: ' . redirect("escalations.php"));
                    exit;
            }
        }
    }
    $esc->GetEscalation();
}
$escList = $esc->GetEscalationList();
?>
<!doctype html>
<html>
<head>
  <meta http-equiv="X-UA-Compatible" content="IE=Edge">
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta http-equiv="CACHE-CONTROL" content="NO-CACHE">
  <meta http-equiv="EXPIRES" content="Mon, 01 Jan 1997 01:00:00 GMT">
  <meta http-equiv="PRAGMA" content="NO-CACHE">
  <title>openDCIM Data Center Inventory</title>
  
  <link rel="stylesheet" href="css/inventory.php" type="text/css">
  <link rel="stylesheet" href="css/jquery-ui.css" type="text/css">
Beispiel #2
0
 function UpdateEscalation()
 {
     $this->MakeSafe();
     $oldesc = new Escalations();
     $oldesc->EscalationID = $this->EscalationID;
     $oldesc->GetEscalation();
     $sql = "UPDATE fac_Escalations SET Details=\"{$this->Details}\" WHERE \n\t\t\tEscalationID={$this->EscalationID};";
     $this->MakeDisplay();
     class_exists('LogActions') ? LogActions::LogThis($this, $oldesc) : '';
     return $this->query($sql);
 }