function input() { $sess_id = $this->session->userdata('user_id'); $nik = get_nik($sess_id); if (!$this->ion_auth->logged_in()) { //redirect them to the login page redirect('auth/login', 'refresh'); } elseif (!is_spv($nik) && !is_admin() && !is_admin_bagian()) { return show_error('You must be an administrator to view this page.'); } else { $this->data['jurusan'] = getAll('recruitment_jurusan', array('is_deleted' => 'where/0')); $this->data['ipk'] = getAll('ipk', array('is_deleted' => 'where/0')); $this->data['toefl'] = getAll('toefl', array('is_deleted' => 'where/0')); $this->data['status'] = getAll('recruitment_status', array('is_deleted' => 'where/0')); $this->data['urgensi'] = getAll('recruitment_urgensi', array('is_deleted' => 'where/0')); $this->data['jenis_kelamin'] = getAll('jenis_kelamin', array('is_deleted' => 'where/0')); $this->data['pendidikan'] = getAll('recruitment_pendidikan', array('is_deleted' => 'where/0')); $this->data['komputer'] = getAll('recruitment_komputer', array('is_deleted' => 'where/0')); $this->data['brevet'] = getAll('recruitment_brevet', array('is_deleted' => 'where/0')); $this->data['sess_id'] = $this->session->userdata('user_id'); $this->data['all_users'] = getAll('users', array('active' => 'where/1', 'username' => 'order/asc'), array('!=id' => '1')); $this->get_bu(); $this->get_user_atasan(); $this->_render_page('form_recruitment/input', $this->data); } }
function input() { if (!$this->ion_auth->logged_in()) { //redirect them to the login page redirect('auth/login', 'refresh'); } elseif (!is_admin() && !is_admin_bagian()) { return show_error('You must be an administrator to view this page.'); } else { $sess_id = $this->session->userdata('user_id'); $this->data['bagian'] = get_user_organization(get_nik($sess_id)); $this->data['hubungan'] = getAll('medical_hubungan', array('is_deleted' => 'where/0'))->result_array(); $this->data['jenis'] = getAll('medical_jenis_pemeriksaan', array('is_deleted' => 'where/0'))->result_array(); $this->data['sess_id'] = $this->session->userdata('user_id'); $this->data['all_users'] = getAll('users', array('active' => 'where/1', 'username' => 'order/asc'), array('!=id' => '1')); $this->get_user_atasan(); $this->get_user_same_org(); $this->_render_page('form_medical/input', $this->data); } }
public function input() { $user_id = $this->data['sess_id'] = $this->session->userdata('user_id'); $sess_id = $this->session->userdata('user_id'); $nik = get_nik($sess_id); if (!$this->ion_auth->logged_in()) { //redirect them to the login page redirect('auth/login', 'refresh'); } elseif (!is_spv($nik) && !is_admin() && !is_admin_bagian()) { return show_error('You must be an administrator to view this page.'); } else { $sess_id = $this->data['sess_id'] = $this->session->userdata('user_id'); $this->data['sess_nik'] = get_nik($sess_id); $this->data['all_users'] = $this->ion_auth->where('id != ', 1)->users(); $this->get_user_atasan(); $this->get_penerima_tugas(); $this->get_penerima_tugas_satu_bu(); $this->_render_page('form_spd_dalam_group/input', $this->data); } }
<h3>Widget Settings</h3> </div> <div class="modal-body"> Widget settings form goes here </div> </div> <div class="clearfix"></div> <div class="content"> <div id="container"> <div class="row"> <div class="col-md-12"> <div class="grid simple "> <div class="grid-title no-border"> <h4>Daftar Permintaan <span class="semi-bold">Pelatihan</span></h4> <?php if (is_have_subordinate($sess_id) || is_admin() || is_admin_bagian()) { ?> <div class="tools"> <a href="<?php echo site_url('form_training/input'); ?> " class="config"></a> </div> <?php } ?> </div> <div class="grid-body no-border"> <br/> <?php echo form_open(site_url('form_training/keywords'));
public function input() { $user_id = $this->data['sess_id'] = $this->session->userdata('user_id'); $sess_id = $this->session->userdata('user_id'); $nik = get_nik($sess_id); if (!$this->ion_auth->logged_in()) { //redirect them to the login page redirect('auth/login', 'refresh'); } elseif (!is_spv($nik) && !is_admin() && !is_admin_bagian()) { return show_error('You must be an administrator to view this page.'); } else { $sess_id = $this->data['sess_id'] = $this->session->userdata('user_id'); $this->data['sess_nik'] = get_nik($sess_id); $this->data['all_users'] = $this->ion_auth->where('id != ', 1)->users(); $this->data['selected'] = getValue('id', 'users', array('id' => 'where/' . $sess_id)); $this->data['biaya_tambahan'] = getAll('pjd_biaya', array('type_grade' => 'where/0')); $this->get_penerima_tugas(); $this->get_penerima_tugas_satu_bu(); $this->get_user_atasan(); $this->data['transportation_list'] = getAll('transportation', array('is_deleted' => 'where/0'))->result(); $this->data['tl_num_rows'] = getAll('transportation', array('is_deleted' => 'where/0'))->num_rows(); $this->data['city_list'] = getAll('city', array('is_deleted' => 'where/0'))->result(); $this->data['cl_num_rows'] = getAll('city', array('is_deleted' => 'where/0'))->num_rows(); $this->_render_page('form_spd_luar_group/input', $this->data); } }
?> ">Training</a> </li> <li > <a href="<?php echo site_url('form_training_group'); ?> ">Training (Group)</a> </li> <li > <a href="<?php echo site_url('form_resignment'); ?> ">Resignment</a> </li> <li > <a href="<?php echo site_url('form_exit'); ?> ">Exit clearance</a> </li> <?php if (is_spv($nik) || is_admin() || is_admin_bagian()) { ?> <li > <a href="<?php echo site_url('form_medical'); ?> ">Medical</a> </li><?php } ?> </ul> </li> <!--<li class=""> <a href="javascript:;"> <i class="icon-custom-form"></i> <span class="title">Analisis & Laporan</span> <span class="arrow "></span> </a> <ul class="sub-menu"> <li > <a href="grids_simple.html">Laporan</a> </li> <li > <a href="grids_draggable.html">Analisa </a> </li> </ul>
var cell3=row.insertCell(2); cell3.innerHTML = "<select name='peserta[]' class='select2' style='width:100%'><?php foreach ($all_users as $key) { ?> <option value='<?php echo $key->nik; ?> '><?php echo $key->username . ' - ' . $key->nik; ?> </option><?php } ?> </select>"; <?php } elseif (is_admin_bagian()) { ?> var cell3=row.insertCell(2); cell3.innerHTML = "<select name='peserta[]' class='select2' style='width:100%'><?php foreach ($penerima_tugas_satu_bu as $key => $up) { ?> <option value='<?php echo $up['ID']; ?> '><?php echo $up['NAME'] . ' - ' . $up['ID']; ?> </option><?php } ?> </select>";
public function input() { $sess_id = $this->session->userdata('user_id'); $nik = get_nik($sess_id); if (!$this->ion_auth->logged_in()) { //redirect them to the login page redirect('auth/login', 'refresh'); } elseif (!is_spv($nik) && !is_admin() && !is_admin_bagian()) { return show_error('You must be an administrator to view this page.'); } else { $sess_id = $this->data['sess_id'] = $this->session->userdata('user_id'); $this->data['sess_nik'] = get_nik($sess_id); $this->data['all_users'] = getAll('users', array('active' => 'where/1', 'username' => 'order/asc'), array('!=id' => '1')); //render transportation $this->data['transportation_list'] = getAll('transportation')->result(); $this->data['tl_num_rows'] = getAll('transportation')->num_rows(); // render city $this->data['city_list'] = getAll('city')->result(); $this->data['cl_num_rows'] = getAll('city')->num_rows(); $this->data['biaya_tambahan'] = getAll('pjd_biaya', array('type_grade' => 'where/0')); //$this->data['biaya_fix'] = getAll('pjd_biaya', array('type_grade'=>'where/1')); $this->get_user_atasan(); $this->get_penerima_tugas(); $this->_render_page('form_spd_luar/input', $this->data); } }
?> <input type="hidden" name="emp" value="<?php echo $sess_id; ?> "> <?php } ?> <div class="row form-row"> <div class="col-md-2"> <label class="form-label text-right">Nama</label> </div> <div class="col-md-10"> <?php if (is_admin() || is_admin_bagian()) { ?> <select id="peserta" class="select2" style="width:100%" name="peserta"> <option value="0">- Pilih Peserta Training - </option> </select> <?php } else { ?> <?php if ($subordinate->num_rows() > 0) { ?> <select id="peserta" class="select2" style="width:100%" name="peserta"> <?php foreach ($subordinate->result() as $row) { ?> <option value="<?php
</div> <div class="col-md-3"> <input name="form3LastName" id="position" type="text" class="form-control" placeholder="Jabatan" value="<?php echo get_user_position($user_nik); ?> " disabled="disabled"> </div> </div> <div class="row form-row"> <div class="col-md-12"> <h4>Inventaris yang Dimiliki</h4> </div> </div> <?php if ($is_submit == 1 && is_admin_bagian()) { ?> <div class="row form-row"> <div class="col-md-12"> <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#updateInventarisModal"><i class="icon-edit"></i> Update Inventaris</button> </div> </div><br/> <?php } ?> <div class="row form-row"> <div class="col-md-12"> <table class="table no-more-tables"> <tr> <th>No</th> <th>Item</th>