<?php if ($quiz_info->quiz_random_static == 1) { ?>
    <p>This is Random Quiz (All question number is need to be same)</p>
    <div class="col-sm-6 padding-zero">
        <input type="number" 
               data-errormessage-value-missing="Mark is required!" 
               class="form-control validate[required]"  
               id="points_per_answer" name="points_per_answer" value="<?php echo $first_question->points_per_answer; ?>"   
               onchange = "checkNegative(this.value, 'marks3', 'marks_err3');"  
               placeholder="Type  question Marks" 
               title="Type  question Marks">
    </div>

    <div class="col-sm-6 padding-zero">
        <input type="number" 
               data-errormessage-value-missing="Time limit required!"
               class="form-control validate[required]"  
               id="time_limit" name="time_limit" value="<?php echo $first_question->time_limit; ?>"  
               onchange = "checkNegative(this.value, 'time_limit3', 'time_err3');" 
               placeholder="Type Time Limit (In minute)" 
               title="Type Time Limit (In minute)">
    </div>

<?php } else if ($quiz_info->quiz_random_static == 2) { ?>
    <p>This is Static Quiz (question point and time can be different)</p>
    <div class="col-sm-6 padding-zero">
        <input type="number" 
               data-errormessage-value-missing="Mark is required!" 
               class="form-control validate[required]"  
               id="points_per_answer" name="points_per_answer" value="<?php echo $question_info->points_per_answer; ?>"   
               onchange = "checkNegative(this.value, 'marks3', 'marks_err3');"  
               placeholder="Type  question Marks" 
               title="Type  question Marks">
    </div>

    <div class="col-sm-6 padding-zero">
        <input type="number" 
               data-errormessage-value-missing="Time limit required!"
               class="form-control validate[required]"  
               id="time_limit" name="time_limit" value="<?php echo $question_info->time_limit; ?>"  
               onchange = "checkNegative(this.value, 'time_limit3', 'time_err3');" 
               placeholder="Type Time Limit (In minute)" 
               title="Type Time Limit (In minute)">
    </div>

<?php } ?>
