<div class="col-sm-8 ">
    <div class="row gray_ttc">
        <div class="col-sm-12 row"><br>
            <nav class="text-justify">
                <center>
                    <div class="col-sm-12" style="padding: 0">
                        <span class="clo-sm-4" title="Video Course Information" style="padding: 0">
                            <span class="text-left label" style="color: #8CC73F;font-size: 18px; font-family: Times New Roman; font-weight: normal">Edit Video Course Information</span>
                        </span>
                    </div>
                </center>
            </nav>
        </div>
        <div class="col-sm-12"><hr></div>

        <div class="col-sm-12"><br><br></div>
        <div class="col-sm-12">
            <div class="col-sm-12">
                <?php
                $url = 'super-admin/edit-video-course-back-end';
                echo form_open_multipart($url, 'class="" id="editVideoCourseForm" name="videoForm"');
                ?>
                
        <!-- ----------------Video Title Start---------------- -->
                <div class="form-group col-sm-12">
                    <div class="input-group">
                        <input type="text" 
                               class="form-control" 
                               name="video_course_title" 
                               id="video_course_title"
                               value=""
                               oninput="getVideoCourseUrlValue(this.value, '')"
                               placeholder="Please Type Video Course Title.." aria-describedby="basic-addon1">
                        <span class="input-group-addon" id="basic-addon1" title="Please Type Video Title"><i class="fa fa-video-camera"></i></span>
                    </div>
                </div>
                <div class="col-sm-12"><br></div>
        <!-- ------------------------Video Title End---------------------- -->



        <!-- ------------------------Video Course Url Start---------------- -->
                <div class="form-group col-sm-6">
                    <div class="input-group">
                        <input type="text" 
                               class="form-control"
                               id="video_course_url" 
                               name="video_course_url" 
                               value=""
                               oninput="getVideoCourseUrlValue('', this.value)"
                               placeholder="Please Type Video Course URL.." aria-describedby="basic-addon1"
                               maxlength="100"
                               minlength="10">
                        <span class="input-group-addon" id="basic-addon1" title="Please Type Video Course URL"><i class="fa fa-link"></i></span>
                    </div>
                </div>
        <!-- --------------------Video Course Url End-------------------- -->
        
        
        <!-- --------------------Video Course Upload Video Type Start-------------------- -->
                <div class="form-group col-sm-6">
                    <select class="form-control" 
                            name="video_course_upload_video_type"
                            id="video_course_upload_video_type">
                        <option value="">Select Video Course Upload Video Type</option>
                        <option value="1">TT</option>
                        <option value="2">Youtube</option>                        
                        <option value="3">Vimeo</option>                        
                    </select>
                </div>
                <div class="col-sm-12"><br></div>
        <!-- --------------------Video Course Upload Video Type End-------------------- -->
                
        
        <!-- --------------------Video Course Parent Topic Start-------------------- -->
                <div class="form-group col-sm-6">
                    <select class="form-control" 
                            name="parent_topic_id"
                            id="parent_topic_id"
                            onchange="getParentTopic(this.value, '', '', '')">
                        <option value="">Select Parent Topic</option>
                        <option value="1">Parent Topic 1</option>
                        <option value="2">Parent Topic 2</option>                        
                    </select>
                </div>
        <!-- --------------------Video Course Parent Topic End-------------------- -->
                
        
        <!-- --------------------Video Course Topic Start-------------------- -->
                <div class="form-group col-sm-6 select_topic" style="display: none">
                    <select class="form-control" 
                            name="topic_id"
                            id="topic_id" 
                            onchange="getOtherTopic(this.value);">
                        <option value="">Select Topic</option>
                    </select>
                </div>
                <div class="col-sm-12"><br></div>
        <!-- --------------------Video Course Topic End-------------------- -->
                
        
        <!-- --------------------Video Course Other Topic Start-------------------- -->
                <div class="form-group col-sm-12 other_topic" style="display: none">
                    <input type="text" 
                           class="form-control" 
                           id="other_topic_id" 
                           name="other_topic_id" 
                           maxlength="150"
                           placeholder="Please Enter Topic Name"  
                           value="">
                </div>
                <div class="col-sm-12"><br></div>
        <!-- --------------------Video Course Other Topic End-------------------- -->  



        <!-- --------------------Video Course Resource person Start-------------------- -->
                    <div class="form-group col-sm-6">
                        <select class="form-control" 
                                name="resource_person_id" 
                                id="resource_person_id">
                            <option value="">Select Resource Person</option>
                            <option value="1">Resource Person 1</option>
                            <option value="2">Resource Person 2</option>
                        </select>
                    </div>
        <!-- --------------------Video Course Resource person End-------------------- -->       


        <!-- --------------------Video Course Level Start-------------------- -->
                <div class="form-group col-sm-6">
                    <select class="form-control" 
                            name="video_course_skill_level" 
                            id="video_course_skill_level">
                        <option value="">Select Video Course Skill Level</option>
                        <option value="0">Any</option>
                        <option value="1">Basic</option>
                        <option value="2">Intermediate</option>
                        <option value="3">Advance</option>
                    </select>
                </div>
                <div class="col-sm-12"><br></div>
        <!-- --------------------Video Course Level End-------------------- -->           

        
        <!-- --------------------Video Course Payment Type Start-------------------- -->
                <div class="form-group col-sm-6">
                    <label class="col-xs-4 col-sm-5  text-left" style="padding: 0">Video Course type: </label>
                    <div  class="col-xs-8 col-sm-7 radio radio-success" style="margin: 0">
                        <input data-errormessage-value-missing="Course Type is Required!" 
                               class="" 
                               type="radio" 
                               name="video_course_payment_type" 
                               id="paid" 
                               value="1" 
                               onclick="getVideoCoursePaymentType(this.value)">
                        <label for="paid">Paid</label>
                        <span style="margin-right: 30px"></span>
                        <input  data-errormessage-value-missing="Course Type is Required!" 
                                class=""  
                                type="radio" 
                                name="video_course_payment_type" 
                                id="free" 
                                value="2"
                                onclick="getVideoCoursePaymentType(this.value)">
                        <label for="free">Free</label>
                    </div>
                </div>
                <div class="col-sm-12"><br></div>
        <!-- --------------------Video Course Payment Type End-------------------- -->       
        

        <!-- --------------------Video Course Price Start-------------------- -->
                <div style="display: none;" id="video_course_price_view">    
                    <div class="form-group col-sm-6">
                        <select class="form-control"
                                name="video_course_price_currency" 
                                onchange="getCurrencyType(this.value)"
                                id="video_course_price_currency">
                            <option value="">Select Currency</option>
                            <option value="1">BDT</option>
                            <option value="2">USD</option>
                        </select>
                    </div>


                    <div class="form-group col-sm-6">
                        <div class="input-group">
                            <input type="text" 
                                   data-errormessage-value-missing="Course Price is Required!" 
                                   class="form-control" 
                                   id="video_course_price" 
                                   name="video_course_price"  
                                   value="<?php echo set_value('video_course_price'); ?>"
                                   maxlength="10" 
                                   placeholder="Set Video Course Price">
                            <span class="input-group-addon" id="basic-addon1" title="Video Course Price">
                                <i id="usd" style="display:none" class="fa fa-usd"></i>
                                <i id="bdt">&#x9f3;</i>
                            </span>
                        </div>
                    </div>
                </div>
                <div class="col-sm-12"><br></div>
        <!-- --------------------Video Course Price End-------------------- -->
                                
        <!-- --------------------Video Course Description Start-------------------- -->            
                <div class="form-group col-sm-12" >
                    <div class="input-group text-left">
                        <label>Video Course Description</label>
                        <textarea class="form-control  resoulation1280" 
                                  name="video_course_description"
                                  id="video_course_description"></textarea>
                    </div>
                </div>
                <div class="col-sm-12"><br></div>
        <!-- --------------------Video Course Description End-------------------- -->    
        

        <!-- --------------------Video Course Language Start-------------------- -->            
                <div class="form-group col-sm-6">
                    <div class="input-group">
                        <input type="text" 
                               class="form-control" 
                               id="video_course_language" 
                               name="video_course_language"  
                               value=""
                               oninput="getlanguagesearchValue(this.value,'<?php echo base_url() . 'super-admin/language-search-information' ?>')"
                               placeholder="Search Video Course Language">
                        <span class="input-group-addon" id="basic-addon1">
                            <i class="fa fa-search"></i>
                        </span>
                    </div>
                    <!--view search part-->
                    <div id="searchResult" class="col-sm-12 searchdivContainer" style="display: none; border: 1px solid"></div>
                </div>
        <!-- --------------------Video Course Language End-------------------- -->            


        <!-- --------------------Video Course Access Level Start-------------------- -->            
                <div class="form-group col-sm-6">
                    <select class="form-control"   
                            name="video_course_access_level" 
                            id="video_course_access_level">
                        <option value="">Select Access Level</option>
                        <option value="1">Public</option>
                        <option value="2">TalhaTraining User</option>
                    </select>
                </div>
                <div class="col-sm-12"><br></div>
        <!-- --------------------Video Course Access Level End-------------------- -->            


                <!-- --------------------Video Course Publication Status Start-------------------- -->            
                <div class="form-group col-sm-12">
                    <label class="col-sm-2 text-left padding-zero" for="video_course_publication_status"> Publication Status : &nbsp;</label>
                    <div class="radio radio-success col-sm-10 margin-zero" >
                        <input type="radio"
                               data-errormessage-value-missing="Please Select Course Status" 
                               class="" 
                               name="video_course_publication_status" 
                               id="published" 
                               value="1">
                        <label for="published">Active</label>
                        <span style="margin-right: 30px"></span>
                        <input type="radio" 
                               data-errormessage-value-missing="Please Select Course Status" 
                               class="" 
                               name="video_course_publication_status" 
                               id="unpublished" 
                               value="6">
                        <label for="unpublishded">Inactive</label>
                        <span style="margin-right: 30px"></span>
                        <input type="radio"
                               data-errormessage-value-missing="Please Select Course Status" 
                               class="" 
                               name="video_course_publication_status" 
                               id="archived" 
                               value="2">
                        <label for="archived">Archived</label>
                        <span style="margin-right: 30px"></span>
                        <input type="radio" 
                               data-errormessage-value-missing="Please Select Course Status" 
                               class="" 
                               name="video_course_publication_status" 
                               id="pending" 
                               value="3">
                        <label for="pending">Pending</label>
                        <span style="margin-right: 30px"></span>
                        <input type="radio" 
                               data-errormessage-value-missing="Please Select Course Status" 
                               class="" 
                               name="video_course_publication_status" 
                               id="approved" 
                               value="4">
                        <label for="approved">Approved</label>
                        <span style="margin-right: 30px"></span>
                        <input type="radio" 
                               data-errormessage-value-missing="Please Select Course Status" 
                               class="" 
                               name="video_course_publication_status" 
                               id="draft" 
                               value="5">
                        <label for="draft">Draft</label>
                    </div>
                </div>
        <!-- --------------------Video Course Publication Status End-------------------- -->            

                <div class="col-sm-12"><br></div>
                <div class="form-group col-sm-4 col-sm-offset-4">
                    <button type="submit" class="btn btn-default"><i class="fa fa-save" title="Add Video Course"></i></button><br/><br/>
                </div>
                <?php echo form_close(); ?>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript" src="<?php echo base_url(); ?>video_course_asset/video_course_back_end/video_course_back_end_js/add_video_course_back_end.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>video_course_asset/video_course_back_end/video_course_back_end_js/language_ajax_search_back_end.js"></script>
<link href="<?php echo base_url();?>video_course_asset/video_course_back_end/video_course_back_end_css/video_course_back_end.css" rel="stylesheet" type="text/css"/>

