} echo ' <td rowspan="2">' . $currRow['username'] . "</td>\r\n"; echo ' <td rowspan="2">' . $currRow['name'] . "</td>\r\n"; //echo ' <td id="tdIsRSVP' . $currRow['userID'] . '" ' . ((!$currRow['isRSVP'] && (isset($currRow['lastLoginTime']) && $currRow['lastLoginTime'] != "")) ? ' class="cellNegative"' : '') . '><small>' . ($currRow['isRSVP'] ? 'RSVP\'d' : 'No') . "</small></td>\r\n"; echo ' <td rowspan="2">' . (strlen($currRow['notesRSVP']) < 30 ? $currRow['notesRSVP'] : substr($currRow['notesRSVP'], 0, 30) . '<a title="Edit User (via notes)" href="guests_edit.php?userID=' . $currRow['userID'] . '&returnAnchor=trUser' . $currRow['userID'] . '" class="noUnderline">[...]</a>') . '</td>' . "\r\n"; echo ' <td rowspan="2">' . $currRow['email'] . "</td>\r\n"; echo ' <td rowspan="2">' . $currRow['address'] . "</td>\r\n"; echo ' <td rowspan="2">' . $currRow['gift'] . "</td>\r\n"; echo ' <td rowspan="2">' . $currRow['thankYouCardNotes'] . "</td>\r\n"; echo ' <td ' . ($currTime >= $dateWedding && !$currRow['isThankYouSent'] ? ' class="cellNegative"' : '') . 'rowspan="2">' . ($currRow['isThankYouSent'] ? 'Yes' : 'No') . "</td>\r\n"; // echo ' <td>' . $currRow[''] . "</td>\r\n"; echo "</tr>\r\n"; echo '<tr id="trUserDuex' . $currRow['userID'] . '" class="' . ($rowCount % 2 == 0 ? 'rowBlue' : 'rowGreen') . '">' . "\r\n"; //echo ' <td' . ((isset($currRow['lastLoginTime']) && $currRow['lastLoginTime'] != "") ? '' : ' class="cellNegative"') . '><small>' . ((isset($currRow['lastLoginTime']) && $currRow['lastLoginTime'] != "") ? date("M jS", strtotime($currRow['lastLoginTime'])) : 'Never') . "</small></td>\r\n"; echo "</tr>\r\n"; if ($userManager->getUserCountAttendee($currRow['userID']) != 0) { echo '<tr id="trAttCollapsed' . $currRow['userID'] . '" class="' . ($rowCount % 2 == 0 ? 'rowBlue' : 'rowGreen') . '">' . "\r\n"; echo ' <td colspan="2" style="text-align:center;"><a title="Show Attendees" onclick="expandAttendee(' . $currRow['userID'] . ')" href="javascript:void(0)" class="noUnderline expandIcon"><img src="resources/icons/magnify_plus.png" width="20px" height="20px" /></a></td>' . "\r\n"; //echo ' <td colspan="2" style="text-align:center;"><a title="Show Attendees" onclick="expandAttendee(' . $currRow['userID'] . ')" href="showAttendees.php?userID=' . $currRow['userID'] . '" class="noUnderline"><img src="resources/icons/magnify_plus.png" width="20px" height="20px" /></a></td>' . "\r\n"; echo ' <td colspan="8">'; if ($currRow['isRSVP']) { echo $userManager->getUserCountConfirmedAttendee($currRow['userID']) . ' Confirmed Guests (' . $userManager->getUserCountAttendee($currRow['userID']) . ' Total Invited)'; } else { echo $userManager->getUserCountAttendee($currRow['userID']) . ' Total Invited'; } echo "</td>\r\n"; echo "</tr>\r\n"; } } // echo '<tr id="trAttCollapsed' . $currRow['userID']. '" class="' . (($rowCount % 2 == 0) ? 'rowBlue' : 'rowGreen') . '">' . "\r\n"; // echo ' <td></td>' . "\r\n";