query(" SELECT ID, Subject, UserID, Status, Level, AssignedToUser, Date, Unread FROM staff_pm_conversations WHERE UserID=".$LoggedUser['ID']." ORDER BY Status, Date DESC" ); // Start page ?>

Staff PMs



true)); ?>
record_count() == 0) { // No messages ?>

No messages

Open messages

next_record()) { if($Unread === '1') { $RowClass = 'unreadpm'; } else { $Row = ($Row === 'a') ? 'b' : 'a'; $RowClass = 'row'.$Row; } if ($Status == 'Resolved') { $ShowBox++; } if ($ShowBox == 2) { // First resolved PM ?>
Subject Date Assigned to

Resolved messages

set_query_id($StaffPMs); } // Close table and multiresolve form ?>
Subject Date Assigned to