
<?php
$data=$data["profile"] ?? [];

$username=$data["username"]

?>
<section class="content">
    <div class="body_scroll">
        <div class="block-header">
            <div class="row">
                <div class="col-lg-7 col-md-6 col-sm-12">
                    <h2><?= $username ?></h2>
                    <button class="btn btn-primary btn-icon mobile_menu" type="button"><i class="zmdi zmdi-sort-amount-desc"></i></button>
                </div>
                <div class="col-lg-5 col-md-6 col-sm-12">                
                    <button class="btn btn-primary btn-icon float-right right_icon_toggle_btn" type="button"><i class="zmdi zmdi-arrow-right"></i></button>
                </div>
            </div>
        </div> 
        <div class="container-fluid">
            <div class="row clearfix">
                <div class="col-md-12">
                    <div class="card">
                        <div class="header">
                            {{header_tittle}}
                        </div>
                        <div class="body">
                            <form method="post" id="profile">
                                <div class="row">
                                    <div class="col-lg-4 col-md-12">
                                        <div class="form-group">
                                            <input type="text" class="form-control" placeholder="{{placeholder_text_1}}" aria-label="{{placeholder_text_1}}" value="<?= $username ?? "Kullanıcı Bulunamadı" ?>" name="username">
                                        </div>
                                    </div>
                                    <div class="col-lg-4 col-md-12">
                                        <div class="form-group">
                                            <input type="password" class="form-control" placeholder="{{placeholder_text_2}}" aria-label="{{placeholder_text_2}}" name="password_before">
                                            <small class="w-100 border p-l-5 p-t-5 p-b-5 my-2 font-14 font-bold d-none " id="confirm_message">

                                            </small>
                                        </div>
                                    </div>
                                    <div class="col-lg-4 col-md-12">
                                        <div class="form-group">
                                            <input type="password" class="form-control" placeholder="{{placeholder_text_3}}" aria-label="{{placeholder_text_3}}" name="password_after" disabled>
                                            <input type="hidden" name="userCode" value="<?= $data["userCode"] ?>">
                                        </div>
                                    </div>
                                    <div class="col-12">
                                        <button type="button" id="profileBtn" class="btn btn-info">{{button_text}}</button>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>