

<div class="well">

      <ul class="tabs"> 
        <li><a href="#view1">Add Questions</a></li> 
      </ul> 
      <div class="tabcontents"> 
        <div id="view1">
        
        	<!-- form cut to the toolbar and project funding-->
        					 
                 
                    <table id="background-image">
                    <tr><td></td><td><span class="ast">*</span>indicate required fields </td></tr>
                    
                    
                    
                    <tr>
                    <td width="15%">Question Type</td>
                    <td width="85%"><select class="select_design" name="question_type"><option value="0">none</option>
                    <?php select_question_type($_SESSION['question']); ?></select>
                    <span class="ast">*</span></td>
                    </tr>
                    
                    <tr>
                    <td>Course Subject</td>
                    <td><select class="course_subject select_design" name="course_subject" id="course_subject"><option value="0">none</option>
                    <?php select_course_subject($_SESSION['course_subject']); ?></select>
                    <span class="ast">*</span></td>
                    </tr>
                    
                    
                     
                    <tr>
                    <td></td>
                    <td><div id="questions" name="questions"><?php echo $_POST['value'] ;?></div></td>
                    </tr>
                    
                    
                    <!-- pause exam tech first
                    <tr>
                    <td>Test Session</td>
                    <td><select class="select_design" name="test_session"><option value="0">none</option>
                    <?php //select_test_session($_SESSION['test_session']); ?></select>
                    <span class="ast">*</span></td>
                    </tr>
                    
                    -->
                    
                    <tr>
                    <td>Question Title</td>
                    <td><textarea cols="57" rows="9" name="title" class="rte1" action="#"><?php if(isset($_SESSION['title'])) 
					echo $_SESSION['title']; ?> </textarea><span class="ast">*</span> </td>
                    </tr>
                    
                    
                    <tr>
                    <td>Correct Answer</td>
                    <td><input type="text" value="<?php if(isset($_SESSION['answer'])) echo $_SESSION['answer']; ?>" 
                    name="answer" id="" maxlength="" size="60"/> <span class="ast">*</span></td>
                    </tr>
                    
                    <tr>
                    <td>Option 1</td>
                    <td><input type="text" value="<?php if(isset($_SESSION['option_1'])) echo $_SESSION['option_1']; ?>" 
                    name="option_1" id="" maxlength="" size="60"/> <span class="ast">*</span></td>
                    </tr> 
                    
                    <tr>
                    <td>Option 2</td>
                    <td><input type="text" value="<?php if(isset($_SESSION['option_2'])) echo $_SESSION['option_2']; ?>" 
                    name="option_2" id="" maxlength="" size="60"/><span class="ast">*</span> </td>
                    </tr>                                                
                    
                    
                    <tr>
                    <td>Option 3</td>
                    <td><input type="text" value="<?php if(isset($_SESSION['option_3'])) echo $_SESSION['option_3']; ?>" 
                    name="option_3" id="" maxlength="" size="60"/><span class="ast">*</span> </td>
                    </tr> 
                    
                    <tr>
                    <td>Option 4</td>
                    <td><input type="text" value="<?php if(isset($_SESSION['option_4'])) echo $_SESSION['option_4']; ?>" 
                    name="option_4" id="" maxlength="" size="60"/><span class="ast">*</span> </td>
                    </tr> 
                    
                    
                    <input type="hidden" value="save_questions" name="act" />

                    </table>
                
                     </form>
							
					<input class="btn btn-sm btn-info" type="submit" value="Go" name="submit"></input>

					<input type="hidden" value="validate_exam_session" name="act"></input>

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