home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
sau9.org
/
sau9.org.zip
/
sau9.org
/
mathapp
/
dec_add.asp
< prev
next >
Wrap
Text File
|
2002-12-04
|
5KB
|
119 lines
<HTML>
<head>
<title> How to Add Decimals
</title>
</HEAD>
<body>
<%
intStatus=request("intStatus")
level=request ("level")
idStudent=request("idStudent")
filePath = Server.MapPath("math_proj.mdb")
set csdConn=server.createObject("ADODB.connection")
csdConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & filePath
sql ="SELECT tblPerformance.idStudent, tblPerformance.intStatus, tblPerformance.cntOperBAttempt, tblPerformance.cntOperIAttempt, tblPerformance.cntOperAAttempt, tblPerformance.cntPlaceAttempt FROM tblPerformance WHERE tblPerformance.idStudent="
sql=sql & idStudent
set csdStudent=csdConn.execute (sql)
select case intstatus
case 2
level= csdStudent("cntOPerBAttempt")
if level= 0 then
level=1
end if
%>
<FORM ACTION=DEC_levelB.ASP METHOD=POST><font face=tahoma> <h2>Adding Decimals</h2><p>
<table align=center width='65%'><tr>
<td> There's nothing too hard about adding decimals. It's REALLY important that you LINE UP the decimal points before you start!</td></tr></table>
<!-- URL's used in the movie-->
<!-- text used in the movie-->
<!--98.452 237.8 + + + + + + + + + + + + + + + + + + + 5 + + + + + + + . + + + + + + 6 + + + + + + + + + + 3 + + + + + + + + + + + -->
<OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000
codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 WIDTH=60% HEIGHT='60%'>
<PARAM NAME=movie VALUE=dec_add.swf> <PARAM NAME=loop VALUE=false> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src=dec_add.swf loop=false quality=high bgcolor=#FFFFFF WIDTH='60%' HEIGHT='60%' TYPE=application/x-shockwave-flash PLUGINSPAGE=http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash></EMBED>
</OBJECT>
<p><align=center>
<%
response.write "<input type=hidden name=level value="
response.write level
response.write ">"
response.write "<input type=hidden name=idStudent value="
response.write idStudent
response.write "><input type=hidden name=difficulty value='B'>"
case 3
level= csdStudent("cntOPerIAttempt")
if level= 0 then
level=1
end if
%>
<FORM ACTION=DEC_leveli.ASP METHOD=POST><font face=tahoma> <h2>Adding Decimals</h2><p>
<table align=center width='65%'><tr>
<td> There's nothing too hard about adding decimals. It's REALLY important that you LINE UP the decimal points before you start!</td></tr></table>
<!-- URL's used in the movie-->
<!-- text used in the movie-->
<!--98.452 237.8 + + + + + + + + + + + + + + + + + + + 5 + + + + + + + . + + + + + + 6 + + + + + + + + + + 3 + + + + + + + + + + + -->
<OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000
codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 WIDTH='60%' HEIGHT='60%'>
<PARAM NAME=movie VALUE=dec_add.swf> <PARAM NAME=loop VALUE=false> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src=dec_add.swf loop=false quality=high bgcolor=#FFFFFF WIDTH='60%' HEIGHT='60%' TYPE=application/x-shockwave-flash PLUGINSPAGE=http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash></EMBED>
</OBJECT>
<p><align=center>
<%
response.write "<input type=hidden name=level value="
response.write level
response.write ">"
response.write "<input type=hidden name=idStudent value="
response.write idStudent
response.write "><input type=hidden name=difficulty value='I'>"
case 4
level= csdStudent("cntOPerAAttempt")
if level= 0 then
level=1
end if
%>
<FORM ACTION=DEC_levela.ASP METHOD=POST><font face=tahoma> <h2>Adding Decimals</h2><p>
<table align=center width='65%'><tr>
<td> There's nothing too hard about adding decimals. It's REALLY important that you LINE UP the decimal points before you start!</td></tr></table>
<!-- URL's used in the movie-->
<!-- text used in the movie-->
<!--98.452 237.8 + + + + + + + + + + + + + + + + + + + 5 + + + + + + + . + + + + + + 6 + + + + + + + + + + 3 + + + + + + + + + + + -->
<OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000
codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 WIDTH='60%' HEIGHT='60%'>
<PARAM NAME=movie VALUE=dec_add.swf> <PARAM NAME=loop VALUE=false> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src=dec_add.swf loop=false quality=high bgcolor=#FFFFFF WIDTH='60%' HEIGHT='60%' TYPE=application/x-shockwave-flash PLUGINSPAGE=http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash></EMBED>"
</OBJECT>
<p><align=center>
<%
response.write "<input type=hidden name=level value="
response.write level
response.write ">"
response.write "<input type=hidden name=idStudent value="
response.write idStudent
response.write "><input type=hidden name=difficulty value='A'>"
case 5
response.write "You have completed all the modules so far!!!"
end select
%>
<table align=center><tr><td>
<input type=submit value='OK, I am ready for the knowledge check!!'></form></td></tr></table>
</BODY>
</HTML>