param('id'); if (!$vosFacultyFDADisclosure::meeting_no) { print $main::cgi->redirect('../index.iphtml'); die ""; } $main::dbh = DBI->connect ($dsn, $user, $password, { RaiseError => 0, PrintError => 0}) or die "Could not connect to server: $DBI::err ($DBI::errstr)\n"; my %States; my $Current_Screen; %States = ( 'Default' => \&vosFacultyFDADisclosure::input_page, 'Submit' => \&vosFacultyFDADisclosure::submission_result_page ); $Current_Screen = param(".State") || "Default"; die "No screen for $Current_Screen" unless $States{$Current_Screen}; !> #include ../../../includes/wp-vos-header.iphtml
prepare ($SQL) || die "Prepare failed: $DBI::errstr\n"; $sth->execute() || die "Couldn't execute query $DBI::errstr\n"; undef(@ary); @ary = $sth->fetchrow; $sth->finish(); if (@ary) { print '

' . $ary[0] . ''; print "

$ary[4] $ary[5]"; if ($ary[5] eq $ary[8]) { print ", $ary[6]"; } else { if ($ary[5] eq $ary[8]) { print ", $ary[6]"; } else { if ($ary[4] eq $ary[7]) { print "-$ary[8], $ary[6]"; } else { print "-$ary[7] $ary[8], $ary[6]"; } } } print '
'; print "$ary[3] • $ary[1], $ary[2]

\n"; print h3({-align=>'center'},'FDA DISCLOSURE FORM'); } else { print $main::cgi->redirect('../index.iphtml'); die ""; } print start_form(-onsubmit =>"MM_validateForm('academic_title','Academic Title','R','institution','Academic Institution','R','email','Email Address','RisEmail','address','Preferred Mailing Address','R');return document.MM_returnValue"); while (my($screen_name, $function) = each %States) { $function->($screen_name eq $Current_Screen); } print end_form(); !>
#include ../../../includes/wp-vos-footer.iphtml remote_user(); my $SQL = <prepare($SQL); $sth->execute; my @ary; @ary = $sth->fetchrow; $sth->finish; $facultyid = $ary[0]; if (!$vosFacultyFDADisclosure::meeting_no) { print $main::cgi->redirect('../index.iphtml'); die ""; } if (!@ary) { print $main::cgi->redirect('../index.iphtml'); die ""; } !> prepare($SQL); $sth->execute; undef(@ary); @ary = $sth->fetchrow; $sth->finish; if ($ary[0] eq "0") { $access = 0; print p('You are not listed as faculty for the above caption meeting. If this is an error, please contact VOS administrative assistant, Angela Puryear at angela@societyhq.com or phone (804) 565-6312.'); print p('Click',a({href=>"../"},'here'),'to select a different meeting.'); } if ($access) { $SQL = <prepare($SQL); $sth->execute; undef(@ary); @ary = $sth->fetchrow; $facultyname = $ary[0] . ' ' . $ary[1]; $facultyname .= ", $ary[2]" if $ary[2]; my $fac_addr; $fac_addr .= "$ary[5]\n" if $ary[5]; $fac_addr .= "$ary[6]\n" if $ary[6]; $fac_addr .= "$ary[7]," if $ary[7]; $fac_addr .= " $ary[8]" if $ary[8]; $fac_addr .= " $ary[9]" if $ary[9]; $fac_addr .= "\n$ary[10]" if $ary[10]; print p('
'); print '

DISCLOSURE FORM FOR: ' . $facultyname . '

'; print p(em('If you are not ' . $facultyname . ', you must close your web browser completely and re-login. | ',a({-href=>"./index.iphtml?id=$vosFacultyFDADisclosure::meeting_no"},'Return to Faculty Forms'),'.')); # print "

DISCLOSURE FORM FOR: $facultyname
If you are not $facultyname, you must close your web browser completely and re-login. | Return to Faculty Forms.

\n"; !>

 

Contact Information

Required fields are marked with an "*".

Name:
Academic Title:*
Academic Institution:*
Academic Institution City/State:
Preferred Mailing Address:*
Phone Number:
Fax Number:
E-mail Address:*
Admin Assistant Name:
Admin Assistant Phone:
FDA Disclosure http://www.fda.gov/cdrh/510khome.html'); print p('In my ‘work’ for this educational program or publication:'); print '



'; if ($main::cgi->param('relationship') eq "Yes") { print '
'; } else { print '