Location: PHPKode > projects > FreeSMS (Free Student Management System) > FreeSMS/pages/data/crc_page_header_band.html
<TABLE width="100%">
	<?php $APP_IMAGES = "/freesms/images/" ?>

	<!-- The Page Header -->
	<tr>
		<th background="<?php echo $APP_IMAGES ?>title.jpg" colspan="2" class="banner" align="left"><strong>Free Student Registration System (FreeSMS)<br>Version 1.0.3.26<br>Copyrights &copy; 2003 Shaffin N. Bhanji</strong></th>
	</tr>
	<tr>
		<th background="<?php echo $APP_IMAGES ?>title.jpg" colspan="2" class="banner" align="left"><strong></strong></th>
	</tr>
	<?php 
		if (isset($_SESSION['name']))
		{
			print("<tr>");
			echo "<th class='info' align='left'>User: " . $_SESSION['name'] . "<br>";
			echo "Userid: " . $_SESSION['uid'] . "<br>";
			echo "Role: ";
			
			switch($_SESSION['roleid']) 
			{ 
				case 1: 
					print "Administrator"; 
					break; 
				case 2: 
					print "Teacher"; 
					break; 
				case 3: 
					print "Student"; 
					break; 
			}

			echo "</th>";
			echo "</tr>";
		}
	?>
	<tr>
		<th class="nav" align="center"><img src="<?php echo $APP_IMAGES ?>freesms_logo.png" width="150" height="37"></th>
	</tr>
</table>
Return current item: FreeSMS (Free Student Management System)