
<?php
if (session_status() == PHP_SESSION_NONE) {
    session_start();
}
if (!isset($_SESSION['stud_name'])) {
    header("Location: /har_ghar_tiranga_quiz/index.php");
    exit;
}
?>

<!DOCTYPE html>
<html lang="en">
    <head>
        <title>હર ઘર તિરંગા કિવઝ</title>
        <link rel="icon" type="image/x-icon" href="flaticon.ico">
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
        <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
    </head>
    <body style="background-color: aliceblue;">

        <div class="container text-center" style="padding: 10px">
            <div class="row">
                <div class="col-sm-3"></div>
                <div class="col-sm-6" style="background-color: white">
                    <img src="logo1.jpg" class="img-rounded" style="width: 100%;height: 160px;margin: 10px">
<!--                    <h1><b><span style="color: orange">હર ઘર</span> તિરંગા <span style="color: green">કિવઝ</span></b></h1>
                    <h5>આઝાદી કા અમૃત મહોત્સવે આપનું જ્ઞાન ચકાસીએ.</h5> -->
                    <!--<hr style="height: 4px;border-width:0;color:orange;background-color:orange">-->
                </div>
                <div class="col-sm-3"></div>
            </div>
        </div>

        <div class="container" style="padding: 5px">
            <div class="row">
                <div class="col-sm-3"></div>
                <div class="col-sm-6" style="background-color: white">
                    <hr style="height: 4px;border-width:0;color:orange;background-color:orange;margin-top: 0px;margin-bottom: 0px">
                    <div style="padding: 10px">
                        <h1><b><span style="color: orange">હર ઘર</span> તિરંગા <span style="color: green">કિવઝ</span></b></h1>
                        <!--                        <div style="background-color: sandybrown;padding-left: 2px;padding-top: 1px;padding-bottom: 1px;">
                                                    <h5 style="font-size: 16px;">હર ઘર તિરંગા કિવઝ માં ભાગ લઇ આપનું નોલેજ ચકાસીએ.  </h5>
                                                </div>-->
                        <h5>આઝાદી કા અમૃત મહોત્સવ નિમિત્તે આપનું સ્વાગત છે.</h5>

                        <h5><b style="font-size: 18px"><?php echo $_SESSION['stud_name']; ?></b></h5>
                    </div>
                    <hr style="height: 4px;border-width:0;color:orange;background-color:orange;margin-top: 0px;margin-bottom: 0px">
                </div>
                <div class="col-sm-3"></div>
            </div>
        </div>

        <div class="container" style="padding: 5px">
            <div class="row">
                <div class="col-sm-3"></div>
                <div class="col-sm-6" style="background-color: white">
                    <form action="" style="padding: 10px">
                        <div class="form-group">
                            <label style="font-weight: 600">૧. અશોકચક્રનો વ્યાસ સફેદ પટ્ટાની પહોળાઈ ______ભાગ જેટલો હોય છે?</label>
                            <div class="form-check">                                
                                <?php
                                if ($_SESSION['que1'] == 'A') {
                                    ?>                                
                                    <input class="form-check-input" type="radio" name="que1" id="que1" value="A" checked="">
                                    <?php
                                } else {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que1" id="que1" value="A">
                                    <?php
                                }
                                ?> 
                                <label class="form-check-label" style="font-weight: 5">
                                    2:4
                                </label>

                            </div>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que1'] == 'B') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que1" id="que1" value="B" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que1" id="que1" value="B">
                                    <?php
                                }
                                ?>
                                <label class="form-check-label" style="font-weight: 5">
                                    3:4
                                </label>

                            </div>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que1'] == 'C') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que1" id="que1" value="C" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que1" id="que1" value="C">
                                <?php }
                                ?>
                                <label class="form-check-label" style="font-weight: 5">
                                    2:3
                                </label>
                            </div>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que1'] == 'D') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que1" id="que1" value="D" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que1" id="que1" value="D">
                                <?php }
                                ?>
                                <label class="form-check-label" style="font-weight: 5">
                                    4:2
                                </label>
                            </div>
                            <div style="color: green"><b>
                                    Correct Answer - 3:4
                                </b></div>
                            <div id="msg_que1"></div>
                        </div>
                        <hr style="height: 1px;border-width:0;color:orange;background-color:orange;margin-top: 0px;">
                        <div class="form-group">
                            <label style="font-weight: 600">૨. રાષ્ટ્રગીત જન ગણ મન _________ કેટલા સેકંડમાં પૂર્ણ કરવાનું હોય છે.</label>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que2'] == 'A') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que2" id="que2" value="A" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que2" id="que2" value="A">
                                <?php }
                                ?>
                                <label class="form-check-label" style="font-weight: 500">
                                    24
                                </label>
                            </div>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que2'] == 'B') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que2" id="que2" value="B" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que2" id="que2" value="B">
                                <?php }
                                ?>
                                <label class="form-check-label" style="font-weight: 500">
                                    52
                                </label>
                            </div>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que2'] == 'C') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que2" id="que2" value="C" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que2" id="que2" value="C">
                                <?php }
                                ?>
                                <label class="form-check-label" style="font-weight: 500">
                                    22
                                </label>
                            </div>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que2'] == 'D') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que2" id="que2" value="D" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que2" id="que2" value="D">
                                <?php }
                                ?>
                                <label class="form-check-label" style="font-weight: 500">
                                    51
                                </label>
                            </div>
                            <div style="color: green"><b>
                                    Correct Answer - 52
                                </b></div>
                            <div id="msg_que2"></div>
                        </div>
                        <hr style="height: 1px;border-width:0;color:orange;background-color:orange;margin-top: 0px;">
                        <div class="form-group">
                            <label style="font-weight: 600">૩. સ્વતત્રતા દિવસ (૧૫ મી ઓગસ્ટ) ના રોજ ભારતમાં ધ્વજરોકાણ કોણ કરે છે ?</label>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que3'] == 'A') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que3" id="que3" value="A" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que3" id="que3" value="A">
                                <?php }
                                ?>
                                <label class="form-check-label" style="font-weight: 500">
                                    વડાપ્રધાન
                                </label>
                            </div>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que3'] == 'B') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que3" id="que3" value="B" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que3" id="que3" value="B">
                                <?php }
                                ?>
                                <label class="form-check-label" style="font-weight: 500">
                                    રાષ્ટ્રપતિ 
                                </label>
                            </div>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que3'] == 'C') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que3" id="que3" value="C" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que3" id="que3" value="C">
                                <?php }
                                ?>
                                <label class="form-check-label" style="font-weight: 500">
                                    મુખ્યમંત્રી
                                </label>
                            </div>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que3'] == 'D') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que3" id="que3" value="D" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que3" id="que3" value="D">
                                <?php }
                                ?>
                                <label class="form-check-label" style="font-weight: 500">
                                    સચિવ
                                </label>
                            </div>
                            <div style="color: green"><b>
                                    Correct Answer - વડાપ્રધાન
                                </b></div>
                            <div id="msg_que3"></div>
                        </div>
                        <hr style="height: 1px;border-width:0;color:orange;background-color:orange;margin-top: 0px;">
                        <div class="form-group">
                            <label style="font-weight: 600">૪. ભારતમાં તિરંગા ઝંડા વિશે કયું વિધાન સાચું નથી?</label>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que4'] == 'A') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que4" id="que4" value="A" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que4" id="que4" value="A">
                                <?php }
                                ?>
                                <label class="form-check-label" style="font-weight: 500">
                                    ૧.સફેદ પટ્ટીની વચ્ચે એક ચક્ર કે જે પ્રગતિ અને ગતિશીલતાનું પ્રતિક છે.
                                </label>
                            </div>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que4'] == 'B') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que4" id="que4" value="B" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que4" id="que4" value="B">
                                <?php }
                                ?>
                                <label class="form-check-label" style="font-weight: 500">
                                    ૨.ઝંડાની લંબાઈ અને પહોળાઈ ગુણોતર ૨:૩ છે.
                                </label>
                            </div>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que4'] == 'C') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que4" id="que4" value="C" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que4" id="que4" value="C">
                                <?php }
                                ?>
                                <label class="form-check-label" style="font-weight: 500">
                                    ૩.અશોકચક્રમાં કુલ ૨૪ આરા હોય છે.
                                </label>
                            </div>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que4'] == 'D') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que4" id="que4" value="D" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que4" id="que4" value="D">
                                <?php }
                                ?>
                                <label class="form-check-label" style="font-weight: 500">
                                    ૪.રાષ્ટ્રધ્વજમાં સોથી નીચે કેસરી કલર હોય છે.
                                </label>
                            </div>
                            <div style="color: green"><b>
                                    Correct Answer - ૪.રાષ્ટ્રધ્વજમાં સોથી નીચે કેસરી કલર હોય છે.
                                </b></div>
                            <div id="msg_que4"></div>
                        </div>
                        <hr style="height: 1px;border-width:0;color:orange;background-color:orange;margin-top: 0px;">
                        <div class="form-group">
                            <label style="font-weight: 600">૫. દર વર્ષે રાષ્ટ્રીય ઝંડા દિવસ ક્યારે મનાવવામાં આવે છે?</label>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que5'] == 'A') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que5" id="que5" value="A" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que5" id="que5" value="A">
                                <?php }
                                ?>
                                <label class="form-check-label" style="font-weight: 500">
                                    21મી જુલાઈ
                                </label>
                            </div>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que5'] == 'B') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que5" id="que5" value="B" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que5" id="que5" value="B">
                                <?php }
                                ?>
                                <label class="form-check-label" style="font-weight: 500">
                                    15મી ઓગસ્ટ
                                </label>
                            </div>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que5'] == 'C') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que5" id="que5" value="C" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que5" id="que5" value="C">
                                <?php }
                                ?>
                                <label class="form-check-label" style="font-weight: 500">
                                    22મી જુન
                                </label>
                            </div>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que5'] == 'D') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que5" id="que5" value="D" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que5" id="que5" value="D">
                                <?php }
                                ?>
                                <label class="form-check-label" style="font-weight: 500">
                                    22મી જુલાઈ
                                </label>
                            </div>
                            <div style="color: green"><b>
                                    Correct Answer - 22મી જુલાઈ
                                </b></div>
                            <div id="msg_que5"></div>
                        </div>
                        <hr style="height: 1px;border-width:0;color:orange;background-color:orange;margin-top: 0px;">
                        <div class="form-group">
                            <label style="font-weight: 600">૬. રાષ્ટ્રધ્વજમાં પ્રથમ અશોકચક્રના સ્થાને શાનું પ્રતીક હતું? </label>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que6'] == 'A') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que6" id="que6" value="A" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que6" id="que6" value="A">
                                <?php }
                                ?>
                                <label class="form-check-label" style="font-weight: 500">
                                    રેટિયો
                                </label>
                            </div>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que6'] == 'B') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que6" id="que6" value="B" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que6" id="que6" value="B">
                                <?php }
                                ?>
                                <label class="form-check-label" style="font-weight: 500">
                                    સિંહ
                                </label>
                            </div>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que6'] == 'C') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que6" id="que6" value="C" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que6" id="que6" value="C">
                                <?php }
                                ?>
                                <label class="form-check-label" style="font-weight: 500">
                                    બળદ
                                </label>
                            </div>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que6'] == 'D') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que6" id="que6" value="D" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que6" id="que6" value="D">
                                <?php }
                                ?>
                                <label class="form-check-label" style="font-weight: 500">
                                    મોર
                                </label>
                            </div>
                            <div style="color: green"><b>
                                    Correct Answer - રેટિયો
                                </b></div>
                            <div id="msg_que6"></div>
                        </div>
                        <hr style="height: 1px;border-width:0;color:orange;background-color:orange;margin-top: 0px;">
                        <div class="form-group">
                            <label style="font-weight: 600">૭. ગણતંત્ર દિવસ (૨૬ મી જાન્યુઆરી ) ના રોજ ભારતનો ધ્વજારોહણ કોણ કરે છે?</label>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que7'] == 'A') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que7" id="que7" value="A" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que7" id="que7" value="A">
                                <?php }
                                ?>
                                <label class="form-check-label" style="font-weight: 500">
                                    વડાપ્રધાન
                                </label>
                            </div>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que7'] == 'B') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que7" id="que7" value="B" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que7" id="que7" value="B">
                                <?php }
                                ?>
                                <label class="form-check-label" style="font-weight: 500">
                                    મુખ્યમંત્રી
                                </label>
                            </div>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que7'] == 'C') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que7" id="que7" value="C" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que7" id="que7" value="C">
                                <?php }
                                ?>
                                <label class="form-check-label" style="font-weight: 500">
                                    રાષ્ટ્રપતિ
                                </label>
                            </div>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que7'] == 'D') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que7" id="que7" value="D" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que7" id="que7" value="D">
                                <?php }
                                ?>
                                <label class="form-check-label" style="font-weight: 500">
                                    સચિવ
                                </label>
                            </div>
                            <div style="color: green"><b>
                                    Correct Answer - રાષ્ટ્રપતિ
                                </b></div>
                            <div id="msg_que7"></div>
                        </div>
                        <hr style="height: 1px;border-width:0;color:orange;background-color:orange;margin-top: 0px;">
                        <div class="form-group">
                            <label style="font-weight: 600">૮. ભારતનું ઝંડાગીત ( વિજય વિશ્વ તિરંગા પ્યારા) ની રચના કોને કરી છે.</label>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que8'] == 'A') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que8" id="que8" value="A" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que8" id="que8" value="A">
                                <?php }
                                ?>
                                <label class="form-check-label" style="font-weight: 500">
                                    શ્યામલાલ ગુપ્ત પાર્ષદ 
                                </label>
                            </div>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que8'] == 'B') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que8" id="que8" value="B" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que8" id="que8" value="B">
                                <?php }
                                ?>
                                <label class="form-check-label" style="font-weight: 500">
                                    મેડમ ભિખાયજી કામા
                                </label>
                            </div>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que8'] == 'C') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que8" id="que8" value="C" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que8" id="que8" value="C">
                                <?php }
                                ?>
                                <label class="form-check-label" style="font-weight: 500">
                                    સરદાર પટેલ
                                </label>
                            </div>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que8'] == 'D') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que8" id="que8" value="D" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que8" id="que8" value="D">
                                <?php }
                                ?>
                                <label class="form-check-label" style="font-weight: 500">
                                    જવાહરલાલ નહેરુ  
                                </label>
                            </div>
                            <div style="color: green"><b>
                                    Correct Answer - શ્યામલાલ ગુપ્ત પાર્ષદ 
                                </b></div>
                            <div id="msg_que8"></div>
                        </div>
                        <hr style="height: 1px;border-width:0;color:orange;background-color:orange;margin-top: 0px;">
                        <div class="form-group">
                            <label style="font-weight: 600">૯. રાષ્ટ્રની આન બાન અને શાન શું છે?</label>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que9'] == 'A') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que9" id="que9" value="A" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que9" id="que9" value="A">
                                <?php }
                                ?>
                                <label class="form-check-label" style="font-weight: 500">
                                    જાંબલી
                                </label>
                            </div>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que9'] == 'B') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que9" id="que9" value="B" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que9" id="que9" value="B">
                                <?php }
                                ?>
                                <label class="form-check-label" style="font-weight: 500">
                                    લાલ રંગ 
                                </label>
                            </div>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que9'] == 'C') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que9" id="que9" value="C" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que9" id="que9" value="C">
                                <?php }
                                ?>
                                <label class="form-check-label" style="font-weight: 500">
                                    પીળો રંગ
                                </label>
                            </div>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que9'] == 'D') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que9" id="que9" value="D" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que9" id="que9" value="D">
                                <?php }
                                ?>
                                <label class="form-check-label" style="font-weight: 500">
                                    તિરંગો  
                                </label>
                            </div>
                            <div style="color: green"><b>
                                    Correct Answer - તિરંગો  
                                </b></div>
                            <div id="msg_que8"></div>
                            <div id="msg_que9"></div>
                        </div>
                        <hr style="height: 1px;border-width:0;color:orange;background-color:orange;margin-top: 0px;">
                        <div class="form-group">
                            <label style="font-weight: 600">૧૦. સૌ પ્રથમ રાષ્ટ્રધ્વજ કોણે ફરકાવ્યો હતો?</label>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que10'] == 'A') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que10" id="que10" value="A" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que10" id="que10" value="A">
                                <?php }
                                ?>
                                <label class="form-check-label" style="font-weight: 500">
                                    લાલા લજપત રાય 
                                </label>
                            </div>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que10'] == 'B') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que10" id="que10" value="B" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que10" id="que10" value="B">
                                <?php }
                                ?>
                                <label class="form-check-label" style="font-weight: 500">
                                    બાલ ગંગાધર તિલક 
                                </label>
                            </div>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que10'] == 'C') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que10" id="que10" value="C" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que10" id="que10" value="C">
                                <?php }
                                ?>
                                <label class="form-check-label" style="font-weight: 500">
                                    મેડમ ભિખાયજી કામા
                                </label>
                            </div>
                            <div class="form-check">
                                <?php
                                if ($_SESSION['que10'] == 'D') {
                                    ?> 
                                    <input class="form-check-input" type="radio" name="que10" id="que10" value="D" checked="">
                                    <?php
                                } else {
                                    ?>
                                    <input class="form-check-input" type="radio" name="que10" id="que10" value="D">
                                <?php }
                                ?>
                                <label class="form-check-label" style="font-weight: 500">
                                    ચંદ્રશેખર આઝાદ  
                                </label>
                            </div>
                            <div style="color: green"><b>
                                    Correct Answer - મેડમ ભિખાયજી કામા 
                                </b></div>
                            <div id="msg_que10"></div>
                        </div>

                        <button type="button" class="btn btn-primary btnsave" id="btn-submit" tabindex="6">Go To Home</button>
                        <!--                                                <button type="reset" class="btn btn-default clear" tabindex="7">Clear</button>
                                                                        <div id="msg_success" style="display:none;font-size: 16px;color: green;padding: 5px">
                                                                            * Data Insert Successfully!
                                                                        </div>-->
                    </form>
                </div>
                <div class="col-sm-3"></div>
            </div>
        </div>
        <div style="margin-bottom: 100px;background-color: white"></div>

    </body>

    <script type="text/javascript">

        $(document).ready(function () {
            $(document.body).on('click', '.btnsave', function (e) {

                var send = {'go_to_index': "1"}
                $.ajax({
                    type: 'POST',
                    data: send,
                    url: './PHP_Code/student_entry.php',
                    success: function (data) {
                        debugger;
//                    console.log('success');
//                    console.log(JSON.stringify(data));
//                            alert('data ' + data);
                        window.location.href = '/har_ghar_tiranga_quiz/index.php';

                    }, error: function (xhr, err) {
                        alert('Error ' + err.message);
                    }
                });

            });
        });

    </script>

</html>