%@ Language=JScript %> <% Response.Expires = 0; Response.CacheControl = "private" Response.ContentType="text/html" Response.Charset="Big-5" var imageID=Request.QueryString("imageID"); var dbConn = InitDBConnection(); var updateStr = "Select * from toptry where imageid="+imageID+"order by seq asc"; var dbComm = InitDBCommand( dbConn, updateStr ); var recSet = GetRecordSet( dbComm ); var updateStr = "Select *, datename(d,updatedate)+' '+datename(mm,updatedate)+' '+datename(yyyy,updatedate) lastupdate from toptrydesc where imageid="+imageID; var dbComm = InitDBCommand( dbConn, updateStr ); var recSet2 = GetRecordSet( dbComm ); var description=""; var subdescription=""; var lastupdate=""; var col1=""; var col2=""; var col3=""; if (!recSet2.EOF){ description=of_trim(recSet2("description")); subdescription=recSet2("subdescription"); lastupdate=recSet2("lastupdate"); col1=of_trim(recSet2("col1Heading")); if (col1=="null") col1=""; col2=of_trim(recSet2("col2Heading")); if (col2=="null") col2=""; col3=of_trim(recSet2("col3Heading")); if (col3=="null") col3=""; } %>