'footer', 'where' => '', // load first record 'loadUploads' => true, 'allowSearch' => false, 'limit' => '1', )); $footerRecord = @$footerRecords[0]; // get first record if (!$footerRecord) { dieWith404("Record not found!"); } // show error message if no record found // load records from 'personnel_emails' list($personnel_emailsRecords, $personnel_emailsMetaData) = getRecords(array( 'tableName' => 'personnel_emails', 'loadUploads' => true, 'allowSearch' => false, )); // load records from 'personnel_emails_right' list($personnel_emails_rightRecords, $personnel_emails_rightMetaData) = getRecords(array( 'tableName' => 'personnel_emails_right', 'loadUploads' => true, 'allowSearch' => false, )); // load records from 'calendar' list($calendarRecords, $calendarMetaData) = getRecords(array( 'tableName' => 'calendar', 'perPage' => '12', 'loadUploads' => true, 'allowSearch' => true, )); ?>