-
Notifications
You must be signed in to change notification settings - Fork 0
/
daftar.php
72 lines (69 loc) · 3.42 KB
/
daftar.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
<?php include("_header.php") ?>
<div class="container my-5">
<div class="row">
<div class="col-md-5 mx-auto border rounded shadow-sm px-4 py-5">
<h2 class="text-center">Form Pendaftaran Beasiswa</h2>
<form method="post" action="action/daftar.php" enctype="multipart/form-data">
<div class="mb-3">
<label for="nama" class="form-label">Nama Lengkap</label>
<input name="nama" type="text" class="form-control" id="nama" placeholder="adit" required>
</div>
<div class="mb-3">
<label for="email" class="form-label">Email</label>
<input name="email" type="Email" class="form-control" id="email" placeholder="mhs@kampus.ac.id" required>
</div>
<div class="mb-3">
<label for="no_hp" class="form-label">No. HP</label>
<input name="no_hp" type="number" class="form-control" id="no_hp" pattern="[0-9]{10,12}" placeholder="08123XXXXXXX" required>
</div>
<!-- nim input form -->
<div class="mb-3">
<label for="nim" class="form-label">NIM</label>
<input name="nim" type="number" class="form-control" id="nim" placeholder="1234567890" required>
</div>
<div class="mb-3">
<label for="semester" class="form-label">Semester Saat Ini</label>
<select name="semester" class="form-select" id="semester" required>
<option selected disabled value="">Pilih Semester</option>
<option value="1">Semester 1</option>
<option value="2">Semester 2</option>
<option value="3">Semester 3</option>
<option value="4">Semester 4</option>
<option value="5">Semester 5</option>
<option value="6">Semester 6</option>
<option value="7">Semester 7</option>
<option value="8">Semester 8</option>
</select>
</div>
<div class="mb-3">
<label for="ipk" class="form-label">IPK Terakhir</label>
<div class="input-group">
<input name="ipk" type="text" class="form-control bg-dark-subtle" id="ipk" placeholder="IPK" readonly>
<button class="btn btn-outline-secondary" type="button" id="ipkButton">Cek IPK Anda</button>
</div>
</div>
<div class="mb-3">
<label for="pilihanBeasiswa" class="form-label">Pilihan Beasiswa</label>
<select name="pilihan_beasiswa" class="form-select overflow-hidden" id="pilihanBeasiswa" disabled>
<option selected disabled value="">Pilih Beasiswa</option>
<option value="Beasiswa Prestasi">Beasiswa Prestasi</option>
<option value="Beasiswa Bidikmisi">Beasiswa Bidikmisi</option>
</select>
</div>
<div class="mb-3">
<label for="formFile" class="form-label">Berkas Syarat</label>
<input class="form-control" type="file" id="formFile" name="berkas" accept="application/pdf" required disabled>
<p class="form-text">
<small>File yang diunggah harus berformat .pdf dan ukuran maksimal 2MB</small>
</p>
</div>
<div class="row mb-3 column-gap-2">
<input id="submitButton" type="submit" class="col btn btn-primary w-full" name="submit" value="Daftar" disabled>
<a href="index.php" class="col btn btn-outline-primary w-full">Batal</a>
</div>
</form>
</div>
</div>
<script src="js/script.js"></script>
</div>
<?php include("_footer.php") ?>