data-align="center"
                    >Action
                </th>

            </tr>
            </thead>
        </table>
    </div>

</div>
</div>
</div>

<script type="text/javascript">
    function operate<?php 
echo tpl_customer::customer();
?>
(value, row) {
        if (value == 1) {
            return '<input onchange="update_status(' + row.<?php 
echo tpl_order_customer::id();
?>
 + ',0)" type="checkbox" checked="true"/>';
        }
        return '<input onchange="update_status(' + row.<?php 
echo tpl_order_customer::id();
?>
 + ',1)" type="checkbox"/>';
    }
    function update_status(id, value) {
        $(document).ready(function () {
?>
"/>
                    </div>

                    <div class="form-group">
                        <label for="">Retype New Password <?php 
echo tpl_customer::customer();
?>
 : </label>
                        <input type="text" class="form-control"
                               id="<?php 
echo tpl_customer::customer() . '_' . tpl_customer::password() . '_r_update_password';
?>
"
                               name="<?php 
echo tpl_customer::customer() . '_' . tpl_customer::password() . '_r_update_password';
?>
"/>
                    </div>
                    <button type="submit" class="btn btn-success" id="update" name="update">Save</button>
                </form>
                </br>
                <div class="" id="result_massages_update_password"></div>
            </div>
        </div>
    </div>
</div>

<style>
    .glyphicon-ok {