Location: PHPKode > projects > FreeSMS (Free Student Management System) > FreeSMS/pages/data/crc_login_main.html
<form name="login" action="crc_handler.php?method=login" method="post">

	<table>
		<tr><td><br/><br/><br/></td></tr>
	</table>
	
	
	<table align="center" border="0" width="300" cellpadding="6" cellspacing="0" class="std">

		<tr><th colspan="2"><em>FreeSMS Registration System</em></th></tr>


		<?php

			$len = strlen($_SESSION['msg']);
	
			if ($len > 0) {
				print('<tr><td colspan="2"class="error"><b><br>' . $_SESSION['msg'] . '</b><br></td></tr>');
			}
		?>

		<tr>
			
			<td align="right">Username: </td>
					
			<?php
	
				if (isset($_GET['uid'])) {
	
					print('<td align="left"><input type="text" name="username" size="30" value="' . $_GET['uid'] . '" class="text"></td>');
	
				} else {
	
					print('<td align="left"><input type="text" name="username" size="30" class="text"></td>');
	
				}
			?>
	
		</tr>
		
		<tr>
		
			<td align="right">Password:</td> 
			<td align="left"><input type="password" name="password" size="30" class="text"></td>
			
		</tr>
		
		<tr>
			<td align="center" colspan="2">
				<input type="hidden" name="context" value="ou=Don Mills,ou=Toronto,ou=Ontario,ou=Canada,o=CRC World">
			</td>
		</tr>
		
		<tr>
			<td colspan="2" align="right" valign="bottom" nowrap>
				<input type="submit" name="login" value="login" class="button" onclick="javascript:verify('login');" />
			</td>
		</tr>
		
		<!--input type="button" name="login" onclick="javascript:verify('login');" value="   Login   ">
		<input type="reset" name="reset" value="   Reset   "-->

	<table>

	<br>

	<table align="center" border="0" width="300" cellpadding="6" cellspacing="0">
		<tr>
			<td>
				If you have not done so then please  <a href="crc_handler.php?method=register"><b>register</b></a>, its free. 
			</td>
		</tr>
	</table>



</form>
Return current item: FreeSMS (Free Student Management System)