-
Notifications
You must be signed in to change notification settings - Fork 0
/
form_siswa.php
67 lines (67 loc) · 1.47 KB
/
form_siswa.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
<?php
session_start();
if ($_SESSION['level'] != '1'){
header("location:index.php");
}
include('koneksi.php');
include('hasil_form.php' )
?>
<style type="text/css">
.table{
font:normal 12px Tahoma,verdana;
border:silver 1px solid;
width:350px;
}
.table tr td{
border-bottom:silver 1px solid;
border-right:silver 1px solid;
padding:0 5px 0 5px;
}
.table tr td.title{
font:bold 12px Tahoma,verdana;
background-color:#999999;
color:#000000;
}
input{
font:normal 12px Tahoma,verdana;
}
#eror{
width:345px;;
border:red 1px solid;
margin-left:auto;
margin-right:auto;
margin-bottom:5px;
padding:0 0 0 5px;
}
#msg{
width:345px;;
border:green 1px solid;
margin-left:auto;
margin-right:auto;
margin-bottom:5px;
padding:0 0 0 5px;
}
</style>
<form method="post" enctype="multipart/form-data" action="">
<table class="table" cellpadding="0" cellspacing="0" align="center">
<tr>
<td colspan="2" height="25" class="title">Form Upload File</td>
</tr>
<tr>
<td width="100">File</td>
<td><input type="file" name="data_upload" /></td>
</tr>
<tr>
<td width="100">tipe</td>
<td><input type='checkbox' name='Kartu' value='pelajar'>Kartu Pelajar</input><input type='checkbox' name='Kartu' value='asruransi'>Asruransi</input>
</tr>
<tr>
<td width="100" valign="top">Keterangan</td>
<td><textarea name="keterangan" cols="30" rows="3"></textarea></td>
</tr>
<tr>
<td></td>
<td><input type="submit" name="btnUpload" value="Upload" /></td>
</tr>
</table>
</form>