
                <input type="hidden" name="tutorial_topic_id[<?php echo $Counter; ?>]" 
                       id="tutorial_topic_id<?php echo $Counter ?>" 
                       value="">
                
                <input type="hidden" name="topics_url_id[<?php echo $Counter; ?>]" 
                       id="topics_url_id<?php echo $Counter ?>" 
                       value="">


                <div class="form-group col-sm-12">
                    <div class="input-group">
                        <input id="TopicsTitleCounter<?php echo $Counter; ?>" name="topics_title[]" type="text" data-errormessage-value-missing="Tutorial Topic title is required!" 
                               class="form-control validate[required] text-input" placeholder="Plesse Type your Topics Title.." aria-describedby="basic-addon1">
                        <span class="input-group-addon" id="basic-addon1" title="Plesse Type your  Topics Title"><i class="fa fa-book"></i></span>
                    </div>


                </div>
                <div class="col-sm-12"><br> </div>
                <div class="form-group col-sm-6 ">
                    <div class="input-group">
                        <input onkeyup="checkUrl(this.value, 'url_status[<?php echo $Counter; ?>]')" id="TopicsURLCounter<?php echo $Counter; ?>" name="topics_url[]" type="text" data-errormessage-value-missing="Tutorial Topic URL is required!" 
                               class="form-control validate[required,custom[groupurl]] text-input" placeholder="Type your Topics URL.." aria-describedby="basic-addon1">
                        <span class="input-group-addon" id="basic-addon1" title="Type your Topics URL"><i class="fa fa-link"></i></span>
                    </div>
                </div>
                <div class="form-group col-sm-6" id="url_status[<?php echo $Counter; ?>]">

                </div>


                <div class="col-sm-12"><br> </div>


                <div class="form-group col-sm-12" >

                    <div class="input-group screen1280" id="screen01280">
                        <center> <textarea id="TopicsEditorCounter<?php echo $Counter . '0'; ?>"  name="topics_description[]" class="form-control  resoulation1280 " rows="4"   ></textarea></center>
                    </div>
                    <br>
                </div>

                <div class="col-sm-12"><br> </div>
                <div class="form-group col-sm-6">
                    <label for="tutorial_topic_status">Tutorial Topic Status</label><span class="required"> *</span>
                    <input  type="radio" 
                            data-errormessage-value-missing="Tutorial topic Status is Required!" 
                            class="validate[required] text-input"
                            name="tutorial_topic_status[<?php echo $Counter; ?>]" 
                            id="tutorial_topic[<?php echo $Counter; ?>]"
                            value="1"/>Published
                    <input type="radio" 
                           data-errormessage-value-missing="Tutorial topic Status is Required!" 
                           class="validate[required] text-input" 
                           name="tutorial_topic_status[<?php echo $Counter; ?>]" 
                           id="tutorial_topic[<?php echo $Counter; ?>]" 
                           value="0"/>Unpublished

                </div>


                <input type="hidden" name="work_files_management_id[<?php echo $Counter; ?>]" 
                       id="work_files_management_id<?php echo $Counter ?>" 
                       value="">

                <div class="col-sm-12"><br> </div>
                <div class="form-group col-sm-8 col-sm-offset-2 " style="background-color: limegreen;padding: 1px">

                    <input type="text" data-errormessage-value-missing="Tutorial work file name is required!" 
                           class="form-control validate[required] text-input" 
                           name="tutorial_work_file_name[]"
                           id="tutorial_work_file_name<?php echo $Counter; ?>"
                           placeholder="Please type work file name" id="tutorial_work_file_name<?php echo $Counter; ?>">
                </div>
                <div class="col-sm-12"><br> </div>
                <div class="form-group col-sm-8 col-sm-offset-2 " style="background-color: limegreen;padding: 1px">

                    <input type="file" data-errormessage-value-missing="Tutorial work  name is required!" 
                           class="form-control validate[required] text-input" name="tutorial_work_file<?php echo $Counter; ?>" id="tutorial_work_file<?php echo $Counter; ?>">
                </div>

                <div class="col-sm-12"><br> </div>
                <div class="form-group col-sm-8 col-sm-offset-2">
                    <label for="tutorial_work_file_status">Tutorial Work File Status</label><span class="required"> * <?php echo form_error('status'); ?></span>
                    <input  type="radio" 
                            data-errormessage-value-missing="Tutorial Work file Status is Required!" 
                            class="validate[required]] text-input"  
                            name="tutorial_work_file_status[<?php echo $Counter; ?>]" 
                            id="tutorial_work_file_status[<?php echo $Counter; ?>]"
                            value="1"/>Published
                    <input type="radio" 
                           data-errormessage-value-missing="Tutorial work file Status is Required!" 
                           class="validate[required]] text-input"  
                           name="tutorial_work_file_status[<?php echo $Counter; ?>]" 
                           id="tutorial_work_file_status[<?php echo $Counter; ?>]" 
                           value="0"/>Unpublished
                    <script>
                        document.forms['add_work_file_form'].elements['tutorial_work_file_status'].value = '<?php echo set_value('tutorial_work_file_status'); ?>';
                    </script>
                </div>

                <div class="col-sm-12"><br> </div>

                <div id="add_more_topics[<?php echo $Counter; ?>]"></div>


                <div class="col-sm-12"><br></div>
                <div class="col-sm-2"></div>
                <div class="form-group col-sm-4">
                    <a href="#" onclick="AddMoreWorkFile()" class="green-btn btn btn-success" >Add More Work File </a>
                </div>




                <div class="form-group col-sm-12"><br> </div>
