Пример #1
0
 /><br />

			<label><input type="checkbox" name="data[course][is_core]" <?php 
echo $courseIsCore;
?>
 /> 
			Is Core Course</label><br />
			
			Instructors who teach/taught this course<br />

			<div>

			<?php 
include_once 'functions.php';
$iseries = new ISeries();
$iseries->createInstOptions();
$options = $iseries->getInstOptions();
?>
			<script type="text/javascript">
				function addInstructor(tableID) {
				    var table = document.getElementById(tableID);
				    var rowCount = table.rows.length;
				    var row = table.insertRow(rowCount);
				    rowNum = rowCount;
				    
				    var cell1 = row.insertCell(0);
				    var element1 = document.createElement("input");
				    element1.type = "checkbox";
				    cell1.appendChild(element1);
				
				    var cell2 = row.insertCell(1);