Ejemplo n.º 1
0
}
$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) . '&nbsp;</td>';
            }
            echo '<td nowrap>' . mail_to($cal->f('email')) . '&nbsp;</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>';
        }
Ejemplo n.º 2
0
?>
:&nbsp;</b></td>
<td><?php 
echo htmlspecialchars($subject);
?>
</td>
</tr>

<tr>
<td nowrap><b><?php 
echo $ml_from;
?>
:&nbsp;</b></td>
<td>
<?php 
echo show_profile_by_email(addslashes($content['sender']), $content['from']) . '&nbsp;&lt;' . $content['sender'] . '&gt;';
?>
</td>
</tr>
<tr>
<td valign="top" nowrap><b><?php 
echo $ml_to;
?>
:&nbsp;</b></td>
<td>
<?php 
$to == "";
if (isset($content["to"])) {
    for ($i = 0; $i < sizeof($content["to"]); $i++) {
        if ($i != 0) {
            $to .= ", ";
Ejemplo n.º 3
0
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')) . '&nbsp;</td>';
        echo '<td nowrap>' . mail_to($cal->f('email')) . '&nbsp;</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>';