-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathformPembayaran.php
More file actions
71 lines (51 loc) · 1.92 KB
/
formPembayaran.php
File metadata and controls
71 lines (51 loc) · 1.92 KB
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
<?php
$id = $_GET['id'];
include 'koneksi.php';
$sqlGet = "SELECT * FROM pesan WHERE id_pesan = '$id'";
$query = mysqli_query($connect,$sqlGet);
$data = mysqli_fetch_array($query);
?>
<form class="form-horizontal" method="post" action="prosesConfirm.php?id=<?php echo $id; ?>" enctype="multipart/form-data">
<fieldset>
<!-- Form Name -->
<div class="box">
<center><legend><h2>Pembayaran</h2></legend></center>
<br><br>
<!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label" for="kategori">Tanggal Keberangkatan</label>
<div class="col-md-4">
<input id="tgl" name="tgl" type="text" placeholder="" class="form-control input-md" value="<?php echo $data['tgl']; ?>" readonly="readonly">
</div>
</div>
<!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label" for="harga">Kategori</label>
<div class="col-md-4">
<input id="kategori" name="kategori" type="text" placeholder="" class="form-control input-md" value="<?php echo $data['kategori']; ?>" readonly="readonly">
</div>
</div>
<!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label" for="harga">Tarif</label>
<div class="col-md-4">
<input id="harga" name="tarif" type="text" placeholder="" class="form-control input-md" value="<?php echo $data['harga']; ?>" readonly="readonly">
</div>
</div>
<div class="form-group">
<label class="col-md-4 control-label" for="filebutton">Upload bukti pembayaran</label>
<div class="col-md-4">
<input id="filebutton" name="fileToUpload" class="input-file" type="file">
</div>
</div>
<!-- Button (Double) -->
<div class="form-group">
<label class="col-md-4 control-label" for="simpan"></label>
<div class="col-md-8">
<button type="submit" id="" name="simpan" class="btn btn-primary">Simpan</button>
<button id="back" name="back" class="btn btn-danger">Back</button>
</div>
</div>
</div>
</fieldset>
</form>