File: D:/web/hyperflight/! bs3/order-details.asp
<%Option Explicit%>
<%
' === COMMON TEMPLATE (SAME FOR ALL SHOPPING SITES) ===
' (SS,19/03/10) added language translation using calls to tr function
' (SS,16/02/11) added disable cache to sort issue with emails not sent from shopping admin (noticed in Windows 7)
' (SS,18/11/13) removed the style used from headerm which was setting: font-family: Verdana; font-size: 12px;
' the styles are in the HTML anyway and styles don't work in emails especially Gmail.
' (SS,18/11/13) changed the doc type from <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN>
' to <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
' i.e. the same as inc-template-main.asp also had to add xmlns="http://www.w3.org/1999/xhtml" to HTML tag
' (SS,12/03/18) modified to use new method of building email i.e. building from strings rather than rendered HTML content of a page
' Mainly to fix issue which was occurring in Outlook 2016 where it would have an empty attachment. Some clients have even worse issues.
' Also by building directly we won't need to fetch from a page, therefore should be more reliable.
' Moved the HTML tags from here e.g. <html> <head> <title> <body> etc. to inc-template-email-html.asp
' (SS,11/09/19) Added include for customutils.asp (for SendSMS call in apputils.asp to call CustomCheckSMS in customutils.asp (CIRC), SMSs were being sent for all orders
' CustomCheckSMS returns "" when SMS messages aren't applicable and not sent.
%>
<!--#include file="dbfunctions.asp"-->
<!--#include file="apputils.asp"-->
<!--#include file="customutils.asp"-->
<!--#include file="inc-template-email-html.asp"-->
<!--#include file="inc-template-messages.asp"-->
<%
ShowEmailConfirmationHTML
Finalise
%>