-
Notifications
You must be signed in to change notification settings - Fork 1
/
input.php
executable file
·204 lines (172 loc) · 6.11 KB
/
input.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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>My project</title>
<link href='http://fonts.googleapis.com/css?family=Open+Sans&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="scripts/css/style.css">
<!-- jQuery -->
<script src="scripts/js/jquery.min.js"></script>
<script src="scripts/js/script.js?t=<?php echo time(); ?>"></script>
</head>
<body>
<div class="dashboard">
<form id="my_form" name="my_form" method="post" action="">
<div class="top-row">
<div class="column round-border">
<p><strong>Antecedent 1 Name</strong></p>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50%">Onset RainFall</td>
<td width="50%"><input name="onset_rainfall" type="text" id="onset_rainfall" size="10" /></td>
</tr>
<tr>
<td>Attribute Weight</td>
<td><select name="attribute_weight_1" id="attribute_weight_1">
<option>Default</option>
</select></td>
</tr>
<tr>
<td>Number of Ref Val</td>
<td><input name="number_of_ref_val_1" type="text" id="number_of_ref_val_1" size="10" /></td>
</tr>
<tr>
<td>Input</td>
<td><input name="input_1" type="text" id="input_1" size="10" /></td>
</tr>
</table>
</div>
<div class="column round-border">
<p><strong>Antecedent 2 Name</strong></p>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50%">Prolonged RainFall</td>
<td width="50%"><input name="prolonged_rainfall" type="text" id="prolonged_rainfall" size="10" /></td>
</tr>
<tr>
<td>Attribute Weight</td>
<td><select name="attribute_weight_2" id="attribute_weight_2">
<option>Default</option>
</select></td>
</tr>
<tr>
<td>Number of Ref Val</td>
<td><input name="number_of_ref_val_2" type="text" id="number_of_ref_val_2" size="10" /></td>
</tr>
<tr>
<td>Input</td>
<td><input name="input_2" type="text" id="input_2" size="10" /></td>
</tr>
</table>
</div>
<div class="column round-border">
<p><strong>Consequent Name</strong></p>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50%">Meterological Factor</td>
<td width="50%"><input name="meterological_factor" type="text" id="meterological_factor" size="10" /></td>
</tr>
<tr>
<td>Number of Ref Val</td>
<td><select name="number_of_ref_val_3" id="number_of_ref_val_3">
<option>Default</option>
</select></td>
</tr>
</table>
</div>
</div>
<div class="update-rulebase round-border">
<p><strong>UPDATE RULEBASE BY SELECTING BELOW</strong></p>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>IF <?php echo $_GET['node']; ?></td>
<td><select name="rule_base_dropdown_1" id="rule_base_dropdown_1">
<option>High</option>
</select></td>
<td>IF <?php echo $_GET['node']; ?></td>
<td><select name="rule_base_dropdown_2" id="rule_base_dropdown_2">
<option>High</option>
</select></td>
<td>IF <?php echo $_GET['node']; ?></td>
<td><input name="rule_base_text_input_1" type="text" id="rule_base_text_input_1" size="10" />
<input name="rule_base_text_input_2" type="text" id="rule_base_text_input_2" size="10" />
<input name="rule_base_text_input_3" type="text" id="rule_base_text_input_3" size="10" /></td>
</tr>
<tr>
<td colspan="6" align="center" class="update-button-cell"><input type="button" name="Submit" value="Update this Rule Base" onclick="load_results();" /></td>
</tr>
</table>
</div>
<div class="html_output">
<table cellpadding="0" cellspacing="1" border="0" style="width:100%" class="tableborder">
<tr>
<th>Serial</th>
<th>RuleWeight</th>
<th>Antecedent1</th>
<th>Antecedent1RefTitle</th>
<th>Antecedent2</th>
<th>Antecedent2RefTitle</th>
<th>Consequence</th>
</tr>
<tr>
<td class="td"> </td>
<td class="td"> </td>
<td class="td"> </td>
<td class="td"> </td>
<td class="td"> </td>
<td class="td"> </td>
<td class="td"> </td>
</tr>
<tr>
<td class="td"> </td>
<td class="td"> </td>
<td class="td"> </td>
<td class="td"> </td>
<td class="td"> </td>
<td class="td"> </td>
<td class="td"> </td>
</tr>
<tr>
<td class="td"> </td>
<td class="td"> </td>
<td class="td"> </td>
<td class="td"> </td>
<td class="td"> </td>
<td class="td"> </td>
<td class="td"> </td>
</tr>
<tr>
<td class="td"> </td>
<td class="td"> </td>
<td class="td"> </td>
<td class="td"> </td>
<td class="td"> </td>
<td class="td"> </td>
<td class="td"> </td>
</tr>
<tr>
<td class="td"> </td>
<td class="td"> </td>
<td class="td"> </td>
<td class="td"> </td>
<td class="td"> </td>
<td class="td"> </td>
<td class="td"> </td>
</tr>
</table>
</div>
<div class="final-row">
<div class="left-row round-border">
<input type="button" name="Submit" value="Input Transformation" onclick="load_results();" />
<input type="button" name="Submit" value="Activation weight" onclick="load_results();" />
<input type="button" name="Submit" value="Update" onclick="load_results();" />
<input type="button" name="Submit" value="Aggregation" onclick="load_results();" />
</div>
<div class="right-row">
<input type="button" name="Submit" value="Back" onclick="window.close();" />
</div>
</div>
</form>
</div>
</body>
</html>