% Server.ScriptTimeout = 180 %> <% 'NEWS FLASH CODE START sname=request.servervariables("script_name") 'CHANGE IN LIVE SITE !! sname=mid(sname,2) SQL="SELECT * FROM newsflash" set rs=db.execute(SQL) usename=rs("pages") if instr(usename,sname) <> 0 then newsflash=rs("newsflash") if newsflash <> "" then newsflash=replace(newsflash,vbcrlf,"\n") end if else newsflash="" end if rs.close set rs=nothing 'NEWS FLASH CODE END %>
<% if request.cookies("adminbod")="True" then thispage=server.mappath(request.servervariables("script_name")) response.write "Edit this page" end if %> Dispensing Optics
|
|
<%
ID = Rs("ID")
fn=server.mappath(ID & ".pdf")
set fso = CreateObject("Scripting.FileSystemObject")
if ( fso.FileExists(fn) ) then
' pdf exist so can download
Response.Write( "" )
fn=server.mappath(ID & ".gif")
set fso = CreateObject("Scripting.FileSystemObject")
if ( fso.FileExists(fn) ) then
Response.Write( "![]() " ) else Response.Write( " ![]() " ) end if Response.Write( " " )
else
' No download
fn=server.mappath(ID & ".gif")
if ( fso.FileExists(fn) ) then
Response.Write( "![]() " ) else Response.Write( " ![]() " ) end if Response.Write( "Download unavailable" ) end if %> |
||||
| CET Multiple Choice Questions (6) Form - in PDF format | |||||
| CET Multiple Choice Questions (12) Form - in PDF format | |||||