<cfsetting enablecfoutputonly="true" />
<cfprocessingdirective pageencoding="utf-8" />
<!--- circuit: hosting --->
<!--- fuseaction: order --->
<cftry>
<cfset myFusebox.thisPhase = "requestedFuseaction">
<cfset myFusebox.thisCircuit = "hosting">
<cfset myFusebox.thisFuseaction = "order">
<cfif StructKeyExists(Attributes,'Name')>
<cftry>
<cfoutput><cfinclude template="../hosting/val_order.cfm"></cfoutput>
<cfcatch type="missingInclude"><cfif len(cfcatch.MissingFileName) gte 13 and right(cfcatch.MissingFileName,13) is "val_order.cfm">
<cfthrow type="fusebox.missingFuse" message="missing Fuse" detail="You tried to include a fuse val_order.cfm in circuit hosting which does not exist (from fuseaction hosting.order).">
<cfelse><cfrethrow></cfif></cfcatch></cftry>
<cfset Validated = (ArrayLen(Request.Errors) EQ 0)/>
<cfelse>
<cfset Validated = false/>
</cfif>
<cfif Validated>
<cftry>
<cfoutput><cfinclude template="../hosting/act_order.cfm"></cfoutput>
<cfcatch type="missingInclude"><cfif len(cfcatch.MissingFileName) gte 13 and right(cfcatch.MissingFileName,13) is "act_order.cfm">
<cfthrow type="fusebox.missingFuse" message="missing Fuse" detail="You tried to include a fuse act_order.cfm in circuit hosting which does not exist (from fuseaction hosting.order).">
<cfelse><cfrethrow></cfif></cfcatch></cftry>
<cfif (ArrayLen(Request.Errors) EQ 0)>
<cftry>
<cfsavecontent variable="Content"><cfoutput><cfinclude template="../hosting/dsp_ordered.cfm"></cfoutput></cfsavecontent>
<cfcatch type="missingInclude"><cfif len(cfcatch.MissingFileName) gte 15 and right(cfcatch.MissingFileName,15) is "dsp_ordered.cfm">
<cfthrow type="fusebox.missingFuse" message="missing Fuse" detail="You tried to include a fuse dsp_ordered.cfm in circuit hosting which does not exist (from fuseaction hosting.order).">
<cfelse><cfrethrow></cfif></cfcatch></cftry>
<cfelse>
<cftry>
<cfsavecontent variable="Content"><cfoutput><cfinclude template="../hosting/frm_order.cfm"></cfoutput></cfsavecontent>
<cfcatch type="missingInclude"><cfif len(cfcatch.MissingFileName) gte 13 and right(cfcatch.MissingFileName,13) is "frm_order.cfm">
<cfthrow type="fusebox.missingFuse" message="missing Fuse" detail="You tried to include a fuse frm_order.cfm in circuit hosting which does not exist (from fuseaction hosting.order).">
<cfelse><cfrethrow></cfif></cfcatch></cftry>
</cfif>
<cfelse>
<cftry>
<cfsavecontent variable="Content"><cfoutput><cfinclude template="../hosting/frm_order.cfm"></cfoutput></cfsavecontent>
<cfcatch type="missingInclude"><cfif len(cfcatch.MissingFileName) gte 13 and right(cfcatch.MissingFileName,13) is "frm_order.cfm">
<cfthrow type="fusebox.missingFuse" message="missing Fuse" detail="You tried to include a fuse frm_order.cfm in circuit hosting which does not exist (from fuseaction hosting.order).">
<cfelse><cfrethrow></cfif></cfcatch></cftry>
</cfif>
<!--- do action="layout.standard" --->
<cfset myFusebox.enterStackFrame() >
<cfif isDefined("variables.Content")><cfset myFusebox.stack["variables.Content"] = variables.Content ></cfif>
<cfset myFusebox.thisCircuit = "layout">
<cfset myFusebox.thisFuseaction = "standard">
<cftry>
<cfoutput><cfinclude template="../layout/lay_standard.cfm"></cfoutput>
<cfcatch type="missingInclude"><cfif len(cfcatch.MissingFileName) gte 16 and right(cfcatch.MissingFileName,16) is "lay_standard.cfm">
<cfthrow type="fusebox.missingFuse" message="missing Fuse" detail="You tried to include a fuse lay_standard.cfm in circuit layout which does not exist (from fuseaction layout.standard).">
<cfelse><cfrethrow></cfif></cfcatch></cftry>
<cfif structKeyExists(myFusebox.stack,"variables.Content")><cfset variables.Content = myFusebox.stack["variables.Content"] ></cfif>
<cfif structKeyExists(myFusebox.stack,"variables.Content")><cfset variables.Content = myFusebox.stack["variables.Content"] ><cfelse><cfset structDelete(variables,"Content")></cfif>
<cfset myFusebox.leaveStackFrame() >
<cfcatch><cfrethrow></cfcatch>
</cftry>

