[insert_php] if(!isset($_POST[‘filters’]) || !isset($_POST[‘values’]) || !isset($_POST[‘sort’]) || !isset($_POST[‘start’]) || !isset($_POST[‘perPage’]) || $_POST[‘checksum’] != “aht4q3*#%FDSgr@#h”){ echo ‘‘; } $filtersArray = explode(“,”,$_POST[‘filters’]); $valuesArray = explode(“,”,$_POST[‘values’]); $filterDictionary = array_combine($filtersArray,$valuesArray); $sort = $_POST[‘sort’]; $perPage = $_POST[‘perPage’]; $end = $_POST[‘start’] + $_POST[‘perPage’] – 1; $unpaidRegistrations = getUnpaidRegistrations($_POST[‘filters’],$_POST[‘values’],$_POST[‘sort’],$_POST[‘start’],$end); $unpaidRegistrationsCount = getUnpaidRegistrations($_POST[‘filters’],$_POST[‘values’],$_POST[‘sort’],$_POST[‘start’],$end,1); $registrantTypes = getRegistrantTypes(); $statuses = getStatuses(); echo ‘
‘; echo ‘
‘; echo ‘‘; echo ‘
‘; echo ‘
‘; echo ‘Total Results: ‘ . $unpaidRegistrationsCount; echo ‘
‘; echo ‘Results per page: ‘; echo ‘‘; echo ‘
‘; echo ‘‘; echo ‘‘; echo ‘‘; echo ‘‘; echo ‘‘; echo ‘‘; echo ‘‘; echo ‘‘; echo ‘‘; echo ‘‘; echo ‘‘; echo ‘‘; echo ‘‘; echo ‘‘; echo ‘‘; echo ‘‘; echo ‘‘; echo ‘‘; $zebra = 2; foreach($unpaidRegistrations as $registration){ $zebra = ($zebra == 1 ? 2 : 1); echo ‘‘; echo ‘‘; echo ‘‘; echo ‘‘; echo ‘‘; echo ‘‘; echo ‘‘; echo ‘‘; echo ‘
First NameLast NameE-mailMember StatusRegistration TypeRegistration IDTotal DueMark as Paid
‘ . $registration->firstName . ‘‘ . $registration->lastName . ‘‘ . $registration->email . ‘‘ . getStatusByID($registration->status_id) . ‘‘ . getRegistrantTypeByID($registration->registrantType_id) . ‘‘ . ($registration->groupID > 0 ? $registration->groupID : $registration->personID) . ‘\$’ . getCostByRegistration($registration->registrationID) . ‘‘; echo ‘
‘; paginationLinks(floor(($_POST[‘start’])/$perPage)+1,numberPages($unpaidRegistrationsCount,$perPage)); echo ‘
‘; echo ‘‘; echo ‘‘; [/insert_php]