Location: PHPKode > projects > ACollab > atutor/include/user_bar.inc.php
<tr>
	<td style="border-bottom: 1px solid #006699; background: #EFEFEF;">
	<form method="post" action="<?php echo AT_PATH; ?>bounce.php" target="_top">
		<table border="0" width="100%" cellspacing="2" cellpadding="0" bgcolor="white">
		<tr>
		<td bgcolor="#DEDEDE">
			<table border="0" width="100%" cellspacing="2" cellpadding="2">
			<tr>
				<td align="right"><b><small><?php
			/* show the list of courses with jump link */
			echo '&nbsp;';
			echo'<select name="course" class="dropdown" id="j" title="Jump:  ALT-j">'."\n";
			echo '<option value="0">'._AC('my_control_centre').'</option>';
			$sql	= "SELECT E.course_id, C.title FROM ".AT_TABLE_PREFIX."course_enrollment E, ".AT_TABLE_PREFIX."courses C WHERE E.member_id=$_SESSION[member_id] AND E.approved='y' AND E.course_id=C.course_id";
			$result = mysql_query($sql,$db);

			if ($row = mysql_fetch_assoc($result)) {
				echo '<optgroup label="'._AC('courses_below').'">';
				do {
					echo '<option value="'.$row['course_id'].'"';
					if ($_SESSION['course_id'] == $row['course_id']) {
						echo ' selected="selected"';
					}
					echo '>'.$row['title'];
					echo '</option>'."\n";
				} while ($row = mysql_fetch_assoc($result));
				echo '</optgroup>';
			}
			echo '</select>&nbsp;<label for="j" accesskey="j"></label><span style="white-space: nowrap;">';
			echo '<input type="checkbox" name="p" id="page" value="'.urlencode('acollab/bounce.php').'" class="button2" checked="checked" /><label for="page">'._AC('at_go_to_group').'</label> ';
			echo '<input type="submit" name="jump" value="'._AC('at_jump').'" class="submit" /></span>&nbsp;';
?>

			</small></b></td>
			</tr>
			</table>
		</td></tr>
	</table></form></td>
</tr>
Return current item: ACollab