Esempio n. 1
0
        echo $col1[$i];
        ?>
		</td>
		<td>
<?php 
        echo $col[$i];
        ?>
		</td>
		</tr>
<?php 
    }
    $i++;
}
?>
</table>
<?php 
$gID = getCurGroup();
if ($gID == 2) {
    if (isset($_POST['delInstance'])) {
        //Remove Code here!
    }
    ?>
	<form method=POST>
	<br><button type='submit' name='delInstance'>Delete</button>
	</form>
	<?php 
}
?>
</div>
<?php 
include "footer.php";
Esempio n. 2
0
');
				$('select#eventEndTime').attr('value','<?php 
    echo $_GET['End_Time'];
    ?>
');

		})
	<?php 
} else {
    ?>
	$(document).ready(function(){
		document.forms[0].buildingName.options[0].selected=true;
		document.forms[0].room.options[0].selected=true;
		document.forms[0].eventTitle.options[0].selected=true;
	});
	<?php 
}
if (getCurGroup() == 6) {
    ?>
	$(document).ready(function(){
			if($('#eventStartTime').val()>'17:00:00' ) {            
					$('#confirmedBy :nth-child(2)').attr('selected','selected');
			}
	});
	<?php 
}
?>

</script>
<?php 
require_once 'footer.php';