<div class="modal fade" id="marketing_tools_modal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="exampleModalLabel">Add Marketing Tool From Data</h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <form id="submit_marketing_tools_from" method="post" enctype="multipart/form-data">
                <div class="modal-body">
                    <div class="form-group">
                        <label for="recipient-name" class="col-form-label">Title <span class="text-danger">*</span></label>
                        <input type="text" class="form-control" id="marketing_tools_from_title" name="title" placeholder="Enter Title" required>
                    </div>
                    <div class="form-group">
                        <label for="recipient-name" class="col-form-label">Image <span class="text-danger">*</span></label>
                        <input type="file" id="marketing_tools_from_image" class="form-control" name="image" required>
                    </div>
                </div>
                <input type="hidden" class="form-control" name="course_id" value="<?php echo $course->course_id; ?>">
                <div class="modal-footer">
                    <button type="submit" class="btn btn-primary">Save</button>
                </div>
            </form>
        </div>
    </div>
</div>

<div class="modal fade" id="certified_from" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="exampleModalLabel">Add Certification From Data</h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <form id="submit_certified_from" method="post" enctype="multipart/form-data">
                <div class="modal-body">
                    <div class="form-group">
                        <label for="recipient-name" class="col-form-label">Title <span class="text-danger">*</span></label>
                        <input type="text" class="form-control" id="certified_from_title" name="title" placeholder="Enter Title" required>
                    </div>
                    <div class="form-group">
                        <label for="recipient-name" class="col-form-label">Image <span class="text-danger">*</span></label>
                        <input type="file" id="certified_from_image" class="form-control" name="image" required>
                    </div>
                </div>
                <input type="hidden" class="form-control" name="course_id" value="<?php echo $course->course_id; ?>">
                <div class="modal-footer">
                    <button type="submit" class="btn btn-primary">Save</button>
                </div>
            </form>
        </div>
    </div>
</div>

<div class="modal fade" id="certification_from" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="exampleModalLabel">Add Certification From Data</h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <form id="submit_certification_from" method="post" enctype="multipart/form-data">
                <div class="modal-body">
                    <div class="form-group">
                        <label for="recipient-name" class="col-form-label">Title <span class="text-danger">*</span></label>
                        <input type="text" class="form-control" id="certification_from_title" name="title" placeholder="Enter Title" required>
                    </div>
                    <div class="form-group">
                        <label for="recipient-name" class="col-form-label">Image <span class="text-danger">*</span></label>
                        <input type="file" id="certification_from_image" class="form-control" name="image" required>
                    </div>
                </div>
                <input type="hidden" class="form-control" name="course_id" value="<?php echo $course->course_id; ?>">
                <div class="modal-footer">
                    <button type="submit" class="btn btn-primary">Save</button>
                </div>
            </form>
        </div>
    </div>
</div>

<div class="modal fade" id="ai_tools_modal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="exampleModalLabel">Add AI From Data</h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <form id="submit_ai_from" method="post" enctype="multipart/form-data">
                <div class="modal-body">
                    <div class="form-group">
                        <label for="recipient-name" class="col-form-label">Title <span class="text-danger">*</span></label>
                        <input type="text" class="form-control" id="ai_from_title" name="title" placeholder="Enter Title" required>
                    </div>
                    <div class="form-group">
                        <label for="recipient-name" class="col-form-label">Image <span class="text-danger">*</span></label>
                        <input type="file" id="ai_from_image" class="form-control" name="image" required>
                    </div>
                </div>
                <input type="hidden" class="form-control" name="course_id" value="<?php echo $course->course_id; ?>">
                <div class="modal-footer">
                    <button type="submit" class="btn btn-primary">Save</button>
                </div>
            </form>
        </div>
    </div>
</div>

<div class="modal fade" id="hiring_partner_modal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="exampleModalLabel">Add Hiring Partner From Data</h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <form id="submit_hiring_partner_from" method="post" enctype="multipart/form-data">
                <div class="modal-body">
                    <div class="form-group">
                        <label for="recipient-name" class="col-form-label">Title <span class="text-danger">*</span></label>
                        <input type="text" class="form-control" id="hiring_partner_from_title" name="title" placeholder="Enter Title" required>
                    </div>
                    <div class="form-group">
                        <label for="recipient-name" class="col-form-label">Image <span class="text-danger">*</span></label>
                        <input type="file" id="hiring_partner_from_image" class="form-control" name="image" required>
                    </div>
                </div>
                <input type="hidden" class="form-control" name="course_id" value="<?php echo $course->course_id; ?>">
                <div class="modal-footer">
                    <button type="submit" class="btn btn-primary">Save</button>
                </div>
            </form>
        </div>
    </div>
</div>

<div class="modal fade" id="whats_include_modal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="exampleModalLabel">Add Whats Included From Data</h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <form id="submit_whats_include_from" method="post" enctype="multipart/form-data">
                <div class="modal-body">
                    <div class="form-group">
                        <label for="recipient-name" class="col-form-label">Title <span class="text-danger">*</span></label>
                        <input type="text" class="form-control" id="whats_include_from_title" name="title" placeholder="Enter Title" required>
                    </div>
                    <!-- <div class="form-group">
                        <label for="recipient-name" class="col-form-label">Image <span class="text-danger">*</span></label>
                        <input type="file" id="whats_include_from_image" class="form-control" name="image" required>
                    </div> -->
                    <div class="row">
                        <div class="col-md-12">
                            <div class="form-group row">
                                <div class="col-sm-12">
                                    <label>Image</label>
                                </div>
                                <div class="col-sm-12">
                                    <select name="image" class="select2" placeholder="Enter Course Sub Heading" style="width: 100%;" data-placeholder="Select From List">
                                        <option value="">Select From List</option>
                                        <?php
                                        foreach ($all_resource as $resource):
                                        ?>
                                            <option data-image="<?php echo base_url() . $resource->cr_image; ?>" value="<?php echo $resource->cr_id; ?>">
                                                <?php echo $resource->cr_name; ?>
                                            </option>
                                        <?php endforeach; ?>
                                    </select>

                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <input type="hidden" class="form-control" name="course_id" value="<?php echo $course->course_id; ?>">
                <div class="modal-footer">
                    <button type="submit" class="btn btn-primary">Save</button>
                </div>
            </form>
        </div>
    </div>
</div>

<div class="modal fade" id="learning_methodology_modal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="exampleModalLabel">Add Learning Methodology From Data</h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <form id="submit_learning_methodology_from" method="post" enctype="multipart/form-data">
                <div class="modal-body">
                    <div class="form-group">
                        <label for="recipient-name" class="col-form-label">Title <span class="text-danger">*</span></label>
                        <input type="text" class="form-control" id="learning_methodology_from_title" name="title" placeholder="Enter Title" required>
                    </div>
                    <div class="form-group">
                        <label for="recipient-name" class="col-form-label">Content <span class="text-danger">*</span></label>
                        <textarea type="text" class="form-control" id="learning_methodology_from_content" name="content" placeholder="Enter Content" required></textarea>
                    </div>
                    <div class="form-group">
                        <label for="recipient-name" class="col-form-label">Image <span class="text-danger">*</span></label>
                        <input type="file" id="learning_methodology_from_image" class="form-control" name="image" required>
                    </div>
                </div>
                <input type="hidden" class="form-control" name="course_id" value="<?php echo $course->course_id; ?>">
                <div class="modal-footer">
                    <button type="submit" class="btn btn-primary">Save</button>
                </div>
            </form>
        </div>
    </div>
</div>