当前位置: 首页>>代码示例>>PHP>>正文


PHP get_user_position函数代码示例

本文整理汇总了PHP中get_user_position函数的典型用法代码示例。如果您正苦于以下问题:PHP get_user_position函数的具体用法?PHP get_user_position怎么用?PHP get_user_position使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了get_user_position函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: get_emp_pos

 public function get_emp_pos()
 {
     $id = $this->input->post('id');
     if ($id == '0') {
         echo '-';
     } else {
         $id = get_nik($id);
         echo get_user_position($id);
     }
 }
开发者ID:ocpyosep78,项目名称:hris_client,代码行数:10,代码来源:dropdown.php

示例2: dateIndo

</td>
      <td align="center" class="style3"></td>
    </tr>
    <tr>
      <td align="center"><?php 
        echo dateIndo($row->date_app_lv1);
        ?>
<br/></td>
    <?php 
        if (!empty($row->user_app_lv3)) {
            ?>
      <td align="center"><?php 
            echo dateIndo($row->date_app_lv3);
            ?>
<br/><?php 
            echo '(' . get_user_position($row->user_app_lv3) . ')';
            ?>
</td>
      <?php 
        }
        ?>
      <td align="center"></td>
    </tr>
  </tbody>
</table>
<?php 
    }
    ?>

<?php 
}
开发者ID:ocpyosep78,项目名称:hris_client,代码行数:31,代码来源:resignment_pdf.php

示例3: get_name

            ?>
<p>Yang bersangkutan</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p class="wf-submit">
<span class="semi-bold">
<?php 
            echo get_name($td->created_by);
            ?>
</span><br/>
<span class="small"><?php 
            echo dateIndo($td->created_on);
            ?>
</span><br/>
<span class="small"><?php 
            echo get_user_position(get_nik($td->created_by));
            ?>
</span><br/>
</p>
<?php 
        }
        ?>

</div>

<div style="float: right;text-align: center; width: 45%;" class="style5">
<p>Yang memberi tugas / ijin</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<span class="semi-bold"><?php 
        echo get_name($td->task_creator);
开发者ID:ocpyosep78,项目名称:hris_client,代码行数:31,代码来源:spd_luar_group_pdf.php

示例4: get_user_organization

                        <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>
                    <div class="row form-row">
                      <div class="col-md-3">
                        <label class="form-label text-right">Tanggal Berangkat</label>
                      </div>
                      <div class="col-md-9">
                        <input name="form3LastName" id="form3LastName" type="text"  class="form-control" placeholder="Nama" value="<?php 
        echo dateIndo($td->date_spd);
        ?>
" disabled="disabled">
                      </div>
                    </div>
开发者ID:ocpyosep78,项目名称:hris_client,代码行数:31,代码来源:spd_dalam_report_mail.php

示例5: get_user_organization

                        <input name="organization" id="organization" type="text"  class="form-control" placeholder="Organization" value="<?php 
        echo get_user_organization($user_nik);
        ?>
" disabled="disabled">
                      </div>
                    </div>
                    <div class="row form-row">
                      <div class="col-md-4">
                        <label class="form-label text-right"><?php 
        echo lang('position');
        ?>
</label>
                      </div>
                      <div class="col-md-8">
                        <input name="position" 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-4">
                        <label class="form-label text-right"><?php 
        echo lang('cuti_remain');
        ?>
</label>
                      </div>
                      <div class="col-md-8">
                        <input name="sisa_cuti" id="sisa_cuti" type="text"  class="form-control" placeholder="Sisa Cuti" value="<?php 
        echo $sisa_cuti;
        ?>
开发者ID:ocpyosep78,项目名称:hris_client,代码行数:31,代码来源:cuti_email.php

示例6: get_user_organization

                        <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>
                    <div class="row form-row">
                      <div class="col-md-4">
                        <label class="form-label text-left">Tujuan</label>
                      </div>
                      <div class="col-md-8">
                        <input name="destination" id="destination" type="text"  class="form-control" placeholder="Tujuan" value="<?php 
        echo $td->destination;
        ?>
" disabled="disabled">
                      </div>
                    </div>
开发者ID:ocpyosep78,项目名称:hris_client,代码行数:31,代码来源:spd_luar_report_email.php

示例7: get_name

      <td></td>
    <tr>
      <td align="center"></td>
      <td align="center"><?php 
        echo get_name($row->user_app_lv3);
        ?>
<br/><?php 
        echo dateIndo($row->date_app_lv3);
        ?>
</td>
      <td align="center"></td>
    </tr>
    <tr >
      <td align="center"></td>
      <td align="center"><?php 
        echo get_user_position($row->user_app_lv3);
        ?>
</td>
      <td align="center"></td>
    </tr>
  </tbody>
</table>
<?php 
    }
    ?>

<?php 
}
?>
</body>
</html>
开发者ID:ocpyosep78,项目名称:hris_client,代码行数:31,代码来源:exit_pdf.php

示例8: elseif

        echo $type;
        ?>
" class="btn btn-success btn-cons" data-loading-text="Loading..."><i class="icon-ok"></i>Approve</button>
                        <?php 
    } elseif ($is_app_lv1 == 1) {
        ?>
                        <span class="semi-bold"><?php 
        echo get_name($user_app_lv1);
        ?>
</span><br/>
                        <span class="small"><?php 
        echo dateIndo($date_app_lv1);
        ?>
 </span><br/>  
                        <span class="semi-bold"><?php 
        echo get_user_position($user_app_lv1);
        ?>
</span><br/>
                      </div>
                      <?php 
    }
}
?>
                  </div>
                </form>
              </div>
          </div>
        </div>
      </div>
              
    
开发者ID:ocpyosep78,项目名称:hris_client,代码行数:29,代码来源:input_inventory.php

示例9: get_user_organization

                        <label class="form-label text-right">Dept/Bagian</label>
                      </div>
                      <div class="col-md-9">
                        <input name="org" id="org" type="text"  class="form-control" placeholder="Nama" value="<?php 
        echo get_user_organization($td->task_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="position" id="position" type="text"  class="form-control" placeholder="Nama" value="<?php 
        echo get_user_position($td->task_creator);
        ?>
" disabled="disabled">
                      </div>
                    </div>
                  </div>
                  <div class="col-md-7">
                    <h4>Memberi tugas / Ijin Kepada</h4>
                    
                    <div class="row form-row">
                      <div class="col-md-3">
                        <label class="form-label text-right">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($td->task_receiver);
开发者ID:ocpyosep78,项目名称:hris_client,代码行数:31,代码来源:spd_dalam_mail.php

示例10: get_name

            ?>
</td>
                              <td>&nbsp;<?php 
            echo get_name($receiver[$i]);
            ?>
</td>
                                <td  align="center"><?php 
            echo get_grade($receiver[$i]);
            ?>
</td>
                                <td>&nbsp;<?php 
            echo get_user_organization($receiver[$i]);
            ?>
</td>
                                <td>&nbsp;<?php 
            echo get_user_position($receiver[$i]);
            ?>
</td>
                                <td align="center"><?php 
            echo in_array($receiver[$i], $receiver_submit) ? "Ya" : "-";
            ?>
</td>
                              </tr>
                              <?php 
        }
        ?>
                            </tbody>
                          </table>
                      </div>
                    </div>
                    <div class="row form-row">
开发者ID:ocpyosep78,项目名称:hris_client,代码行数:31,代码来源:spd_luar_group_mail.php

示例11: get_user_organization

                        <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>
                     <div class="row form-row">
                      <div class="col-md-3">
                        <label class="form-label text-left">Tujuan</label>
                      </div>
                      <div class="col-md-9">
                        <input name="destination" id="destination" type="text"  class="form-control" placeholder="Tujuan" value="<?php 
        echo $td->destination;
        ?>
" disabled="disabled">
                      </div>
                    </div>
开发者ID:ocpyosep78,项目名称:hris_client,代码行数:31,代码来源:spd_luar_report_group_mail.php

示例12: get_name

                      </div>
                    <?php 
} else {
    ?>
                    <div class="col-md-12 text-center">
                    Diisi Oleh,<br/><br/>
                    <span class="semi-bold"><?php 
    echo get_name($user_submit);
    ?>
</span><br/>
                    <span class="small"><?php 
    echo dateIndo($date_submit);
    ?>
 </span><br/>  
                    <span class="semi-bold"><?php 
    echo get_user_position(get_nik($user_submit));
    ?>
</span><br/>
                    </div>
                    <?php 
}
?>
                  </div>
                </form>
              </div>
          </div>
        </div>
      </div>
              
    
      </div>
开发者ID:ocpyosep78,项目名称:hris_client,代码行数:31,代码来源:input_inventory.php

示例13: get_user_position

</span><br/>
                              <span class="semi-bold"></span>
                              <span class="semi-bold">(<?php 
            echo get_user_position($absen->user_app_lv3);
            ?>
)</span>
                            <?php 
        } else {
            ?>
                              <span class="small"></span><br/>
                              <span class="small"></span><br/>
                              <span class="semi-bold"></span><br/>
                              <span class="small"></span><br/>
                              <span class="semi-bold"></span><br/>
                              <span class="semi-bold"><?php 
            echo !empty($absen->user_app_lv3) ? get_user_position($absen->user_app_lv3) : '';
            ?>
</span>
                            <?php 
        }
        ?>
                          </p>
                        </div>
                          
                        <div class="col-md-3">
                          <p class="wf-approve-sp">
                            <?php 
        if ($absen->is_app_hrd == 0 && $this->approval->approver('absen') == $sess_nik) {
            ?>
                              <button id="btn_app_hrd" class="btn btn-success btn-cons" data-loading-text="Loading..."><i class="icon-ok"></i>Submit</button>
                              <span class="small"></span>
开发者ID:ocpyosep78,项目名称:hris_client,代码行数:31,代码来源:detail.php

示例14: get_user_organization

                        <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);
?>
" disabled="disabled">
                      </div>
                    </div>
                    <div class="row form-row">
                      <div class="col-md-3">
                        <label class="form-label text-right"><?php 
echo lang('cuti_remain');
?>
</label>
                      </div>
                      <div class="col-md-9">
                        <input name="sisa_cuti" id="sisa_cuti" type="text"  class="form-control" placeholder="Sisa Cuti" value="<?php 
echo $sisa_cuti;
?>
开发者ID:ocpyosep78,项目名称:hris_client,代码行数:31,代码来源:input.php

示例15: show_position_map

function show_position_map($w, $h)
{
    global $user, $user_position_path;
    // **  Control de Parámetros ** //
    // Altura y anchura del mapa configurable por parámetros GET 'w' y 'h'
    $map_width = $w;
    $map_height = $h;
    $latmap = 0;
    $longmap = 0;
    $latlong = get_user_position($user->ID);
    if ($latlong && count($latlong)) {
        $latmap = $latlong['lat'];
        $longmap = $latlong['lon'];
    }
    if (isset($lat) && isset($long)) {
        $latmap = $lat;
        $longmap = $long;
    }
    // Usuario
    $uid = $user->ID;
    // Google Maps API Keys configured in rodadas.php
    ?>
    <style type="text/css">
        /* Mapped
        --------------------------------
        User location plugin with Google Maps */

        #user_location {background:#F6F6F6; padding:10px; margin:0px;}

        #map_position {margin:0px auto; clear:both;}
    </style>
    <fieldset>
    <legend>Dónde estoy</legend>
    <div id="user_location">
        <script src="http://maps.google.com/maps?file=api&v=2&key=<?php 
    echo GMAPS_KEY;
    ?>
" type="text/javascript"></script>


        <div id="map_position" style="width: <?php 
    echo $map_width;
    ?>
px; height: <?php 
    echo $map_height;
    ?>
px"></div>
        <div class="clear"></div>
         <div id="map_buttons">
            <form id="user_location_form" action="http://localhost/foro/bb-plugins/rodadas/process_position.php" method="get">
                <input type="hidden" id="uid" name="uid" value="<?php 
    if (isset($uid)) {
        echo $uid;
    }
    ?>
"/>
                <input type="hidden" id="lblLat" name="lat" value="<?php 
    if (isset($latmap)) {
        echo $latmap;
    } else {
        echo 0;
    }
    ?>
"/>
                <input type="hidden" id="lblLong" name="lon" value="<?php 
    if (isset($longmap)) {
        echo $longmap;
    } else {
        echo 0;
    }
    ?>
"/>
            </form>
        </div>
       
        <script type="text/javascript" src="<?php 
    echo $user_position_path;
    ?>
/view_user_position.js"></script>
        <div class="clear"></div>
    </div>
    </fieldset>
<?php 
}
开发者ID:amrtn,项目名称:bb-rodadas,代码行数:84,代码来源:gmap.php


注:本文中的get_user_position函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。