-
Notifications
You must be signed in to change notification settings - Fork 1
/
cordi.jsp
204 lines (168 loc) · 7.91 KB
/
cordi.jsp
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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Home</title>
<meta name="keywords" content="keyword1, keyword2, keyword3, etc..." />
<meta name="description" content="Description of website here..." />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<!--[if IE ]>
<link href="css/ie.css" rel="stylesheet" type="text/css" />
<![endif]-->
<style type="text/css">
a.two:hover {font-size: 150%}
a.two:visited{color:#6F6F6F}
a.one:hover {font-size:150%}
a.one:visited{color:#464646}
<!--
.style3 {
color: #99bb00;
font-size: 16px;
font-weight: bold;
}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: none;
}
a:active {
text-decoration: none;
}
.style6 {color: #464646}
.style1 {
color: #990000;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
font-size:14px;
}
.style2 {
color: #464646;
font-weight: bold;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
-->
</style>
</head>
<script language="javascript" src="js/cordinator.js" ></script>
<script language="javascript" src="js/chgpass.js" ></script>
<script language="javascript" src="js/up.js" ></script>
</script>
<body id="reload" >
<%@ page language="java" import="java.sql.*" session="true" %>
<%
System.out.println("-------->CORDINATOR.JSP---");
String ssn=session.getAttribute("ssn").toString();
String name=session.getAttribute("name").toString();
System.out.println("HELLO");
String status=session.getAttribute("status").toString();
System.out.println("----ssn-->"+ssn);
System.out.println("-----name--->"+name);
System.out.println("------status->"+status);
String st="";
int len=status.length();
System.out.println("--->length-->"+len);
if(len==1)
{
st=status+" YEAR";
}
else
{
String h=status.substring(len-1);
String h1=status.substring(0,len-1);
String h2="";
if(h1.equals("CS"))
h2="COMPUTER SCIENCE";
if(h1.equals("EC"))
h2="ELECTRONICS AND COMMUNICATION";
if(h1.equals("EE"))
h2="ELECTRICAL SCIENCE";
if(h1.equals("EI"))
h2="ELECTRONICS AND INSTRUMENTATION";
if(h1.equals("ME"))
h2="MECHANICAL ENGINEERING";
System.out.println("--->hh->"+h+"-->h1-->"+h1+"-->h2-->"+h2);
st=h+" YEAR "+h2;
}
%>
<div id="main">
<div id="logo">
<img src="images/bg-logo.gif" alt="Your Business" width="254" height="42" border="0" align="left" />
<div id="navbar">
<ul>
<li><a href="index.htm" class="two">Home</a></li>
<li><a href="help.html" class="two">Help</a></li>
<li><layer name="kl" width="87" height="19" id="kl"><a href="" class="two" id="back" onclick=" bak(this.id);" >Back</a></layer>
</li>
<li><a href="contact.html" class="two">Contact us</a></li>
</ul>
</div>
<div class="clear"></div>
<div id="msg"></div>
</div>
<div id="main-inner">
<div id="main-inner-left"> <div id="img"><img src="images/el.jpg" width="350px" height="161" /></div>
<div id="aa" >
<p><span class="style3">Welcome</span> <strong>To ATTENDANCE TRACKER </strong>
<font size="-1" face="Georgia, Times New Roman, Times, serif" color="#990000"><b>
<% out.println(" "+name); %></b></font> <div align="left"><u><strong>CORDINATOR OF:</strong></u> <font size="-1" face="Georgia, Times New Roman, Times, serif" color="#990000"><b>
<% out.println(" "+st); %></b></font></div>
</p><div id="tit"></div>
<div id="wrt">
<br/>
<FORM ENCTYPE='multipart/form-data' method='POST' name='upload' id='up'>
<div align='center'><span class='style1'> <u>UPLOAD NOTICES</u></span></div> <br/> <font size='-1'><table bgcolor='#D8D8DA' align='center' border='2' bordercolor='#990000' width='370'><tr> <td><br/> <span class='style1'>DISPLAY NAME:</span> <input name="dis" type="text" id="display" style='border:groove 2pt black ' title='PLEASE FILL IN THE DISPLAY NAME ON SITE' onfocus='fld(this);' onBlur="return SETNAME();" value="" size="30">
<br/><br/> <p align='left'><span class='style1'> FILE SELECT:</span>
<INPUT TYPE='file' NAME='RootPath' id='file' style='border:groove 2pt black ' onfocus='fld(this);' title='PLEASE BROWSE THE FILE'></p><br/><br/></td></tr></table></font>
<div align='left'>
<br/><br/>
<INPUT TYPE='submit' VALUE='UPLOAD' onClick="return UP(); " style='border:groove 2pt black;background:darkred;color:wheat;font-weight:bold'> <input type='button' value='CLOSE' id='' onclick='return CLS1();' style='border:groove 2pt black;background:darkred;color:wheat;font-weight:bold'></div><div id='ch'></div>
</FORM>
</div>
<p> </p></div>
</div>
<div id="main-inner-right">
<div id="box-small" >
<div id="box-top-small" style=" position:relative; left:0px; top:0px;">
<img src="images/bg-box-top-small.gif" width="191" height="19" /></div>
<font size="-1" face="Georgia, Times New Roman, Times, serif" color="#990000">
<center>
<div id="title"> <u> Select the Field</u></div>
</center></font><br />
<div id="option">
<p ></p>
<p align="center"><strong><a href="" class="one style6" onclick="return ATTCORD();"> <center> VIEW ATTENDANCE</center></a></strong></p>
<p align="center"><strong><a href="cordi.jsp" class="one style6" > <center>UPLOAD NOTICES </center></a></strong></p>
<p align="center"><strong><a href="" class="one style6" onclick=" return hello();"><center>EXEMPT FINE</center></a></strong></p>
<p align="center"><strong><a href="" class="one style6" id="cordinator" onclick=" return CHGPASS(this.id);"><center>CHANGE PASSWORD</center></a></strong></p>
<p ></p>
</div>
<img src="images/bg-box-bottom-small.gif" width="191px" />
</div>
<div id="box-small">
<div id="box-top-small" style=" position:relative; left:0px; top:0px;">
</div>
<img src="images/bg-box-top-small.gif" width="191" height="19" />
<center><img src="images/2.jpg" width="175" /></center>
<br />
<p><img src="images/latestnews.gif" height="18" />MID SEM SCHEDULE </p>
<p><blink>HOLIDAY NOTICES</blink></p>
<p>TEACHERS DUTY CHART
<p align="left"><strong>Office Ph: 05212-2778456</strong><br /></p>
<img src="images/bg-box-bottom-small.gif" width="191px" />
</div>
</div>
<div class="clear"></div>
</div>
<div id="footer"> ©2009 Attendance Tracker <br />
<!-- This template is provided free of charge as long as you keep the link to http://www.finerdesign.com -->
<a href="index.hot.htm" style="text-decoration:none;">Home</a> |
<a href="legal.htm" style="text-decoration:none;"> Legal </a>|
<a href="Privecy_p.htm" style="text-decoration:none;">Privacy Policy </a>|
<a href="terms.htm" style="text-decoration:none;">Terms Of Services </a></div>
</div>
</body>
</html>