-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaddSession.cfm
139 lines (139 loc) · 3.48 KB
/
addSession.cfm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<cfinclude template="authenticateExe.cfm">
<cfif isDefined("FORM.caller")>
<cfif FORM.caller eq "start">
<cfinclude template="formSessionA.cfm">
</cfif>
<cfif FORM.caller eq "formA">
<cfif Form.Submit eq "Cancel">
<cflocation url="sessions.cfm?LibID=#SESSION.LibID#&ShowAll=1" addtoken="no">
<cfelse>
<cfinclude template="incCheckForm.cfm">
<cfif missingRequired>
<cfinclude template="formSessionA.cfm">
<cfelse>
<cfinclude template="incCheckDataFormat.cfm">
<cfif not up2snuff>
<cfinclude template="formSessionA.cfm">
<cfelse>
<cfinclude template="uspAddSessionA.cfm">
<cfif not up2snuff>
<cfinclude template="formSessionA.cfm">
<cfelse>
<cflocation url="session.cfm?SessID=#SESSION.SessID#&ActID=#SESSION.ActID#">
<!---cfscript>
// initialize variables for uspGetActivity stored procedure
LibID = 0;
ActID = SESSION.ActID;
ActTypID = 0;
DelModID = 0;
MatID = 0;
CntctID = 0;
DBRCID = 0;
UID = 0;
sDT = '';
eDT = '';
QuartID = 0;
Yr = 0;
FiscalY = 0;
</cfscript>
<cfinclude template="uspGetActivity.cfm">
<cfif not up2snuff>
<cfinclude template="incBegin.cfm">
<cfinclude template="incError.cfm">
<cfelse>
<cfscript>
LibID = SESSION.LibID;
SessID = SESSION.SessID;
sDT = '';
eDT = '';
CntctID = 0;
DeptID = 0;
ActID = SESSION.ActID;
LrCatID = 0;
AffID = 0;
QuartID = 0;
Yr = 0;
Hr = 0;
UID = 0;
FiscalY = 0;
OutID = 0;
ClassID = 0;
ShowAll = 0;
</cfscript>
<cfinclude template="uspGetSession.cfm">
<cfif not up2snuff>
<cfinclude template="incBegin.cfm">
<cfinclude template="incError.cfm">
<cfelse>
<cfinclude template="formSessionB.cfm">
</cfif>
</cfif--->
</cfif>
</cfif>
</cfif>
</cfif>
</cfif>
<!---cfif FORM.caller eq "formB">
<cfif Form.Submit eq "Cancel">
<cflocation url="sessions.cfm?LibID=#SESSION.LibID#&ShowAll=1" addtoken="no">
<cfelse>
<cfscript>
// initialize variables for uspGetActivity stored procedure
LibID = 0;
ActID = SESSION.ActID;
ActTypID = 0;
DelModID = 0;
MatID = 0;
CntctID = 0;
DBRCID = 0;
UID = 0;
sDT = '';
eDT = '';
QuartID = 0;
Yr = 0;
FiscalY = 0;
</cfscript>
<cfinclude template="uspGetActivity.cfm">
<cfif not up2snuff>
<cfinclude template="incBegin.cfm">
<cfinclude template="incError.cfm">
<cfelse>
<cfscript>
LibID = SESSION.LibID;
SessID = SESSION.SessID;
sDT = '';
eDT = '';
CntctID = 0;
DeptID = 0;
ActID = SESSION.ActID;
LrCatID = 0;
AffID = 0;
QuartID = 0;
Yr = 0;
Hr = 0;
UID = 0;
FiscalY = 0;
OutID = 0;
ClassID = 0;
ShowAll = 0;
</cfscript>
<cfinclude template="uspGetSession.cfm">
<cfif not up2snuff>
<cfinclude template="incBegin.cfm">
<cfinclude template="incError.cfm">
<cfelse>
<cfinclude template="uspAddSessionB.cfm">
<cfif not up2snuff>
<cfinclude template="formSessionB.cfm">
<cfelse>
<cflocation url="session.cfm?SessID=#SESSION.SessID#&ActID=#SESSION.ActID#">
</cfif>
</cfif>
</cfif>
</cfif>
</cfif--->
<cfelse>
<cfinclude template="incBegin.cfm">
<cfinclude template="incError.cfm">
</cfif>
<cfinclude template="incEnd.cfm">