本文整理汇总了PHP中get_user_organization函数的典型用法代码示例。如果您正苦于以下问题:PHP get_user_organization函数的具体用法?PHP get_user_organization怎么用?PHP get_user_organization使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了get_user_organization函数的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: get_emp_org
public function get_emp_org()
{
$id = $this->input->post('id');
if ($id == '0') {
echo '-';
} else {
$id = get_nik($id);
echo get_user_organization($id);
}
}
示例2: dateIndo
<input name="seniority_date" id="seniority_date" type="text" class="form-control" placeholder="Lama Bekerja" value="<?php
echo dateIndo(get_user_sen_date($sess_nik));
?>
" disabled="disabled">
</div>
</div>
<div class="row form-row">
<div class="col-md-3">
<label class="form-label text-right"><?php
echo lang('dept_div');
?>
</label>
</div>
<div class="col-md-9">
<input name="organization" id="organization" type="text" class="form-control" placeholder="Organization" value="<?php
echo get_user_organization($sess_nik);
?>
" disabled="disabled">
</div>
</div>
<div class="row form-row">
<div class="col-md-3">
<label class="form-label text-right"><?php
echo lang('position');
?>
</label>
</div>
<div class="col-md-9">
<input name="position" id="position" type="text" class="form-control" placeholder="Jabatan" value="<?php
echo get_user_position($sess_nik);
?>
示例3: get_name
<label class="form-label text-right">Nama</label>
</div>
<div class="col-md-9">
<input name="form3LastName" id="form3LastName" type="text" class="form-control" placeholder="Nama" value="<?php
echo get_name($report_creator);
?>
" disabled="disabled">
</div>
</div>
<div class="row form-row">
<div class="col-md-3">
<label class="form-label text-right">Dept/Bagian</label>
</div>
<div class="col-md-9">
<input name="form3LastName" id="form3LastName" type="text" class="form-control" placeholder="Nama" value="<?php
echo get_user_organization($report_creator);
?>
" disabled="disabled">
</div>
</div>
<div class="row form-row">
<div class="col-md-3">
<label class="form-label text-right">Jabatan</label>
</div>
<div class="col-md-9">
<input name="form3LastName" id="form3LastName" type="text" class="form-control" placeholder="Nama" value="<?php
echo get_user_position($report_creator);
?>
" disabled="disabled">
</div>
</div>
示例4: get_user_bu
?>
</span></td>
</tr>
<tr>
<td height="45"><span class="style3">Unit Bisnis </span></td>
<td height="45"><div align="center">:</div></td>
<td height="45"><span class="style3"><?php
echo get_user_bu($user_nik);
?>
</span></td>
</tr>
<tr>
<td height="45"><span class="style3">Dept/Bagian </span></td>
<td height="45"><div align="center">:</div></td>
<td height="45"><span class="style3"><?php
echo get_user_organization($user_nik);
?>
</span></td>
</tr>
<tr>
<td height="45"><span class="style3">Jabatan</span></td>
<td height="45"><div align="center">:</div></td>
<td height="45"><span class="style3"><?php
echo get_user_position($user_nik);
?>
</span></td>
</tr>
<tr>
<td height="45"><span class="style3">Tanggal Mulai Bekerja</span></td>
<td height="45"><div align="center">:</div></td>
<td height="45"><span class="style3"><?php
示例5: get_name
<label class="form-label text-left">Nama</label>
</div>
<div class="col-md-8">
<input name="form3LastName" id="form3LastName" type="text" class="form-control" placeholder="Nama" value="<?php
echo get_name($td->task_receiver);
?>
" disabled="disabled">
</div>
</div>
<div class="row form-row">
<div class="col-md-4">
<label class="form-label text-left">Dept/Bagian</label>
</div>
<div class="col-md-8">
<input name="form3LastName" id="form3LastName" type="text" class="form-control" placeholder="Nama" value="<?php
echo get_user_organization($td->task_receiver);
?>
" disabled="disabled">
</div>
</div>
<div class="row form-row">
<div class="col-md-4">
<label class="form-label text-left">Jabatan</label>
</div>
<div class="col-md-8">
<input name="form3LastName" id="form3LastName" type="text" class="form-control" placeholder="Nama" value="<?php
echo get_user_position($td->task_receiver);
?>
" disabled="disabled">
</div>
</div>
示例6: get_name
?>
</td>
<td align="center"><?php
echo $receiver[$i];
?>
</td>
<td> <?php
echo get_name($receiver[$i]);
?>
</td>
<td align="center"><?php
echo get_grade($receiver[$i]);
?>
</td>
<td> <?php
echo get_user_organization($receiver[$i]);
?>
</td>
<td> <?php
echo get_user_position($receiver[$i]);
?>
</td>
<td align="center"><?php
echo in_array($receiver[$i], $receiver_submit) ? "Ya" : "-";
?>
</td>
</tr>
<?php
}
?>
</tbody>
示例7: form_medical_pdf
function form_medical_pdf($id)
{
if (!$this->ion_auth->logged_in()) {
//redirect them to the login page
redirect('auth/login', 'refresh');
}
$form_medical = $this->data['form_medical'] = $this->form_medical_model->form_medical($id)->result();
$user_id = getValue('user_id', 'users_medical', array('id' => 'where/' . $id));
$this->data['bagian'] = get_user_organization(get_nik($user_id));
$this->data['detail'] = $this->form_medical_model->form_medical_detail($id)->result_array();
$this->data['detail_hrd'] = $this->form_medical_model->form_medical_hrd($id)->result_array();
$this->data['total_medical_hrd'] = $this->form_medical_model->get_total_medical_hrd($id);
$form_medical = $this->data['form_medical'] = $this->form_medical_model->form_medical($id)->result();
$this->data['_num_rows'] = $this->form_medical_model->form_medical($id)->num_rows();
$this->data['id'] = $id;
$title = $this->data['title'] = 'REKAPITULASI RAWAT JALAN & INAP - ' . $id;
$this->load->library('mpdf60/mpdf');
$html = $this->load->view('medical_pdf', $this->data, true);
$mpdf = new mPDF();
$mpdf = new mPDF('A4');
$mpdf->WriteHTML($html);
$mpdf->Output($id . '-' . $title . '.pdf', 'I');
}
示例8: dateIndo
$date_end_cuti = dateIndo($user->date_selesai_cuti);
$approved = assets_url('img/approved_stamp.png');
$rejected = assets_url('img/rejected_stamp.png');
?>
<table width="1000" height="135" border="0" align="center" style="padding-left:30px">
<tr>
<td width="220" height="30"><span class="style3">NIK</span></td>
<td width="10"><div align="center" class="style3">:</div></td>
<td width="274"><div align="left" class="style3"><?php
echo $user_nik;
?>
</div></td>
<td width="200"><span class="style3">Dept/Bagian</span></td>
<td width="10"><div align="center" class="style3">:</div></td>
<td width="300"><span class="style3"><?php
echo ucwords(strtolower(get_user_organization($user_nik)));
?>
</span></td>
</tr>
<tr>
<td height="40"><span class="style3">Nama Karyawan </span></td>
<td><div align="center" class="style3">:</div></td>
<td><span class="style3"><?php
echo get_name($user->user_id);
?>
</span></td>
<td><span class="style3">Posisi</span></td>
<td><div align="center" class="style3">:</div></td>
<td><span class="style3"><?php
echo ucwords(strtolower(get_user_position($user_nik)));
?>
示例9: get_name
<label class="form-label text-right">Nama</label>
</div>
<div class="col-md-9">
<input name="form3LastName" id="form3LastName" type="text" class="form-control" placeholder="Nama" value="<?php
echo get_name($user->user_pengaju_id);
?>
" disabled="disabled">
</div>
</div>
<div class="row form-row">
<div class="col-md-3">
<label class="form-label text-right">Dept/Bagian</label>
</div>
<div class="col-md-9">
<input name="form3LastName" id="form3LastName" type="text" class="form-control" placeholder="Nama" value="<?php
echo get_user_organization(get_nik($user->user_pengaju_id));
?>
" disabled="disabled">
</div>
</div>
<div class="row form-row">
<div class="col-md-3">
<label class="form-label text-right">Jabatan</label>
</div>
<div class="col-md-9">
<input name="form3LastName" id="form3LastName" type="text" class="form-control" placeholder="Nama" value="<?php
echo get_user_position(get_nik($user->user_pengaju_id));
?>
" disabled="disabled">
</div>
</div>
示例10: get_user_organization
<label class="form-label text-right">Tanggal</label>
</div>
<div class="col-md-8">
<div class="input-append date success no-padding">
<input type="text" class="form-control" name="date_tidak_hadir" required>
<span class="add-on"><span class="arrow"></span><i class="icon-th"></i></span>
</div>
</div>
</div>
<div class="row form-row">
<div class="col-md-3">
<label class="form-label text-right">Dept/Bagian</label>
</div>
<div class="col-md-9">
<input name="organization" id="organization" type="text" class="form-control" placeholder="Organization" value="<?php
echo !empty(get_user_organization($sess_nik)) ? get_user_organization($sess_nik) : '-';
?>
" disabled="disabled">
</div>
</div>
<div class="row form-row">
<div class="col-md-3">
<label class="form-label text-right">Keterangan</label>
</div>
<div class="col-md-9">
<div class="radio">
<?php
if ($keterangan_absen->num_rows() > 0) {
foreach ($keterangan_absen->result() as $row) {
?>
<input id="tidak_absen_in_<?php
示例11: get_name
<label class="form-label text-left">Nama</label>
</div>
<div class="col-md-9">
<input name="name" id="name" type="text" class="form-control" placeholder="Nama" value="<?php
echo get_name($created_by);
?>
" disabled="disabled">
</div>
</div>
<div class="row form-row">
<div class="col-md-3">
<label class="form-label text-left">Dept/Bagian</label>
</div>
<div class="col-md-9">
<input name="org" id="org" type="text" class="form-control" placeholder="Nama" value="<?php
echo !empty(get_user_organization($created_by)) ? get_user_organization($created_by) : '-';
?>
" disabled="disabled">
</div>
</div>
<div class="row form-row">
<div class="col-md-3">
<label class="form-label text-left">Jabatan</label>
</div>
<div class="col-md-9">
<input name="position" id="position" type="text" class="form-control" placeholder="Nama" value="<?php
echo !empty(get_user_position($created_by)) ? get_user_position($created_by) : '-';
?>
" disabled="disabled">
</div>
</div>
示例12: dateIndo
"><?php
echo dateIndo($row->created_on);
?>
</a></td>
<td>
<a href="<?php
echo site_url('form_medical/detail/' . $row->id);
?>
"><?php
echo get_name($row->user_id);
?>
</a>
</td>
<td>
<?php
echo get_user_organization(get_nik($row->user_id));
?>
</td>
<td style="text-align:center;">
<?php
echo $txt_app_lv1;
?>
</td>
<td style="text-align:center;">
<?php
echo $txt_app_lv2;
?>
</td>
<td style="text-align:center;">
<?php
echo $txt_app_lv3;
示例13: getAll
$receiver = getAll('users_spd_dalam_group', array('id' => 'where/' . $id))->row('task_receiver');
$p = explode(",", $receiver);
$n = '';
for ($i = 0; $i < sizeof($p); $i++) {
?>
<tr>
<td><?php
echo $p[$i];
?>
</td>
<td><?php
echo get_name($p[$i]);
?>
</td>
<td><?php
echo get_user_organization($p[$i]);
?>
</td>
<td><?php
echo get_user_position($p[$i]);
?>
</td>
<td align="center"><?php
echo in_array($p[$i], $receiver_submit) ? "Ya" : "-";
?>
</td>
</tr>
<?php
}
?>
</tbody>