~zalongwa/saris-ita/trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<?php
	session_start();
	session_cache_limiter('nocache');       
	@$loginerror  = $_SESSION['loginerror'];
	
	require_once('Connections/zalongwa.php');
	#Get Organisation Name
	$qorg = "SELECT * FROM organisation";
	$dborg = mysql_query($qorg);
	$row_org = mysql_fetch_assoc($dborg);
	$org = $row_org['Name'];
	$post = $row_org['Address'];
	$phone = $row_org['tel'];
	$fax = $row_org['fax'];
	$email = $row_org['email'];
	$website = $row_org['website'];
	$city = $row_org['city'];

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Zalongwa Software</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="keywords" content="ZALONGWA, zalongwa, Student Information System (SIS), accommodation information system, database system, examination database system, Student records system, database system">
<meta name="description" content="School Management Information System, Database System, Juma Lungo Lungo Lungo Lungo, Database System , Student Information System (SIS), Accommodation Record Keeping, Examination Results System, Student Normninal Roll Database">
<meta name="authors" content="Juma Hemed Lungo">
<link rel="stylesheet" type="text/css" href="/themes/bluelagoon/style.css" media="screen,projection" />
<SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
<!--
function userlogin_onsubmit() {
if (userlogin.textusername.value == "" || userlogin.textpassword.value == "")
return false;
}
//-->
</SCRIPT>
<table border="0" cellspacing="0" cellpadding="0" width=100%>
<tr>
	<td align=center><br><br><br><br>
	
		<!-- Login Starts -->
		<table border="0" cellspacing="0" cellpadding="0" width=540 style="border:2px solid rgb(119,119,119)">
		<tr>
			<td align=left>
			
			
			<table border="0" cellspacing="0" cellpadding='0' width='100%' background="themes/images/loginTopHeaderBg.gif">
			<tr>
				<td align=left><img src="themes/images/loginTopHeaderName.gif"></td>
				<td align=right><!--img src="themes/images/loginTopVersion.gif"--></td>
			</tr>
			</table>
			<table border="0" cellspacing="0" cellpadding='10' width='100%'>
			<tr>
				<td align=left valign=top width=50% class=small style="padding:10px">
					<!-- Promo Text and Image -->
					<table border=0> 
					<tr>
					<td>
	<div align="center"><img src="images/logo.png" width="125" height="150" alt="Institution Logo"    title="Institution Logo" /></div>
					  </td>
					</tr>
					<tr>
					<td nowrap="nowrap" class=small style="padding-left:10px; color:#737373">

                      <div align="center"><?php echo strtoupper($org)?>
                        <br>
 Student Academic Register Information System<br>
 <br>
- Forgot your password ?</span> <span class="style6"><a href="passwordrecover.php" class="style16">Get Help </a><br>
<!-- - New User ? <a href="registration.php">Create Account </a><br> -->
					  </div></td>
					</tr>
					</table>
					
				</td>
				<td align=center valign=top width=50%>
					<!-- Sign in box -->
					<form action="userlogin.php" method="post" enctype="multipart/form-data" name="userlogin" class="style15" onsubmit="return userlogin_onsubmit()" LANGUAGE=javascript>
					<table border="0" cellspacing="0" cellpadding="0" width=100%>
					<tr><td align=left><img src="themes/images/loginSignIn.gif" alt="Sign In" title="Sign In" border="0"></td></tr>
					<tr>
						<td background="themes/images/loginSignInShade.gif" style="background-repeat: repeat-x;" align=center valign=top class=small>
						<br>
							<table border=0 cellspacing=0 cellpadding=5 width=80% class="small">
							<tr><td width=30% class=small align=right nowrap>User Name:</td><td class=small><input class="small" style="width:110px" type="text"  name="textusername"   value="<?php echo $_SESSION['username']?>" tabindex="1"></td></tr>
							<tr><td class=small align=right>Password: </td><td class=small><input class="small" style="width:110px" type="password" size='20' name="textpassword"  value="" tabindex="2"></td></tr>
							<tr>
								<td colspan=2 style="padding:0px">
								</td>
							</tr>
							<tr><td colspan=2>&nbsp;</td></tr>
							<?php
							if (isset($loginerror ) && $loginerror !="")
							{
							?>
							<tr>
								<td colspan="2"><b class="small"><font color="Brown">
								<?php echo $loginerror?>
								</font>
								</b>
								</td>
							</tr>
							<?php
							session_cache_limiter('nocache');
							$_SESSION = array();
							session_unset(); 
							session_destroy(); 
							}
							?>
							<tr>
								<td colspan=2 style="padding:0px" align=center>
								  <div align="right">
								    <input class=small title="" accesskey=""  type="image" src="themes/images/loginBtnSignIn.gif" name="Login" value="   "  tabindex="3">	
								    </div></td>
							</tr>
							</table>
						<br>
						</td>
					</tr>
					</table>
					
			</table>
			
			</td>
		</tr>
	  </table>
	
			<!-- Shadow -->
			<table border=0 cellspacing=0 cellpadding=0 width=640>
			<tr>
				<td><img src="themes/images/loginBottomShadowLeft.gif"></td>
				<td width=100% background="themes/images/loginBottomShadowBg.gif"><img src="themes/images/loginBottomShadowBg.gif"></td>
				<td><img src="themes/images/loginBottomShadowRight.gif"></td>
			</tr>
	  </table>
	
	
	
	</td>
</tr>
</table>