<?php include 'monev_header.php'; ?>

<div class="breadcome-area">
    <div class="container-fluid">
        <div class="row">
            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                <div class="breadcome-list">
                    <div class="row">
                        <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
                            <div class="breadcome-heading">
                                <h4 style="margin-bottom: 0px">Upload Laporan</h4>
                            </div>
                        </div>
                        <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
                            <ul class="breadcome-menu" style="padding-top: 0px">
                                <li><a href="#">Home</a> <span class="bread-slash">/</span></li>
                                <li><span class="bread-blod">Arsip</span></li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="container-fluid">


    <div class="row">
        <div class="col-lg-6 col-lg-offset-3">
            <div class="panel panel">
                <div class="panel-body">

                    <div class="pull-right">            
                        <a href="monev.php" class="btn btn-sm btn-primary"><i class="fa fa-arrow-left"></i> Kembali</a>
                    </div>

                    <br>
                    <br>

                    <form method="post" action="monev_aksi.php" enctype="multipart/form-data">

						<div class="form-group">
                            <label>Nomor Surat Undangan</label>
                            <select class="form-control" name="kode_surat" required="required">
                                <option value="">Pilih Nomor Surat Undangan</option>
                                <?php 
                                $undangan = mysqli_query($koneksi,"SELECT * FROM undangan");
                                while($u = mysqli_fetch_array($undangan)){
                                    ?>
                                    <option value="<?php echo $u['kode_surat']; ?>"><?php echo $u['no_surat']; ?></option>
                                    <?php 
                                }
                                ?>
                            </select>
                        </div>
						
						 <div class="form-group">
                           <label>Jenis File Monev</label>
                           <select type="text" class="form-control" name="jenis_monev" required="required">
						            <option >Pilih Jenis File</option>
                                    <option value="Monev">Monitoring dan Evaluasi</option>
                                    <option value="Notulen">Notulensi</option>
									<option value="Daftar Hadir">Daftar Hadir</option>
									<option value="Dokumentasi">Dokumentasi</option>
                            </select>
                        </div>
						
						<div class="form-group">
                            <label>Nomor Urut Monev</label>
                            <input type="text" class="form-control" name="nomor_monev" required="required">
						</div>
						  
						 <div class="form-group">
                            <label>Nama File Monev</label>
                            <textarea class="form-control" name="nama_monev" required="required"></textarea>
                        </div>

                        <div class="form-group">
                            <label>File</label>
                            <input type="file" name="file">
							<label class="custom-file-label" for="foto">File berekstensi .pdf dan tidak boleh lebih dari 2MB</label>
									
                        </div>

                        <div class="form-group">
                            <label></label>
                            <input type="submit" class="btn btn-primary" value="Upload">
                        </div>

                    </form>

                </div>
            </div>
        </div>
    </div>


</div>


<?php include 'footer.php'; ?>