1 |
<? |
2 |
include_once( "global.php" ); |
3 |
include_once( "dbconnect.php" ); |
4 |
include_once( "$phormationdir/form.php" ); |
5 |
include_once( "$phormationdir/multiform.php" ); |
6 |
include_once( "$phormationdir/file_upload.php" ); |
7 |
|
8 |
function html_before_form() |
9 |
{ |
10 |
?> |
11 |
<HTML> |
12 |
<HEAD> |
13 |
<link rel="stylesheet" type="text/css" href="styles.css"> |
14 |
</HEAD> |
15 |
<BODY bgcolor="#FFFFFF"> |
16 |
<? |
17 |
} |
18 |
function html_after_form() |
19 |
{ |
20 |
?> |
21 |
</BODY> |
22 |
</HTML> |
23 |
<? |
24 |
} |
25 |
if( empty( $numforms ) ) { |
26 |
$numforms = 2; |
27 |
} |
28 |
|
29 |
$opts = array(); |
30 |
$url = array(); |
31 |
$opts["maxforms"] = 10; |
32 |
$opts["numforms_prompt"] = "Select the number of records to create:"; |
33 |
$opts["item_heading"] = "Contact"; |
34 |
$url["home"] = "index.php"; |
35 |
|
36 |
multiform_main( "open_position_locations", "id", $fields, $names, $types, $record_id, $url, $opts, $numforms ); |
37 |
?> |