my $path = "../";
my $title = "Board & Committee Disclosures";
my $firstletter = '';
my $firstload = 1;
my $continue = 1;
my $scrollBar = 0;
!>
#include ../header.iphtml
#include ../header_include.iphtml
';
print '
';
my $firstload;
foreach(@comm)
{
$firstload = 1;
$firstletter = '';
$curRecord = '';
$cursor = $main::dbh->prepare(qq{
SELECT DISTINCT UCASE(lname),CONCAT_WS(' ',fname,m_initial,title),degree,hospital,m.member_id,IF(hospital_citystate IS NOT NULL,hospital_citystate,CONCAT_WS(', ',mail_city,mail_state,mail_country)),m.photoFile,m.noPhotoMtgGuide,LEFT(UCASE(lname),1),cd.financialRelations,cd.unlabeled,DATE_FORMAT(cd.created,'%M %e, %Y %r'),cd.disclosureID FROM member m, committee_disclosures cd WHERE m.member_id = cd.memberID AND YEAR(cd.created)=? AND committees LIKE '%$_%' ORDER BY lname, fname, cd.created DESC
});
$cursor->execute($dsplyYr);
@ary = $cursor->fetchrow_array();
$cursor->finish();
if (@ary)
{
print h3({style=>'margin-bottom:10px'},"$_");
}
undef(@ary);
$cursor->execute($dsplyYr);
my $profile_pic = '';
while (@ary = $cursor->fetchrow_array())
{
if ($firstletter ne "$ary[8]")
{
print "
" if !$firstload;
$firstletter = $ary[8];
print <