-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathperiode_tambah.php
25 lines (25 loc) · 1.04 KB
/
periode_tambah.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
<div class="page-header">
<h1>Tambah Periode</h1>
</div>
<form method="post" action="?m=periode_tambah">
<div class="row">
<div class="col-sm-6">
<?php if($_POST) include'aksi.php'?>
<div class="form-group">
<label>Nama Periode <span class="text-danger">*</span></label>
<input class="form-control" type="number" name="nama" value="<?=$_POST[nama]?>"/>
</div>
<?php
foreach($JENIS as $key => $val):?>
<div class="form-group">
<label><?=$val?></label>
<input class="form-control" type="number" name="nilai[<?=$key?>]" value="<?=$_POST[nilai][$key]?>" />
</div>
<?php endforeach?>
</div>
</div>
<div class="form-group">
<button class="btn btn-primary"><span class="glyphicon glyphicon-save"></span> Simpan</button>
<a class="btn btn-danger" href="?m=periode"><span class="glyphicon glyphicon-arrow-left"></span> Kembali</a>
</div>
</form>