} $tabtable->print_head(); echo '<br />'; switch ($tabtable->get_active_tab_id()) { case 'participants': echo '<input type="hidden" name="status" />'; echo '<table border="0">'; echo '<tr><td><h3>' . $strName . '</td>'; echo '<td><h3>' . $strEmail . '</td>'; echo '<td><h3>' . $sc_status . '</td></tr>'; while ($cal->next_record()) { echo '<tr><td nowrap>'; if ($cal->f('user_id') > 0) { echo show_profile($cal->f('user_id'), '', 'normal', $link_back); } else { echo show_profile_by_email($cal->f('email'), '', $link_back) . ' </td>'; } echo '<td nowrap>' . mail_to($cal->f('email')) . ' </td><td>'; switch ($cal->f('status')) { case '0': echo $sc_not_responded; break; case '1': echo $sc_accepted; break; case '2': echo $sc_declined; break; } echo '</td></tr>'; }
?> : </b></td> <td><?php echo htmlspecialchars($subject); ?> </td> </tr> <tr> <td nowrap><b><?php echo $ml_from; ?> : </b></td> <td> <?php echo show_profile_by_email(addslashes($content['sender']), $content['from']) . ' <' . $content['sender'] . '>'; ?> </td> </tr> <tr> <td valign="top" nowrap><b><?php echo $ml_to; ?> : </b></td> <td> <?php $to == ""; if (isset($content["to"])) { for ($i = 0; $i < sizeof($content["to"]); $i++) { if ($i != 0) { $to .= ", ";
echo '<tr><td colspan="2"><br />'; $button = new button($cmdClose, "javascript:document.location= '" . $return_to . "'"); echo '</td></tr>'; ?> </table> </td> <td valign="top"> <?php if ($cal->get_participants($event_id)) { echo '<input type="hidden" name="status" />'; echo '<table border="0">'; echo '<tr><td><h3>' . $strName . '</td>'; echo '<td><h3>' . $strEmail . '</td>'; echo '<td><h3>' . $sc_status . '</td></tr>'; while ($cal->next_record()) { echo '<tr><td nowrap>' . show_profile_by_email($cal->f('email'), $cal->f('name')) . ' </td>'; echo '<td nowrap>' . mail_to($cal->f('email')) . ' </td><td>'; switch ($cal->f('status')) { case '0': echo $sc_not_responded; break; case '1': echo $sc_accepted; break; case '2': echo $sc_declined; break; } echo '</td></tr>'; } echo '</table>';