[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
Backup
/
14082024
/
Data
/
htdocs
/
htdocs
/
pmb
/
application
/
views
/
admin
/
[
Home
]
File: bg_thn_ajaran.php
<script src="<?php echo base_url(); ?>assets/tinymce/js/tinymce/tinymce.min.js"></script> <script> tinymce.init({ selector: 'textarea', height: 100, menubar: false, plugins: [ 'advlist autolink lists link image charmap print preview anchor', 'searchreplace visualblocks code fullscreen', 'insertdatetime media table contextmenu paste code' ], toolbar: 'undo redo | insert | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image', content_css: '//www.tinymce.com/css/codepen.min.css' }); </script> <div class="row"> <div class="col-md-6"> <div class="box box-danger"> <div class="box-header"> <h2 class="box-title">Pengaturan</h2> </div> <div class="box-body"> <form method="post" action="<?php echo base_url();?>admin/changColor"> <table class="table table-striped projects"> <?php foreach ($warna->result() as $key) {?> <tr> <th style="width: 20%">Tahun Penerimaan</th> <td> <p><input type="text" name="thn" value="<?php echo $key->tahunPenerimaan;?>"> <?php echo $key->tahunPenerimaan;?></p> </td> </tr> <tr> <th style="width: 20%">Judul</th> <td> <input type="text" name="judul" value="<?php echo $key->judul;?>" style="width: 100%;"> </td> </tr> <tr> <th style="width: 20%">Warna head template</th> <td> Warna head: <input type="color" name="warna" value="<?php echo $key->warna;?>"> Garis bawah: <input type="color" name="line" value="<?php echo $key->line;?>"> </td> </tr> <?php } ?> </table> <input type="submit" name="save" value="Simpan pengaturan umum"> </form> </div> <!-- /.box-body --> <hr> <form method="post" action="<?php echo base_url();?>admin/changJurusan"> <table class="table table-striped projects"> <tr> <th style="width: 20%">Kode Jurusan</th> <td> <input type="text" name="kd_jurusan" value="" style="width: 40%;"> </td> </tr> <tr> <th style="width: 20%">Jurusan</th> <td> <input type="text" name="jurusan" value="" style="width: 70%;"> </td> </tr> </table> <input type="submit" name="save" value="Simpan pengaturan jurusan"> </form> <table class="table table-striped projects"> <tr> <th>Kode Jurusan</th> <th>Jurusan</th> <th>Delete</th> </tr> <?php foreach ($jurusan->result() as $value) {?> <tr> <td><?php echo $value->kd_jurusan;?></td> <td><?php echo $value->jurusan;?></td> <td><a href="<?php echo base_url();?>admin/delJurusan/<?= $value->id_jurusan;?>" onClick='return confirm("Anda yakin...??")'>Delete</a> </td> </tr> <?php } ?> </table> </div></div> <div class="col-md-6"> <div class="box box-primary"> <div class="box-header"> <?php echo $this->session->flashdata('pesan');?> <h3> Upload Jadwal Pendaftaran</h3> <form method="post" action="<?php echo base_url();?>admin/savePengumuman" enctype="multipart/form-data" /> <input type="file" name="file1" id="fileku"><br> <div class="col-sm-10"> <textarea name="keterangan" class="form-control"></textarea> </br> <input type="submit" value="Save" > </div> </form> </div> </br> <table class="table table-striped"> <tr> <th style="width:15%;">Upload</th> <th style="width:15%;">Judul</th> <th style="width:15%;">Delete</th> </tr> <?php foreach ($pegumuman->result() as $key ) { echo'<tr> <td> <a href="'.base_url().'assets/pengumuman/'.$key->upload.'" data-rel="colorbox"> '.$key->upload.' </a> </td> <td><strong>'.$key->keterangan.'</td> <td><a href="'.base_url().'admin/deletePengumuman/'.$key->id_pengumuman.'"><i class="fa fa-fw fa-trash-o"></i> Delete </a></td> </tr>'; }?> </table> </div> </div> </div>