Esempio n. 1
0
    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";
// echo '  <td style="text-align:center;"><a title="Delete Attendee" href="guests_view.php?action=deleteAttendee&id=' . 'ATTENDEE_ID'  . '&returnAnchor=trUser'. $currRow['userID'] . '" class="noUnderline"><img src="resources/icons/delete_trash.png" width="15px" height="15px" /></a></td>' . "\r\n";
// echo '  <td>displayName</td>' . "\r\n";
// echo '  <td>Attending?</td>' . "\r\n";
// echo '  <td><small>Y/N</small></td>' . "\r\n";
// echo '  <td>+1/C/B</td>' . "\r\n";
// echo '  <td></td>' . "\r\n";