8 |
require_once ($GLOBAL_ADMIN_INC."db_connect.php"); |
require_once ($GLOBAL_ADMIN_INC."db_connect.php"); |
9 |
require_once ($GLOBAL_ADMIN_INC."app_controls.php"); |
require_once ($GLOBAL_ADMIN_INC."app_controls.php"); |
10 |
|
|
11 |
|
|
12 |
|
// Default access settings |
13 |
|
$sess_time_human = ""; |
14 |
|
$sess_staff_account = ""; |
15 |
|
$sess_staff_id = 0; |
16 |
|
$sess_access_level = 0; |
17 |
|
$sess_access = ""; |
18 |
|
$sess_last_name = ""; |
19 |
|
$sess_first_name = ""; |
20 |
|
|
21 |
|
|
22 |
// Collect access information |
// Collect access information |
23 |
if (isset($libsession)) { |
if (isset($libsession)) { |
24 |
|
|
121 |
<form method = "POST" action = "scribe.phtml"> |
<form method = "POST" action = "scribe.phtml"> |
122 |
<select name = "page_id"> |
<select name = "page_id"> |
123 |
<?php |
<?php |
124 |
dropDownAuthPages($con, $sess_access_level, $sess_staff_id); |
dropDownAuthPages($sess_access_level, $sess_staff_id); |
125 |
?> |
?> |
126 |
</select> |
</select> |
127 |
<input type = "submit" value = "Load"> |
<input type = "submit" value = "Load"> |
138 |
<form method = "POST" action = "scribe.phtml"> |
<form method = "POST" action = "scribe.phtml"> |
139 |
<select name = "page_id"> |
<select name = "page_id"> |
140 |
<?php |
<?php |
141 |
dropDownAuthCourses($con, $sess_access_level, $sess_staff_id); |
dropDownAuthCourses($sess_access_level, $sess_staff_id); |
142 |
?> |
?> |
143 |
</select> |
</select> |
144 |
<input type = "submit" value = "Load"> |
<input type = "submit" value = "Load"> |
190 |
<form method = "POST" action = "scribe_transaction.phtml"> |
<form method = "POST" action = "scribe_transaction.phtml"> |
191 |
<select name = "page_id"> |
<select name = "page_id"> |
192 |
<?php |
<?php |
193 |
dropDownFieldOmit($con, "page", "page_title", "page_id", " WHERE pagetype_id = 2"); |
dropDownFieldOmit("page", "page_title", "page_id", " WHERE pagetype_id = 2"); |
194 |
printf("</select>"); |
printf("</select>"); |
195 |
printf("<input type=\"hidden\" name =\"transaction\" value = \"pageTemplateConfirm\">\n"); |
printf("<input type=\"hidden\" name =\"transaction\" value = \"pageTemplateConfirm\">\n"); |
196 |
printf("<input type=\"hidden\" name =\"sess_staff_account\" value = \"%d\">\n", $sess_staff_account); |
printf("<input type=\"hidden\" name =\"sess_staff_account\" value = \"%d\">\n", $sess_staff_account); |
211 |
<form method ="POST" action="scribe_transaction.phtml"> |
<form method ="POST" action="scribe_transaction.phtml"> |
212 |
<select name = "page_id"> |
<select name = "page_id"> |
213 |
<?php |
<?php |
214 |
dropDownCourses($con); |
dropDownCourses(); |
215 |
printf("</select>\n"); |
printf("</select>\n"); |
216 |
printf("<input type=\"hidden\" name =\"transaction\" value = \"pageTemplateConfirm\">\n"); |
printf("<input type=\"hidden\" name =\"transaction\" value = \"pageTemplateConfirm\">\n"); |
217 |
printf("<input type=\"hidden\" name =\"sess_staff_account\" value = \"%d\">\n", $sess_staff_account); |
printf("<input type=\"hidden\" name =\"sess_staff_account\" value = \"%d\">\n", $sess_staff_account); |