<div class="col-sm-10">
    <div class="col-sm-12">

        <div class="row ">


            <div class="col-sm-12 ">
                <div class="col-sm-12 adsTop">

                    <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
                    <!--TT_New_Responsive--> 
                    <ins  class="adsbygoogle "
                          style="display:block;"
                          data-ad-client="ca-pub-3140114751019908"
                          data-ad-slot="5075345027"
                          data-ad-format="auto"></ins>
                    <script>
                        (adsbygoogle = window.adsbygoogle || []).push({});
                    </script>
                </div>
                <div class="adsTop2">

                    <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
                    <!--TT_New_Responsive--> 
                    <ins  class="adsbygoogle"
                          style="display:block"
                          data-ad-client="ca-pub-3140114751019908"
                          data-ad-slot="5075345027"
                          data-ad-format="auto"></ins>
                    <script>
                        (adsbygoogle = window.adsbygoogle || []).push({});
                    </script>
                </div>
                <div class="adsTop3">

                    <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
                    <!--TT_New_Responsive--> 
                    <ins  class="adsbygoogle"
                          style="display:block"
                          data-ad-client="ca-pub-3140114751019908"
                          data-ad-slot="5075345027"
                          data-ad-format="auto"></ins>
                    <script>
                        (adsbygoogle = window.adsbygoogle || []).push({});
                    </script>
                </div>
                <div class="adsTop4">
                    <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
                    <!--TT_New_Responsive--> 
                    <ins  class="adsbygoogle"
                          style="display:block"
                          data-ad-client="ca-pub-3140114751019908"
                          data-ad-slot="5075345027"
                          data-ad-format="auto"></ins>
                    <script>
                        (adsbygoogle = window.adsbygoogle || []).push({});
                    </script>
                </div>
                <div class="adsTop5">
                    <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
                    <!--TT_New_Responsive--> 
                    <ins  class="adsbygoogle"
                          style="display:block"
                          data-ad-client="ca-pub-3140114751019908"
                          data-ad-slot="5075345027"
                          data-ad-format="auto"></ins>
                    <script>
                        (adsbygoogle = window.adsbygoogle || []).push({});
                    </script>
                </div>
                <div class="adsTop6">
                    <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
                    <!--TT_New_Responsive--> 
                    <ins  class="adsbygoogle"
                          style="display:block"
                          data-ad-client="ca-pub-3140114751019908"
                          data-ad-slot="5075345027"
                          data-ad-format="auto"></ins>
                    <script>
                        (adsbygoogle = window.adsbygoogle || []).push({});
                    </script>
                </div>
            </div>    
        </div>    
    </div> 

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

        <div class="row ">


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

                <div class="col-sm-12">
                    <h3>
                        <a href="#"> <span class="pull-Left" style="font-size: 18px">Previous</span></a>
                        <a href="#"> <span class="pull-right" style="font-size: 18px">Next Topic</span></a>
                    </h3>

                    <hr>

                </div>

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


                    <div class="col-sm-12 gray" >

                        <?php if ($tutorial_topic) { ?>

                            <?php foreach ($tutorial_topic as $v_tutorial_topic) { ?>
                                <div class="col-sm-12 text-left" >
                                    <?php echo $v_tutorial_topic->tutorial_topic_description ?>
                                    <div class="col-sm-12 "><hr><br></div>
                                </div>
                            <?php } ?>
                        
                            <?php
                        } else {
                            echo ' Comming soon';
                        }
                        ?>
                        <div class="col-sm-12 text-left" >
                            <div class="course-detail-tab">
                                <ul id="tabs" class="nav nav-tabs" data-tabs="tabs">
                                    <li class="active"><a href="#work-files" data-toggle="tab">Work files</a></li>
                                    <li><a href="#quiz" data-toggle="tab">Quiz</a></li>

                                </ul>
                                <div id="my-tab-content" class="tab-content">


                                    <!-- work-files tab-->
                                    <div class="tab-pane active" id="work-files">
                                        <div class="tab-content panel-body">
                                            <h1>Work Files</h1>
                                            <p class="text-justify">
                                                Click the below links to download the zip files-
                                                <br><br>
                                                <?php if($topic_work_file){?>
                                                
                                                <?php foreach ($topic_work_file as $v_topic_work_file){?>
                                                <a href="<?php echo base_url().$v_topic_work_file->work_files_url;?>"><i class="fa fa-download"></i><?php echo $v_topic_work_file->work_files_name?></a><br>
                                                <?php }}?>

                                            </p>
                                        </div>   
                                    </div>
                                    <!-- /.work-files tab -->



                                    <!-- quiz tab -->
                                    <div class="tab-pane" id="quiz">
                                        <div class="tab-content panel-body">
                                            <div id="tutorial_question">   
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                <h1>Quiz</h1>
                                                <form method="post" role="form">

                                                    <p class="text-justify">
                                                        1. What does HTML stand for?
                                                    </p>
                                                    <div class="checkbox checkbox-success">
                                                        <div class="row">
                                                            <div class="col-md-6">
                                                                <input id="checkbox5" class="styled" type="checkbox"><label for="checkbox5">Home Tool Markup Language</label><br/>
                                                                <input id="checkbox6" class="styled" type="checkbox"><label for="checkbox6">Hyper Text Markup Language</label><br/>
                                                            </div>
                                                            <div class="col-md-6">
                                                                <input id="checkbox7" class="styled" type="checkbox"><label for="checkbox7">Hyperlinks and Text Markup Language</label><br/>
                                                                <input id="checkbox8" class="styled" type="checkbox"><label for="checkbox8">All of these</label><br/>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <p class="text-justify">
                                                        2.Choose the correct HTML element for the largest heading:</p>
                                                    <div class="radio radio-success">
                                                        <input type="radio" name="radio1" id="radio1" value="option1" checked>
                                                        <label for="radio1">Google</label>
                                                    </div>
                                                    <div class="radio radio-success">
                                                        <input type="radio" name="radio1" id="radio2" value="option2">
                                                        <label for="radio2">Microsoft</label>
                                                    </div>
                                                    <div class="radio radio-success">
                                                        <input type="radio" name="radio1" id="radio3" value="option3">
                                                        <label for="radio2">The World Wide Web Consortium</label>
                                                    </div>
                                                    <div class="radio radio-success">
                                                        <input type="radio" name="radio1" id="radio4" value="option4">
                                                        <label for="radio2">Mozilla</label>
                                                    </div>

                                                    <p class="text-justify">
                                                        3.What do you think about this question?</p>
                                                    <div class="input-group" style="width:60%;">
                                                        <input type="text" class="form-control" placeholder="write here.." aria-describedby="basic-addon1">
                                                    </div>
                                                    <br>
                                                    <p class="text-justify">
                                                        4.What do you think about Talha Training? </p>
                                                    <div class="input-group" style="width:60%;">
                                                        <input type="text" class="form-control" placeholder="write here.." aria-describedby="basic-addon1">
                                                    </div>
                                                    <br>
                                                    <p class="text-justify">
                                                        5.Describe briefly about question no 4.</p>
                                                    <div class="input-group" style="width:60%;">
                                                        <textarea class="form-control" rows="5" id="comment"></textarea>
                                                    </div>

                                                    <br>

                                                    <div class="form-group " style="width:30%;">
                                                        <a href="#show_result" onclick="testResult()" class="form-control btn btn-success"  aria-describedby="basic-addon1">Submit</a>
                                                    </div>
                                                </form>   
                                            </div>

                                            <div id="show_result" style="display: none">
                                                <h1>Result </h1><br>
                                                <p class="result-text">4 of 5</p>
                                                <p class="result-text">80%</p>
                                                <p class="result-text">Good!!!</p>
                                                <p class="result-text">Time Spent</p>
                                                <p class="result-text">4:18</p>
                                                <br>
                                                <br>

                                                <div class="form-group " style="width:30%;">
                                                    <a href="#answer_view" onclick="CheckAnswer()" class="form-control btn btn-success"  aria-describedby="basic-addon1">Check your answer</a>
                                                </div>
                                            </div>

                                            <div id="answer_view" style="display: none">

                                                <p class="text-justify" style="line-height: 25px">
                                                    1. Choose the correct HTML element for the largest heading:<br>
                                                    h1<br>
                                                    <label style="color: green"> Correct Answer!</label>
                                                </p>

                                                <p class="text-justify" style="line-height: 25px">
                                                    2. Choose the correct HTML element for the largest heading:<br>
                                                    h1<br>
                                                    <label style="color: green"> Correct Answer!</label>
                                                </p>


                                                <p class="text-justify" style="line-height: 25px">
                                                    3. Choose the correct HTML element for the largest heading:<br>
                                                    Hyper Text Markup Language<br>
                                                    <label class="text-red"> Wrong Answer!</label><br>
                                                    <label style="color: green"> Correct Answer : h1</label>
                                                </p>


                                                <p class="text-justify" style="line-height: 25px">
                                                    2. Choose the correct HTML element for the largest heading:<br>
                                                    h1<br>
                                                    <label style="color: green"> Correct Answer!</label>
                                                </p>


                                                <p class="text-justify" style="line-height: 25px">
                                                    3. Choose the correct HTML element for the largest heading:<br>
                                                    Hyper Text Markup Language<br>
                                                    <label class="text-red"> Wrong Answer!</label><br>
                                                    <label style="color: green"> Correct Answer : h1</label>
                                                </p>



                                            </div>



                                            <script>
                                                function testResult() {

                                                    var tutorial_question = document.getElementById('tutorial_question');
                                                    tutorial_question.setAttribute('style', 'display:none');

                                                    var show_result = document.getElementById('show_result');
                                                    show_result.setAttribute('style', 'display:block');
                                                }
                                                function CheckAnswer() {

                                                    var show_result = document.getElementById('show_result');
                                                    show_result.setAttribute('style', 'display:none');

                                                    var answer_view = document.getElementById('answer_view');
                                                    answer_view.setAttribute('style', 'display:block');
                                                }
                                            </script>






                                            <br>

                                        </div>   
                                    </div>
                                    <!-- /.quiz tab -->

                                </div>
                            </div>
                        </div>
                    </div>



                </div>

                <div class="col-sm-12">
                    <div class="col-sm-5">
                        <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
                        <!-- TT_New_Large Rectangle_336×280 -->
                        <ins id="bottomAdd1" class="adsbygoogle"
                             style="display:block;width:250px;height:280px"
                             data-ad-client="ca-pub-3140114751019908"
                             data-ad-slot="8028811426">

                        </ins>
                        <script>
                                                (adsbygoogle = window.adsbygoogle || []).push({});
                        </script>

                    </div>


                    <div class="col-sm-2"> &nbsp;</div>
                    <div class="col-sm-5">
                        <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
                        <!-- TT_New_Large_Mobile_Banner_320×100 -->
                        <ins class="adsbygoogle"
                             style="display:block;width:250px;height:280px"
                             data-ad-client="ca-pub-3140114751019908"
                             data-ad-slot="9505544625"></ins>
                        <script>
                                                (adsbygoogle = window.adsbygoogle || []).push({});
                        </script>

                    </div>
                </div>

            </div><!-- /.row gray -->


        </div>

    </div>
    <div class="col-sm-3 ">

        <div class="row ">

            <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
            <!-- TT_New_Large Skyscraper_300×600 -->
            <ins class="adsbygoogle"
                 style="display:inline-block;width:160px;height:600px"
                 data-ad-client="ca-pub-3140114751019908"
                 data-ad-slot="1982277824"></ins>
            <script>
                                                (adsbygoogle = window.adsbygoogle || []).push({});
            </script>


        </div>

    </div>


</div>


