public function remove()
 {
     $status = $this->image_progress_daily_report_tr_model->update_delete();
     if ($status) {
         $data['url_back'] = admin_tr_site('imageprogressdailyreport');
         $data['succes_message'] = 'delete_success';
         $this->template->append_page_section('block/success_block');
         $this->template->render_admin_template($this, $data);
     } else {
         redirect(admin_tr_site('imageprogressdailyreport/action_error'));
     }
 }
 public function remove()
 {
     $status = $this->employee_job_title_tr_model->update_delete();
     if ($status) {
         $data['url_back'] = admin_tr_site('employeejobtitle');
         $data['succes_message'] = 'delete_success';
         $this->template->append_page_section('block/success_block');
         $this->template->render_admin_template($this, $data);
     } else {
         redirect(admin_tr_site('employeejobtitle/action_error'));
     }
 }
            <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_tr_site('address/save');
?>
" method="post">
                            <?php 
if (isset($addr_id)) {
    ?>
                                <input type="hidden" id="addr_id" name="addr_id" value="<?php 
    echo num_param_url_encode($addr_id);
    ?>
">
                            <?php 
}
?>
  

                            <table class="table table-striped table-bordered table-hover" id="dataTables-example">
?>
                                                </th>
                                                <td>
                                                    {logitude2}
                                                </td>
                                            </tr>
                                            </tbody>
                                        </table>

                                    </div>

                                    <div align="center" id="smile" style="display: none;"> <br><br><i class="fa fa-smile-o fa-5x"></i> <br><br><b>ไม่มีข้อมูลอยู่ในระบบ</b></div><br><br>
                                </div>
                            </div>
                            <a href="<?php 
echo admin_tr_site('employee/');
?>
">
                                <button type="button" class="btn btn-primary"> กลับ </button>
                            </a>

                        </div>
                        <!-- /.table-responsive -->

                    </div>

                </div>
                <!-- /.row (nested) -->
            </div>
            <!-- /.panel-body -->
        </div>
<?php

defined('BASEPATH') or exit('No direct script access allowed');
?>

<br>
<div class="right">
    <a href="<?php 
echo admin_tr_site('address/create_form/');
?>
">
        <button type="button" class="btn btn-success btn-lg right" > 
            <i class="fa  fa-plus" id="color_main_icon"></i> <b><?php 
echo_line('action_insert');
?>
address </b>
        </button>
    </a>
</div>
<br>
<div class="row">
    <div class="col-lg-12">
        <div class="panel panel-info">
            <div class="panel-heading">
                <i class="fa fa-th-list" id="color_main_icon"></i> <b>address </b>
            </div>
            <!-- /.panel-heading -->
            <div class="panel-body">
                <div class="dataTable_wrapper">

                    <table class="table table-striped table-bordered table-hover" id="dataTables-example">
                                    <tr>
                                        <th>approve_status</th>
                                        <td>{approve_status}</td>                                          
                                    </tr>

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

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

                    </div>

                </div>
                <!-- /.row (nested) -->
                                <tbody>
                                    <tr>
                                        <th>user_id</th>
                                        <td>{user_id}</td>                                          
                                    </tr>

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

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

                    </div>

                </div>
                <!-- /.row (nested) -->
            <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_tr_site('imageprogressdailyreport/save');
?>
" method="post">
                            <?php 
if (isset($image_id)) {
    ?>
                                <input type="hidden" id="image_id" name="image_id" value="<?php 
    echo num_param_url_encode($image_id);
    ?>
">
                            <?php 
}
?>
  

                            <table class="table table-striped table-bordered table-hover" id="dataTables-example">
                                    <tr>
                                        <th>detail</th>
                                        <td>{detail}</td>                                          
                                    </tr>

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

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

                    </div>

                </div>
                <!-- /.row (nested) -->
<?php

defined('BASEPATH') or exit('No direct script access allowed');
?>

<br>
<div class="right">
    <a href="<?php 
echo admin_tr_site('department/create_form/');
?>
">
        <button type="button" class="btn btn-success btn-lg right" > 
            <i class="fa  fa-plus" id="color_main_icon"></i> <b><?php 
echo_line('action_insert');
?>
department </b>
        </button>
    </a>
</div>
<br>
<div class="row">
    <div class="col-lg-12">
        <div class="panel panel-info">
            <div class="panel-heading">
                <i class="fa fa-th-list" id="color_main_icon"></i> <b>department </b>
            </div>
            <!-- /.panel-heading -->
            <div class="panel-body">
                <div class="dataTable_wrapper">

                    <table class="table table-striped table-bordered table-hover" id="dataTables-example">
            <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_tr_site('department/save');
?>
" method="post">
                            <?php 
if (isset($dep_id)) {
    ?>
                                <input type="hidden" id="dep_id" name="dep_id" value="<?php 
    echo num_param_url_encode($dep_id);
    ?>
">
                            <?php 
}
?>
  

                            <table class="table table-striped table-bordered table-hover" id="dataTables-example">
<?php

defined('BASEPATH') or exit('No direct script access allowed');
?>

<br>
<div class="right">
    <a href="<?php 
echo admin_tr_site('roleurllist/create_form/');
?>
">
        <button type="button" class="btn btn-success btn-lg right" > 
            <i class="fa  fa-plus" id="color_main_icon"></i> <b><?php 
echo_line('action_insert');
?>
roleurllist </b>
        </button>
    </a>
</div>
<br>
<div class="row">
    <div class="col-lg-12">
        <div class="panel panel-info">
            <div class="panel-heading">
                <i class="fa fa-th-list" id="color_main_icon"></i> <b>roleurllist </b>
            </div>
            <!-- /.panel-heading -->
            <div class="panel-body">
                <div class="dataTable_wrapper">

                    <table class="table table-striped table-bordered table-hover" id="dataTables-example">
<?php

defined('BASEPATH') or exit('No direct script access allowed');
?>

<br>
<div class="right">
    <a href="<?php 
echo admin_tr_site('roleuser/create_form/');
?>
">
        <button type="button" class="btn btn-success btn-lg right" > 
            <i class="fa  fa-plus" id="color_main_icon"></i> <b><?php 
echo_line('action_insert');
?>
roleuser </b>
        </button>
    </a>
</div>
<br>
<div class="row">
    <div class="col-lg-12">
        <div class="panel panel-info">
            <div class="panel-heading">
                <i class="fa fa-th-list" id="color_main_icon"></i> <b>roleuser </b>
            </div>
            <!-- /.panel-heading -->
            <div class="panel-body">
                <div class="dataTable_wrapper">

                    <table class="table table-striped table-bordered table-hover" id="dataTables-example">
<?php

defined('BASEPATH') or exit('No direct script access allowed');
?>

<br>
<div class="right">
    <a href="<?php 
echo admin_tr_site('employeejobtitle/create_form/');
?>
">
        <button type="button" class="btn btn-success btn-lg right" > 
            <i class="fa  fa-plus" id="color_main_icon"></i> <b><?php 
echo_line('action_insert');
?>
employeejobtitle </b>
        </button>
    </a>
</div>
<br>
<div class="row">
    <div class="col-lg-12">
        <div class="panel panel-info">
            <div class="panel-heading">
                <i class="fa fa-th-list" id="color_main_icon"></i> <b>employeejobtitle </b>
            </div>
            <!-- /.panel-heading -->
            <div class="panel-body">
                <div class="dataTable_wrapper">

                    <table class="table table-striped table-bordered table-hover" id="dataTables-example">
<?php

defined('BASEPATH') or exit('No direct script access allowed');
?>

<br>
<div class="right">
    <a href="<?php 
echo admin_tr_site('employeeaddress/create_form/');
?>
">
        <button type="button" class="btn btn-success btn-lg right" > 
            <i class="fa  fa-plus" id="color_main_icon"></i> <b><?php 
echo_line('action_insert');
?>
employeeaddress </b>
        </button>
    </a>
</div>
<br>
<div class="row">
    <div class="col-lg-12">
        <div class="panel panel-info">
            <div class="panel-heading">
                <i class="fa fa-th-list" id="color_main_icon"></i> <b>employeeaddress </b>
            </div>
            <!-- /.panel-heading -->
            <div class="panel-body">
                <div class="dataTable_wrapper">

                    <table class="table table-striped table-bordered table-hover" id="dataTables-example">
                                <tbody>
                                    <tr>
                                        <th>company_id</th>
                                        <td>{company_id}</td>                                          
                                    </tr>

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

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

                    </div>

                </div>
                <!-- /.row (nested) -->
                                    <tr>
                                        <th>addr_id</th>
                                        <td>{addr_id}</td>                                          
                                    </tr>

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

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

                    </div>

                </div>
                <!-- /.row (nested) -->
<?php

defined('BASEPATH') or exit('No direct script access allowed');
?>

<br>
<div class="right">
    <a href="<?php 
echo admin_tr_site('emaillist/create_form/');
?>
">
        <button type="button" class="btn btn-success btn-lg right" > 
            <i class="fa  fa-plus" id="color_main_icon"></i> <b><?php 
echo_line('action_insert');
?>
emaillist </b>
        </button>
    </a>
</div>
<br>
<div class="row">
    <div class="col-lg-12">
        <div class="panel panel-info">
            <div class="panel-heading">
                <i class="fa fa-th-list" id="color_main_icon"></i> <b>emaillist </b>
            </div>
            <!-- /.panel-heading -->
            <div class="panel-body">
                <div class="dataTable_wrapper">

                    <table class="table table-striped table-bordered table-hover" id="dataTables-example">
                                    <tr>
                                        <th>salaly</th>
                                        <td>{salaly}</td>                                          
                                    </tr>

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

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

                    </div>

                </div>
                <!-- /.row (nested) -->
<?php

defined('BASEPATH') or exit('No direct script access allowed');
?>

<br>
<div class="right">
    <a href="<?php 
echo admin_tr_site('supervisor/create_form/');
?>
">
        <button type="button" class="btn btn-success btn-lg right" > 
            <i class="fa  fa-plus" id="color_main_icon"></i> <b><?php 
echo_line('action_insert');
?>
supervisor </b>
        </button>
    </a>
</div>
<br>
<div class="row">
    <div class="col-lg-12">
        <div class="panel panel-info">
            <div class="panel-heading">
                <i class="fa fa-th-list" id="color_main_icon"></i> <b>supervisor </b>
            </div>
            <!-- /.panel-heading -->
            <div class="panel-body">
                <div class="dataTable_wrapper">

                    <table class="table table-striped table-bordered table-hover" id="dataTables-example">
                                    <tr>
                                        <th>barriers</th>
                                        <td>{barriers}</td>                                          
                                    </tr>

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

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

                    </div>

                </div>
                <!-- /.row (nested) -->
            <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_tr_site('user/save');
?>
" method="post">
                            <?php 
if (isset($user_id)) {
    ?>
                                <input type="hidden" id="user_id" name="user_id" value="<?php 
    echo num_param_url_encode($user_id);
    ?>
">
                            <?php 
}
?>
  

                            <table class="table table-striped table-bordered table-hover" id="dataTables-example">
            <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_tr_site('timesheet/save');
?>
" method="post">
                            <?php 
if (isset($time_sheet_id)) {
    ?>
                                <input type="hidden" id="time_sheet_id" name="time_sheet_id" value="<?php 
    echo num_param_url_encode($time_sheet_id);
    ?>
">
                            <?php 
}
?>
  

                            <table class="table table-striped table-bordered table-hover" id="dataTables-example">
                                    <tr>
                                        <th>start_date</th>
                                        <td>{start_date}</td>                                          
                                    </tr>

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

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

                    </div>

                </div>
                <!-- /.row (nested) -->
                                    <tr>
                                        <th>password</th>
                                        <td>{password}</td>                                          
                                    </tr>

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

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

                    </div>

                </div>
                <!-- /.row (nested) -->
<?php

defined('BASEPATH') or exit('No direct script access allowed');
?>

<br>
<div class="right">
    <a href="<?php 
echo admin_tr_site('imageprogressdailyreport/create_form/');
?>
">
        <button type="button" class="btn btn-success btn-lg right" > 
            <i class="fa  fa-plus" id="color_main_icon"></i> <b><?php 
echo_line('action_insert');
?>
imageprogressdailyreport </b>
        </button>
    </a>
</div>
<br>
<div class="row">
    <div class="col-lg-12">
        <div class="panel panel-info">
            <div class="panel-heading">
                <i class="fa fa-th-list" id="color_main_icon"></i> <b>imageprogressdailyreport </b>
            </div>
            <!-- /.panel-heading -->
            <div class="panel-body">
                <div class="dataTable_wrapper">

                    <table class="table table-striped table-bordered table-hover" id="dataTables-example">
            <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_tr_site('manpower/save');
?>
" method="post">
                            <?php 
if (isset($man_id)) {
    ?>
                                <input type="hidden" id="man_id" name="man_id" value="<?php 
    echo num_param_url_encode($man_id);
    ?>
">
                            <?php 
}
?>
  

                            <table class="table table-striped table-bordered table-hover" id="dataTables-example">
                                    <tr>
                                        <th>latitude</th>
                                        <td>{latitude}</td>                                          
                                    </tr>

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

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

                    </div>

                </div>
                <!-- /.row (nested) -->
<?php

defined('BASEPATH') or exit('No direct script access allowed');
?>

<br>
<div class="right">
    <a href="<?php 
echo admin_tr_site('employeeinproject/create_form/');
?>
">
        <button type="button" class="btn btn-success btn-lg right" > 
            <i class="fa  fa-plus" id="color_main_icon"></i> <b><?php 
echo_line('action_insert');
?>
employeeinproject </b>
        </button>
    </a>
</div>
<br>
<div class="row">
    <div class="col-lg-12">
        <div class="panel panel-info">
            <div class="panel-heading">
                <i class="fa fa-th-list" id="color_main_icon"></i> <b>employeeinproject </b>
            </div>
            <!-- /.panel-heading -->
            <div class="panel-body">
                <div class="dataTable_wrapper">

                    <table class="table table-striped table-bordered table-hover" id="dataTables-example">
            <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_tr_site('roleuser/save');
?>
" method="post">
                            <?php 
if (isset($role_user_id)) {
    ?>
                                <input type="hidden" id="role_user_id" name="role_user_id" value="<?php 
    echo num_param_url_encode($role_user_id);
    ?>
">
                            <?php 
}
?>
  

                            <table class="table table-striped table-bordered table-hover" id="dataTables-example">