<div class="modal fade" id="media_modal" role="dialog" aria-hidden="true" style="z-index: 999999;">
    <div class="modal-dialog modal-lg" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title">Choose image</h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">×</span>
                </button>
            </div>
            <div class="modal-body p-4">

            	<?php
					$this->load->view($this->config->item('admin_folder')."/media/media_add");
					$this->load->view($this->config->item('admin_folder')."/media/media_data");
				?>

            	

            </div>
            <div class="modal-footer">
                <button type="button" data-type="" data-showdiv="" data-id="" id="media_select" class="btn btn-info waves-effect md-trigger" data-dismiss="modal">Select</button>
            </div>
        </div>
    </div>
</div>
<?php
	$this->load->view($this->config->item('admin_folder')."/media/media_assets");
?>



