Heat Trace Heating Cable Products
Home >
  
 
<% '--------------------------------------------------------------- ' Description: Lists all Press Releases ' Parameters: none ' ' Date Description of change ' 10/30/02 Paul - Created '--------------------------------------------------------------- set rsPressReleases = server.createobject("ADODB.recordset") sSQL = "SELECT nPrID, dDate, sTitle FROM tbPressReleases ORDER BY dDate DESC" rsPressReleases.open sSQL,Application("Database"),0,1 while not rsPressReleases.eof nPrID = rsPressReleases("nPrID") dDate = rsPressReleases("dDate") if IsDate(dDate) then sDate = FormatDateTime(dDate,2) else sDate = dDate end if sTitle = fnFormatOutput(rsPressReleases("sTitle")) %> <% rsPressReleases.movenext Wend rsPressReleases.close set rsPressReleases = nothing %>
 Date  Title
<%=sDate%> <%=sTitle%>
  
  
 
<% '--------------------------------------------------------------- ' Description: Lists all Events for showing ' Parameters: none ' ' Date Description of change ' 10/30/02 Paul - Created ' 01/23/03 Sylvan - Changed to sort by Sort value instead of start date '--------------------------------------------------------------- set rsEvents = server.createobject("ADODB.recordset") sSQL = "SELECT tbEvents.nEventID, tbEvents.dStart, tbEvents.dEnd, tbEvents.sTitle, tbEvents.sLocation, tbEvents.sBooth, tbEvents.sDescription, tbEvents.sStatus, tbEvents.sWebsite FROM tbEvents WHERE sStatus = 'Show' ORDER BY tbEvents.nSort;" rsEvents.open sSQL,Application("Database"),0,1 sClass = "tableLight" If rsEvents.EOF Then%> <% else while not rsEvents.eof if IsDate(rsEvents("dStart")) then sStart = FormatDateTime(rsEvents("dStart"),2) else sStart = "Invalid Date" end if if IsDate(rsEvents("dEnd")) then sEnd = FormatDateTime(rsEvents("dEnd"),2) else sEnd = "Invalid Date" end if sTitle = fnFormatOutput(rsEvents("sTitle")) sDescription = fnFormatOutput(rsEvents("sDescription")) sLocation = fnFormatOutput(rsEvents("sLocation")) sBooth = fnFormatOutput(rsEvents("sBooth")) sWebsite = fnFormatOutput(rsEvents("sWebsite")) if sClass = "tableLight" then sClass = "tableDark" else sClass = "tableLight" end if %> <% rsEvents.MoveNext Wend end if rsEvents.close set rsEvents = nothing %>
 Dates  Event  Location Booth Link
 There are no events currently listed.
 <%=sStart%> - <%=sEnd%>  <%=sTitle%>
 <%=sDescription%>
 <%=sLocation%>  <%=sBooth%> <% if sWebSite <> " " then%>   <% end if%>
 
Home   |   About Us   |   News & Events    |   Product Catalog   |   Sales Representatives   |   Request for Quotation   |   Contact Us
 
   Heat Trace Products, LLC
233 Florence Street
Leominster, MA 01453
978-534-2810

     
© 2008 Heat Trace Products, LLC. All Rights Reserved Terms and Conditions