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


    <div class="row ">
        <div class="col-sm-12 " style="padding: 0">
            <div class="col-sm-12" >
                <h4 class="text-left">
                    All Quiz Information
                </h4>
                <hr>
            </div>

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


                <div class="col-sm-12 gray_ttc text-center" style="border-bottom: 2px solid #8CC73F;padding-top: 10px;padding-bottom: 10px;font-weight: bold">
                    <div class="col-sm-3" style="padding:10px 0">Quiz Name</div>
                    <div class="col-sm-3" style="padding:10px 0">Quiz Type</div>
                    <div class="col-sm-2" style="padding:10px 0"> Question</div>
                    <div class="col-sm-2" style="padding:10px 0">Time</div>
                    <div class="col-sm-2" style="padding:10px 0">Action</div>

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

                <?php
                foreach ($all_quiz as $v_quiz) {
                    $quiz_id = $v_quiz->quiz_id;
                    $quiz_status = $v_quiz->quiz_status;
                    $url = $v_quiz->url;
                    $quiz_pulication_status = $v_quiz->quiz_pulication_status;
                    ?>

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

                                                        <!--<div class="col-sm-3" style="padding:5px 0"><a href="<?php // echo base_url()         ?>quiz/q1">Quiz 1</a></div>-->
                        <div class="col-sm-3" style="padding:5px 0">
                            <a href="<?php echo base_url() . 'quiz/' . $v_quiz->quiz_public_id; ?>">
                                <?php echo $v_quiz->quiz_name; ?>
                            </a>
                        </div>
                        <div class="col-sm-3" style="padding:5px 0">
                            <a href="<?php echo base_url() ?>course/learner">
                                <?php echo $v_quiz->topic_name; ?>
                            </a>
                        </div>
                        <div class="col-sm-2" style="padding:10px 0"><?php echo count($quiz_questions[$quiz_id]); ?></div>
                        <!--<div class="col-sm-2" style="padding:5px 0">34 / 50 Min</div>-->
                        <div class="col-sm-2">/<?php echo $v_quiz->total_time; ?> Min</div>

                        <div class="col-sm-2" style="padding:5px 0">
                            <a href="<?php echo base_url() ?>quiz/view-learner-grade"><i class="fa  fa-sun-o" title="View Grade"></i></a>&nbsp;&nbsp;
                            <a href="<?php echo base_url() ?>quiz/view-learner-certificate"><i class="fa  fa-certificate" title="View Certificate"></i></a>&nbsp;&nbsp;
                            <a href="<?php echo base_url() . 'quiz/' . $v_quiz->quiz_public_id . '/result'; ?>"><i class="fa  fa-th" title="Details Quiz Result"></i></a>&nbsp;&nbsp;
                            <a href="<?php echo base_url() . 'quiz/' . $v_quiz->quiz_public_id . '/start-quiz'; ?>"><i class="fa  fa-reply" title="Retake"></i></a>
                        </div>
                    </div>
                    <div class="col-sm-12"><br></div> 
                    <?php } ?>



                <!--                <nav class="course-pagination">
                                    <ul class="pagination">
                                        <li>
                                            <a href="#" aria-label="Previous">
                                                <span aria-hidden="true" title="First Page">&laquo;&laquo;</span>
                                            </a>
                                        </li>
                                        <li>
                                            <a href="#" aria-label="Previous">
                                                <span aria-hidden="true" title="Previous Page">&laquo;</span>
                                            </a>
                                        </li>
                                        <li><a href="#">1</a></li>
                                        <li><a href="#">2</a></li>
                                        <li><a href="#">3</a></li>
                                        <li><a href="#">4</a></li>
                                        <li><a href="#">5</a></li>
                                        <li>
                                            <a href="#" aria-label="Next">
                                                <span aria-hidden="true" title="Next Page">&raquo;</span>
                                            </a>
                                        </li>
                                        <li>
                                            <a href="#" aria-label="Next">
                                                <span aria-hidden="true" title="Last Page">&raquo;&raquo;</span>
                                            </a>
                                        </li>
                                    </ul>
                                </nav>-->

            </div>

        </div>



    </div>


</div>