tag:blogger.com,1999:blog-51077663547070114022024-03-13T12:57:08.816-07:00Elearning Project In JavaTutorialsUnknownnoreply@blogger.comBlogger17125tag:blogger.com,1999:blog-5107766354707011402.post-18659980976111062562009-07-26T23:52:00.000-07:002016-07-30T10:00:39.603-07:00INDEX FOR ELEARNING PROJECT<table style="border: 10px solid #336699; width: 550px;">
<tbody>
<tr>
<td><ul>
<li><span style="color: red; font-size: large;"></span></li>
<li><span style="color: red; font-size: large;">A complete JAVA(JSP) Project on ELEARNING for Engineering College Students.This page</span></li>
<li><span style="color: red; font-size: large;">Contains complete coding,screenshots,E-R Diagrams,Data Flow Diagrams and the complete documentation. It gives the idea for how to prepare documentation for a college project and makes the work of documentation very easy.</span></li>
<li><span style="color: red; font-size: large;"><br /></span></li>
<li><span style="color: red; font-size: large;">This page contains a complete project on
ELEARNING. </span>
</li>
<li><span style="color: red; font-size: large;"> This is done in jsp with oracle as backend.
</span>
</li>
<li><span style="color: red; font-size: large;">It is displayed with the intention that </span>
<ul>
<ul>
<li><span style="color: red; font-size: large;">the students will have a basic concept
of how to prepare a project. </span>
</li>
<li><span style="color: red; font-size: large;">They need not waste their precious
time in preparing documentation. </span>
</li>
<li><span style="color: red; font-size: large;">They can learn jsp by going through
the source code.</span></li>
</ul>
</ul>
</li>
</ul>
<a href="http://a-complete-jsp-project.blogspot.com/2009/07/chapter-1-page-1-report.html" style="text-decoration: underline;" target="_blank">
<span style="font-size: medium;">Report</span></a><br />
<span style="font-size: medium;"><a href="http://a-complete-jsp-project.blogspot.com/2009/07/chapter-1-declaration.html" style="text-decoration: underline;" target="_blank">1 Declaration</a> </span><br />
<span style="font-size: medium;"><a href="http://a-complete-jsp-project.blogspot.com/2009/07/topic-2-certificate-elearning-project.html" style="text-decoration: underline;" target="_blank"> 2. Certificate</a> </span><br />
<span style="font-size: medium;"><a href="http://a-complete-jsp-project.blogspot.com/2009/07/chapter-3-acknolwledgements.html" style="text-decoration: underline;" target="_blank"> 3. Acknowledgements</a></span><br />
<span style="font-size: medium;"><a href="http://a-complete-jsp-project.blogspot.com/2009/07/after-chapter-3-table-of-contents.html" style="text-decoration: underline;" target="_blank">Table of Contents</a></span><br />
<span style="font-size: medium;"><a href="http://a-complete-jsp-project.blogspot.com/2009/07/chapter-4-introduction-elearning.html" style="text-decoration: underline;" target="_blank"> 4 : Introduction (purpose,existing
sytem,hardware & software requirements)</a></span><br />
<span style="font-size: medium;"><a href="http://a-complete-jsp-project.blogspot.com/2009/07/chapter-5-system-development-lifecycle.html" style="text-decoration: underline;" target="_blank"> 5: System Development Life
Cycle</a></span><br />
<span style="font-size: medium;"><a href="http://a-complete-jsp-project.blogspot.com/2009/07/chapter-6-requirement-analysis.html" style="text-decoration: underline;" target="_blank"> 6 : Requirement Analysis</a></span><br />
<span style="font-size: medium;"><a href="http://a-complete-jsp-project.blogspot.com/2009/07/chapter-7-system-design-elearning.html" style="text-decoration: underline;" target="_blank">System Design(E-R Diagram,Table Structure)</a></span><br />
<span style="font-size: medium;"><a href="http://a-complete-jsp-project.blogspot.com/2009/07/chapter-8-coding-elearning-in-jsp.html" style="text-decoration: underline;" target="_blank">8 : Complete jsp source
code for Elearning </a></span><br />
<span style="font-size: medium;"><a href="http://a-complete-jsp-project.blogspot.com/2009/07/chapter-9-testing-elearning-project.html" style="text-decoration: underline;" target="_blank">9. Testing</a></span><br />
<span style="font-size: medium;"><a href="http://a-complete-jsp-project.blogspot.com/2009/07/chapter-10-screen-shots-elearning-jsp.html" style="text-decoration: underline;" target="_blank"> 10 : Screenshots</a></span><br />
<span style="font-size: medium;"><a href="http://a-complete-jsp-project.blogspot.com/2009/07/chapter-11-conclusion.html" style="text-decoration: underline;" target="_blank">11 : Conclusion</a></span><br />
<span style="font-size: medium;"><a href="http://a-complete-jsp-project.blogspot.com/2009/07/chapter-12liminations-of-project.html" style="text-decoration: underline;" target="_blank">12 : Limitations</a></span><br />
<span style="font-size: medium;"><a href="http://a-complete-jsp-project.blogspot.com/2009/07/chapter-13further-enhancements.html" style="text-decoration: underline;" target="_blank">13: Further Enhancements</a></span><br />
<span style="font-size: medium;"><a href="http://a-complete-jsp-project.blogspot.com/2009/07/chapter-14-bibliography.html" style="text-decoration: underline;" target="_blank">14 : Bibliography & References</a></span></td></tr>
</tbody></table>
Unknownnoreply@blogger.comtag:blogger.com,1999:blog-5107766354707011402.post-49965222506196712932009-07-25T01:24:00.000-07:002009-07-26T08:52:09.366-07:00TOPIC-1: REPORT (Elearning Project)<table style="border:10px solid #336699;padding:10px;">
<tr>
<td>
<img src="http://4.bp.blogspot.com/_79CQ1P9LPv8/Smx4CNpxzHI/AAAAAAAAAOA/pqJF8nllL4c/s800/chapter1-report-elearing-project-R300.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5362793235711380594" width:600px />
</td>
</tr>
</table>Unknownnoreply@blogger.comtag:blogger.com,1999:blog-5107766354707011402.post-13966767000735990442009-07-24T00:29:00.000-07:002009-07-26T08:51:54.222-07:00TOPIC-1A : DECLARATION (Elearning Project)<table style="width:550px;padding:10px;border:10px solid #336699;">
<tr>
<td>
<p align="center"><font size="5"><strong>DECLARATION</strong></font><br>
</p>
<p><font size="4">This is to certify that Report entitled ”E-LEARNING.” which
is submitted by us in partial fulfillment of the requirement for the award of
degree B.Tech. in Information Technology to <font color="#999999">YOUR COLLEGE
NAME, YOUR UNIVERSITY NAME,CITY NAME</font> comprises only our own work and
due acknowledgement has been made in the text to all other material used.</font></p>
<p> </p>
<p> </p>
<p> </p>
<p><font size="4">Date: DD.MM.YYYY Your Name(Your Regn No)<br>
</font> </p>
<p></p>
<p class=Normal1 align=center style='text-align:center'> </p>
</td>
</tr>
</table>Unknownnoreply@blogger.comtag:blogger.com,1999:blog-5107766354707011402.post-36564191941231915232009-07-23T08:48:00.000-07:002009-07-26T08:51:36.889-07:00TOPIC-2 : CERTIFICATE (Elearning Project)<table style="border:10px solid #336699;padding:10px;">
<tr>
<td><div align="center">
<p align="center"><font size="5"><br>
Certificate</font><br>
<br>
This is to certify that Report entitled “E-LEARNING” which
is submitted by <font color="#FF0000">YOUR NAME</font> in partial fulfillment
of the requirement for the award of degree <font color="#FF0000">B.Tech</font>.
in Information Technology to <font color="#FF0000">YOUR COLLEGE NAME,PLACE,YOUR
UNIVERSITGY NAME,PLACE</font> is a record of the candidates own work
carried out by him/her under my/our supervision. The matter embodied
in this thesis is original and has not been submitted for the award
of any other degree.<br>
<br>
<br>
Date: <font color="#FF0000">DD/MM/YYYY</font></p>
<p> </p>
<p> </p>
<p align="right">Supervisor </p>
</div>
<p align="right"> <font color="#FF0000">Name of the Guide</font></p>
<p align="right"></p>
<p align="right"> Signature<br>
</p></td>
</tr>
</table>Unknownnoreply@blogger.comtag:blogger.com,1999:blog-5107766354707011402.post-5867513048144525512009-07-22T00:26:00.000-07:002009-07-26T08:51:16.350-07:00TOPIC-3 : ACKNOLWLEDGEMENTS<table style="width:550px;padding:10px;border:10px solid #336699;">
<tr>
<td>
<tr>
<td>
<p class=Normal1 align=center style='text-align:center'><b><u><span
style='font-size:14.0pt;color:black'>ACKNOWLEDGEMENT</span></u></b></p>
<O p=""></O>
<p class=wrapper1 style='margin-left:9.0pt'><b><i><span style='font-family:
Arial;color:black'> <O p=""></O></span></i></b></p>
<O p=""></O>
<p class=wrapper1 style='margin-left:9.0pt'><span style='color:black'><font size="4">We
take this opportunity to express our profound sense of gratitude and respect
to all those who helped us throughout the duration of this project<b><i>.<O p=""></O></i></b></font></span></p>
<p class=Normal1 style='margin-left:9.0pt;text-align:justify'><font size="4"><span
style='color:black'><O p=""></O>Firstly, we are extremely grateful to <span
style='background:silver'>your college name</span><b>, </b>for providing us the
excellent working environment to undergo our project.</span></font></p>
<p class=Normal1 style='margin-left:9.0pt;text-align:justify'><font size="4"><span
style='color:black'><O p=""></O>We devote our success in this effort to our project
guide <span style='background:silver'>your guide name</span> <b> </b>for giving
us the opportunity to undertake the project and providing crucial feedbacks
that influenced us and provided opportunity to undertake the project work in
the esteemed concern. </span></font></p>
<p class=Normal1 style='margin-left:9.0pt;text-align:justify'><font size="4"><span
style='color:black'>We are also deeply thankful to<b> <span style='background:
silver'>professor Name with Deptt Name</span> </b>whose useful suggestions, gentle
and soothing attitude and right directions helped us a lot to learn in this
project and also for his constant encouragement and support throughout the project
</span></font></p>
<p class=wrapper1 style='margin-top:0in;margin-right:0in;margin-bottom:6.0pt;
margin-left:9.0pt'><font size="4"><span style='color:black'>Last, but not the
least, we would like to extend our profound thanks to all our esteemed colleagues
and friends at college level who helped us in the specific areas of this project.</span></font></p>
<p class=wrapper1 style='margin-top:0in;margin-right:0in;margin-bottom:6.0pt;
margin-left:9.0pt'> </p>
<p align="center" class=Normal1 style='text-align:justify'><font size="4"><span style='font-family:Arial;
color:black'><O p=""></O> </span><span style='color:black;background:silver'>Your
name</span></font></p>
</td></tr></table>Unknownnoreply@blogger.comtag:blogger.com,1999:blog-5107766354707011402.post-57086676164776721502009-07-21T00:21:00.000-07:002009-07-26T19:11:29.672-07:00AFTER TOPIC 3: TABLE OF CONTENTS<table style="width:550px;padding:10px;border:10px solid #336699;">
<tr>
<td>
<P style="MARGIN: 0in 0in 0pt" class=MsoHeading7><STRONG><U><FONT color="#000000" size=5><SPAN
style="FONT-FAMILY: 'Times New Roman'; mso-bidi-font-weight: normal">Table of
Contents</SPAN><SPAN
style="FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 16pt; mso-bidi-font-weight: normal; mso-bidi-font-size: 12.0pt"></SPAN></FONT></U></STRONG></P>
<P style="TEXT-ALIGN: center; MARGIN: 0in 0in 0pt" class=MsoNormal
align=center><SPAN
style="FONT-FAMILY: 'Book Antiqua'; FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt"><FONT
color=#000000></O></FONT></SPAN></P>
<TABLE
style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; BORDER-COLLAPSE: collapse; BORDER-TOP: medium none; BORDER-RIGHT: medium none; mso-border-top-alt: solid windowtext 2.25pt; mso-border-bottom-alt: solid windowtext 2.25pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt"
border=1 cellSpacing=0 cellPadding=0>
<TBODY>
<TR>
<TD
style="BORDER-BOTTOM: windowtext 2.25pt solid; PADDING-BOTTOM: 0in; PADDING-LEFT: 5.4pt; WIDTH: 45.6pt; PADDING-RIGHT: 5.4pt; BACKGROUND: black; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; BORDER-TOP: windowtext 2.25pt solid; PADDING-TOP: 0in"
vAlign=top width=61>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><B><SPAN
style="COLOR: white"><FONT size=3 face="Times New Roman">S. No.<O
p=""></O></FONT></SPAN></B></P></TD>
<TD
style="BORDER-BOTTOM: windowtext 2.25pt solid; PADDING-BOTTOM: 0in; PADDING-LEFT: 5.4pt; WIDTH: 276.15pt; PADDING-RIGHT: 5.4pt; BACKGROUND: black; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; BORDER-TOP: windowtext 2.25pt solid; PADDING-TOP: 0in"
vAlign=top width=368>
<H1 style="TEXT-ALIGN: left; MARGIN: 0in 0in 0pt" align=left><STRONG><FONT
color=#ffffff size=3 face="Times New Roman">Topics</FONT></STRONG></H1></TD>
<TD
style="BORDER-BOTTOM: windowtext 2.25pt solid; PADDING-BOTTOM: 0in; PADDING-LEFT: 5.4pt; WIDTH: 116.75pt; PADDING-RIGHT: 5.4pt; BACKGROUND: black; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; BORDER-TOP: windowtext 2.25pt solid; PADDING-TOP: 0in"
vAlign=top width=156>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN
style="COLOR: white"><STRONG><FONT size=3 face="Times New Roman">Page Number<O
p=""></O></FONT></STRONG></SPAN></P></TD></TR>
<TR>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 45.6pt; PADDING-RIGHT: 5.4pt; BACKGROUND: black; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
vAlign=top width=61>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><B><SPAN
style="COLOR: white"><FONT size=3 face="Times New Roman">01<O
p=""></O></FONT></SPAN></B></P></TD>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 276.15pt; PADDING-RIGHT: 5.4pt; BACKGROUND: #d8d8d8; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
width=368>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size=3 face="Times New Roman">Declaration</FONT></P></TD>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 116.75pt; PADDING-RIGHT: 5.4pt; BACKGROUND: #d8d8d8; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
vAlign=top width=156>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size=3 face="Times New Roman">2</FONT></P></TD></TR>
<TR>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 45.6pt; PADDING-RIGHT: 5.4pt; BACKGROUND: black; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
vAlign=top width=61>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><B><SPAN
style="COLOR: white"><FONT size=3 face="Times New Roman">02<O
p=""></O></FONT></SPAN></B></P></TD>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BACKGROUND-COLOR: transparent; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 276.15pt; PADDING-RIGHT: 5.4pt; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
width=368>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size=3 face="Times New Roman">Certificate</FONT></P></TD>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BACKGROUND-COLOR: transparent; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 116.75pt; PADDING-RIGHT: 5.4pt; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
vAlign=top width=156>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size=3 face="Times New Roman">3</FONT></P></TD></TR>
<TR>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 45.6pt; PADDING-RIGHT: 5.4pt; BACKGROUND: black; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
vAlign=top width=61>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><B><SPAN
style="COLOR: white"><FONT size=3 face="Times New Roman">03<O
p=""></O></FONT></SPAN></B></P></TD>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 276.15pt; PADDING-RIGHT: 5.4pt; BACKGROUND: #d8d8d8; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
width=368>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size=3 face="Times New Roman">Acknowledgement</FONT></P></TD>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 116.75pt; PADDING-RIGHT: 5.4pt; BACKGROUND: #d8d8d8; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
vAlign=top width=156>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size=3 face="Times New Roman">4</FONT></P></TD></TR>
<TR>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 45.6pt; PADDING-RIGHT: 5.4pt; BACKGROUND: black; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
vAlign=top width=61>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><B><SPAN
style="COLOR: white"><FONT size=3 face="Times New Roman">04<O
p=""></O></FONT></SPAN></B></P></TD>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BACKGROUND-COLOR: transparent; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 276.15pt; PADDING-RIGHT: 5.4pt; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
width=368>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size=3 face="Times New Roman">Introduction</FONT></P>
<P
style="LINE-HEIGHT: 150%; TEXT-INDENT: -0.5in; MARGIN: 0in 0in 0pt 0.75in; mso-list: l0 level1 lfo1"
class=MsoNormal><FONT color="#000000" face="Times New Roman"><FONT
size=3>(i)</FONT><SPAN
style="FONT: 7pt 'Times New Roman'"> </SPAN><FONT size=3>About
the project</FONT></FONT></P>
<P
style="LINE-HEIGHT: 150%; TEXT-INDENT: -0.5in; MARGIN: 0in 0in 0pt 0.75in; mso-list: l0 level1 lfo1"
class=MsoNormal><FONT color="#000000" face="Times New Roman"><FONT
size=3>(ii)</FONT><SPAN
style="FONT: 7pt 'Times New Roman'"> </SPAN><FONT
size=3>Purpose of the project</FONT></FONT></P>
<P
style="LINE-HEIGHT: 150%; TEXT-INDENT: -0.5in; MARGIN: 0in 0in 0pt 0.75in; mso-list: l0 level1 lfo1"
class=MsoNormal><FONT color="#000000" face="Times New Roman"><FONT
size=3>(iii)</FONT><SPAN style="FONT: 7pt 'Times New Roman'">
</SPAN><FONT size=3>Understanding of existing system</FONT></FONT></P>
<P
style="LINE-HEIGHT: 150%; TEXT-INDENT: -0.5in; MARGIN: 0in 0in 0pt 0.75in; mso-list: l0 level1 lfo1"
class=MsoNormal><FONT color=#000000 face="Times New Roman"><FONT
size=3>(iv)</FONT><SPAN style="FONT: 7pt 'Times New Roman'"> </SPAN><FONT size=3>Tools
/ Environment used</FONT></FONT></P></TD>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BACKGROUND-COLOR: transparent; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 116.75pt; PADDING-RIGHT: 5.4pt; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
vAlign=top width=156>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size="3" face="Times New Roman"><O
p=""></O></FONT></P>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size=3 face="Times New Roman">7</FONT></P>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size=3 face="Times New Roman">7</FONT></P>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size=3 face="Times New Roman">8</FONT></P>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size=3 face="Times New Roman">8</FONT></P></TD></TR>
<TR>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 45.6pt; PADDING-RIGHT: 5.4pt; BACKGROUND: black; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
vAlign=top width=61>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><B><SPAN
style="COLOR: white"><FONT size=3 face="Times New Roman">05<O
p=""></O></FONT></SPAN></B></P></TD>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 276.15pt; PADDING-RIGHT: 5.4pt; BACKGROUND: #d8d8d8; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
vAlign=top width=368>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size=3 face="Times New Roman">System Development Life
Cycle</FONT></P></TD>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 116.75pt; PADDING-RIGHT: 5.4pt; BACKGROUND: #d8d8d8; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
vAlign=top width=156>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size=3 face="Times New Roman">9</FONT></P></TD></TR>
<TR>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 45.6pt; PADDING-RIGHT: 5.4pt; BACKGROUND: black; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
vAlign=top width=61>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><B><SPAN
style="COLOR: white"><FONT size=3 face="Times New Roman">06<O
p=""></O></FONT></SPAN></B></P></TD>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BACKGROUND-COLOR: transparent; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 276.15pt; PADDING-RIGHT: 5.4pt; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
vAlign=top width=368>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size=3 face="Times New Roman">Requirement analysis
phase</FONT></P>
<P
style="LINE-HEIGHT: 150%; TEXT-INDENT: -0.5in; MARGIN: 0in 0in 0pt 0.75in; mso-list: l4 level1 lfo2"
class=MsoNormal><FONT color=#000000 face="Times New Roman"><FONT
size=3>(i)</FONT><SPAN
style="FONT: 7pt 'Times New Roman'"> </SPAN><FONT size=3>Feasibility
study</FONT></FONT></P></TD>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BACKGROUND-COLOR: transparent; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 116.75pt; PADDING-RIGHT: 5.4pt; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
vAlign=top width=156>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size="3" face="Times New Roman"><O
p=""></O></FONT></P>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size=3 face="Times New Roman">11</FONT></P></TD></TR>
<TR>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 45.6pt; PADDING-RIGHT: 5.4pt; BACKGROUND: black; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
vAlign=top width=61>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><B><SPAN
style="COLOR: white"><FONT size=3 face="Times New Roman">07<O
p=""></O></FONT></SPAN></B></P></TD>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 276.15pt; PADDING-RIGHT: 5.4pt; BACKGROUND: #d8d8d8; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
vAlign=top width=368>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size=3 face="Times New Roman">System Design</FONT></P>
<P
style="LINE-HEIGHT: 150%; TEXT-INDENT: -0.5in; MARGIN: 0in 0in 0pt 0.75in; mso-list: l3 level1 lfo3"
class=MsoNormal><FONT color="#000000" face="Times New Roman"><FONT
size=3>(i)</FONT><SPAN
style="FONT: 7pt 'Times New Roman'"> </SPAN><FONT size=3>ER
Diagram</FONT></FONT></P>
<P
style="LINE-HEIGHT: 150%; TEXT-INDENT: -0.5in; MARGIN: 0in 0in 0pt 0.75in; mso-list: l3 level1 lfo3"
class=MsoNormal><FONT color="#000000" face="Times New Roman"><FONT
size=3>(ii)</FONT><SPAN
style="FONT: 7pt 'Times New Roman'"> </SPAN><FONT
size=3>Class Diagram</FONT></FONT></P>
<P
style="LINE-HEIGHT: 150%; TEXT-INDENT: -0.5in; MARGIN: 0in 0in 0pt 0.75in; mso-list: l3 level1 lfo3"
class=MsoNormal><FONT color=#000000 face="Times New Roman"><FONT
size=3>(iii)</FONT><SPAN style="FONT: 7pt 'Times New Roman'">
</SPAN><FONT size=3>Table Structure</FONT></FONT></P></TD>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 116.75pt; PADDING-RIGHT: 5.4pt; BACKGROUND: #d8d8d8; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
vAlign=top width=156>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size="3" face="Times New Roman"><O
p=""></O></FONT></P>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size=3 face="Times New Roman">13</FONT></P>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size=3 face="Times New Roman">14</FONT></P>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size=3 face="Times New Roman">17</FONT></P></TD></TR>
<TR>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 45.6pt; PADDING-RIGHT: 5.4pt; BACKGROUND: black; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
vAlign=top width=61>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><B><SPAN
style="COLOR: white"><FONT size=3 face="Times New Roman">08<O
p=""></O></FONT></SPAN></B></P></TD>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BACKGROUND-COLOR: transparent; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 276.15pt; PADDING-RIGHT: 5.4pt; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
vAlign=top width=368>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size=3 face="Times New Roman">Coding</FONT></P>
<P
style="LINE-HEIGHT: 150%; TEXT-INDENT: -0.5in; MARGIN: 0in 0in 0pt 0.75in; mso-list: l2 level1 lfo4"
class=MsoNormal><FONT color="#000000" face="Times New Roman"><FONT
size=3>(i)</FONT><SPAN
style="FONT: 7pt 'Times New Roman'"> </SPAN><FONT size=3>Front
End</FONT></FONT></P>
<P
style="LINE-HEIGHT: 150%; TEXT-INDENT: -0.5in; MARGIN: 0in 0in 0pt 0.75in; mso-list: l2 level1 lfo4"
class=MsoNormal><FONT color=#000000 face="Times New Roman"><FONT
size=3>(ii)</FONT><SPAN
style="FONT: 7pt 'Times New Roman'"> </SPAN><FONT
size=3>Back End</FONT></FONT></P></TD>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BACKGROUND-COLOR: transparent; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 116.75pt; PADDING-RIGHT: 5.4pt; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
vAlign=top width=156>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size="3" face="Times New Roman"><O
p=""></O></FONT></P>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size=3 face="Times New Roman">21</FONT></P>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size=3 face="Times New Roman">102</FONT></P></TD></TR>
<TR>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 45.6pt; PADDING-RIGHT: 5.4pt; BACKGROUND: black; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
vAlign=top width=61>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><B><SPAN
style="COLOR: white"><FONT size=3 face="Times New Roman">09<O
p=""></O></FONT></SPAN></B></P></TD>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 276.15pt; PADDING-RIGHT: 5.4pt; BACKGROUND: #d8d8d8; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
vAlign=top width=368>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size=3 face="Times New Roman">Testing</FONT></P></TD>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 116.75pt; PADDING-RIGHT: 5.4pt; BACKGROUND: #d8d8d8; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
vAlign=top width=156>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size=3 face="Times New Roman">123</FONT></P></TD></TR>
<TR>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 45.6pt; PADDING-RIGHT: 5.4pt; BACKGROUND: black; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
vAlign=top width=61>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><B><SPAN
style="COLOR: white"><FONT size=3 face="Times New Roman">10<O
p=""></O></FONT></SPAN></B></P></TD>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BACKGROUND-COLOR: transparent; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 276.15pt; PADDING-RIGHT: 5.4pt; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
vAlign=top width=368>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size=3 face="Times New Roman">Screen Snap Shots</FONT></P>
<P
style="LINE-HEIGHT: 150%; TEXT-INDENT: -0.5in; MARGIN: 0in 0in 0pt 0.75in; mso-list: l1 level1 lfo5"
class=MsoNormal><FONT color="#000000" face="Times New Roman"><FONT
size=3>(i)</FONT><SPAN
style="FONT: 7pt 'Times New Roman'"> </SPAN><FONT size=3>Main
Screens</FONT></FONT></P>
<P
style="LINE-HEIGHT: 150%; TEXT-INDENT: -0.5in; MARGIN: 0in 0in 0pt 0.75in; mso-list: l1 level1 lfo5"
class=MsoNormal><FONT color="#000000" face="Times New Roman"><FONT
size=3>(ii)</FONT><SPAN
style="FONT: 7pt 'Times New Roman'"> </SPAN><FONT
size=3>Forms</FONT></FONT></P>
<P
style="LINE-HEIGHT: 150%; TEXT-INDENT: -0.5in; MARGIN: 0in 0in 0pt 0.75in; mso-list: l1 level1 lfo5"
class=MsoNormal><FONT color=#000000 face="Times New Roman"><FONT
size=3>(iii)</FONT><SPAN style="FONT: 7pt 'Times New Roman'">
</SPAN><FONT size=3>Reports</FONT></FONT></P></TD>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BACKGROUND-COLOR: transparent; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 116.75pt; PADDING-RIGHT: 5.4pt; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
vAlign=top width=156>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size="3" face="Times New Roman"><O
p=""></O></FONT></P>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size=3 face="Times New Roman">125</FONT></P>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size=3 face="Times New Roman">128</FONT></P>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size=3 face="Times New Roman">135</FONT></P></TD></TR>
<TR>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 45.6pt; PADDING-RIGHT: 5.4pt; BACKGROUND: black; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
vAlign=top width=61>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><B><SPAN
style="COLOR: white"><FONT size=3 face="Times New Roman">11<O
p=""></O></FONT></SPAN></B></P></TD>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 276.15pt; PADDING-RIGHT: 5.4pt; BACKGROUND: #d8d8d8; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
vAlign=top width=368>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size=3 face="Times New Roman">Conclusion</FONT></P></TD>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 116.75pt; PADDING-RIGHT: 5.4pt; BACKGROUND: #d8d8d8; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
vAlign=top width=156>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size=3 face="Times New Roman">141</FONT></P></TD></TR>
<TR>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 45.6pt; PADDING-RIGHT: 5.4pt; BACKGROUND: black; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
vAlign=top width=61>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><B><SPAN
style="COLOR: white"><FONT size=3 face="Times New Roman">12<O
p=""></O></FONT></SPAN></B></P></TD>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BACKGROUND-COLOR: transparent; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 276.15pt; PADDING-RIGHT: 5.4pt; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
vAlign=top width=368>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size=3 face="Times New Roman">Limitations</FONT></P></TD>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BACKGROUND-COLOR: transparent; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 116.75pt; PADDING-RIGHT: 5.4pt; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
vAlign=top width=156>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size=3 face="Times New Roman">142</FONT></P></TD></TR>
<TR>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 45.6pt; PADDING-RIGHT: 5.4pt; BACKGROUND: black; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
vAlign=top width=61>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><B><SPAN
style="COLOR: white"><FONT size=3 face="Times New Roman">13<O
p=""></O></FONT></SPAN></B></P></TD>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 276.15pt; PADDING-RIGHT: 5.4pt; BACKGROUND: #d8d8d8; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
vAlign=top width=368>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size=3 face="Times New Roman">Further
Enhancement</FONT></P></TD>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 116.75pt; PADDING-RIGHT: 5.4pt; BACKGROUND: #d8d8d8; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
vAlign=top width=156>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size=3 face="Times New Roman">143</FONT></P></TD></TR>
<TR>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 45.6pt; PADDING-RIGHT: 5.4pt; BACKGROUND: black; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
vAlign=top width=61>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><B><SPAN
style="FONT-FAMILY: 'Book Antiqua'; COLOR: white; FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt">14<O
p=""></O></SPAN></B></P></TD>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BACKGROUND-COLOR: transparent; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 276.15pt; PADDING-RIGHT: 5.4pt; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
vAlign=top width=368>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size=3 face="Times New Roman">References /
Bibliography</FONT></P></TD>
<TD
style="BORDER-BOTTOM-COLOR: #d4d0c8; PADDING-BOTTOM: 0in; BACKGROUND-COLOR: transparent; BORDER-TOP-COLOR: #d4d0c8; PADDING-LEFT: 5.4pt; WIDTH: 116.75pt; PADDING-RIGHT: 5.4pt; BORDER-RIGHT-COLOR: #d4d0c8; BORDER-LEFT-COLOR: #d4d0c8; PADDING-TOP: 0in"
vAlign=top width=156>
<P style="LINE-HEIGHT: 150%; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT
color=#000000 size=3
face="Times New Roman">144</FONT></P></TD></TR></TBODY></TABLE>
</td>
</tr>
</table>Unknownnoreply@blogger.comtag:blogger.com,1999:blog-5107766354707011402.post-18192718951116448862009-07-20T01:31:00.000-07:002009-07-26T08:19:04.885-07:00TOPIC-4 : INTRODUCTION (Elearning Project)<table style="width:550px;padding:10px;border:10px solid #336699;">
<tr>
<td>
<div align="center"><font size="5"><strong>4. INTRODUCTION </strong></font> </div>
<p><font size="4"><strong>4.1 About the project</strong></font></p>
<p align="justify">E-learning is another form of distance learning where education
and training courses are delivered using computer technology. Typically,
this means that courses are delivered either via the Internet, or on computer
networks (linked computers). With the increased availability of PCs and
Internet access, e-learning is becoming more and more popular. <br />
E-Learning is a web application uses JSP. The database is Oracle 10g.
This online application enables the end users to register online, select
the subject, read the tutorial and appear for the exam online. The results
of the exams are also declared just after taking the test. The minimum
pass percentage is 50%. A person is given three attempts to pass a paper.
In subjects containing more than one exam, the candidate should take tests
in a particular sequence and also he can attempt the next test only if
he has completed the previous papers. The correct answers for the questions
are displayed after the exam. The date of the registration, date of exam,
number of attempts, test result etc. are stored in the database.<br />
</p>
<p align="justify"><font size="4"><strong>4.2 Purpose of the project</strong></font><br />
<br />
Education through the internet, network and a computer is E-learning.
This helps in network enabled transfer of skills and knowledge. E-learning
refers to use of electronic applications and processes to learn. This
is a web based application which can be hosted in the website of any training
institute. The students will be able to register online, read the course
material and write online exam. Certificates also will be issued online.</p>
<p>The objectives of this project are <br />
• To provide distance learning<br />
• To make it convenient for people who have other commitments<br />
• Cost reduction<br />
• Reduced paper work<br />
• Computer evaluated tests<br />
<br />
<strong><font size="4">4.3 Understanding of existing system</font></strong></p>
<p align="justify">Shows educators and trainers how to adapt teaching methods
and materials to make use of the Internet. Including a framework showing
how to apply Internet technology progressively as skills and confidence
grow, the project demonstrates the route from adapting materials to developing
a virtual course.</p>
<p align="justify">Nowadays, when people are not having time to visit an
institute. Therefore, the software is designed to provide the education
through Internet. The project “E – LEARNING” helps the common world in
any field they are to get the knowledge what they want even sitting at
there places. This helps them to spare time in their busy schedule and
save their time during transportation.</p>
<p><font size="4"><strong>4.4 Tools/Environment Used</strong></font></p>
<p><strong>HARDWARE REQUIREMENTS</strong><br />
<br />
Processor : Pentium III/IV (Preferably P-IV)<br />
RAM: 256 MB</p>
<p></p>
<p><strong>SOFTWARE REQUIREMENTS</strong><br />
Web Server: Apache Tomcat Server<br />
0perating System: Windows ME/2000/XP/UNIX<br />
Language: JSP(JAVA Server Pages), HTML<br />
Database : Oracle 10g </p>
<p><br />
<br />
</p>
</td></tr></table>Unknownnoreply@blogger.comtag:blogger.com,1999:blog-5107766354707011402.post-86172998058102654482009-07-19T02:51:00.000-07:002009-07-26T08:20:32.461-07:00TOPIC-5 : SYSTEM DEVELOPMENT LIFECYCLE<table style="width:550px;padding:10px;border:10px solid #336699;">
<tr>
<td>
<div align="center"><font size="4"><strong>5. System Development Life
Cycle </strong></font> </div>
<p>
<br>
<p align="center">
<img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 800px; " src="http://4.bp.blogspot.com/_79CQ1P9LPv8/SmwnTo0PrMI/AAAAAAAAAN4/jsFEWyuul9U/s800/system-development-life-cycle-R300.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5362704474618965186" />
</p>
<p style="line-height:150%"><font face="Arial, Helvetica, sans-serif">The methodology used for developing
this system is PROTOTYPING MODEL. This model is used here because detailed
input, output requirements are not present in the beginning, and thus
it is felt that a prototyping model will be more suitable for development.
In this model, we will create a quick design and then invite user to test
the developed system and refine requirements if any. Thus, the process
for development will be iterative.</font></p>
<p><font face="Arial, Helvetica, sans-serif">Often, a customer defines a
set of general objectives for software but does not identify detailed
input, processing or output requirements. In other cases, the developer
may be unsure of the efficiency of an algorithm, the adaptability of an
operating system, or the form that human/machine interaction should take.
In these, and many other situations, a prototyping model offers the best
approach.</font></p>
<p><font face="Arial, Helvetica, sans-serif">It generally has the following
steps:<br>
i. Requirement Gathering<br>
ii. Quick Design<br>
iii. Build Prototype<br>
iv. Customer Evaluation<br>
v. Review/Modify Requirements<br>
vi. Coding<br>
vii. Testing</font></p>
<p></p>
<p> </p></td></tr></table>Unknownnoreply@blogger.comtag:blogger.com,1999:blog-5107766354707011402.post-64848867350793729862009-07-18T01:36:00.000-07:002009-07-26T08:20:17.096-07:00TOPIC-6 : REQUIREMENT ANALYSIS (ELEARNING PROJECT)<table style="width:550px;padding:10px;border:10px solid #336699;">
<tr>
<td>
<div align="center"><font size="5"><strong><br />
6. Requirement Analysis Phase </strong></font> </div>
<p><font size="4"><strong>6.1 Feasibility study</strong></font></p>
<p align="justify"><br />
This part or aspect of systems analysis that concentrates on finding out
whether an intended course of action violates any constraints is referred
to as FEASIBILITY analysis .All the projects are feasible – given unlimited
resources and infinite time! Unfortunately, the development of a computer
–based system or product is more likely beleaguered by scarcity of evaluate
the feasibility of a project at the earliest possible time of project
inception.</p>
<p><br />
<strong><font size="4">Technical Feasibility-:</font></strong></p>
<p align="justify"> Technical feasibility centers on the existing computer
system (hardware,software,etc.) and on the extent it can support the proposed
addition . Financial considerations have to be taken into account for
technical enhancements. In short the study of function, performance, and
constraints that may affect the ability to achieve an acceptable system.
If the budget is a serious constraint, then the project is judge not feasible
.This project is considered technically feasible for development.</p>
<p><br />
<strong><font size="4">Economical Feasibility-</font></strong>:</p>
<p align="justify"> Economic analysis is the most frequently used method
for evaluation the effectiveness of a candidate system. More commonly
known as cost/benefit analysis, the procedure is to determine the benefits
and savings that are expected from candidate system and compare them with
costs. If benefits outweigh costs then the decision.</p>
<p> </p>
<p><strong><font size="4">Operational Feasibility-:</font></strong></p>
<p align="justify"> Operational Feasibility is reviewed in the early stages
of project planning . Proposed project is beneficial only if it can be
turned into information systems that will meet the organization’s operational
requirement. In the operational feasibility it is checked if the system
will work, when it is developed and deployed which are major barriers
to the development a consideration about the working of the system after
installation in the organization.</p>
<p align="justify"> The software, which is developed , has an interactive,
user-friendly interface, so operational difficulties are almost eliminated.
It will improve the performance after implementation as the information
can be delivered to the destination with utmost security. Hence the project
is considered operationally feasible. <br />
<br />
</p></td></tr></table>Unknownnoreply@blogger.comtag:blogger.com,1999:blog-5107766354707011402.post-39158372841655866432009-07-17T02:28:00.000-07:002009-07-26T08:19:56.611-07:00TOPIC-7 : SYSTEM DESIGN (Elearning Project)<table style="width:550px;padding:10px;border:10px solid #336699;">
<tr>
<td>
7.1 ER-Diagram
<br />
<a href="http://2.bp.blogspot.com/_79CQ1P9LPv8/Smwlii1tG2I/AAAAAAAAANw/UeNlLSvkfHA/s1600-h/E-R-DIAGRAM.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 226px;" src="http://2.bp.blogspot.com/_79CQ1P9LPv8/Smwlii1tG2I/AAAAAAAAANw/UeNlLSvkfHA/s320/E-R-DIAGRAM.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5362702531689257826" /></a>
7.2 Class Diagram
<br />
<a href="http://2.bp.blogspot.com/_79CQ1P9LPv8/Smwi_ARLfcI/AAAAAAAAANo/-HN0K7xadcg/s1600-h/elearnjsp_classuser.gif"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 309px;" src="http://2.bp.blogspot.com/_79CQ1P9LPv8/Smwi_ARLfcI/AAAAAAAAANo/-HN0K7xadcg/s320/elearnjsp_classuser.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5362699722090577346" /></a>
<a href="http://3.bp.blogspot.com/_79CQ1P9LPv8/Smwi-vxeWVI/AAAAAAAAANg/Rw3kUVesAvs/s1600-h/elearnjsp_class_qns.gif"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 259px;" src="http://3.bp.blogspot.com/_79CQ1P9LPv8/Smwi-vxeWVI/AAAAAAAAANg/Rw3kUVesAvs/s320/elearnjsp_class_qns.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5362699717662628178" /></a>
<a href="http://3.bp.blogspot.com/_79CQ1P9LPv8/Smwi-Sz7XLI/AAAAAAAAANY/BJH0j-n80x8/s1600-h/elearningjsp_class_courses.gif"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 206px;" src="http://3.bp.blogspot.com/_79CQ1P9LPv8/Smwi-Sz7XLI/AAAAAAAAANY/BJH0j-n80x8/s320/elearningjsp_class_courses.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5362699709888289970" /></a>
<p class=MsoNormal><b><u><span style='font-size:14.0pt'>7.3 </span></u></b><b><u><span
style='font-size:14.0pt'>Table Structure</span></u></b></p>
<h1 align=center style='text-align:center;line-height:150%'><b><span
style='text-decoration:none'>Results</span></b></h1>
<table class=MsoNormalTable border=1 cellspacing=0 cellpadding=0>
<tr>
<td width=271 bgcolor="
black"> <p class=MsoNormal style='line-height:150%'><b>Field Name</b></p></td>
<td width=311 bgcolor="black"> <p class=MsoNormal style='line-height:150%'><b>Data
Type</b></p></td>
</tr>
<tr>
<td width=271> <p class=MsoNormal style='line-height:150%'>course_id</p></td>
<td width=311> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271> <p class=MsoNormal style='line-height:150%'>trainee_id</p></td>
<td width=311> <p class=MsoNormal style='line-height:150%'>Text</p></td>
</tr>
<tr>
<td width=271> <p class=MsoNormal style='line-height:150%'>Marks</p></td>
<td width=311> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271> <p class=MsoNormal style='line-height:150%'>qn1</p></td>
<td width=311> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271> <p class=MsoNormal style='line-height:150%'>qn2</p></td>
<td width=311> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271> <p class=MsoNormal style='line-height:150%'>qn2</p></td>
<td width=311> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271> <p class=MsoNormal style='line-height:150%'>ans1</p></td>
<td width=311> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271> <p class=MsoNormal style='line-height:150%'>ans2</p></td>
<td width=311> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271> <p class=MsoNormal style='line-height:150%'>ans3</p></td>
<td width=311> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271> <p class=MsoNormal style='line-height:150%'>paper_id</p></td>
<td width=311> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271> <p class=MsoNormal style='line-height:150%'>Attempt_id</p></td>
<td width=311> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271> <p class=MsoNormal style='line-height:150%'>Result</p></td>
<td width=311> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
</table>
<p class=MsoNormal align=center style='text-align:center;line-height:150%'><b>x_masterListOfCategory</b></p>
<table class=MsoNormalTable border=1 cellspacing=0 cellpadding=0>
<tr>
<td width=271 valign=top bgcolor="black"> <p class=MsoNormal style='line-height:150%'><b>Field
Name</b></p></td>
<td width=313 valign=top bgcolor="black"> <p class=MsoNormal style='line-height:150%'><b>Data
Type</b></p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Course_category_id</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Course_category</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Text</p></td>
</tr>
</table>
<p class=MsoNormal align=center style='text-align:center;line-height:150%'><b>x_masterListOfCourses</b></p>
<table class=MsoNormalTable border=1 cellspacing=0 cellpadding=0>
<tr>
<td width=271 valign=top bgcolor="black"> <p class=MsoNormal style='line-height:150%'><b>Field
Name</b></p></td>
<td width=313 valign=top bgcolor="black"> <p class=MsoNormal style='line-height:150%'><b>Data
Type</b></p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Course_id</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Course_category_id</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Course_name</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Text</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Course_description</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Text</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>No_of_papers</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
</table>
<p class=MsoNormal align=center style='text-align:center;line-height:150%'><b>x_masterListOfPapers</b></p>
<table class=MsoNormalTable border=1 cellspacing=0 cellpadding=0>
<tr>
<td width=271 valign=top bgcolor="black"> <p class=MsoNormal style='line-height:150%'><b>Field
Name</b></p></td>
<td width=313 valign=top bgcolor="black"> <p class=MsoNormal style='line-height:150%'><b>Data
Type</b></p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Paper_id</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Paper_no</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Paper_name</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Text</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Course_id</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Paper_description</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Text</p></td>
</tr>
</table>
<p class=MsoNormal align=center style='text-align:center;line-height:150%'><b>x_masterListOfDocuments</b></p>
<table class=MsoNormalTable border=1 cellspacing=0 cellpadding=0>
<tr>
<td width=271 valign=top bgcolor="black"> <p class=MsoNormal style='line-height:150%'><b>Field
Name</b></p></td>
<td width=313 valign=top bgcolor="black"> <p class=MsoNormal style='line-height:150%'><b>Data
Type</b></p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Document_id</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Paper_id</p></td>
<td width=313 valign=top> <p class=MsoFooter style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Paper_no</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Document_name</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Text</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Document_filename</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Text</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Document_description</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Text</p></td>
</tr>
</table>
<p class=MsoNormal align=center style='text-align:center;line-height:150%'><b>_masterListOfQuestions</b></p>
<table class=MsoNormalTable border=1 cellspacing=0 cellpadding=0>
<tr>
<td width=271 valign=top bgcolor="black"> <p class=MsoNormal style='line-height:150%'><b>Field
Name</b></p></td>
<td width=313 valign=top bgcolor="black"> <p class=MsoNormal style='line-height:150%'><b>Data
Type</b></p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Paper_id</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Question_id</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Question</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Text</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Choice1</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Text</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Choice2</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Text</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Choice3</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Text</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Choice4</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Text</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Ans</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
</table>
<p class=MsoNormal align=center style='text-align:center;line-height:150%'><b>_master_elearning_user</b></p>
<table class=MsoNormalTable border=1 cellspacing=0 cellpadding=0>
<tr>
<td width=271 valign=top bgcolor="black"> <p class=MsoNormal style='line-height:150%'><b>Field
Name</b></p></td>
<td width=313 valign=top bgcolor="black"> <p class=MsoNormal style='line-height:150%'><b>Data
Type</b></p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>User_name</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Text</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Pass_word</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Text</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>First_name</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Text</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Designation</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Text</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Email</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Text</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>City</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Text</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Country</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Text</p></td>
</tr>
</table>
<p class=MsoNormal align=center style='text-align:center;line-height:150%'><b>_master_trainee_detail_online</b></p>
<table class=MsoNormalTable border=1 cellspacing=0 cellpadding=0>
<tr>
<td width=271 valign=top bgcolor="black"> <p class=MsoNormal style='line-height:150%'><b>Field
Name</b></p></td>
<td width=313 valign=top bgcolor="black"> <p class=MsoNormal style='line-height:150%'><b>Data
Type</b></p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Trainee_id</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Is_regiteres</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Is_attended_exam</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Is_successfully_completed</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Course_completed_date</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Date</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Total_marks</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Doe</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Date</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>User_name</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Text</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Course_id</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Paper1_no_of_attempts</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Paper2_no_of_attempts</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Paper3_no_of_attempts</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Paper1_marks</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Paper2_marks</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Paper3_marks</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Paper1_completed_date</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Date</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Paper2_completed_date</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Date</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Paper3_completed_date</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Date</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Paper_id1</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Paper_id2</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Paper_id3</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Is_paper1_completed</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Is_paper2_completed</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Is_paper3_completed</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Paper1_appeared_on</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Date</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Paper2_appeared_on</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Date</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Paper3_appeared_on</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Date</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Is_paper1_tutorial_viewed</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Is_paper2_tutorial_viewed</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>Is_paper3_tutorial_viewed</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
<tr>
<td width=271 valign=top> <p class=MsoNormal style='line-height:150%'>No_of_papers</p></td>
<td width=313 valign=top> <p class=MsoNormal style='line-height:150%'>Number</p></td>
</tr>
</table>
</td>
</tr>
</table>Unknownnoreply@blogger.comtag:blogger.com,1999:blog-5107766354707011402.post-61671679160837690802009-07-16T23:42:00.000-07:002013-10-10T17:51:01.437-07:00TOPIC-8-CODING (Elearning Project)<table style="border: 10px solid #336699; padding: 20px; width: 550px;">
<tbody>
<tr>
<td><div style="font-style: normal; font-variant: normal; line-height: normal;">
<div style="font-family: arial;">
<span style="color: red; font-size: x-large;"><b>8. Coding </b></span></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<br /></div>
<span style="color: red; font-family: inherit; font-size: x-large;"><b><span style="background-color: yellow;">course_list_index2.jsp</span></b></span><br />
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page language="java"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<html></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<head></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<title>E-LEARNING</title></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<style></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
.activeMenu{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
font-family:verdana;font-weight:bold;font-size:11px;color:#666666;text-decoration:none;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
A.menuLink{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
font-family:verdana;font-size:11px;color:#666666;text-decoration:none;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
A.menuLink:hover{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
font-family:verdana;font-size:11px;color:#666666;text-decoration:none;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
TD.infoLabel{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
font-family:verdana;font-size:11px;color:#666666;text-decoration:none;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
TD.infoValue{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
font-family:verdana;font-weight:bold;font-size:11px;color:#336699;text-decoration:none;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
TD.login{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
font-family:verdana;font-size:11px;color:#111111;text-decoration:none;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</style></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<script></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
function fnValidate()</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(document.f1.user_name.value==""){</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
alert("Enter your user name.");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
return false;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(document.f1.pass_word.value==""){</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
alert("Enter your Password.");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
return false;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</script></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</head></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<body background="bg.jpg" ></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<table width="100%" border="0" cellpadding="0" cellspacing="0"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> <td></td> <td height="100">&nbsp; </td> </tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<table width="100%" border="0"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<!--start of result display--></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<table width="100%" align="center"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> <td> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(request.getParameter("result")!=null)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<marquee loop="1" behavior="alternate"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<strong><font color="#FFffff" size="2" face="Arial"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%=request.getParameter("result")%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</font></strong></marquee> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</td> </tr> </table></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<!--end of result display--></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<br></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<br></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<form name=f1 action="user_login_verification.jsp" method=post ></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<table width="50%" border="0" align="right" cellpadding="0" cellspacing="2"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td rowspan="5">&nbsp;</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td colspan="2">&nbsp;</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="25" colspan="2" align="center"><div align="left"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<font color="#666666" size="2" face="Arial"><strong>Login </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
by Participant</strong></font></div></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="25%" class="infoLabel">&nbsp;&nbsp;User ID:</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="75%"><font color="#999999"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<input type="text" name="user_name" ></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</font></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoLabel">&nbsp;&nbsp;Password:</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td> <input type="password" name="pass_word"> </td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td>&nbsp;</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td><input type="submit" name=submit value=Login onClick="return fnValidate()"></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<Td colspan=2>&nbsp;</Td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<Td colspan=2>&nbsp;</Td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td>&nbsp;</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<Td colspan=2><div align="left"><font size="2" face="Arial, Helvetica, sans-serif"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<a href="forgot_password.jsp"><font color="#FF0000">Forgot Password? </font></a></font><font size="2">&nbsp;&nbsp;&nbsp;&nbsp;</font></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<font size="2" face="Arial, Helvetica, sans-serif"><a href="signup.jsp"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<font color="#FF0000">New </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
User?Sign up</font></a></font></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<font size="2">&nbsp;&nbsp;&nbsp;&nbsp;</font></div></Td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</form></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<p>&nbsp;</p></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</body></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</html></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
------------------------------------------------------------------------------------------</div>
<div style="font-family: arial; font-weight: normal;">
<span style="color: red; font-size: x-large;">signup.jsp</span></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="INCLUDES.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.sql.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.io.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.util.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<html></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<head></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<title>e-Learning</title></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<script></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
function fnMenuBg1(elementId)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
document.getElementById(elementId).style.backgroundColor="#dfdfdf";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
function fnMenuBg2(elementId)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
document.getElementById(elementId).style.backgroundColor="#ffffff";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
function fnValidate()</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(document.f1.trainee_name.value==""){</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
alert("Enter your name.");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
return false;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(document.f1.email.value==""){</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
alert("Enter your Email Id.");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
return false;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(document.f1.user_name.value==""){</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
alert("Enter username.");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
return false;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(document.f1.pass_word.value==""){</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
alert("Enter Password");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
return false;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(document.f1.retype_pass.value==""){</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
alert("Retype Password");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
return false;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(document.f1.pass_word.value!=document.f1.retype_pass.value){</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
alert("Password did not match");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
return false;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</script></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</head></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<body background="signup.jpg"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<!--start of result display--></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<table width="100%" ></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%if(request.getParameter("result")!=null)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<marquee loop="1" behavior="alternate"><strong><font color="#FF0000" size="2" face="Arial, Helvetica, sans-serif"><%=request.getParameter("result")%></font></strong></marquee></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<!--end of result display--></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<table width="45%" border="0" align="right" cellpadding="0" cellspacing="0" bordercolorlight="#FFFFFF"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<form name="f1" action="signup_insert.jsp" method="post"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="3"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td colspan="2" class="infoLabel"><strong></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<font color="#000099" size="2" face="Arial, Helvetica, sans-serif"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
Enter Your Personal Details</font></strong></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoLabel"><font color="#FF0000">*</font>Your Name:</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td><input type="text" name="trainee_name"></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoLabel"><font color="#FF0000">*</font>Email ID:</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td><input type="text" name="email"></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoLabel"> City:</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td><input type="text" name="city"></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoLabel"> Country:</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td><input type="text" name="country"></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoLabel">Designation:</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td><input type="text" name="designation"></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoLabel">&nbsp;</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td>&nbsp;</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td colspan="2" class="infoLabel"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<font color="#000099" size="2" face="Arial, Helvetica, sans-serif"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<strong>Enter Your Login Details</strong></font></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoLabel"><font color="#FF0000">*</font>User Name:</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td><input type="text" name="user_name" ></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoLabel"><font color="#FF0000">*</font>Password:</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td><input type="password" name="pass_word"></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoLabel"><font color="#FF0000">*</font>Retype Password:</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td><input type="password" name="retype_pass"></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoLabel">&nbsp;</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td><input type="submit" name="submit" value="Submit" onClick="return fnValidate()" > </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</form></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</body></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</html></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
-----------------------------------course_list1_model2.jsp-------------------------------------</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<br /></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="INCLUDES.DBConnection"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.sql.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.io.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.util.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:useBean id="DB" scope="page" class="INCLUDES.DBConnection"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:setProperty name="DB" property="*"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:useBean id="DB1" scope="page" class="INCLUDES.DBConnection"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:setProperty name="DB1" property="*"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String sort_by="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String user_name=(String)session.getAttribute("user_name");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(user_name==null)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
response.sendRedirect("course_list_index2.jsp?</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
result=Session Timed Out.Please, Login again.");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(request.getParameter("sort_by")!=null)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
sort_by=request.getParameter("sort_by");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(sort_by.equals("category"))</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
sort_by="course_category,course_name";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
sort_by="course_name";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String statement="select * from x_masterListOfCourses s,x_masterListOfCategory cat where s.course_category_id=cat.course_category_id order by " + sort_by;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
ResultSet objRs=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
ResultSet oRsTraineeStatus=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
DB.setStatement(statement);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs=(ResultSet)DB.result();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%>error occured : <%=e%><%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<html></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<head></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<title>e-Learning</title></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<script></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
function fnMenuBg1(elementId)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
document.getElementById(elementId).style.backgroundColor="#dfdfdf";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
function fnMenuBg2(elementId)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
document.getElementById(elementId).style.backgroundColor="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</script></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</head></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<body topmargin="0"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<table width="100%" height="200" background="bg_top.jpg"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td align="right" valign="top"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<table border="0" align="right" cellpadding="0" cellspacing="0" ></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr align="center"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="15" id=home><a href="course_list_index2.jsp" class="menuLink" onMouseOver="fnMenuBg1('home')" onMouseOut="fnMenuBg2('home')"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
&nbsp;&nbsp; Home&nbsp;&nbsp; </a></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="1" height="15" class="infoLabel">|</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="15" id=profile><a href="view_profile.jsp" class="menuLink" onMouseOver="fnMenuBg1('profile')" onMouseOut="fnMenuBg2('profile')">&nbsp;&nbsp;View </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
Profile&nbsp;&nbsp;</a></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="1" height="15" class="infoLabel">|</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="15" id=password><a href="change_password.jsp" class="menuLink" onMouseOver="fnMenuBg1('password')" onMouseOut="fnMenuBg2('password')">&nbsp;&nbsp;Change </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
Password&nbsp;&nbsp;</a></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="1" height="15" class="infoLabel">|</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="1" height="15" id=logout><a href="logout.jsp" class="menuLink" onMouseOver="fnMenuBg1('logout')" onMouseOut="fnMenuBg2('logout')">&nbsp;&nbsp;Logout&nbsp;&nbsp;</a></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="1" height="15" class="infoLabel">|</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="15" align="right" class="login" >&nbsp;&nbsp;Login by:<%=user_name%> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></table></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<!--start of result display--></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<table width="100%" ></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%if(request.getParameter("result")!=null)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<marquee loop="1" behavior="alternate"><strong></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<font color="#FF0000" size="2" face="Arial, Helvetica, sans-serif"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%=request.getParameter("result")%></font></strong></marquee></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<% }%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<!--end of result display--></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<table width="100%" height="858" ></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td align="center" valign="top"> <table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolorlight="#FFFFFF"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr bgcolor="#FF9900"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="4%" height="25"> <div align="center"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<font color="#FFFFFF" face="Arial, Helvetica, sans-serif"><strong></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<font size="2">S.No</font></strong></font></div></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="25"> <div align="center"><font color="#FFFFFF" face="Arial, Helvetica, sans-serif"><strong><font size="2">C. </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
Code</font></strong></font></div></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="34%" height="25"> <div align="center"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<font color="#FFFFFF"><a href="course_list1_model2.jsp?sort_by=course" title="Click here to sort by course name"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<font face="Arial, Helvetica, sans-serif"><strong><font size="2" color="#FFFFFF">Course </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
Name</font></strong></font></a></font></div></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="21%" height="25"> <div align="center"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<font color="#FFFFFF"><a href="course_list1_model2.jsp?sort_by=category" title="Click here to sort by course name"><font face="Arial, Helvetica, sans-serif"><strong><font size="2" color="#FFFFFF">Course </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
Category</font></strong></font></a></font></div></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="24%" height="25"> <div align="center"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif"><strong>Your </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
Status</strong></font></div></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="10%" height="25"> <div align="center"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<font color="#FFFFFF" face="Arial, Helvetica, sans-serif"><strong>&nbsp;</strong></font></div></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int i=1;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
while(objRs.next())</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int course_id=objRs.getInt("course_id");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int no_of_attempts=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int is_successfully_completed=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String date_of_registration_str=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String course_completed_date_str=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
java.util.Date date_of_registration=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
java.util.Date course_completed_date=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int is_registered=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String back_color="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String statement1="select * from x_master_trainee_detail_online where course_id=" + course_id + " and user_name='" + session.getAttribute("user_name") + "'";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
DB1.setStatement(statement1);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
oRsTraineeStatus=DB1.result();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(oRsTraineeStatus.next())</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
is_registered=oRsTraineeStatus.getInt("is_registered");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
date_of_registration=oRsTraineeStatus.getDate("doe");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
date_of_registration_str=date_of_registration.getDate() + "-" + (date_of_registration.getMonth()+1) + "-" + (date_of_registration.getYear()+1900);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
is_successfully_completed=oRsTraineeStatus.getInt("is_successfully_completed");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
course_completed_date=oRsTraineeStatus.getDate("course_completed_date");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
course_completed_date_str=course_completed_date.getDate() + "-" + (course_completed_date.getMonth()+1) + "-" + (course_completed_date.getYear()+1900);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception ex)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(is_successfully_completed==1)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
back_color="bgcolor=#FFFFCC";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(is_registered==1)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
back_color="bgcolor=#f0f0ff";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
back_color="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr <%=back_color%>> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="30"> <div align="center"><font color="#666666" size="2" face="Verdana, Arial, Helvetica, sans-serif"><%=i%></font></div></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="30" ><div align="center"><font color="#666666" size="2" face="Verdana, Arial, Helvetica, sans-serif"><%=course_id%></font> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</div></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="30" title="<%=objRs.getString("course_description")%>" ><font color="#666666" size="2" face="Verdana, Arial, Helvetica, sans-serif"><%=objRs.getString("course_name")%></font></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="30"> <div align="left"><font color="#666666" size="2" face="Verdana, Arial, Helvetica, sans-serif" ><%=objRs.getString("course_category")%></font></div></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="30"> <font color="#666666"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(is_successfully_completed > 0)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<font size="1" face="Arial, Helvetica, sans-serif">Successfully completed </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
on <%=course_completed_date_str%></font></font> <font color="#666666"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
} </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(is_registered==1)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<font size="1" face="Arial, Helvetica, sans-serif"> Enrolled on <%=date_of_registration_str%><br></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
(not yet completed)</font></font> <font color="#666666"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<% }</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<font size="1" face="Arial, Helvetica, sans-serif">Not yet enrolled</font></font><font color="#666666" size="2" face="Arial, Helvetica, sans-serif"><strong> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</strong></font> <font color="#666666"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<% }</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</font></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="30"> <div align="center"><a href="course_step.jsp?course_id=<%=course_id%>"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<font color="#FF0000" size="2" face="Arial, Helvetica, sans-serif"><strong> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
select<font color=#336699 face="Times New Roman">&#9658 </font></strong></font></a></div></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
i=i+1;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
Error ocuured in while : <%=e%> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<!--old-----------------------------------------------></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<font color="#000099" size="2" face="Arial, Helvetica, sans-serif"><br></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<br></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</font> </td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<br></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</div></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</body></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</html></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
------------------------------------------course_step.jsp-----------------------------------------</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="INCLUDES.DBConnection"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.sql.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.io.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:useBean id="DB" scope="page" class="INCLUDES.DBConnection"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:setProperty name="DB" property="*"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:useBean id="DB1" scope="page" class="INCLUDES.DBConnection"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:setProperty name="DB1" property="*"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int course_id=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String user_name=(String)session.getAttribute("user_name");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(user_name==null)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
response.sendRedirect("course_list_index2.jsp?result=Session Timed Out.Please, Login again.");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String statement="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String course_name="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String course_category="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String trainee_name="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int no_of_papers=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String course_description="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(request.getParameter("course_id")!=null)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
course_id=Integer.parseInt(request.getParameter("course_id"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
session.setAttribute("course_id",Integer.toString(course_id));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
ResultSet objRs=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
ResultSet oRsTraineeStatus=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
statement="select * from x_master_elearning_user u,x_masterListOfCourses c,x_masterListOfCategory cat where c.course_category_id=cat.course_category_id and c.course_id=" + course_id + " and u.user_name='" + user_name + "'";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
DB.setStatement(statement);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs=(ResultSet)DB.result();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%>error occured : <%=e%><%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<br /></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<html></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<head></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<title>e-Learning</title></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<script></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
function fnMenuBg1(elementId)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
document.getElementById(elementId).style.backgroundColor="#dfdfdf";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
function fnMenuBg2(elementId)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
document.getElementById(elementId).style.backgroundColor="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
function fnClick(getElement,course_id)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(getElement=="enroll")</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
location.href="enroll.jsp?course_id=" + course_id;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(getElement=="tutorial")</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
location.href="view_document.jsp?course_id=" + course_id;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(getElement=="evaluate")</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
location.href="course_registration_form.jsp?course_id=" + course_id;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(getElement=="exam")</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
location.href="course_tutorial1.jsp?course_id=" + course_id;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(getElement=="result")</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
location.href="course_registration_form.jsp?course_id=" + course_id;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(getElement=="certificate")</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
location.href="view_certificate.jsp?course_id=" + course_id;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(getElement=="choose")</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
location.href="course_list1_model2.jsp";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</script></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</head></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<body background="bg_step.jpg" topmargin="0" leftmargin="0"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(objRs.next())</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
trainee_name=objRs.getString("first_name");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
course_name=objRs.getString("course_name");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
course_category=objRs.getString("course_category");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
no_of_papers=objRs.getInt("no_of_papers");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
course_description=objRs.getString("course_description");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
out.print("Error occured in objRs : " + e);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<table border="0" align="right" cellpadding="0" cellspacing="0" ></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr align="center"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="15" id=home><a href="course_list1_model2.jsp" class="menuLink" onMouseOver="fnMenuBg1('home')" onMouseOut="fnMenuBg2('home')"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
&nbsp;&nbsp; Home&nbsp;&nbsp; </a></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="1" height="15" class="infoLabel">|</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="15" id=profile><a href="view_profile.jsp" class="menuLink" onMouseOver="fnMenuBg1('profile')" onMouseOut="fnMenuBg2('profile')">&nbsp;&nbsp;View </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
Profile&nbsp;&nbsp;</a></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="1" height="15" class="infoLabel">|</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="15" id=password><a href="change_password.jsp" class="menuLink" onMouseOver="fnMenuBg1('password')" onMouseOut="fnMenuBg2('password')">&nbsp;&nbsp;Change </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
Password&nbsp;&nbsp;</a></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="1" height="15" class="infoLabel">|</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="1" height="15" id=logout><a href="logout.jsp" class="menuLink" onMouseOver="fnMenuBg1('logout')" onMouseOut="fnMenuBg2('logout')">&nbsp;&nbsp;Logout&nbsp;&nbsp;</a></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="1" height="15" class="infoLabel">|</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="15" align="right" class="login" >&nbsp;&nbsp;Login by:<%=user_name%> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<table width="100%" ></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td align="center" valign="top"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<!--start of result display--></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<table width="100%" align="center"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(request.getParameter("result")!=null)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<marquee loop="1" behavior="alternate"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<strong><font color="#FFffff" size="2" face="Arial, Helvetica, sans-serif"><%=request.getParameter("result")%></font></strong></marquee> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<!--end of result display--></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
statement="select * from x_master_trainee_detail_online where course_id=" + course_id + " and user_name='" + session.getAttribute("user_name") + "'";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
DB1.setStatement(statement);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
oRsTraineeStatus=(ResultSet)DB1.result();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%>error occured in parameters : <%=e%><%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int is_registered=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int is_successfully_completed=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int is_paper1_completed=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int is_paper1_tutorial_viewed=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int is_evaluated=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String date_of_registration="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String course_completed_date="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(oRsTraineeStatus.next())</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
is_paper1_tutorial_viewed=oRsTraineeStatus.getInt("is_paper1_tutorial_viewed");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
is_paper1_completed=oRsTraineeStatus.getInt("is_paper1_completed");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
is_registered=oRsTraineeStatus.getInt("is_registered");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
date_of_registration=oRsTraineeStatus.getString("doe");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
is_successfully_completed=oRsTraineeStatus.getInt("is_successfully_completed");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
course_completed_date=oRsTraineeStatus.getString("course_completed_date");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
session.setAttribute("trainee_id",oRsTraineeStatus.getString("trainee_id"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
out.print("exception occured in Trainee Status " + e);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr><td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<table width="50%" border="0" align="right" cellpadding="0" cellspacing="0" bordercolordark="#FF9900" bordercolorlight="#FFCC00" bordercolor="#FF9900"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td bordercolor="#000000"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<table width="100%" border="0" cellpadding="5"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="50%" align="right" class="infoLabel">Your Name:</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoValue"><%=trainee_name%></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="50%" align="right" class="infoLabel">Course Name:</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoValue"><%=course_name%></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="50%" align="right" class="infoLabel">Course Category:</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoValue"><%=course_category%></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="50%" align="right" class="infoLabel">Total no. of Modules:</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoValue"><%=no_of_papers%></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="50%" align="right" class="infoLabel">Course Description:</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoValue"><%=course_description%></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table></td></tr></table></td></tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<table width="100%"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="404" valign=top></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<!--left box for steps--></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<table width="100%" border="0" align="left" cellspacing="3"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="24%"><font color="#FF0000" size="2" face="Verdana, Arial, Helvetica, sans-serif">step </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
1.</font></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="76%"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%if(is_registered==0)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<input style="text-align:left;padding-left:10px;width:220px;background:#dddddd;font-face:verdana;font-weight:bold" type="button" value="Enroll for this course" name="enroll" onClick="fnClick('enroll','<%=course_id%>')"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<input disabled style="text-align:left;padding-left:10px;width:220px;background:#dddddd;font-face:verdana;font-weight:bold" type="button" value="Enroll for this course" name="enroll"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%}%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td><font color="#FF0000" size="2" face="Verdana, Arial, Helvetica, sans-serif">step </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
2.</font></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(is_registered==1)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td><input type="button" style="text-align:left;padding-left:10px;width:220px;background:#dddddd;font-face:verdana;font-weight:bold" value="View the study material" name="tutorial" onClick="fnClick('tutorial','<%=course_id%>')"></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td><input disabled type="button" style="text-align:left;padding-left:10px;width:220px;background:#dddddd;font-face:verdana;font-weight:bold" value="View the study material" name="tutorial" onClick="fnClick('tutorial','<%=course_id%>')"></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%}%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td><font color="#FF0000" size="2" face="Verdana, Arial, Helvetica, sans-serif">step </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
3.</font></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%if(is_registered==0 || is_paper1_tutorial_viewed==0 || is_successfully_completed==1)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<input disabled type="button" style="text-align:left;padding-left:10px;width:220px;background:#dddddd;font-face:verdana;font-weight:bold" name="exam" value="Appear for the exam" onClick="fnClick('exam','<%=course_id%>')"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<input type="button" style="text-align:left;padding-left:10px;width:220px;background:#dddddd;font-face:verdana;font-weight:bold" name="exam" value="Appear for the exam" onClick="fnClick('exam','<%=course_id%>')"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%}%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td><font color="#FF0000" size="2" face="Verdana, Arial, Helvetica, sans-serif">step </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
4.</font></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%if(is_paper1_completed==0 || is_registered==0)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<input disabled type="button" style="text-align:left;padding-left:10px;width:220px;background:#dddddd;font-face:verdana;font-weight:bold" value="View Result" name=result onClick="fnClick('result','<%=course_id%>')"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<input type="button" style="text-align:left;padding-left:10px;width:220px;background:#dddddd;font-face:verdana;font-weight:bold" value="View Result" name=result onClick="location.href='view_result.jsp?course_id=<%=course_id%>' "> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%}%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<!--left box ends--></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td> </td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</body></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</html></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
----------------------------------------course_tutorial1.jsp-------------------------------------</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="INCLUDES.DBConnection"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.sql.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.io.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.util.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:useBean id="DB" scope="page" class="INCLUDES.DBConnection"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:setProperty name="DB" property="*"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:useBean id="DB1" scope="page" class="INCLUDES.DBConnection"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:setProperty name="DB1" property="*"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int course_id=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int is_objRs_present=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String statement="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
ResultSet objRs=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
ResultSet objRsPaper=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String user_name=(String)session.getAttribute("user_name");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(user_name==null)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
response.sendRedirect("course_list_index2.jsp?result=Session Timed Out.Please, Login again.");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String trainee_name="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String course_name="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(request.getParameter("course_id")!=null)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
course_id=Integer.parseInt(request.getParameter("course_id"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
statement="select * from x_master_elearning_user u,x_master_trainee_detail_online t,x_masterListOfCourses c,x_masterListOfCategory cat where c.course_id=t.course_id and t.user_name=u.user_name and c.course_category_id=cat.course_category_id and c.course_id=" + course_id + " and u.user_name='" + user_name + "'";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
DB.setStatement(statement);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs=(ResultSet)DB.result();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(objRs.next())</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
trainee_name=objRs.getString("first_name");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
course_name=objRs.getString("course_name");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
is_objRs_present=1;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
response.sendRedirect("course_list_index2.asp?result=Session Timed out");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
session.setAttribute("trainee_id",objRs.getString("trainee_id"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%>error occured : <%=e%><%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<html></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<head></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<title>e-Learning</title></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</head></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<body background="exam.jpg" topmargin="0"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<table border="0" align="right" cellpadding="0" cellspacing="0" ></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr align="center"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="15" id=home><a href="course_list1_model2.jsp" class="menuLink" onMouseOver="fnMenuBg1('home')" onMouseOut="fnMenuBg2('home')"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
&nbsp;&nbsp; Home&nbsp;&nbsp; </a></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="1" height="15" class="infoLabel">|</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="15" id=back><a href="course_step.jsp?course_id=<%=course_id%>" class="menuLink" onMouseOver="fnMenuBg1('back')" onMouseOut="fnMenuBg2('back')"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
&nbsp;&nbsp; Back&nbsp;&nbsp; </a></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="1" height="15" class="infoLabel">|</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="15" id=profile><a href="view_profile.jsp" class="menuLink" onMouseOver="fnMenuBg1('profile')" onMouseOut="fnMenuBg2('profile')">&nbsp;&nbsp;View </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
Profile&nbsp;&nbsp;</a></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="1" height="15" class="infoLabel">|</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="15" id=password><a href="change_password.jsp" class="menuLink" onMouseOver="fnMenuBg1('password')" onMouseOut="fnMenuBg2('password')">&nbsp;&nbsp;Change </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
Password&nbsp;&nbsp;</a></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="1" height="15" class="infoLabel">|</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="1" height="15" id=logout><a href="logout.jsp" class="menuLink" onMouseOver="fnMenuBg1('logout')" onMouseOut="fnMenuBg2('logout')">&nbsp;&nbsp;Logout&nbsp;&nbsp;</a></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="1" height="15" class="infoLabel">|</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="15" align="right" class="login" >&nbsp;&nbsp;Login by:<%=user_name%> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table><br></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<table width="100%"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="34" colspan="4" valign="top">&nbsp;</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td align="center" valign="middle"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<p>&nbsp;</p><table border="0" align="right" cellpadding="5"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td align="right" class="infoLabel">Your Name:</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoValue"><%=trainee_name%></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td align="right" class="infoLabel">Course Name:</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoValue"><%=course_name%></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table> </td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<br /></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<table width="100%" height="858" ></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td align="center" valign="top"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<!--start of result display--></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<table width="100%" align="center"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(request.getParameter("result")!=null)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<marquee loop="1" behavior="alternate"><strong><font color="#FFffff" size="2" face="Arial, Helvetica, sans-serif"><%=request.getParameter("result")%></font></strong></marquee></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<!--end of result display--></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<br></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<table width="50%" border="0" align="right" cellpadding="3" cellspacing="3" bordercolorlight="#FFffff"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
statement="select * from x_masterListOfPapers where course_id=" + course_id;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
DB1.setStatement(statement);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsPaper=(ResultSet)DB1.result();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
error occured in paper : <%=e%> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(is_objRs_present==1)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int is_previous_paper_completed=1;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int total_marks=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
while(objRsPaper.next())</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{ </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int paper_no=objRsPaper.getInt("paper_no");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int no_of_attempts=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int attempt_id=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int marks=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
java.util.Date appeared_on=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String back_color="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String attempt_message="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String paper_name=objRsPaper.getString("paper_name");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
no_of_attempts=objRs.getInt("paper" + paper_no + "_no_of_attempts");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int paper_id=objRsPaper.getInt("paper_id");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String dbase=objRsPaper.getString("dbase");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int is_paper_completed=objRs.getInt("is_paper" + paper_no + "_completed");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(paper_no==1)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
total_marks=objRs.getInt("total_marks");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(is_paper_completed==1)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
back_color="bgcolor=#ffffcc";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
back_color="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(is_paper_completed==1)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
attempt_message="Successfully Completed ";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(is_previous_paper_completed==0)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
attempt_message="Not yet Eligible as you have not completed previous modules";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
switch(no_of_attempts)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
case 0:</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
attempt_id=1;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
attempt_message="Not completed, You have a total of 3 attempts";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
break;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
case 1:</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
attempt_id=2;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
attempt_message="Not completed,1 attempt exhausted ,you have 2 more attempts.";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
break;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
case 2:</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
attempt_id=3;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
attempt_message="Not completed,2 attempts exhausted,you have 1 more attempt.";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
break;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
case 3:</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
attempt_message="All the attempts are exhausted and so you cannot complete the e ";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
break;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
default:</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
attempt_message="Not completed, and you are eligible for the exam ";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
} </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td colspan="3"><strong><font size="2" face="Verdana, Arial, Helvetica, sans-serif"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
Module.<%=paper_no%> : <%=paper_name%>&nbsp; </font></strong> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(paper_no==1)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(no_of_attempts<3 && is_paper_completed==0)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<a href="course_tutorial2.jsp?attempt_id=<%=attempt_id%>&course_id=<%=course_id%>&paper_id=<%=paper_id%>&dbase=<%=dbase%>&no_of_attempts=<%=no_of_attempts%>&paper_no=<%=paper_no%>"><strong><font color="#FF0000" size="2" face="Arial, Helvetica, sans-serif"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
Appear for the exam</font></strong></a> <font size="2"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<% </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<del><strong><font color="#ff0000" face="Arial, Helvetica, sans-serif" size="2">Appear </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
for the exam</font></strong></del> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(is_previous_paper_completed==1 && no_of_attempts<3 && is_paper_completed==0)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<a href="course_tutorial2.jsp?attempt_id=<%=attempt_id%>&course_id=<%=course_id%>&paper_id=<%=paper_id%>&dbase=<%=dbase%>&no_of_attempts=<%=no_of_attempts%>&paper_no=<%=paper_no%>"><strong><font color="#FF0000" face="Arial, Helvetica, sans-serif" size="2">Appear </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
for the exam</font></strong></a> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<del><strong><font color="#ff0000" face="Arial, Helvetica, sans-serif" size="2">Appear </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
for the exam</font></strong></del></font> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
} </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td>&nbsp;</td><td colspan="2"><font color="#FFFF00" size="2" face="Verdana, Arial, Helvetica, sans-serif"><%=attempt_message%></font></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%if(no_of_attempts>0)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="7%" class="infoLabel" >&nbsp;</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="31%" class="infoLabel">Marks obtained :</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
marks=(objRs.getInt("paper" + paper_no + "_marks")*100)/total_marks;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="62%" class="infoValue"><%=marks%>%</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
appeared_on=objRs.getDate("paper" + paper_no + "_appeared_on");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String appeared_on_str=appeared_on.getDate() + "-" + (appeared_on.getMonth()+1) + "-" + (appeared_on.getYear()+1900);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td>&nbsp;</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoLabel">Appeared On :</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoValue"><%=appeared_on_str%></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td>&nbsp;</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoLabel">No. of Attempts :</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoValue"><%=no_of_attempts%></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%}%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td colspan="3"><hr noshade color="#FFFFCC"></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
is_previous_paper_completed=is_paper_completed;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoLabel" colspan="3">Pass precentage :50%</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
out.print("NIL");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
} </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<br /></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<div align="left"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</div></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
out.print("error occured in while of paper : " + e);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</body></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</html></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
--------------------------------------------course_tutorial2.jsp------------------------------------</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="INCLUDES.DBConnection"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.sql.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.io.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:useBean id="DB" scope="page" class="INCLUDES.DBConnection"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:setProperty name="DB" property="*"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:useBean id="DB1" scope="page" class="INCLUDES.DBConnection"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:setProperty name="DB1" property="*"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<html></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<head></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<title></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
ELEARNING</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</title></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<script></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
function fnMenuBg1(elementId)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
document.getElementById(elementId).style.backgroundColor="#dfdfdf";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
function fnMenuBg2(elementId)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
document.getElementById(elementId).style.backgroundColor="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</script></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</head></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<body background="instruction.jpg" topmargin="0"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String statement="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
ResultSet objRs=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
ResultSet oRsQn=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int course_id=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int paper_no=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int attempt_id=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String attempt="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String paper_name="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String course_name="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String trainee_name="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int number_of_questions=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String user_name=(String)session.getAttribute("user_name");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(user_name==null)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
response.sendRedirect("course_list_index2.jsp?result=Session Timed Out.Please, Login again.");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(request.getParameter("course_id")!=null)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
course_id=Integer.parseInt(request.getParameter("course_id"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
paper_no=Integer.parseInt(request.getParameter("paper_no"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
attempt_id=Integer.parseInt(request.getParameter("attempt_id"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
statement="select * from x_master_elearning_user u,x_master_trainee_detail_online t,x_masterListOfCourses c,x_masterListOfPapers p where c.course_id=t.course_id and t.user_name=u.user_name and c.course_id=p.course_id and c.course_id=" + course_id + " and u.user_name='" + user_name + "'";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
DB.setStatement(statement);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs=(ResultSet)DB.result();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(objRs.next())</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
paper_name=objRs.getString("paper_name");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
course_name=objRs.getString("course_name");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
trainee_name=objRs.getString("first_name");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
out.print("Error occured : " + e);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(attempt_id==1)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
attempt="first";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(attempt_id==2)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
attempt="second";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
attempt="third";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{ </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
statement="select * from TRAINING_CENTRE_PARAMETERS";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
DB1.setStatement(statement);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
oRsQn=(ResultSet)DB1.result();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(oRsQn.next())</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
number_of_questions=oRsQn.getInt("number_of_questions");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
number_of_questions=25;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
session.setAttribute("number_of_questions","" + number_of_questions);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
out.print("errror occured 2 : " + e);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<table border="0" align="right" cellpadding="0" cellspacing="0" ></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr align="center"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="15" id=home><a href="course_list1_model2.jsp" class="menuLink" onMouseOver="fnMenuBg1('home')" onMouseOut="fnMenuBg2('home')"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
&nbsp;&nbsp; Home&nbsp;&nbsp; </a></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="1" height="15" class="infoLabel">|</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="15" id=back><a href="course_step.jsp?course_id=<%=course_id%>" class="menuLink" onMouseOver="fnMenuBg1('back')" onMouseOut="fnMenuBg2('back')"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
&nbsp;&nbsp; Back&nbsp;&nbsp; </a></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="1" height="15" class="infoLabel">|</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="15" id=profile><a href="view_profile.jsp" class="menuLink" onMouseOver="fnMenuBg1('profile')" onMouseOut="fnMenuBg2('profile')">&nbsp;&nbsp;View </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
Profile&nbsp;&nbsp;</a></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="1" height="15" class="infoLabel">|</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="15" id=password><a href="change_password.jsp" class="menuLink" onMouseOver="fnMenuBg1('password')" onMouseOut="fnMenuBg2('password')">&nbsp;&nbsp;Change </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
Password&nbsp;&nbsp;</a></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="1" height="15" class="infoLabel">|</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="1" height="15" id=logout><a href="logout.jsp" class="menuLink" onMouseOver="fnMenuBg1('logout')" onMouseOut="fnMenuBg2('logout')">&nbsp;&nbsp;Logout&nbsp;&nbsp;</a></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="1" height="15" class="infoLabel">|</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="15" align="right" class="login" >&nbsp;&nbsp;Login by:<%=user_name%> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table><br></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<table width="100%"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="34" colspan="4" valign="top">&nbsp;</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td align="center" valign="middle"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<p>&nbsp;</p><table border="0" align="right" cellpadding="5"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td align="right" class="infoLabel">Your Name:</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoValue"><%=trainee_name%></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td align="right" class="infoLabel">Course Name:</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoValue"><%=course_name%></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table> </td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<!--start of result display--></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<table width="100%" align="center"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(request.getParameter("result")!=null)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<marquee loop="1" behavior="alternate"><strong><font color="#FFffff" size="2" face="Arial, Helvetica, sans-serif"><%=request.getParameter("result")%></font></strong></marquee></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<!--end of result display--></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<table width="75%" border="0" cellpadding="0" cellspacing="0" bordercolorlight="#FFFFFF"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td><table width="100%" border="0" cellpadding="5"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="8%">&nbsp;</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="92%" class="infoValue">&nbsp;</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td align="center" class="infoLabel">1.</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoLabel">You have chosen to attempt the module <font color="#000099"><%=paper_name%></font> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
of <font color="#000099"><%=course_name%>.</font></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td align="center" class="infoLabel">2.</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoLabel">Click on 'Begin Test' button to start the test.</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td align="center" class="infoLabel">3.</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoLabel">It is considered as your <font color="#000099"><%=attempt%></font> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
attempt.</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td align="center" class="infoLabel">4.</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoLabel">Click on the 'Next' button to move to the next question.</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td align="center" class="infoLabel">5.</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoLabel">Click the 'Review' button to review your answers after completing.</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td align="center" class="infoLabel">6.</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoLabel">All questions carry equal marks.</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td align="center" class="infoLabel">7.</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoLabel">Each test contains <font color="#000099"><%=number_of_questions%></font> questions.</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<form action="CourseToSession_final.jsp" method=post></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<input type=hidden name="paper_no" value="<%=paper_no%>"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<input type=hidden name="course_id" value="<%=course_id%>"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<input type=hidden name="no_of_attempts" value="<%=request.getParameter("no_of_attempts")%>"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<input type=hidden name="dbase" value="<%=request.getParameter("dbase")%>"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<input type=hidden name="attempt_id" value="<%=attempt_id%>"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<input type=hidden name="paper_id" value="<%=request.getParameter("paper_id")%>"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td>&nbsp;</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td><input type=submit value="Begin Test" style="font-size:16pt;"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</form></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</body></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</html></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
--------------------------------------exam_question.jsp---------------------------------------------</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="INCLUDES.DBConnection"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.sql.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.io.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:useBean id="DB" scope="page" class="INCLUDES.DBConnection"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:setProperty name="DB" property="*"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:useBean id="DB1" scope="page" class="INCLUDES.DBConnection"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:setProperty name="DB1" property="*"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:useBean id="DB2" scope="page" class="INCLUDES.DBConnection"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:setProperty name="DB2" property="*"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String dbase=(String)session.getAttribute("dbase");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String trainee_id=(String)session.getAttribute("trainee_id");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String user_name=(String)session.getAttribute("user_name");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(user_name==null)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
response.sendRedirect("course_list_index2.jsp?result=Session Timed Out.Please, Login again.");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int attempt_id=Integer.parseInt((String)session.getAttribute("attempt_id"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int number_of_questions=Integer.parseInt((String)session.getAttribute("number_of_questions"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int course_id=Integer.parseInt((String)session.getAttribute("course_id"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int paper_id=Integer.parseInt((String)session.getAttribute("paper_id"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String statement=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
ResultSet objRs=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
ResultSet objRsQNo=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
ResultSet objRsQ=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int no_of_papers=0,paper_no=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String course_name="",trainee_name="",paper_name="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
statement="select * from x_master_elearning_user u,x_master_trainee_detail_online t,x_masterListOfCourses c ,x_masterListOfPapers p where p.course_id=c.course_id and c.course_id=t.course_id and t.user_name=u.user_name and c.course_id=" + course_id + " and u.user_name='" + user_name + "' and p.paper_id=" + paper_id;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
DB.setStatement(statement);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs=(ResultSet)DB.result();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(objRs.next())</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
course_name=objRs.getString("course_name");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
trainee_name=objRs.getString("first_name");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
paper_name=objRs.getString("paper_name");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
no_of_papers=objRs.getInt("no_of_papers");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
paper_no=objRs.getInt("paper_no");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
out.print("error occured 1 :" + e);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int i=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(request.getParameter("question_no")==null)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
i=1;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
i=Integer.parseInt(request.getParameter("question_no"))+1;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
statement="select * from results where paper_id=" + paper_id + " and course_id=" + course_id + " and trainee_id='" + trainee_id + "'";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
DB1.setStatement(statement);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsQNo=(ResultSet)DB1.result();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(objRsQNo.next())</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(i<= number_of_questions)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
statement="select * from x_masterListOfQuestions where paper_id=" + paper_id + " and question_id=" + objRsQNo.getInt("qn" + i);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
DB2.setStatement(statement);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsQ=(ResultSet)DB2.result();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
out.print("error occured 22 :" + e);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<form method="post" action="exam_question_insert.jsp" ></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<input type="hidden" name="question_no" value=<%=i%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<table width="75%" align="right" ></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td colspan="3"><hr color="#FFFFff" noshade size="1"></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(objRsQ.next())</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr > </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="9%" class="infoLabel">Q No.<strong><%=i%></strong></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td colspan="2" class="infoValue"><%=objRsQ.getString("question")%></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td>&nbsp;&nbsp;</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td colspan="2" class="infoValue"> <input type="radio" name="choice<%=i%>" value=1> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%=objRsQ.getString("choice1")%></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td>&nbsp;</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td colspan="2" class="infoValue"> <input type="radio" name="choice<%=i%>" value=2> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%=objRsQ.getString("choice2")%></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td>&nbsp;</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td colspan="2" class="infoValue"> <input type="radio" name="choice<%=i%>" value=3> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%=objRsQ.getString("choice3")%></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td>&nbsp;</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td colspan="2" class="infoValue"> <input type="radio" name="choice<%=i%>" value=4> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%=objRsQ.getString("choice4")%></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<% </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
out.print("error occured 55 : " + e);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
} </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td colspan="3"><hr color="#FFFFff" noshade size="1"></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td align=center> </td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td align="right"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%if(i== number_of_questions)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<div align="right"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<input type="submit" value="Finish" style="font-size:13pt;" name="submit" onClick="return fnConfirm()"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<input type="submit" value="Next" style="font-size:13pt;" name="submit"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</div></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="47%" align="right"><input type="submit" value="Review" style="font-size:13pt" name="submit"></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</form></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</body></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</html></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
--------------------------------------result_calculation-------------------------------------</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="INCLUDES.DBConnection"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.sql.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.io.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.util.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:useBean id="DB" scope="page" class="INCLUDES.DBConnection"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:setProperty name="DB" property="*"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:useBean id="DB1" scope="page" class="INCLUDES.DBConnection"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:setProperty name="DB1" property="*"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:useBean id="DB2" scope="page" class="INCLUDES.DBConnection"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:setProperty name="DB2" property="*"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:useBean id="DB3" scope="page" class="INCLUDES.DBConnection"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:setProperty name="DB3" property="*"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:useBean id="DB4" scope="page" class="INCLUDES.DBConnection"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:setProperty name="DB4" property="*"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String trainee_id=(String)session.getAttribute("trainee_id");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String user_name=(String)session.getAttribute("user_name");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(user_name==null)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
response.sendRedirect("course_list_index2.jsp?result=Session Timed Out.Please, Login again.");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int number_of_questions=Integer.parseInt((String)session.getAttribute("number_of_questions"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int course_id=Integer.parseInt((String)session.getAttribute("course_id"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int paper_id=Integer.parseInt((String)session.getAttribute("paper_id"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int attempt_id=Integer.parseInt((String)session.getAttribute("attempt_id"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String statement=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
ResultSet objRs=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
ResultSet objRs1=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
ResultSet objRsQNo=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
ResultSet objRsUpdate=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
ResultSet objRsUpdate1=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String trainee_name="",course_name="",paper_name="",course_category="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int no_of_papers=0,paper_no=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
statement="select * from x_master_elearning_user u,x_master_trainee_detail_online t,x_masterListOfCourses c ,x_masterListOfPapers p,x_masterListOfCategory cat where c.course_category_id=cat.course_category_id and p.course_id=c.course_id and c.course_id=t.course_id and t.user_name=u.user_name and c.course_id=" + course_id + " and u.user_name='" + user_name + "' and p.paper_id=" + paper_id;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
DB.setStatement(statement);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs1=(ResultSet)DB.result();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(objRs1.next())</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
trainee_name=objRs1.getString("first_name");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
course_name=objRs1.getString("course_name");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
paper_name=objRs1.getString("paper_name");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
course_category=objRs1.getString("course_category");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
no_of_papers=objRs1.getInt("no_of_papers");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
paper_no=objRs1.getInt("paper_no");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
out.print("error occured ");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
statement="select * from results where attempt_id=" + attempt_id + " and course_id=" + course_id + " and paper_id=" + paper_id + " and trainee_id='" + trainee_id + "'";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
DB1.setStatement(statement);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsQNo=(ResultSet)DB1.result();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsQNo.next();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
out.print("error occured 22 :"+e);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<br /></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<html></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<head></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<title>e-Learning</title></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<script></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
function fnMenuBg1(elementId)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
document.getElementById(elementId).style.backgroundColor="#dfdfdf";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
function fnMenuBg2(elementId)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
document.getElementById(elementId).style.backgroundColor="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
function fnConfirm()</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
return confirm("Are you sure you want to FINISH the exam?");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
function fnClick()</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
location.href="course_tutorial1.jsp?course_id=<%=course_id%>";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</script></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</head></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<body background="result.jpg" ></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<table border="0" align="right" cellpadding="0" cellspacing="0" ></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr align="center"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="15" id=home><a href="course_list1_model2.jsp" class="menuLink" onMouseOver="fnMenuBg1('home')" onMouseOut="fnMenuBg2('home')"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
&nbsp;&nbsp; Home&nbsp;&nbsp; </a></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="1" height="15" class="infoLabel">|</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="15" id=profile><a href="view_profile.jsp" class="menuLink" onMouseOver="fnMenuBg1('profile')" onMouseOut="fnMenuBg2('profile')">&nbsp;&nbsp;View </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
Profile&nbsp;&nbsp;</a></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="1" height="15" class="infoLabel">|</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="15" id=password><a href="change_password.jsp" class="menuLink" onMouseOver="fnMenuBg1('password')" onMouseOut="fnMenuBg2('password')">&nbsp;&nbsp;Change </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
Password&nbsp;&nbsp;</a></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="1" height="15" class="infoLabel">|</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="1" height="15" id=logout><a href="logout.jsp" class="menuLink" onMouseOver="fnMenuBg1('logout')" onMouseOut="fnMenuBg2('logout')">&nbsp;&nbsp;Logout&nbsp;&nbsp;</a></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="1" height="15" class="infoLabel">|</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="15" align="right" class="login" >&nbsp;&nbsp;Login by:<%=user_name%> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table><br></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<table width="100%"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="34" colspan="4" valign="top">&nbsp;</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td align="center" valign="middle"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<table border="0" align="right" cellpadding="5"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td align="right" class="infoLabel">Your Name:</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoValue"><%=trainee_name%></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td align="right" class="infoLabel">Course Name:</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoValue"><%=course_name%></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td align="right" class="infoLabel">Module Name:</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoValue"><%=paper_name%></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td align="right" class="infoLabel">Module No.:</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoValue"><%=paper_no%>/<%=no_of_papers%></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td align="right" class="infoLabel">Attempt No.:</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoValue"><%=attempt_id%>/3</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table> </td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<!--start of result display--></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<!--end of result display--></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<table width="100%" height="100%" border="0"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td valign="top"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<table width="75%" border="0"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int i=1;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int total=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String back_color="",choice1="",choice2="",choice3="",choice4="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int objRsQNans=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String question="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
while(i<= number_of_questions)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int user_ans=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
statement="select * from x_masterListOfQuestions where paper_id=" + paper_id + " and question_id=" + objRsQNo.getInt("qn" + i);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
DB2.setStatement(statement);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs=(ResultSet)DB2.result();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(objRs.next())</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
user_ans=objRs.getInt("ans");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
choice1=objRs.getString("choice1");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
choice2=objRs.getString("choice2");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
choice3=objRs.getString("choice3");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
choice4=objRs.getString("choice4");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
question=objRs.getString("question");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsQNans=objRsQNo.getInt("ans" + i);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<br /></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
out.println("error occured 55 : "+e);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="5%" rowspan="5" align="left" valign="top" class="infoLabel"><%=i%>.</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="95%" class="infoValue"><%=question%></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%if(user_ans==1)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
back_color="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
back_color="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr <%=back_color%>> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%if(objRsQNans==1)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoValue"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<input type="radio" name="choice<%=i%>" value=1 checked disabled></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%=choice1%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%if(user_ans==1)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<img src="qbright.gif" height="20" border="0"><font color="#FF0000" size="2" face="Verdana, Arial, Helvetica, sans-serif">1 </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
mark</font> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%total=total+1;%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<img src="qbwrong.gif" height="20" border="0"><font color="#FF0000" size="2" face="Verdana, Arial, Helvetica, sans-serif">0 </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
mark</font> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%}%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%if(objRsQNans==0)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoValue"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<input type="radio" name="choice<%=i%>" value=1 disabled></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%=choice1%><img src="not_attempted.gif" height="20" border="0"><font color="#FF0000" size="1" face="Verdana, Arial, Helvetica, sans-serif">Not </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
attempted</font></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoValue"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<input type="radio" name="choice<%=i%>" value=1 disabled></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%=choice1%></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%}%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%}%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(user_ans==2)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
back_color="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
back_color="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr <%=back_color%>> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%if(objRsQNans==2)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoValue" > </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<input type="radio" name="choice<%=i%>" value=2 checked disabled></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%=choice2%> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%if(user_ans==2)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<img src="qbright.gif" height="20" border="0"><font color="#FF0000" size="2" face="Verdana, Arial, Helvetica, sans-serif">1 </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
mark</font> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%total=total+1;%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<img src="qbwrong.gif" height="20" border="0"><font color="#FF0000" size="2" face="Verdana, Arial, Helvetica, sans-serif">0 </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
mark</font> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%}%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoValue"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<input type="radio" name="choice<%=i%>" value=2 disabled></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%=choice2%></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%}%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(user_ans==3)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
back_color="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
back_color="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr <%=back_color%>> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%if(objRsQNans==3)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoValue"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<input type="radio" name="choice<%=i%>" value=3 checked disabled></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%=choice3%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%if(user_ans==3)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<img src="qbright.gif" height="20" border="0"><font color="#FF0000" size="2" face="Verdana, Arial, Helvetica, sans-serif">1 </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
mark</font> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%total=total+1;%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<img src="qbwrong.gif" height="20" border="0"><font color="#FF0000" size="2" face="Verdana, Arial, Helvetica, sans-serif">0 </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
mark</font> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%}%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoValue"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<input type="radio" name="choice<%=i%>" value=3 disabled></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%=choice3%></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%}%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(user_ans==4)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
back_color="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
back_color="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr <%=back_color%>> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%if(objRsQNans==4)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoValue"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<input type="radio" name="choice<%=i%>" value=4 checked disabled></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%=choice4%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%if(user_ans==4)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<img src="qbright.gif" height="20" border="0"><font color="#FF0000" size="2" face="Verdana, Arial, Helvetica, sans-serif">1 </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
mark</font> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%total=total+1;%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<img src="qbwrong.gif" height="20" border="0"><font color="#FF0000" size="2" face="Verdana, Arial, Helvetica, sans-serif">0 </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
mark</font> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%}%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoValue"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<input type="radio" name="choice<%=i%>" value=4 disabled></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%=choice4%></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%}%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td colspan="2"><hr color="#FFffff" size="1" ></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
i=i+1;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td colspan="2"><font color="#FF0000" size="5" face="Arial, Helvetica, sans-serif">TOTAL </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
MARKS : <strong><%=total%>/<%=number_of_questions%></strong><br></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</strong> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
statement="select * from results where attempt_id=" + attempt_id + " and course_id=" + course_id + " and paper_id=" + paper_id + " and trainee_id='" + trainee_id + "'";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
DB3.setStatement(statement);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsUpdate=(ResultSet)DB3.resultUpdate();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsUpdate.next();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsUpdate.updateInt("Result",total);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsUpdate.updateRow();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
out.println("eror occured 66 : " + e);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
statement="select * from x_master_trainee_detail_online where course_id=" + course_id + " and trainee_id='" + trainee_id + "'";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
DB4.setStatement(statement);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsUpdate1=(ResultSet)DB4.resultUpdate();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsUpdate1.next();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsUpdate1.updateInt("paper_id" + paper_no,paper_id);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsUpdate1.updateInt("paper" + paper_no + "_no_of_attempts",attempt_id);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsUpdate1.updateInt("paper" + paper_no + "_marks",total);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsUpdate1.updateInt("is_attended_exam",1);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
java.util.Date now=new java.util.Date();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
java.sql.Date date = new java.sql.Date(now.getYear(),now.getMonth(),now.getDate());</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsUpdate1.updateDate("paper" + paper_no + "_appeared_on",date);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsUpdate1.updateInt("total_marks",number_of_questions);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(total>(number_of_questions /2))</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsUpdate1.updateInt("is_paper" + paper_no + "_completed",1);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsUpdate1.updateDate("paper" + paper_no + "_completed_date",date);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
out.print("STATUS:<strong>PASS</strong> <br>");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(paper_no==no_of_papers)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsUpdate1.updateInt("is_successfully_completed",1);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsUpdate1.updateDate("course_completed_date",date);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
out.print("STATUS:<strong>FAIL</strong> <br>");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsUpdate1.updateRow();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
out.println("error occured 77 : " + e);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
ATTEMPT NO.:<strong><%=attempt_id%></strong> </FONt></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td colspan="2"><hr noshade color="#FFFFFF" size="1"></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td colspan="2"><input type=button value="Continue" onClick="fnClick()"></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
session.removeAttribute("paper_no");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
session.removeAttribute("paper_id");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
session.removeAttribute("attempt_id");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<p>&nbsp;</p></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</body></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</html></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
-------------------------------view_result.jsp--------------------------------------------------------</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="INCLUDES.DBConnection"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.sql.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.io.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.util.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:useBean id="DB" scope="page" class="INCLUDES.DBConnection"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:setProperty name="DB" property="*"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:useBean id="DB1" scope="page" class="INCLUDES.DBConnection"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:setProperty name="DB1" property="*"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int course_id=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int is_objRs_present=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String statement="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
ResultSet objRs=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
ResultSet objRsPaper=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String user_name=(String)session.getAttribute("user_name");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(user_name==null)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
response.sendRedirect("course_list_index2.jsp?result=Session Timed Out.Please, Login again.");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String trainee_name="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String course_name="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(request.getParameter("course_id")!=null)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
course_id=Integer.parseInt(request.getParameter("course_id"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
statement="select * from x_master_elearning_user u,x_master_trainee_detail_online t,x_masterListOfCourses c,x_masterListOfCategory cat where c.course_id=t.course_id and t.user_name=u.user_name and c.course_category_id=cat.course_category_id and c.course_id=" + course_id + " and u.user_name='" + user_name + "'";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
DB.setStatement(statement);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs=(ResultSet)DB.result();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(objRs.next())</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
trainee_name=objRs.getString("first_name");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
course_name=objRs.getString("course_name");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
is_objRs_present=1;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
response.sendRedirect("course_list_index2.asp?result=Session Timed out");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
session.setAttribute("trainee_id",objRs.getString("trainee_id"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%>error occured : <%=e%><%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<html></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<head></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<title>e-Learning</title></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<style></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
.activeMenu{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
font-family:verdana;font-weight:bold;font-size:11px;color:#666666;text-decoration:none;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
A.menuLink{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
font-family:verdana;font-size:11px;color:#666666;text-decoration:none;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
A.menuLink:hover{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
font-family:verdana;font-size:11px;color:#666666;text-decoration:none;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
TD.infoLabel{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
font-family:verdana;font-size:11px;color:#666666;text-decoration:none;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
TD.infoValue{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
font-family:verdana;font-weight:bold;font-size:11px;color:#336699;text-decoration:none;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
TD.login{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
font-family:verdana;font-size:11px;color:#111111;text-decoration:none;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</style></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<script></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
function fnMenuBg1(elementId)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
document.getElementById(elementId).style.backgroundColor="#dfdfdf";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
function fnMenuBg2(elementId)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
document.getElementById(elementId).style.backgroundColor="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
function fnClick(course_id)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
location.href="course_step.jsp?course_id=" + course_id;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</script></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</head></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<body background="result.jpg" topmargin="0"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<table border="0" align="right" cellpadding="0" cellspacing="0" ></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr align="center"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="15" id=home><a href="course_list1_model2.jsp" class="menuLink" onMouseOver="fnMenuBg1('home')" onMouseOut="fnMenuBg2('home')"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
&nbsp;&nbsp; Home&nbsp;&nbsp; </a></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="1" height="15" class="infoLabel">|</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="15" id=back><a href="course_step.jsp?course_id=<%=course_id%>" class="menuLink" onMouseOver="fnMenuBg1('back')" onMouseOut="fnMenuBg2('back')"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
&nbsp;&nbsp; Back&nbsp;&nbsp; </a></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="1" height="15" class="infoLabel">|</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="15" id=profile><a href="view_profile.jsp" class="menuLink" onMouseOver="fnMenuBg1('profile')" onMouseOut="fnMenuBg2('profile')">&nbsp;&nbsp;View </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
Profile&nbsp;&nbsp;</a></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="1" height="15" class="infoLabel">|</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="15" id=password><a href="change_password.jsp" class="menuLink" onMouseOver="fnMenuBg1('password')" onMouseOut="fnMenuBg2('password')">&nbsp;&nbsp;Change </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
Password&nbsp;&nbsp;</a></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="1" height="15" class="infoLabel">|</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="1" height="15" id=logout><a href="logout.jsp" class="menuLink" onMouseOver="fnMenuBg1('logout')" onMouseOut="fnMenuBg2('logout')">&nbsp;&nbsp;Logout&nbsp;&nbsp;</a></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="1" height="15" class="infoLabel">|</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="15" align="right" class="login" >&nbsp;&nbsp;Login by:<%=user_name%> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table><br></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<table width="100%"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td height="34" colspan="4" valign="top">&nbsp;</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td align="center" valign="middle"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<p>&nbsp;</p><table border="0" align="right" cellpadding="5"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td align="right" class="infoLabel">Your Name:</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoValue"><%=trainee_name%></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td align="right" class="infoLabel">Course Name:</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoValue"><%=course_name%></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table> </td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<br /></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<table width="100%" height="858" ></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td align="center" valign="top"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<!--start of result display--></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<table width="100%" align="center"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(request.getParameter("result")!=null)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<marquee loop="1" behavior="alternate"><strong><font color="#FFffff" size="2" face="Arial, Helvetica, sans-serif"><%=request.getParameter("result")%></font></strong></marquee></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<!--end of result display--></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<br></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<table width="50%" border="0" align="left" cellpadding="3" cellspacing="3" bordercolorlight="#FFffff"></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
statement="select * from x_masterListOfPapers where course_id=" + course_id;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
DB1.setStatement(statement);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsPaper=(ResultSet)DB1.result();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
error occured in paper : <%=e%> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(is_objRs_present==1)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int is_previous_paper_completed=1;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int total_marks=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
while(objRsPaper.next())</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{ </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int paper_no=objRsPaper.getInt("paper_no");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int no_of_attempts=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int attempt_id=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int marks=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
java.util.Date appeared_on=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String back_color="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String attempt_message="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String paper_name=objRsPaper.getString("paper_name");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
no_of_attempts=objRs.getInt("paper" + paper_no + "_no_of_attempts");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int paper_id=objRsPaper.getInt("paper_id");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String dbase=objRsPaper.getString("dbase");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int is_paper_completed=objRs.getInt("is_paper" + paper_no + "_completed");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(paper_no==1)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
total_marks=objRs.getInt("total_marks");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(is_paper_completed==1)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
back_color="bgcolor=#ffffcc";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
back_color="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(is_paper_completed==1)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
attempt_message="Successfully Completed ";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(is_previous_paper_completed==0)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
attempt_message="Not yet Eligible as you have not completed previous modules";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
switch(no_of_attempts)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
case 0:</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
attempt_id=1;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
attempt_message="Not completed, You have a total of 3 attempts";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
break;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
case 1:</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
attempt_id=2;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
attempt_message="Not completed,1 attempt exhausted ,you have 2 more attempts.";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
break;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
case 2:</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
attempt_id=3;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
attempt_message="Not completed,2 attempts exhausted,you have 1 more attempt.";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
break;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
case 3:</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
attempt_message="All the attempts are exhausted and so you cannot complete the e ";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
break;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
default:</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
attempt_message="Not completed, and you are eligible for the exam ";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
} } } %></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td colspan="3"><strong><font size="2" face="Verdana, Arial, Helvetica, sans-serif"> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
Module.<%=paper_no%> : <%=paper_name%>&nbsp; </font></strong> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</td> </tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td>&nbsp;</td><td colspan="2"><font color="#FFFF00" size="2" face="Verdana, Arial, Helvetica, sans-serif"><%=attempt_message%></font></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%if(no_of_attempts>0)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="7%" class="infoLabel" >&nbsp;</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="31%" class="infoLabel">Marks obtained :</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
marks=(objRs.getInt("paper" + paper_no + "_marks")*100)/total_marks;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td width="62%" class="infoValue"><%=marks%>%</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<% appeared_on=objRs.getDate("paper" + paper_no + "_appeared_on");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String appeared_on_str=appeared_on.getDate() + "-" + (appeared_on.getMonth()+1) + "-" + (appeared_on.getYear()+1900);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td>&nbsp;</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoLabel">Appeared On :</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoValue"><%=appeared_on_str%></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr> </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td>&nbsp;</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoLabel">No. of Attempts :</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoValue"><%=no_of_attempts%></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%}%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td colspan="3"><hr noshade color="#FFFFCC"></td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<% is_previous_paper_completed=is_paper_completed;} %></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<td class="infoLabel" colspan="3">Pass precentage :50%</td></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<% }</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{ out.print("NIL");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
} </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table> <td></tr></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<% }</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{ out.print("error occured in while of paper : " + e);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</table></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</body></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
</html></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<br /></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<span style="color: red; font-size: x-large;">8.2 Back End</span></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<br /></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
------------------------------------DBConnection.class---------------------------------------------</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
package INCLUDES; </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
import java.io.Serializable;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
import java.sql.*;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
import java.io.*;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
public class DBConnection </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String strStatement="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
ResultSet rs=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
Connection conn=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
public void setStatement(String statement)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{ this.strStatement=statement; }</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
public ResultSet result()</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); conn=DriverManager.getConnection</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
("jdbc:odbc:ELEARNING_DATASOURCE","","");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
Statement stat=conn.createStatement();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
rs=stat.executeQuery(strStatement);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{ e.printStackTrace();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
return rs;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
public ResultSet resultUpdate()</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); conn=DriverManager.getConnection</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
("jdbc:odbc:ELEARNING_DATASOURCE","","");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
Statement stat=conn.createStatement</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
rs=stat.executeQuery(strStatement);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{ e.printStackTrace();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
return rs;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
public int insert()</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int count=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); conn=DriverManager.getConnection</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
("jdbc:odbc:ELEARNING_DATASOURCE","","");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
Statement stat=conn.createStatement();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
count=stat.executeUpdate(strStatement);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{ e.printStackTrace();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
return count;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
public void closeConn()</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{ conn.close();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{ e.printStackTrace();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
------------------------------------------signup_insert.jsp---------------------------------------</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="INCLUDES.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.sql.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.io.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:useBean id="DB" scope="page" class="INCLUDES.DBConnection"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:setProperty name="DB" property="*"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String user_name=request.getParameter("user_name");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
ResultSet objRs=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String statement="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
statement="select * from x_master_elearning_user where user_name='" +</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
user_name + "'";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
DB.setStatement(statement);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs=(ResultSet)DB.resultUpdate();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(objRs.next())</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
response.sendRedirect("signup.jsp?result=User name already exists");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs.updateString("user_name",user_name);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs.updateString("pass_word",request.getParameter("pass_word"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs.updateString("first_name",request.getParameter("trainee_name"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs.updateString("designation",request.getParameter("designation"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs.updateString("email",request.getParameter("email"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs.updateInt("is_validated",0);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs.updateString("validation_code","xxxx");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs.updateString("city",request.getParameter("city"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs.updateString("country",request.getParameter("country"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs.insertRow();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
response.sendRedirect("course_list_index2.jsp?result=</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
Succesfully regsitered.Please, Login to access other features.");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{ out.print("error occured " + e);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
---------------------------------------user_login_verification.jsp------------------------</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="INCLUDES.DBConnection"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.sql.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.io.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:useBean id="DB" scope="page" class="INCLUDES.DBConnection"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:setProperty name="DB" property="*"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String user_name=request.getParameter("user_name");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
session.setAttribute("user_name",user_name);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String pass_word=request.getParameter("pass_word");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String statement="SELECT * from x_master_elearning_user where user_name='" + user_name + "'";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
DB.setStatement(statement);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
ResultSet rs=(ResultSet)DB.result();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(rs.next()){</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(pass_word.equals(rs.getString("pass_word"))){</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
response.sendRedirect("course_list1_model2.jsp");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
response.sendRedirect("course_list_index2.jsp?</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
result=Incorrect Username/Password");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
} </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
response.sendRedirect("course_list_index2.jsp?</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
result=Incorrect Username/Password");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception ex){</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
ex.printStackTrace();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
} </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
----------------------------------------profile_update.jsp----------------------------------------</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="INCLUDES.DBConnection"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.sql.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.io.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:useBean id="DB" scope="page" class="INCLUDES.DBConnection"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:setProperty name="DB" property="*"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String user_name=(String)session.getAttribute("user_name");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(user_name==null)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
response.redirect("course_list_index2.jsp?result=Session timed out.Please Login again.");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
ResultSet objRs=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String statement="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
statement="select * from x_master_elearning_user where user_name='" + user_name + "'";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
DB.setStatement(statement);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs=(ResultSet)DB.resultUpdate();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(objRs.next())</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs.updateString("first_name",request.getParameter("trainee_name"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs.updateString("designation",request.getParameter("designation"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs.updateString("email",request.getParameter("email"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs.updateString("city",request.getParameter("city"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs.updateString("country",request.getParameter("country"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs.updateRow();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
response.sendRedirect("view_profile.jsp?result=Succesfully updated profile.");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{ </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
response.sendRedirect("view_profile.jsp?result=Sorry.You Profile could not be updated .");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
out.print("error occured " + e);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
---------------------------------------------password_update.jsp--------------------</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="INCLUDES.DBConnection"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.sql.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.io.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:useBean id="DB" scope="page" class="INCLUDES.DBConnection"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:setProperty name="DB" property="*"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String user_name=(String)session.getAttribute("user_name");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String old_pass=request.getParameter("old_pass");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String new_pass=request.getParameter("new_pass");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
ResultSet objRs=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String statement="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
statement="select * from x_master_elearning_user where user_name='" + user_name + "' and pass_word='" + old_pass + "'";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
DB.setStatement(statement);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs=(ResultSet)DB.resultUpdate();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(objRs.next())</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs.updateString("pass_word",new_pass);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs.updateRow();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
response.sendRedirect("course_list_index2.jsp?result=Password Changed Successfully.Please Login Again.");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
response.sendRedirect("change_password.jsp?result=Incorrect Password.Try Again!");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
out.print("error occured " + e);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
--------------------------------------------enroll.jsp--------------------------------------------</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="INCLUDES.DBConnection"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.sql.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.io.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.util.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:useBean id="DB" scope="page" class="INCLUDES.DBConnection"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:setProperty name="DB" property="*"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:useBean id="DB1" scope="page" class="INCLUDES.DBConnection"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:setProperty name="DB1" property="*"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int course_id=Integer.parseInt(request.getParameter("course_id"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int no_of_papers=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String statement="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
statement="select no_of_papers from x_masterListOfCourses where course_id=" + course_id;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
DB1.setStatement(statement);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
ResultSet objRs=(ResultSet)DB1.result();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(objRs.next())</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
no_of_papers=objRs.getInt("no_of_papers");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
out.print("error occured 11:" + e);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String user_name=(String)session.getAttribute("user_name");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
java.util.Date now=new java.util.Date();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
java.sql.Date date=new java.sql.Date(now.getYear(),now.getMonth(),now.getDate());</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String trainee_id="OL_" + course_id + "_" + user_name; </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
statement="select * from x_master_trainee_detail_online";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
DB.setStatement(statement);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
ResultSet objRsInsert=(ResultSet)DB.resultUpdate();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsInsert.next();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsInsert.updateString("trainee_id",trainee_id);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
session.setAttribute("trainee_id",trainee_id);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsInsert.updateString("user_name",user_name);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsInsert.updateInt("is_registered",1);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsInsert.updateInt("is_paper1_tutorial_viewed",0);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsInsert.updateInt("is_paper2_tutorial_viewed",0);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsInsert.updateInt("is_paper3_tutorial_viewed",0);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsInsert.updateInt("is_paper4_tutorial_viewed",0);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsInsert.updateInt("is_paper5_tutorial_viewed",0);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsInsert.updateInt("is_attended_exam",0);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsInsert.updateInt("course_id",course_id);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsInsert.updateInt("paper1_no_of_attempts",0);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsInsert.updateInt("paper2_no_of_attempts",0);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsInsert.updateInt("paper3_no_of_attempts",0);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsInsert.updateInt("paper4_no_of_attempts",0);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsInsert.updateInt("paper5_no_of_attempts",0);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsInsert.updateInt("is_paper1_completed",0);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsInsert.updateInt("is_paper2_completed",0);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsInsert.updateInt("is_paper3_completed",0);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsInsert.updateInt("is_paper4_completed",0);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsInsert.updateInt("is_paper5_completed",0);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsInsert.updateInt("paper1_marks",0);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsInsert.updateInt("paper2_marks",0);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsInsert.updateInt("paper3_marks",0);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsInsert.updateInt("paper4_marks",0);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsInsert.updateInt("paper5_marks",0);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsInsert.updateDate("doe",date);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsInsert.updateInt("no_of_papers",no_of_papers);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRsInsert.insertRow();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
response.sendRedirect("course_step.jsp?result=Enrolled successfully.&course_id=" + course_id);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
out.print("error occured : " + e);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
----------------------------------------update_tutorial_viewed.jsp---------------------------</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="INCLUDES.DBConnection"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.sql.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.io.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:useBean id="DB" scope="page" class="INCLUDES.DBConnection"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:setProperty name="DB" property="*"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int course_id=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String statement="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
ResultSet objRs=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int paper_id=Integer.parseInt(request.getParameter("paper_id"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int paper_no=Integer.parseInt(request.getParameter("paper_no"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String file_name=request.getParameter("doc");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String user_name=(String)session.getAttribute("user_name");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String col1="paper_id" + paper_no;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String col2="is_paper" + paper_no + "_tutorial_viewed";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(request.getParameter("course_id")!=null)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
course_id=Integer.parseInt(request.getParameter("course_id"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
statement="select * from x_master_trainee_detail_online where course_id=" + course_id + " and user_name='" + user_name + "'";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
DB.setStatement(statement);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs=(ResultSet)DB.resultUpdate();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs.next();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs.updateInt(col1, paper_id);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs.updateInt(col2,1);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs.updateRow();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
response.sendRedirect(file_name);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
out.println("error occured 11 : " + e);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
------------------------------------CourseToSession_final.jsp-----------------------------------</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="INCLUDES.DBConnection"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.sql.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.io.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.util.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:useBean id="DB" scope="page" class="INCLUDES.DBConnection"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:setProperty name="DB" property="*"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:useBean id="DB1" scope="page" class="INCLUDES.DBConnection"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:setProperty name="DB1" property="*"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:useBean id="DB2" scope="page" class="INCLUDES.DBConnection"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:setProperty name="DB2" property="*"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:useBean id="DB3" scope="page" class="INCLUDES.DBConnection"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:setProperty name="DB3" property="*"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:useBean id="DB4" scope="page" class="INCLUDES.DBConnection"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:setProperty name="DB4" property="*"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String statement=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
ResultSet objRs=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
ResultSet oRsQn=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
ResultSet oRsTotQns=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int number_of_questions=3;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int course_id=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int paper_no=0,paper_id=0,attempt_id=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String trainee_id=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int total_qns=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(request.getParameter("course_id")!=null)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
course_id=Integer.parseInt(request.getParameter("course_id"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
session.setAttribute("course_id",""+course_id);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
trainee_id=(String)session.getAttribute("trainee_id");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
paper_no=Integer.parseInt(request.getParameter("paper_no"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
session.setAttribute("paper_no",""+paper_no);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
attempt_id=Integer.parseInt(request.getParameter("attempt_id"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
session.setAttribute("attempt_id",""+attempt_id);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
paper_id=Integer.parseInt(request.getParameter("paper_id"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
session.setAttribute("paper_id",""+paper_id);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{ </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
statement="select * from x_master_trainee_detail_online where course_id=" + course_id + " and trainee_id='" + trainee_id + "'";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
DB.setStatement(statement);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs=(ResultSet)DB.result();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(objRs.next())</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String viewed_field="is_paper" + paper_no + "_tutorial_viewed";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
out.print(viewed_field);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(objRs.getInt(viewed_field)==0)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
response.sendRedirect("course_tutorial1.jsp?course_id=" + course_id + "&result=You must first read the tutorials.You may <a href=view_document.jsp?course_id=" + course_id + ">click here</a>.");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
} </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
out.print("errror occured 1 : " + e);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
number_of_questions=Integer.parseInt((String)session.getAttribute("number_of_questions"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{ </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
statement="select count(*) as total_qns from x_masterListOfQuestions where paper_id=" + paper_id;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
DB2.setStatement(statement);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
oRsTotQns=(ResultSet)DB2.result();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(oRsTotQns.next())</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
total_qns=oRsTotQns.getInt("total_qns");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
out.print("errror occured 3 : " + e);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(total_qns < number_of_questions)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
response.sendRedirect("course_tutorial1.jsp?result=This Course contains less than " + number_of_questions + " questions. Hence Test is not permitted. Please select some other course");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int last_qn=total_qns-1;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int i=0;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
ResultSet oRsID=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int qn_array[]=new int[total_qns];</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{ </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
statement="select question_id from x_masterListOfQuestions where paper_id=" + paper_id;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
DB3.setStatement(statement);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
oRsID=(ResultSet)DB3.result();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
while(oRsID.next())</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
qn_array[i]=oRsID.getInt("question_id");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
i=i+1;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
out.print("errror occured 4 : " + e);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
/*randomize</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
for j=last_qn to number_of_questions step -1</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
random_no=int(rnd* last_qn)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
qn_array(random_no)=qn_array(last_qn)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
redim preserve qn_array(last_qn)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
last_qn=last_qn-1</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
next</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
redim preserve qn_array(ubound(qn_array)-1)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<br /></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
for i=0 to ubound(qn_array)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
for j=0 to (ubound(qn_array)-i-1) </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if qn_array(j)>qn_array(j+1) then</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
temp=qn_array(j)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
qn_array(j)=qn_array(j+1)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
qn_array(j+1)=temp</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
end if</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
next</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
next </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
response.write("sorted list")</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
*/</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String qn_qns_str="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String qn_qns_val="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String qn_ans_str="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String qn_ans_val="";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
for(int k=0;k<i;k++)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
qn_qns_str=qn_qns_str + ",qn" + (k+1);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
qn_qns_val=qn_qns_val + "," + qn_array[k];</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
qn_ans_str=qn_ans_str + ",ans" + (k+1); </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
qn_ans_val=qn_ans_val + ",0";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
statement="insert into results(course_id,trainee_id,paper_id,attempt_id" + qn_qns_str + qn_ans_str + ") values(" + course_id + ",'" + trainee_id + "'," + paper_id + "," + attempt_id + qn_qns_val + qn_ans_val + ")";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
DB4.setStatement(statement);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int count=(int)DB4.insert();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(count>0)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
out.println("successfully");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
out.print("failure");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
out.print("error occured 55 : " + e);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<br /></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
response.sendRedirect("exam_question.jsp");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
out.println("error occured :" + e);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<br /></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
----------------------------------------exam_question_insert.jsp-------------------------------</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="INCLUDES.DBConnection"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.sql.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.io.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:useBean id="DB" scope="page" class="INCLUDES.DBConnection"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:setProperty name="DB" property="*"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String trainee_id=(String)session.getAttribute("trainee_id");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int number_of_questions=Integer.parseInt((String)session.getAttribute("number_of_questions"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int course_id=Integer.parseInt((String)session.getAttribute("course_id"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int paper_id=Integer.parseInt((String)session.getAttribute("paper_id"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int attempt_id=Integer.parseInt((String)session.getAttribute("attempt_id"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int i=Integer.parseInt(request.getParameter("question_no"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String statement=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
ResultSet objRs=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
statement="select * from results where attempt_id=" + attempt_id + " and course_id=" + course_id + " and paper_id=" + paper_id + " and trainee_id='" + trainee_id + "'";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
DB.setStatement(statement);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs=(ResultSet)DB.resultUpdate();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs.next();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(request.getParameter("choice" + i)!=null)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs.updateInt("ans" + i,Integer.parseInt(request.getParameter("choice" + i)));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs.updateInt("ans" + i,0);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs.updateRow();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
out.print("error occured 11 : " + e);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(request.getParameter("submit").equals("Review"))</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
response.sendRedirect("question_review.jsp");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(i<number_of_questions)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
response.sendRedirect("exam_question.jsp?question_no=" + i);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
response.sendRedirect("result_calculation.jsp");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
} </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
-------------------------------review_insert.jsp-------------------------------------------</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="INCLUDES.DBConnection"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.sql.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%@ page import="java.io.*"%></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:useBean id="DB" scope="page" class="INCLUDES.DBConnection"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<jsp:setProperty name="DB" property="*"/></div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
<%</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String trainee_id=(String)session.getAttribute("trainee_id");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int number_of_questions=Integer.parseInt((String)session.getAttribute("number_of_questions"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int course_id=Integer.parseInt((String)session.getAttribute("course_id"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int paper_id=Integer.parseInt((String)session.getAttribute("paper_id"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int attempt_id=Integer.parseInt((String)session.getAttribute("attempt_id"));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
int i=1;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
String statement=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
ResultSet objRs=null;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
try</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
statement="select * from results where attempt_id=" + attempt_id + " and course_id=" + course_id + " and paper_id=" + paper_id + " and trainee_id='" + trainee_id + "'";</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
DB.setStatement(statement);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs=(ResultSet)DB.resultUpdate();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs.next();</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
while(i<=number_of_questions)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
if(request.getParameter("choice" + i)!=null)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs.updateInt("ans" + i,Integer.parseInt(request.getParameter("choice" + i)));</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
else</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs.updateInt("ans" + i,0);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
i=i+1;</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
objRs.updateRow(); </div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
catch(Exception e)</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
{</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
out.print("error occured 11 : " + e);</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
}</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
response.sendRedirect("result_calculation.jsp");</div>
<div style="font-family: arial; font-size: 12px; font-weight: normal;">
%></div>
</div>
</td></tr>
</tbody></table>
Unknownnoreply@blogger.comtag:blogger.com,1999:blog-5107766354707011402.post-47106169187184491692009-07-16T02:23:00.000-07:002009-07-26T08:19:20.006-07:00TOPIC-9: TESTING (Elearning Project)<table style="width:550px;padding:10px;border:10px solid #336699;">
<tr>
<td>
<div style="line-height:200%;">
<div align="center" ><br />
<strong><font size="5">9. Testing </font></strong> </div>
<p></p>
<p><strong><font face="Arial, Helvetica, sans-serif">TestPlan:-</font></strong><font face="Arial, Helvetica, sans-serif">This
document describes the plan for testing E-Learning Software. All the major
testing strategies are specified here; additional testing may be scheduled
later, if necessary. </font></p>
<p><font face="Arial, Helvetica, sans-serif"><strong>1.Test Units</strong><br />
In this project we will perform two levels of testing: Unit testing &
System testing. Because the System is moderate in Size, it is felt that
there is no need for elaborate integration testing. The basic units to
be tested are:<br />
# Modules to Tables<br />
# Tables to Reports<br />
# Other Units<br />
In addition, some other units may be chosen for testing. The testing for
these different units will be done independently.</font></p>
<p><font face="Arial, Helvetica, sans-serif"><strong>2.Features To Be Tested</strong><br />
All the functional features specified in the requirement document will
be tested. No testing will be done for the performance, as the response
time requirement is quite weak.</font></p>
<p><font face="Arial, Helvetica, sans-serif"><strong>3.Approach To Testing</strong><br />
For Unit Testing, Structural Testing based on the branch coverage criterion
will be used. The goal is to achieve branch coverage of more than 95%.
System testing will be largely functional in nature. The focus is on Invalid
and Valid cases, Boundary Value and Special Cases.</font></p>
<p><font face="Arial, Helvetica, sans-serif"><strong>4.Test Deliverables</strong><br />
The following documents are required (besides this Test Plan):<br />
• Unit test report of each Unit.<br />
• Test case Specification for System Testing<br />
• Test Report for System Testing<br />
• Error Report</font></p>
<p><font face="Arial, Helvetica, sans-serif">The test case specification
for System Testing has to be submitted for review before System Testing
Commences.</font></p>
<p></p>
<p><strong><font face="Arial, Helvetica, sans-serif">5.Schedule</font></strong><font face="Arial, Helvetica, sans-serif"><br />
The entire testing- Unit & System will be finished within the month
of December. Test case Specifications for the System Testing will be produced
while Unit Testing is going on. This Schedule is consistent with the over
all schedule of the project. The schedule for the testing is shown in
the Project Planning section.</font></p>
<p><font face="Arial, Helvetica, sans-serif"><strong>Test Case Specification
for System Testing</strong></font></p>
<p><font face="Arial, Helvetica, sans-serif">Here we specify all the test
cases that are used for System Testing. First, the different conditions
that need to be tested, along with the test cases for testing those condition
and the expected output are given. Then the data files used for testing
are given. The Test cases are specified with respect to these data files.
The Test cases have been selected using functional approach. The goal
is to test the different functional requirements, as specified in the
requirement document. Test cases have been selected for both Valid as
well as Invalid Input.</font></p>
<p> <br />
</p>
</div></td></tr></table>Unknownnoreply@blogger.comtag:blogger.com,1999:blog-5107766354707011402.post-24353657545650709282009-07-15T22:49:00.000-07:002009-07-26T08:17:09.357-07:00TOPIC-10-SCREEN SHOTS (Elearning Project)<p><font size="5">List of Screenshots:</font></p>
<p>Shot 1 : Participant Login Page </p>
<p>Shot 2 : List of Subjects</p>
<p>Shot 3 : Enrollment of Participant</p>
<p>Shot 4: SignUp</p>
<p>Shot 5 : Change Password</p>
<p>Shot 6 : List of Study Materials</p>
<p>Shot 7 : Exam Status</p>
<p>Shot 8 : Exam Instructions</p>
<p>Shot 9 : Exam Question Display</p>
<p>Shot 10 : Exam Question Display (continued)</p>
<p>Shot 11 : Result</p>
<p>Shot 12 : Result (continued)</p>
<p>Shot 13 : Exam Status </p>
<p>Shot 14 : Exam Status(continued)</p>
<p>Shot 15 : User Menu</p>
<p>Shot 16 : Profile</p>
<p> <br>
</p>
<a href="http://1.bp.blogspot.com/_79CQ1P9LPv8/Smv0Fe1m3YI/AAAAAAAAANI/NT5fGX9IhT8/s1600-h/elearningjsp1.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 230px;" src="http://1.bp.blogspot.com/_79CQ1P9LPv8/Smv0Fe1m3YI/AAAAAAAAANI/NT5fGX9IhT8/s320/elearningjsp1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5362648156329139586" /></a>
<a href="http://4.bp.blogspot.com/_79CQ1P9LPv8/Smvz113_yYI/AAAAAAAAANA/HmvAeWpd_z4/s1600-h/elearningjsp2.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://4.bp.blogspot.com/_79CQ1P9LPv8/Smvz113_yYI/AAAAAAAAANA/HmvAeWpd_z4/s320/elearningjsp2.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5362647887635270018" /></a>
<a href="http://4.bp.blogspot.com/_79CQ1P9LPv8/Smvz1gwEvrI/AAAAAAAAAM4/E1pT7nfSeLk/s1600-h/elearningjsp3.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://4.bp.blogspot.com/_79CQ1P9LPv8/Smvz1gwEvrI/AAAAAAAAAM4/E1pT7nfSeLk/s320/elearningjsp3.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5362647881964895922" /></a>
<a href="http://4.bp.blogspot.com/_79CQ1P9LPv8/Smvz1UuV83I/AAAAAAAAAMw/3q-nuVvsd9Q/s1600-h/elearningjsp4signup.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://4.bp.blogspot.com/_79CQ1P9LPv8/Smvz1UuV83I/AAAAAAAAAMw/3q-nuVvsd9Q/s320/elearningjsp4signup.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5362647878736409458" /></a>
<a href="http://2.bp.blogspot.com/_79CQ1P9LPv8/Smvz1LCkqkI/AAAAAAAAAMo/INdoem3697o/s1600-h/elearningjsp5chngepwd.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://2.bp.blogspot.com/_79CQ1P9LPv8/Smvz1LCkqkI/AAAAAAAAAMo/INdoem3697o/s320/elearningjsp5chngepwd.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5362647876136905282" /></a>
<a href="http://1.bp.blogspot.com/_79CQ1P9LPv8/Smvz00lIafI/AAAAAAAAAMg/bmt0Mg_7mU4/s1600-h/elearningjsp6docs.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://1.bp.blogspot.com/_79CQ1P9LPv8/Smvz00lIafI/AAAAAAAAAMg/bmt0Mg_7mU4/s320/elearningjsp6docs.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5362647870107838962" /></a>
<a href="http://4.bp.blogspot.com/_79CQ1P9LPv8/SmvznJiSEDI/AAAAAAAAAMY/fDl1gjPghT4/s1600-h/elearningjsp7exdet.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://4.bp.blogspot.com/_79CQ1P9LPv8/SmvznJiSEDI/AAAAAAAAAMY/fDl1gjPghT4/s320/elearningjsp7exdet.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5362647635214864434" /></a>
<a href="http://1.bp.blogspot.com/_79CQ1P9LPv8/Smvzmzjs_yI/AAAAAAAAAMQ/tqt_M1bD9Ws/s1600-h/elearningjsp8instn.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://1.bp.blogspot.com/_79CQ1P9LPv8/Smvzmzjs_yI/AAAAAAAAAMQ/tqt_M1bD9Ws/s320/elearningjsp8instn.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5362647629315243810" /></a>
<a href="http://2.bp.blogspot.com/_79CQ1P9LPv8/SmvzmoNycNI/AAAAAAAAAMI/ZwZnO9uASOc/s1600-h/elearningjsp9exam.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://2.bp.blogspot.com/_79CQ1P9LPv8/SmvzmoNycNI/AAAAAAAAAMI/ZwZnO9uASOc/s320/elearningjsp9exam.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5362647626270535890" /></a>
<a href="http://3.bp.blogspot.com/_79CQ1P9LPv8/SmvzmBS1EqI/AAAAAAAAAMA/cqZFtynWGDI/s1600-h/elearningjsp10exam1.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://3.bp.blogspot.com/_79CQ1P9LPv8/SmvzmBS1EqI/AAAAAAAAAMA/cqZFtynWGDI/s320/elearningjsp10exam1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5362647615822697122" /></a>
<a href="http://1.bp.blogspot.com/_79CQ1P9LPv8/SmvzlxE8ZfI/AAAAAAAAAL4/e7jguiDiCcA/s1600-h/elearningjsp11result.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://1.bp.blogspot.com/_79CQ1P9LPv8/SmvzlxE8ZfI/AAAAAAAAAL4/e7jguiDiCcA/s320/elearningjsp11result.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5362647611469489650" /></a>
<a href="http://2.bp.blogspot.com/_79CQ1P9LPv8/SmvzWcsDGAI/AAAAAAAAALw/kmYrOSwSjFQ/s1600-h/elearningjsp12result1.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://2.bp.blogspot.com/_79CQ1P9LPv8/SmvzWcsDGAI/AAAAAAAAALw/kmYrOSwSjFQ/s320/elearningjsp12result1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5362647348298323970" /></a>
<a href="http://2.bp.blogspot.com/_79CQ1P9LPv8/SmvzWCNAjZI/AAAAAAAAALo/uGNWO-W13TQ/s1600-h/elearningjsp13exdet.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://2.bp.blogspot.com/_79CQ1P9LPv8/SmvzWCNAjZI/AAAAAAAAALo/uGNWO-W13TQ/s320/elearningjsp13exdet.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5362647341188812178" /></a>
<a href="http://2.bp.blogspot.com/_79CQ1P9LPv8/SmvzV-k9hxI/AAAAAAAAALg/DxHJ5UyNiTI/s1600-h/elearningjsp14exdet.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://2.bp.blogspot.com/_79CQ1P9LPv8/SmvzV-k9hxI/AAAAAAAAALg/DxHJ5UyNiTI/s320/elearningjsp14exdet.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5362647340215535378" /></a>
<a href="http://3.bp.blogspot.com/_79CQ1P9LPv8/SmvzVxI-6xI/AAAAAAAAALY/Ej-dtmtNBiI/s1600-h/elearningjsp15menu.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://3.bp.blogspot.com/_79CQ1P9LPv8/SmvzVxI-6xI/AAAAAAAAALY/Ej-dtmtNBiI/s320/elearningjsp15menu.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5362647336608525074" /></a>
<a href="http://1.bp.blogspot.com/_79CQ1P9LPv8/SmvzVtKRZBI/AAAAAAAAALQ/ueGf-s7Gy68/s1600-h/elearningjsp16profile.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://1.bp.blogspot.com/_79CQ1P9LPv8/SmvzVtKRZBI/AAAAAAAAALQ/ueGf-s7Gy68/s320/elearningjsp16profile.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5362647335540188178" /></a>Unknownnoreply@blogger.comtag:blogger.com,1999:blog-5107766354707011402.post-82440117693424512322009-07-14T00:12:00.000-07:002009-07-26T08:16:48.199-07:00TOPIC-11 : CONCLUSION (Elearning Project)<table style="width:550px;padding:10px;border:10px solid #336699;">
<tr>
<td>
<div align="center"><font size="6">11. Conclusion </font></div>
<p> </p>
<p><font size="4">We have successfully designed and developed a project on E –
Learning. Working on the project was good experience. This project is designed
for “Online Education”. This project is designed in JSP(Java Server
Pages) which runs on Apache Tomcat Web Server.</font></p>
<p><font size="4">Keeping in view these facts we have developed successfully.
Developing the project has helped us some experience on website development.</font></p>
<p></p>
</td></tr>
</table>Unknownnoreply@blogger.comtag:blogger.com,1999:blog-5107766354707011402.post-17239459628446920982009-07-13T00:10:00.000-07:002009-07-26T08:16:28.495-07:00TOPIC-12:LIMINATIONS OF THE PROJECT (Elearning Project)<table style="width:550px;padding:10px;border:10px solid #336699;">
<tr>
<td>
<div align="center"><font color="#000000" size="6">12. Limitations </font></div>
<p> </p>
<p> </p>
<p><font size="4">Some of the Liminations of this project are</font></p>
<p><font size="4">· The questions have to be written to the database directly</font></p>
<p><font size="4">· There is no facility for multiple choice questions</font></p>
<p><font size="4">· There is no facility for subjective answers</font></p>
<p><font size="4">· There is no chat facility which allows the student
to interact with the lecturer directly</font></p>
<p></p>
</td>
</tr></table>Unknownnoreply@blogger.comtag:blogger.com,1999:blog-5107766354707011402.post-40253869248108818712009-07-12T00:08:00.000-07:002009-07-26T08:16:00.801-07:00TOPIC-13:FURTHER ENHANCEMENTS (Elearning Project)<table style="width:550px;padding:10px;border:10px solid #336699;">
<tr>
<td>
<div align="center"><strong><font size="5">13. Further enhancements </font></strong>
</div>
<p align="justify"><font face="Arial, Helvetica, sans-serif">
Further enhancements to this project will be to create a module for entering the questions
to the database. As of now, the questions are directly written into tables
by the administrator . Creating a computerized module for it may help
entry without mistakes.<br>
Another enhancement would be to allow multiple choice questions and subjective
questions.This would allow many varieties of questions to be added. The
tutorials can be made available in flash format and other animated formats.
</font> </p></td></tr></table>Unknownnoreply@blogger.comtag:blogger.com,1999:blog-5107766354707011402.post-71455472450054773312009-07-11T00:05:00.000-07:002009-07-26T08:15:20.214-07:00TOPIC-14 BIBLIOGRAPHY<table style="width:550px;padding:10px;border:10px solid #336699;">
<tr>
<td>
<P style="TEXT-ALIGN: center; MARGIN: 0in 0in 0pt"
align=center><B><U><SPAN
style="FONT-FAMILY: 'Book Antiqua'; FONT-SIZE: 20pt; ">14. References<O p=""></O></SPAN></U></B></P>
<P style="MARGIN: 0in 0in 0pt 2.5in" ><FONT size="3"
face="Times New Roman">1.JAVAServer Pages </FONT></P>
<P style="MARGIN: 0in 0in 0pt 2.5in" ><FONT size="3"
face="Times New Roman">
</FONT><U><FONT color=#000000 size=3
face="Times New Roman"><STRONG>By: SAMS ,Techmedia.</STRONG></FONT></U></P>
<P style="MARGIN: 0in 0in 0pt 2.5in" ><FONT size=3
face="Times New Roman">2.Javascript</FONT></P>
<P style="MARGIN: 0in 0in 0pt 2.5in; " ><FONT size="3"
face="Times New Roman">
<B>By: Ivan Bayross<O
p=""></O></B></FONT></P>
<P style="MARGIN: 0in 0in 0pt 2.5in" ><FONT size=3
face="Times New Roman">3.HTML Complete</FONT></P>
<P style="MARGIN: 0in 0in 0pt 2.5in; " ><FONT size="3"
face="Times New Roman">
<B>By: Sybex Authors<O
p=""></O></B></FONT></P>
<P style="MARGIN: 0in 0in 0pt 2.5in" ><FONT size=3
face="Times New Roman">4.Dynamic HTML</FONT></P>
<P style="MARGIN: 0in 0in 0pt 2.5in; " ><FONT size="3"
face="Times New Roman">
<B>By: Joseph Schmuller<O
p=""></O></B></FONT></P>
<P style="MARGIN: 0in 0in 0pt 2.5in" ><FONT size=3
face="Times New Roman">5.System Analysis & Design</FONT></P>
<P style="MARGIN: 0in 0in 0pt 2.5in; " ><FONT size="3"
face="Times New Roman">
<B>By: Ilias M Awad<O
p=""></O></B></FONT></P>
<P style="MARGIN: 0in 0in 0pt 2.5in" ><FONT size=3
face="Times New Roman">6.Software Engineering A Practitioner’s Approach</FONT></P>
<P style="MARGIN: 0in 0in 0pt 2.5in; " ><FONT size="3"
face="Times New Roman">
<B>By: Roger S Pressman<O
p=""></O></B></FONT></P>
<P style="MARGIN: 0in 0in 0pt 2.5in" ><FONT size=3
face="Times New Roman">7.Oracle 9i The Complete Reference</FONT></P>
<P style="MARGIN: 0in 0in 0pt 2.5in; " ><FONT size="3"
face="Times New Roman"><B> By:
LONEY KOCH</B><B><SPAN
style="FONT-SIZE: 14pt; "><O
p=""></O></SPAN></B></FONT></P>
</td>
</tr>
</table>Unknownnoreply@blogger.com