<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <title>Program Sistem Pakar Diagnosa</title>
    <link href="assets/css/yeti-bootstrap.min.css" rel="stylesheet"/>
    <link href="assets/css/general.css" rel="stylesheet"/>
    <link href="assets/css/select2.min.css" rel="stylesheet"/>
    <script src="assets/js/jquery.min.js"></script>
    <script src="assets/js/bootstrap.min.js"></script>    
    <script src="assets/js/select2.min.js"></script>   
    <style type="text/css">
    .hi{
background-image: linear-gradient(rgba(0, 0, 0, 0.5),rgba(0, 0, 0, 0.5)), url('vitaminbg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }
.dark{
  background-color: #000;
  color: #fff;
}
.trans{
  opacity: 1;
}
.modal-header{
  background-color: #2d3436;
}
.hehe{
  background-color: #2d3436;
}
.bulat{
  border-radius: 10px;
}
    </style>      
  </head>

<body class="dark hi">
<div class="page-header">
    <h1 style="color: #fff;" align="center"><b>Tambah Basis Pengetahuan</b></h1>
</div>
<div class="row">
    <div class="col-sm-6">
        <?php if($_POST) include'aksi.php'?>
        <form method="post">
            <div class="form-group">
                <label style="color: #fff;">Vitamin <span class="text-danger">*</span></label>
                <select class="form-control" name="kode_diagnosa">
                    <option value="">&nbsp;</option>
                    <?=CF_get_diagnosa_option(set_value('kode_diagnosa'))?>
                </select>
            </div>
            <div class="form-group">
                <label style="color: #fff;">Gejala <span class="text-danger">*</span></label>
                <select class="form-control" name="kode_gejala">
                    <option value="">&nbsp;</option>
                    <?=CF_get_gejala_option(set_value('kode_gejala'))?>
                </select>
            </div>
            <div class="form-group">
                <label style="color: #fff;">MB <span class="text-danger">*</span></label>
                <input class="form-control" type="text" name="mb" value="<?=set_value('mb')?>" />
            </div>
            <div class="form-group">
                <label style="color: #fff;">MD <span class="text-danger">*</span></label>
                <input class="form-control" type="text" name="md" value="<?=set_value('md')?>" />
            </div>
            <div class="form-group">
                <button class="btn edit"><span class="glyphicon glyphicon-save"></span> Simpan</button>
                <a class="btn edit" href="?m=relasi"><span class="glyphicon glyphicon-arrow-left"></span> Kembali</a>
            </div>
        </form>
    </div>
</div>