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


PHP admin_ms_site函数代码示例

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


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

示例1: remove

 public function remove()
 {
     $status = $this->position_ms_model->update_delete();
     if ($status) {
         $data['url_back'] = admin_ms_site('position');
         $data['succes_message'] = 'delete_success';
         $this->template->append_page_section('block/success_block');
         $this->template->render_admin_template($this, $data);
     } else {
         redirect(admin_ms_site('position/action_error'));
     }
 }
开发者ID:thanakrit-promsiri,项目名称:employee_management,代码行数:12,代码来源:Position.php

示例2: echo_line

                                <tbody>
                                    <tr class="odd gradeA">
                                        <td align="center"> <?php 
echo_line('weather_name');
?>
 </td>
                                        <td>
                                            <input class="form-control" placeholder="กรอกสภาพอากาศ" name="weather_name" id="weather_name" value="{weather_name}" type="text" required="" autofocus=""></td>
                                    </tr>

                                    <tr class="odd gradeA">
                                        <td colspan="2" align="center">
                                            <button type="submit" class="btn btn-success">บันทึก</button>
                                            <button type="reset" class="btn btn-warning">ยกเลิก</button>
                                              <a href="<?php 
echo admin_ms_site('weather/');
?>
">
                                                <button type="button" class="btn btn-primary"> กลับ </button>
                                            </a>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </form>
                    </div>
                </div>
                <!-- /.row (nested) -->
            </div>
            <!-- /.panel-body -->
        </div>
开发者ID:thanakrit-promsiri,项目名称:employee_management,代码行数:31,代码来源:weather_form.php

示例3: echo_line

echo_line('type_progress_name');
?>
</td>
                                        <td>
                                            <input class="form-control" placeholder="กรอก<?php 
echo_line('type_progress_name');
?>
" name="progress_name" id="progress_name" value="{progress_name}" type="text" required="" autofocus=""></td>
                                    </tr>

                                    <tr class="odd gradeA">
                                        <td colspan="2" align="center">
                                            <button type="submit" class="btn btn-success">บันทึก</button>
                                            <button type="reset" class="btn btn-warning">ยกเลิก</button>
                                               <a href="<?php 
echo admin_ms_site('typeprogress/');
?>
">
                                                <button type="button" class="btn btn-primary"> กลับ </button>
                                            </a>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </form>
                    </div>
                </div>
                <!-- /.row (nested) -->
            </div>
            <!-- /.panel-body -->
        </div>
开发者ID:thanakrit-promsiri,项目名称:employee_management,代码行数:31,代码来源:typeprogress_form.php

示例4: admin_ms_site

            <div class="panel-body">
                <?php 
if (isset($error_msg)) {
    ?>
                    <div class="alert alert-danger">
                        <?php 
    echo $error_msg;
    ?>
                    </div>
                <?php 
}
?>
                <div class="row">
                    <div class="col-lg-6">
                        <form role="form" action="<?php 
echo admin_ms_site('companyholidays/save');
?>
" method="post">
                            <?php 
if (isset($holiday_id)) {
    ?>
                                <input type="hidden" id="holiday_id" name="holiday_id" value="<?php 
    echo num_param_url_encode($holiday_id);
    ?>
">
                            <?php 
}
?>
  

                            <table class="table table-striped table-bordered table-hover" id="dataTables-example">
开发者ID:thanakrit-promsiri,项目名称:employee_management,代码行数:31,代码来源:companyholidays_form.php

示例5: admin_ms_site

                        </tbody>
                    </table>
                </div>
            </div>
            <!-- /.panel-body -->
        </div>
        <!-- /.panel -->
    </div>
    <!-- /.col-lg-12 -->
</div>
<!-- /.row -->

<div class="container">
    <!-- Modal -->
    <form role="form" action="<?php 
echo admin_ms_site('emaillist/remove');
?>
" method="post">
        <div class="modal fade" id="myModal" role="dialog">
            <div class="modal-dialog modal-sm">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal">&times;</button>
                        <h4 class="modal-title">ยืนยันการลบ</h4>
                    </div>
                    <div class="modal-body">
                        <p>คุณต้องการลบข้อมูลนี้หรือไม่ ?</p>
                    </div>
                    <div class="modal-footer">
                        <input type="hidden"  name="email_id" id="email_id">
                        <button type="submit" id="confirm-delete" class="btn btn-danger "> ลบ </button>
开发者ID:thanakrit-promsiri,项目名称:employee_management,代码行数:31,代码来源:emaillist_show_all.php

示例6: admin_tr_site

 </a>
                    <li>

                    <li>
                        <a href="<?php 
echo admin_tr_site('roleuser');
?>
"> <?php 
echo_line('menu_roleuser');
?>
 </a>
                    <li>

                    <li>
                        <a href="<?php 
echo admin_ms_site('urllist');
?>
"> <?php 
echo_line('menu_roleurl');
?>
 </a>
                    <li>

                    <li>
                        <a href="<?php 
echo admin_tr_site('user');
?>
"> <?php 
echo_line('menu_user');
?>
 </a>
开发者ID:thanakrit-promsiri,项目名称:employee_management,代码行数:31,代码来源:navigation.php

示例7: admin_ms_site

            <div class="panel-body">
                <?php 
if (isset($error_msg)) {
    ?>
                    <div class="alert alert-danger">
                        <?php 
    echo $error_msg;
    ?>
                    </div>
                <?php 
}
?>
                <div class="row">
                    <div class="col-lg-6">
                        <form role="form" action="<?php 
echo admin_ms_site('typeleave/save');
?>
" method="post">
                            <?php 
if (isset($type_leave_id)) {
    ?>
                                <input type="hidden" id="type_leave_id" name="type_leave_id" value="<?php 
    echo num_param_url_encode($type_leave_id);
    ?>
">
                            <?php 
}
?>
  

                            <table class="table table-striped table-bordered table-hover" id="dataTables-example">
开发者ID:thanakrit-promsiri,项目名称:employee_management,代码行数:31,代码来源:typeleave_form.php

示例8: admin_ms_site

                                    <tr>
                                        <th>team_leader</th>
                                        <td>{team_leader}</td>                                          
                                    </tr>

                                    <tr>
                                        <th>team_approve</th>
                                        <td>{team_approve}</td>                                          
                                    </tr>

                                    
                                    <tr class="odd gradeA">
                                        <td colspan="2" align="center">   
                                            <a href="<?php 
echo admin_ms_site('teammember/');
?>
">
                                                <button type="button" class="btn btn-primary"> กลับ </button>
                                            </a>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                        <!-- /.table-responsive -->

                    </div>

                </div>
                <!-- /.row (nested) -->
开发者ID:thanakrit-promsiri,项目名称:employee_management,代码行数:30,代码来源:teammember_show.php

示例9: echo_line

                                    </tr>

                                    <tr>
                                        <th><?php 
echo_line('project_detail');
?>
</th>
                                        <td>{detail}</td>                                          
                                    </tr>

                             
                                    
                                    <tr class="odd gradeA">
                                        <td colspan="2" align="center">   
                                            <a href="<?php 
echo admin_ms_site('project/');
?>
">
                                                <button type="button" class="btn btn-primary"> กลับ </button>
                                            </a>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                        <!-- /.table-responsive -->

                    </div>

                </div>
                <!-- /.row (nested) -->
开发者ID:thanakrit-promsiri,项目名称:employee_management,代码行数:31,代码来源:project_show.php

示例10: admin_ms_site

            <div class="panel-body">
                <?php 
if (isset($error_msg)) {
    ?>
                    <div class="alert alert-danger">
                        <?php 
    echo $error_msg;
    ?>
                    </div>
                <?php 
}
?>
                <div class="row">
                    <div class="col-lg-6">
                        <form role="form" action="<?php 
echo admin_ms_site('position/save');
?>
" method="post">
                            <?php 
if (isset($position_id)) {
    ?>
                                <input type="hidden" id="position_id" name="position_id" value="<?php 
    echo num_param_url_encode($position_id);
    ?>
">
                            <?php 
}
?>
  

                            <table class="table table-striped table-bordered table-hover" id="dataTables-example">
开发者ID:thanakrit-promsiri,项目名称:employee_management,代码行数:31,代码来源:position_form.php

示例11: admin_ms_site

            <div class="panel-body">
                <?php 
if (isset($error_msg)) {
    ?>
                    <div class="alert alert-danger">
                        <?php 
    echo $error_msg;
    ?>
                    </div>
                <?php 
}
?>
                <div class="row">
                    <div class="col-lg-6">
                        <form role="form" action="<?php 
echo admin_ms_site('company/save');
?>
" method="post">
                            <?php 
if (isset($company_id)) {
    ?>
                                <input type="hidden" id="company_id" name="company_id" value="<?php 
    echo num_param_url_encode($company_id);
    ?>
">
                            <?php 
}
?>
  

                            <table class="table table-striped table-bordered table-hover" id="dataTables-example">
开发者ID:thanakrit-promsiri,项目名称:employee_management,代码行数:31,代码来源:company_form.php

示例12: admin_ms_site

                <div class="row">
                    <div class="col-lg-6">

                        <div class="table-responsive">
                            <table class="table table-bordered table-striped">                               
                                <tbody>
                                    <tr>
                                        <th>province_name</th>
                                        <td>{province_name}</td>                                          
                                    </tr>

                                    
                                    <tr class="odd gradeA">
                                        <td colspan="2" align="center">   
                                            <a href="<?php 
echo admin_ms_site('province/');
?>
">
                                                <button type="button" class="btn btn-primary"> กลับ </button>
                                            </a>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                        <!-- /.table-responsive -->

                    </div>

                </div>
                <!-- /.row (nested) -->
开发者ID:thanakrit-promsiri,项目名称:employee_management,代码行数:31,代码来源:province_show.php

示例13: admin_ms_site

            <div class="panel-body">
                <?php 
if (isset($error_msg)) {
    ?>
                    <div class="alert alert-danger">
                        <?php 
    echo $error_msg;
    ?>
                    </div>
                <?php 
}
?>
                <div class="row">
                    <div class="col-lg-6">
                        <form role="form" action="<?php 
echo admin_ms_site('role/save');
?>
" method="post">
                            <?php 
if (isset($role_id)) {
    ?>
                                <input type="hidden" id="role_id" name="role_id" value="<?php 
    echo num_param_url_encode($role_id);
    ?>
">
                            <?php 
}
?>
  

                            <table class="table table-striped table-bordered table-hover" id="dataTables-example">
开发者ID:thanakrit-promsiri,项目名称:employee_management,代码行数:31,代码来源:role_form.php


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