-
Notifications
You must be signed in to change notification settings - Fork 0
/
cf.php
119 lines (100 loc) · 5.1 KB
/
cf.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<!DOCTYPE html>
<html>
<head>
<title> Ai-CF </title>
<link rel="icon" type="image/png" href="assets/img/icons/login-w-icon.png" />
<meta charset="utf-8">
<meta content="width=device-width, inital-scale=1, maximum-scale=1, user-scalable=no" name="viewport" >
<!--load css-->
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/styles.css">
<link rel="stylesheet" href="css/bootstrap-combobox.css">
<style type="text/css">
/* Adjust feedback icon position */
#productForm .selectContainer .form-control-feedback,
#productForm .inputGroupContainer .form-control-feedback {
right: -15px;
}
</style>
</head>
<body style="background-color:#c790fb;">
<div class="container" style="border-radius:20px;background-color:#8e23d9">
<div class="scroller slideCol ">
<div class="inner" style="color:#fff;">
<p>Sistem Pakar</p>
<p>untuk Menentukan</p>
<p>Penyakit</p>
<p>Skizofrenia</p>
</div>
</div>
</div>
<div class="container">
<form name="pilih1" method="post" action="cf.php">
<div class="col-md-12" >
<h2 style="text-align:center;">Dengan Metode Certainty Factor</h2>
<h1 style="text-align:center;">Ciri-ciri gejala</h1>
<div class="form-horizontal form-group">
<label class="control-label col-md-5" style="margin-top: 20px;text-align:center;">Apakah pasien mengalami delusi</label>
<div class="col-md-7 ">
<select class="form-control" name="delusi" id="delusi" style="margin-top: 20px;">
<option value=99>Choose a answer</option>
<option value=1>iya, lebih dari 21 hari</option>
<option value=0.5>mungkin iya, lebih dari 21 hari</option>
<option value=-0.5>mungkin kurang dari 21 hari</option>
<option value=-1>tidak sama sekali</option>
</select>
</div>
<label class="control-label col-md-5" style="margin-top: 20px;text-align:center;">Apakah pasien mengalami halusinasi</label>
<div class="col-md-7 ">
<select class="form-control" name="halusinasi" id="halus"style="margin-top: 20px;">
<option value="99">Choose a answer</option>
<option value="1">iya, lebih dari 21 hari</option>
<option value="0.5">mungkin iya, lebih dari 21 hari</option>
<option value="-0.5">mungkin kurang dari 21 hari</option>
<option value="-1">tidak sama sekali</option>
</select>
</div>
<label class="control-label col-md-5" style="margin-top: 20px;text-align:center;">Apakah perilaku pasien tidak terorganisir</label>
<div class="col-md-7 ">
<select class="form-control" name="to" id="to" style="margin-top: 20px;">
<option value="99">Choose a answer</option>
<option value="1">iya, lebih dari 21 hari</option>
<option value="0.5">mungkin iya, lebih dari 21 hari</option>
<option value="-0.5">mungkin kurang dari 21 hari</option>
<option value="-1">tidak sama sekali</option>
</select>
</div>
<label class="control-label col-md-5" style="margin-top: 20px;text-align:center;">Apakah pasien mengalami gangguan pemikiran</label>
<div class="col-md-7 ">
<select class="form-control" name="gp" id="gp"style="margin-top: 20px;">
<option value="99">Choose a answer</option>
<option value="1">iya, lebih dari 21 hari</option>
<option value="0.5">mungkin iya, lebih dari 21 hari</option>
<option value="-0.5">mungkin kurang dari 21 hari</option>
<option value="-1">tidak sama sekali</option>
</select>
</div>
</div>
</div>
<input type="submit" name="submit" id="submit" value="Submit">
<input type="submit" name="resetisi" id="reset" value="reset" onclick="resetisi()">
</form>
<div class="panel panel-danger" style="margin-top:15px;">
<div class="panel-heading">
RESULT
</div>
<div class="panel-body">
<?php include 'cfproses.php'; ?>
</div>
</div>
</div>
<script src='js/jquery.js'></script>
<script src='js/algoritma.js'></script>
<script src='js/bootstrap-combobox.js'></script>
<script>
function resetisi(){
document.getElemenbyId('panel-body').reset();
}
</script>
</body>
</html>