/
kebun_5basispanen.php
executable file
·207 lines (201 loc) · 8.48 KB
/
kebun_5basispanen.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
205
206
207
<?//@Copy nangkoelframework
require_once('master_validation.php');
include('lib/nangkoelib.php');
include_once('lib/zLib.php');
echo open_body();
include('master_mainMenu.php');
OPEN_BOX();
?>
<script language=javascript src=js/zMaster.js></script>
<link rel=stylesheet type=text/css href=style/zTable.css>
<p align="left"><u><b><font face="Arial" size="5" color="#000080">Basis Panen</font></b></u></p>
<?php
#======Select Prep======
$optTopografi = makeOption($dbname,'setup_topografi','topografi,keterangan');
#======End Select Prep======
#=======Form============
echo "<div style='margin-bottom:30px'>";
$els = array();
# Fields
$els[] = array(
makeElement('topografi','label',$_SESSION['lang']['topografi']),
makeElement('topografi','select','',array('style'=>'width:100px'),$optTopografi)
);
$els[] = array(
makeElement('keterangan','label',$_SESSION['lang']['keterangan']),
makeElement('keterangan','text','',array('style'=>'width:250px','maxlength'=>'50',
'onkeypress'=>'return tanpa_kutip(event)'))
);
$els[] = array(
makeElement('batasbawah','label',$_SESSION['lang']['batasbawah']),
makeElement('batasbawah','text','',array('style'=>'width:100px','maxlength'=>'10',
'onkeypress'=>'return angka_doang(event)'))
);
$els[] = array(
makeElement('batasatas','label',$_SESSION['lang']['batasatas']),
makeElement('batasatas','text','',array('style'=>'width:100px','maxlength'=>'10',
'onkeypress'=>'return angka_doang(event)'))
);
$els[] = array(
makeElement('basisboronglaki','label',$_SESSION['lang']['basisboronglaki']),
makeElement('basisboronglaki','text','',array('style'=>'width:100px','maxlength'=>'10',
'onkeypress'=>'return angka_doang(event)'))
);
$els[] = array(
makeElement('basisborongperempuan','label',$_SESSION['lang']['basisborongperempuan']),
makeElement('basisborongperempuan','text','',array('style'=>'width:100px','maxlength'=>'10',
'onkeypress'=>'return angka_doang(event)'))
);
$els[] = array(
makeElement('basistugaslaki','label',$_SESSION['lang']['basistugaslaki']),
makeElement('basistugaslaki','text','',array('style'=>'width:100px','maxlength'=>'10',
'onkeypress'=>'return angka_doang(event)'))
);
$els[] = array(
makeElement('basistugasperempuan','label',$_SESSION['lang']['basistugasperempuan']),
makeElement('basistugasperempuan','text','',array('style'=>'width:100px','maxlength'=>'10',
'onkeypress'=>'return angka_doang(event)'))
);
$els[] = array(
makeElement('satuan','label',$_SESSION['lang']['satuan']),
makeElement('satuan','text','',array('style'=>'width:50px','maxlength'=>'3',
'onkeypress'=>'return tanpa_kutip(event)'))
);
# Fields
$fieldStr = '##topografi##keterangan##batasbawah##batasatas##basisboronglaki##basisborongperempuan';
$fieldStr .= '##basistugaslaki##basistugasperempuan##satuan';
$fieldArr = explode("##",substr($fieldStr,2,strlen($fieldStr)-2));
# Button
$els['btn'] = array(
genFormBtn($fieldStr,
'kebun_5basispanen',"##topografi")
);
# Generate Field
echo genElement($els);
echo "</div>";
#=======End Form============
#=======Table===============
# Display Table
echo "<div style='height:200px;overflow:auto'>";
echo masterTable($dbname,'kebun_5basispanen',"*",array(),array(),null,array(),null,'topografi');
echo "</div>";
#=======End Table============
?>
<!--FORM NAME = " ">
<p align="center"><u><b><font face="Verdana" size="4" color="#000080">Basis Panen</font></b></u></p>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="87%" id="AutoNumber1" height="115">
<tr>
<td width="24%" height="1">
<p style="margin-top: 0; margin-bottom: 0">
<font face="Arial">Topografi</font></td>
<td width="46%" height="1">
<p style="margin-top: 0; margin-bottom: 0"><font face="Fixedsys">
<input type=text size="6" name="koderekening"> </font>
</td>
<td width="16%" height="1">
<p style="margin-top: 0; margin-bottom: 0">
</td>
</tr>
<tr>
<td width="24%" height="22">
<p style="margin-top: 0; margin-bottom: 0">
<font face="Arial">Keterangan</font></td>
<td width="46%" height="22">
<p style="margin-top: 0; margin-bottom: 0"><font face="Fixedsys">
<input type=text size="53" name="tanggal"></font></td>
<td width="16%" height="22">
<p style="margin-top: 0; margin-bottom: 0"> </td>
</tr>
<tr>
<td width="24%" height="1">
<p style="margin-top: 0; margin-bottom: 0">
<font face="Arial">Batas Bawah</font></td>
<td width="46%" height="1">
<p style="margin-top: 0; margin-bottom: 0"><font face="Fixedsys">
<input type=text size="6" name="koderekening"> </font>
</td>
<td width="16%" height="22">
<p style="margin-top: 0; margin-bottom: 0"> </td>
</tr>
<tr>
<td width="24%" height="1">
<p style="margin-top: 0; margin-bottom: 0">
<font face="Arial">Batas Atas</font></td>
<td width="46%" height="1">
<p style="margin-top: 0; margin-bottom: 0"><font face="Fixedsys">
<input type=text size="6" name="koderekening"> </font>
</td>
<td width="16%" height="22"> </td>
</tr><tr>
<td width="24%" height="1">
<p style="margin-top: 0; margin-bottom: 0">
<font face="Arial">Basis Borong Laki-laki</font></td>
<td width="46%" height="1">
<p style="margin-top: 0; margin-bottom: 0"><font face="Fixedsys">
<input type=text size="6" name="koderekening"> </font>
</td>
<td width="16%" height="22"> </td>
</tr><tr>
<td width="24%" height="1">
<p style="margin-top: 0; margin-bottom: 0">
<font face="Arial">Basis Borong Perempuan</font></td>
<td width="46%" height="1">
<p style="margin-top: 0; margin-bottom: 0"><font face="Fixedsys">
<input type=text size="6" name="koderekening"> </font>
</td>
<td width="16%" height="22"> </td>
</tr><tr>
<td width="24%" height="1">
<p style="margin-top: 0; margin-bottom: 0">
<font face="Arial">Basis Tugas Laki-laki</font></td>
<td width="46%" height="1">
<p style="margin-top: 0; margin-bottom: 0"><font face="Fixedsys">
<input type=text size="6" name="koderekening"> </font>
</td>
<td width="16%" height="22"> </td>
</tr>
<tr>
<td width="24%" height="1">
<p style="margin-top: 0; margin-bottom: 0">
<font face="Arial">Basis Tugas Perempuan</font></td>
<td width="46%" height="1">
<p style="margin-top: 0; margin-bottom: 0"><font face="Fixedsys">
<input type=text size="6" name="koderekening"> </font>
</td>
<td width="16%" height="22"> </td>
</tr>
<tr>
<td width="24%" height="1">
<p style="margin-top: 0; margin-bottom: 0">
<font face="Arial">Satuan</font></td>
<td width="46%" height="1">
<p style="margin-top: 0; margin-bottom: 0"><font face="Fixedsys">
<select size="1" name="D1">
<option>JJG</option>
<option>KG</option>
</select> </font>
</td>
<td width="16%" height="22"> </td>
</tr>
</table>
<p style="margin-top: 0; margin-bottom: 0"> </p>
<p style="margin-top: 0; margin-bottom: 0"><font face="Fixedsys">
<input type="submit" value="Simpan" name="Simpan">
<input type="reset" value="Batal" name="Batal"></font></p>
<p style="margin-top: 0; margin-bottom: 0"> </p>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2"><tr><td width="7%" align="center">Topografi</td><td width="19%" align="center">Keterangan</td><td width="11%" align="center">Batas Bawah</td><td width="13%" align="center">Batas Atas</td><td width="14%" align="center">Basis Borong Laki-laki</td><td width="16%" align="center">Basis Borong Perempuan</td><td width="20%" align="center">Basis Tugas Laki-laki</td><td width="28%" align="center">Basis Tuga Perempuan</td><td width="16%" align="center">
Satuan</td></tr><tr><td width="7%"> </td><td width="19%"> </td>
<td width="11%"> </td>
<td width="13%"> </td>
<td width="14%"> </td>
<td width="16%"> </td>
<td width="20%"> </td>
<td width="28%"> </td>
<td width="16%"> </td>
</tr></table>
<p><font face="Fixedsys"> </font></p-->
<?
CLOSE_BOX();
echo close_body();
?>