<?php //echo $video_counter; ?>
<input type="hidden" id="manage_video_id<?php echo $video_counter; ?>" name="manage_video_id<?php echo $video_counter; ?>" value="">
    <div class="col-sm-10 padding-zero white" style="margin-left: 10px;">
        <div class="col-sm-12"><br></div>
        <!-- ---------Video Course Upload Video Title Start---------- -->    
        <div class="form-group col-sm-10">
            <div class="form-group col-sm-12">
                <div class="input-group">
                    <input type="text" 
                           class="form-control"
                           id="manage_video_title<?php echo $video_counter; ?>"
                           name="manage_video_title<?php echo $video_counter; ?>"
                           value=""
                           onkeyup ="checkError('manage_video_title<?php echo $video_counter; ?>','<?php echo $video_counter; ?>' )"
                           placeholder=" Please Type Video Title.." >
                    <span class="input-group-addon"><i class="fa fa-file"></i></span>
                </div>
                <span style="color: red;" id="manage_video_title_error<?php echo $video_counter; ?>"></span>
            </div>
        </div>
        <div class="col-sm-12"><br></div>
        <!-- ---------Video Course Upload Video Title End---------- -->    


        <!-- ---------Video Course Upload Video File Start---------- -->   
        <div class="form-group col-sm-12">
            <div class="form-group col-sm-7">
                <input tabindex = "-1"
                       style = "position: absolute; clip: rect(0px, 0px, 0px, 0px);"
                       id="videoFile_video<?php echo $video_counter; ?>"
                       data-icon = "false" type = "file" value = ""
                       onchange="getVideoFile(this, '<?php echo $video_counter; ?>', '<?php echo base_url() . 'upload-admin-video' ?>')" >
                <div class = "bootstrap-filestyle input-group">
                    <input class = "form-control " disabled type = "text" 
                           id="view_video_file_name<?php echo $video_counter; ?>" value="">
                    <span tabindex = "0" class = "group-span-filestyle input-group-btn">
                        <label for = "videoFile_video<?php echo $video_counter; ?>" class = "btn btn-default ">
                            <span class = "buttonText">Choose file</span>
                        </label>
                    </span>
                </div>
                <span class="pull-left" id="manage_upload_video_error<?php echo $video_counter; ?>" 
                      style="color: red">
                    <span style="color: black;"><label>[ Upload Video ]</label></span>
                </span>
            </div>

            <div class="col-sm-5"> 
                <div id="uploadVideoFileName<?php echo $video_counter; ?>" style="display:none;">
                </div>
                <div class="progress" id="progressID_video<?php echo $video_counter; ?>" style="display: none">
                    <div class="progress-bar progress-bar-success progress-bar-striped"
                         id="videoProgressBar_video<?php echo $video_counter; ?>"
                         role="progressbar"
                         aria-valuenow="90" 
                         aria-valuemin="0" aria-valuemax="100" 
                         style="">
                    </div>
                </div>

                <div id="processing_image<?php echo $video_counter; ?>" style="display:none">
                    <span>Processing</span>
                    <img src="<?php echo base_url('image/ajaxloader.gif') ?>" style="max-width: 35px;">
                </div>
            </div>
            <div class="col-sm-12" style="color: green;" id="view_file_size_video<?php echo $video_counter; ?>"></div>
        </div>
        <div class="col-sm-12"></div>
        <!-- ---------Video Course Upload Video File End---------- -->   


        <!-- ---------Video Course Upload Video Payment Type Start---------- -->   
        <div class="form-group col-sm-6">
            <div class="form-group col-sm-7 text-left" style="margin-top: 10px">  <label >Video Payment Type  :</label></div>
            <div class="form-group radio radio-success col-sm-5">
                <input  type="radio" 
                        name="manage_video_payment_type[<?php echo $video_counter; ?>]" 
                        id="free" 
                        value="1" >
                <label for="free">Free</label>
                <span style="margin-right: 30px"></span>
                <input  type="radio" 
                        name="manage_video_payment_type[<?php echo $video_counter; ?>]" 
                        id="paid" 
                        value="2">
                <label for="paid">Paid</label>
            </div>
        </div>
        <!-- ---------Video Course Upload Video Payment Type End---------- -->   


        <!-- ---------Video Course Upload Video Work FIle Status Start---------- -->   
        <div class="form-group col-sm-6">
            <div class="form-group col-sm-5 text-left" style="margin-top: 10px">  <label > Work files  :</label></div>
            <div class="form-group radio radio-success col-sm-7"  >
                <input  onclick="getWorkFileStatus(this.value, '<?php echo $video_counter; ?>')" 
                        type="radio" 
                        name="manage_video_work_file[<?php echo $video_counter; ?>]" 
                        id="yes" 
                        value="1" >
                <label for="yes">Yes</label>
                <span style="margin-right: 30px"></span>
                <input  onclick="getWorkFileStatus(this.value, '<?php echo $video_counter; ?>')" 
                        type="radio" 
                        name="manage_video_work_file[<?php echo $video_counter; ?>]" 
                        id="no" 
                        value="2">
                <label for="no">No</label>
            </div>
            <span style="color: red;" id="manage_video_work_file_error<?php echo $video_counter; ?>"><?php //echo form_error('manage_video_work_file');  ?></span>
        </div>
        <div class="col-sm-12"></div>
        <!-- ---------Video Course Upload Video Work File Status End---------- -->   

        <div class="col-sm-12" id="work_file_video_<?php echo $video_counter; ?>" name="work_file_video_<?php echo $video_counter; ?>" style="display: none">
            <input type="hidden" id="work_file_id<?php echo $video_counter; ?>" name="work_file_id<?php echo $video_counter; ?>" value="">
            <!-- ---------Video Course Upload Video Work File Name Start---------- -->   
            <div class="form-group col-sm-10">
                <div class="input-group">
                    <input type="text" 
                           class="form-control"
                           id="work_file_name<?php echo $video_counter; ?>"
                           name="work_file_name<?php echo $video_counter; ?>"
                           onkeyup ="checkError('work_file_name<?php echo $video_counter; ?>','<?php echo $video_counter; ?>' )"
                           placeholder="Please Type Work File Name"  >
                    <span class="input-group-addon "  title="Please Type Work File Name"><i class="fa fa-file"></i></span>
                </div>
                <span style="color: red;" id="work_file_name_error<?php echo $video_counter; ?>"><?php //echo form_error('work_file_name');  ?></span>
            </div>
            <div class="col-sm-12"><br></div>
            <!-- ---------Video Course Upload Video Work File Name End---------- --> 


            <!-- ---------Video Course Upload Video Work File Browse Start---------- -->   
            <div class="col-sm-7"> 
                <input tabindex = "-1"
                       style = "position: absolute; clip: rect(0px, 0px, 0px, 0px);"
                       id="work_file<?php echo $video_counter; ?>"
                       data-icon = "false" type = "file" value = ""
                       onchange="getAdminVideoWorkFile(this, '<?php echo $video_counter; ?>', '<?php echo base_url() . 'upload-admin-video-work-file' ?>')" >
                <div class = "bootstrap-filestyle input-group">
                    <input class = "form-control " disabled type = "text" 
                           id="view_work_file_name<?php echo $video_counter; ?>" value="">
                    <span tabindex = "0" class = "group-span-filestyle input-group-btn">
                        <label for = "work_file<?php echo $video_counter; ?>" class = "btn btn-default ">
                            <span class = "buttonText">Choose file</span>
                        </label>
                    </span>
                </div>
                <span class="pull-left" id="manage_upload_video_work_file_error<?php echo $video_counter; ?>" 
                      style="color: red">
                <span ><label style="color: #666;">[ Upload work file ]</label></span>
                </span>
            </div>
            <div class="col-sm-5"> 
                <div class="progress" id="progressID_work_file<?php echo $video_counter; ?>" style="display: none">
                    <div class="progress-bar progress-bar-success progress-bar-striped"
                         id="progressBar_work_file<?php echo $video_counter; ?>"
                         role="progressbar"
                         aria-valuenow="90" 
                         aria-valuemin="0" aria-valuemax="100" 
                         style="">
                    </div>
                </div>

                <div id="processing_image_work_file<?php echo $video_counter; ?>" style="display:none">
                    <span>Processing</span>
                    <img src="<?php echo base_url('image/ajaxloader.gif') ?>" style="max-width: 35px;">
                </div>
            </div>
            <div class="col-sm-12"><br></div>
            <!-- ---------Video Course Upload Video Work File Browse End---------- --> 


            <!-- ---------Video Course Upload Video Work File Payment Type Start---------- -->   
            <div class="form-group col-sm-6">
                <div class="form-group col-sm-7 text-left pull-Left" style="margin-top: 10px">  <label >Work File Payment Type  :</label></div>
                <div class="form-group radio radio-success col-sm-5">
                    <input  type="radio" 
                            name="work_file_payment_type[<?php echo $video_counter; ?>]" 
                            id="free" value="1" >
                    <label for="free">Free</label>
                    <span style="margin-right: 30px"></span>
                    <input  type="radio" 
                            name="work_file_payment_type[<?php echo $video_counter; ?>]" 
                            id="paid" 
                            value="2">
                    <label for="paid">Paid</label>
                </div>
            </div>
            <div class="col-sm-12"></div>
            <!-- ---------Video Course Upload Video Work File Payment Type End---------- --> 
        </div>

        <!-- ---------Video Course Upload Video Status Start---------- -->   
        <div class="form-group col-sm-6">
            <div class="form-group col-sm-5 text-left" style="margin-top: 10px">  <label>Video Status  :</label></div>
            <div class="form-group radio radio-success col-sm-7">
                <input  type="radio" 
                        name="manage_video_status[<?php echo $video_counter; ?>]" 
                        id="active" 
                        onclick="checkManageVideoName(this.value, '<?php echo $video_counter; ?>')"
                        value="1" >
                <label for="active">Active</label>
                <span style="margin-right: 30px"></span>
                <input  type="radio" 
                        name="manage_video_status[<?php echo $video_counter; ?>]" 
                        id="draft" 
                        onclick="checkManageVideoName(this.value, '<?php echo $video_counter; ?>')"
                        value="2">
                <label for="draft">Draft</label>
            </div>
            <span class="col-sm-12" style="color: red;" id="manage_video_status_error<?php echo $video_counter; ?>"><?php //echo form_error('manage_video_status');  ?></span>
        </div>
        <div class="col-sm-12"><br></div>
        <!-- ---------Video Course Upload Video Status End---------- -->   
    </div>

