
                <div class="row">
                    <div class="col-12">
                        <div class="card">
                            <div class="card-body"> 
                                <table id="datatable-fixedheader" class="table table-hover table-bordered dt-responsive nowrap">
                                    <thead>
                                        <tr>
                                            <th>No.</th>
                                            <th>Name</th> 
                                            <th>Slug</th>  
                                            <th>Thumbnail</th>  
                                            <th>Last Updated</th> 
                                            <th>Status</th>
                                            <th>Action</th>
                                        </tr>
                                    </thead>
                                    <tbody> 
                                    </tbody>
                                </table>
                                <div class="modal fade modal1" id="#modal1" tabindex="-1">
                                    <div class="modal-dialog modal-lg modal-dialog-centered">
                                        <div class="modal-content">
                                            <div class="modal-header">
                                                <h5 class="modal-title"></h5>
                                                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                                            </div>
                                            <div class="modal-body">
                                                <form class="custom-validation" action="#" id="form" enctype="multipart/form-data" accept-charset='utf-8' autocomplete="off">
                                                    <div class="mb-3">
                                                        <label class="form-label" for="name">Name <small>(The name is how it appears on your site.)</small></label>
                                                        <input type="text" name="name" id="name" class="form-control tr_capital" required>
                                                        <input type="hidden" name="id" id="id" class="form-control">
                                                        <input type="hidden" name="get_old_doc" id="get_old_doc" >
                                                    </div>   
                                                    <div class="mb-3">
                                                        <label class="form-label" for="c_slug">Slug <small>(The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.)</small></label>
                                                        <input type="text" name="c_slug" id="c_slug" class="form-control" required>        
                                                    </div>                                               
                                                    <div class="mb-3">
                                                        <label class="form-label" for="pass2">Description</label> 
                                                        <textarea name="description" id="description" class="form-control ckeditor-textarea"></textarea>
                                                    </div> 

                                                    <div class="mb-3">  
                                                        <div class="dropzone mt-5">
                                                            <div class="fallback">
                                                                <input name="photo[]" id="photo" type="file" data-parsley-filemaxsize="2048" >
                                                            </div>
                                                            <div class="dz-message needsclick">

                                                                <div class="mb-3">
                                                                    <svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 24 24" class="eva eva-cloud-upload"><g data-name="Layer 2"><g data-name="cloud-upload"><path d="M21.9 12c0-.11-.06-.22-.09-.33a4.17 4.17 0 0 0-.18-.57c-.05-.12-.12-.24-.18-.37s-.15-.3-.24-.44S21 10.08 21 10s-.2-.25-.31-.37-.21-.2-.32-.3L20 9l-.36-.24a3.68 3.68 0 0 0-.44-.23l-.39-.18a4.13 4.13 0 0 0-.5-.15 3 3 0 0 0-.41-.09L17.67 8A6 6 0 0 0 6.33 8l-.18.05a3 3 0 0 0-.41.09 4.13 4.13 0 0 0-.5.15l-.39.18a3.68 3.68 0 0 0-.44.23l-.36.3-.37.31c-.11.1-.22.19-.32.3s-.21.25-.31.37-.18.23-.26.36-.16.29-.24.44-.13.25-.18.37a4.17 4.17 0 0 0-.18.57c0 .11-.07.22-.09.33A5.23 5.23 0 0 0 2 13a5.5 5.5 0 0 0 .09.91c0 .1.05.19.07.29a5.58 5.58 0 0 0 .18.58l.12.29a5 5 0 0 0 .3.56l.14.22a.56.56 0 0 0 .05.08L3 16a5 5 0 0 0 4 2h3v-1.37a2 2 0 0 1-1 .27 2.05 2.05 0 0 1-1.44-.61 2 2 0 0 1 .05-2.83l3-2.9A2 2 0 0 1 12 10a2 2 0 0 1 1.41.59l3 3a2 2 0 0 1 0 2.82A2 2 0 0 1 15 17a1.92 1.92 0 0 1-1-.27V18h3a5 5 0 0 0 4-2l.05-.05a.56.56 0 0 0 .05-.08l.14-.22a5 5 0 0 0 .3-.56l.12-.29a5.58 5.58 0 0 0 .18-.58c0-.1.05-.19.07-.29A5.5 5.5 0 0 0 22 13a5.23 5.23 0 0 0-.1-1z"></path><path d="M12.71 11.29a1 1 0 0 0-1.4 0l-3 2.9a1 1 0 1 0 1.38 1.44L11 14.36V20a1 1 0 0 0 2 0v-5.59l1.29 1.3a1 1 0 0 0 1.42 0 1 1 0 0 0 0-1.42z"></path></g></g></svg>
                                                                </div>

                                                                <h5>Drag & Drop Image or Browse.</h5>
                                                                <h5>.jpg, .jpeg, .png only (Max Size: 2MB)</h5>
                                                            </div>
                                                        </div>
                                                        <ul class="list-unstyled mb-0" id="dropzone-preview">
                                                            <li class="mt-2" id="dropzone-preview-list">
                                                                <div class="border rounded">
                                                                    <div class="d-flex p-2">
                                                                        <div class="flex-shrink-0 me-3">
                                                                            <div class="avatar-sm bg-light rounded">
                                                                                <img data-dz-thumbnail class="img-fluid rounded d-block dropzone-dy-image" src="" />
                                                                            </div>
                                                                        </div>
                                                                        <div class="flex-grow-1">
                                                                            <div class="pt-1">
                                                                                <h5 class="fs-14 mb-1" data-dz-name>&nbsp;</h5>
                                                                                <p class="fs-13 text-muted mb-0" data-dz-size></p>
                                                                                <strong class="error text-danger" data-dz-errormessage></strong>
                                                                            </div>
                                                                        </div>
                                                                        <div class="flex-shrink-0 ms-3">
                                                                            <button data-dz-remove class="btn btn-sm btn-danger">Delete</button>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </li>
                                                        </ul>  
                                                        <ul class="list-unstyled mb-0" id="img_preview">
                                                            <li class="mt-2">
                                                                <div class="border rounded">
                                                                    <div class="d-flex p-2">
                                                                        <div class="flex-shrink-0 me-3">
                                                                            <div class="avatar-sm bg-light rounded">
                                                                                <img data-dz-thumbnail id="preview_img_tag" class="img-fluid rounded d-block dropzone-dy-image" src="" />
                                                                            </div>
                                                                        </div>
                                                                        <div class="flex-grow-1">
                                                                            <div class="pt-1">
                                                                                <h5 class="fs-14 mb-1 img_name_get"></h5>
                                                                            </div>
                                                                        </div> 
                                                                    </div>
                                                                </div>
                                                            </li>
                                                        </ul> 
                                                    </div> 

                                                    <div class="mb-3">  
                                                        <div class="b_dropzone mt-5">
                                                            <div class="fallback">
                                                                <input name="b_photo[]" id="b_photo" type="file" data-parsley-filemaxsize="2048" >
                                                            </div>
                                                            <div class="dz-message needsclick">

                                                                <div class="mb-3">
                                                                    <svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 24 24" class="eva eva-cloud-upload"><g data-name="Layer 2"><g data-name="cloud-upload"><path d="M21.9 12c0-.11-.06-.22-.09-.33a4.17 4.17 0 0 0-.18-.57c-.05-.12-.12-.24-.18-.37s-.15-.3-.24-.44S21 10.08 21 10s-.2-.25-.31-.37-.21-.2-.32-.3L20 9l-.36-.24a3.68 3.68 0 0 0-.44-.23l-.39-.18a4.13 4.13 0 0 0-.5-.15 3 3 0 0 0-.41-.09L17.67 8A6 6 0 0 0 6.33 8l-.18.05a3 3 0 0 0-.41.09 4.13 4.13 0 0 0-.5.15l-.39.18a3.68 3.68 0 0 0-.44.23l-.36.3-.37.31c-.11.1-.22.19-.32.3s-.21.25-.31.37-.18.23-.26.36-.16.29-.24.44-.13.25-.18.37a4.17 4.17 0 0 0-.18.57c0 .11-.07.22-.09.33A5.23 5.23 0 0 0 2 13a5.5 5.5 0 0 0 .09.91c0 .1.05.19.07.29a5.58 5.58 0 0 0 .18.58l.12.29a5 5 0 0 0 .3.56l.14.22a.56.56 0 0 0 .05.08L3 16a5 5 0 0 0 4 2h3v-1.37a2 2 0 0 1-1 .27 2.05 2.05 0 0 1-1.44-.61 2 2 0 0 1 .05-2.83l3-2.9A2 2 0 0 1 12 10a2 2 0 0 1 1.41.59l3 3a2 2 0 0 1 0 2.82A2 2 0 0 1 15 17a1.92 1.92 0 0 1-1-.27V18h3a5 5 0 0 0 4-2l.05-.05a.56.56 0 0 0 .05-.08l.14-.22a5 5 0 0 0 .3-.56l.12-.29a5.58 5.58 0 0 0 .18-.58c0-.1.05-.19.07-.29A5.5 5.5 0 0 0 22 13a5.23 5.23 0 0 0-.1-1z"></path><path d="M12.71 11.29a1 1 0 0 0-1.4 0l-3 2.9a1 1 0 1 0 1.38 1.44L11 14.36V20a1 1 0 0 0 2 0v-5.59l1.29 1.3a1 1 0 0 0 1.42 0 1 1 0 0 0 0-1.42z"></path></g></g></svg>
                                                                </div>

                                                                <h5>Drag & Drop Image or Browse.</h5>
                                                                <h5>.jpg, .jpeg, .png only (Max Size: 2MB)</h5>
                                                            </div>
                                                        </div>
                                                        <ul class="list-unstyled mb-0" id="b_dropzone-preview">
                                                            <li class="mt-2" id="b_dropzone-preview-list">
                                                                <div class="border rounded">
                                                                    <div class="d-flex p-2">
                                                                        <div class="flex-shrink-0 me-3">
                                                                            <div class="avatar-sm bg-light rounded">
                                                                                <img data-dz-thumbnail class="img-fluid rounded d-block b_dropzone-dy-image" src="" />
                                                                            </div>
                                                                        </div>
                                                                        <div class="flex-grow-1">
                                                                            <div class="pt-1">
                                                                                <h5 class="fs-14 mb-1" data-dz-name>&nbsp;</h5>
                                                                                <p class="fs-13 text-muted mb-0" data-dz-size></p>
                                                                                <strong class="error text-danger" data-dz-errormessage></strong>
                                                                            </div>
                                                                        </div>
                                                                        <div class="flex-shrink-0 ms-3">
                                                                            <button data-dz-remove class="btn btn-sm btn-danger">Delete</button>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </li>
                                                        </ul>  
                                                        <ul class="list-unstyled mb-0" id="b_img_preview">
                                                            <li class="mt-2">
                                                                <div class="border rounded">
                                                                    <div class="d-flex p-2">
                                                                        <div class="flex-shrink-0 me-3">
                                                                            <div class="avatar-sm bg-light rounded">
                                                                                <img data-dz-thumbnail id="b_preview_img_tag" class="img-fluid rounded d-block dropzone-dy-image" src="" />
                                                                            </div>
                                                                        </div>
                                                                        <div class="flex-grow-1">
                                                                            <div class="pt-1">
                                                                                <h5 class="fs-14 mb-1 img_name_get"></h5>
                                                                            </div>
                                                                        </div> 
                                                                    </div>
                                                                </div>
                                                            </li>
                                                        </ul> 
                                                    </div>

                                                    <div class="modal-bottom-part">
                                                        <button type="submit" id="submit" class="btn btn-primary waves-effect waves-light me-1">Submit</button>
                                                        <button type="reset" id="cancel" class="btn btn-secondary waves-effect" data-bs-dismiss="modal">Cancel</button>
                                                    </div>
                                                </form>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>  
                </div>  
        <?php $this->load->view('includes/footer'); ?> 

</body>
</html>