Esempio n. 1
0
	<td width="100%"><input type="text" class="textbox"  name="initials" size="40" maxlength="50" value="<?php 
if (isset($_REQUEST['initials'])) {
    echo $_REQUEST['initials'];
}
?>
"></td>
	</tr>
	<tr>
	<td align="right" nowrap><?php 
echo $strSex;
?>
:</td>
	<td>
	<?php 
$sex = isset($_REQUEST['sex']) ? $_REQUEST['sex'] : 'M';
$radiolist = new radio_list('sex', $sex);
$radiolist->add_option('M', $strSexes['M']);
echo '&nbsp;';
$radiolist->add_option('F', $strSexes['F']);
?>
	</td>
	</tr>
	<tr>
	<td align="right" nowrap><?php 
echo $strBirthday;
?>
:</td>
	<td>
	<?php 
$birthday = isset($_REQUEST['birthday']) ? $_REQUEST['birthday'] : '';
$datepicker->print_date_picker('birthday', $GO_CONFIG->date_formats[0], $birthday);
Esempio n. 2
0
 print_head();
 if (isset($feedback)) {
     echo $feedback . '<br /><br />';
 }
 ?>
 <input type="hidden" name="task" value="send_info" />
 Intermesh would like to know that you are using Group-Office to find out how many people are
 using Group-Office. Please select an Option. (If you already sent information before, please select 'No').
 <br /><br />
 <table cellpadding="10" style="border-width: 0px;font-family: Arial,Helvetica; font-size: 12px;">
 <tr>
 <td>
 <?php 
 $info = isset($_REQUEST['info']) ? $_REQUEST['info'] : 'no';
 $users = isset($_REQUEST['users']) ? $_REQUEST['users'] : '&lt; 5';
 $radio_list = new radio_list('info', $info);
 $radio_list->add_option('no', "");
 echo "No, Don't send information to Intermesh <br />";
 $radio_list->add_option('business', "");
 echo "Yes, tell Intermesh that I'm using Group-Office for business purpose.<br />";
 $radio_list->add_option('personal', "");
 echo "Yes, tell Intermesh that I'm using Group-Office for personal use or I'm just testing.";
 ?>
 </td>
 </tr>
 <tr>
 <td>
 How many users do you have in Group-Office?
 <?php 
 $dropbox = new dropbox();
 $dropbox->add_value('&lt; 5', '&lt; 5');
Esempio n. 3
0
            ?>
	</td>
	</tr>
	<tr>
	<td colspan="2">
	<?php 
            $checkbox = new checkbox('secure', 'true', $cms_use_go_auth, $secure_check);
            ?>
	</td>
	</tr>
	
	<tr>
	<td colspan="2">
	<?php 
            echo '<br />' . $cms_display_type . '<br />';
            $radio_list = new radio_list('display_type', $display_type);
            $radio_list->add_option(NORMAL_DISPLAY, $cms_normal_display);
            echo '<br />';
            $radio_list->add_option(MULTIPAGE_DISPLAY, $cms_multipage_display);
            ?>
	</td>
	</tr>
	<tr>
	<td colspan="2">
	<br />
	<?php 
            $button = new button($cmdOk, "javascript:save_close_site()");
            echo '&nbsp;&nbsp;';
            $button = new button($cmdApply, "javascript:save_site()");
            echo '&nbsp;&nbsp;';
            $button = new button($cmdClose, "javascript:document.location='" . $return_to . "';");
Esempio n. 4
0
 echo '<tr><td nowrap>' . $sc_background . ':&nbsp;</td><td>';
 $color_selector = new color_selector();
 $color_selector->add_color('FFFFCC');
 $color_selector->add_color('FF6666');
 $color_selector->add_color('CCFFCC');
 $color_selector->add_color('99CCFF');
 $color_selector->add_color('FF99FF');
 $color_selector->add_color('FFCC66');
 $color_selector->add_color('CCCC66');
 $color_selector->add_color('F1F1F1');
 $color_selector->add_color('FFCCFF');
 $color_selector->print_color_selector('background', $event['background'], 'event_form');
 echo '</td></tr>';
 $permissions = isset($_POST['permissions']) ? $_POST['permissions'] : 'everybody_read';
 echo '<tr><td valign="top">' . $strPermissions . ':</td><td>';
 $radio_list = new radio_list('permissions', $event['permissions']);
 $radio_list->add_option('everybody_read', $cal_everybody_read);
 echo '<br />';
 $radio_list->add_option('everybody_write', $cal_everybody_write);
 echo '<br />';
 $radio_list->add_option('private', $sc_private_event);
 echo '</td></tr>';
 if (isset($_REQUEST['merged_view'])) {
     $marked_calendars = $cal->get_view_calendar_ids($_REQUEST['merged_view']);
 }
 $calendar_count = $cal->get_authorised_calendars($GO_SECURITY->user_id);
 $dropbox = new dropbox();
 $count = 0;
 while ($cal->next_record()) {
     if ($GO_SECURITY->has_permission($GO_SECURITY->user_id, $cal->f('acl_write'))) {
         //remember the first ab that is writable
Esempio n. 5
0
echo '<tr><td>' . $ml_body . ':</td><td>' . '<input type="text" name="body" size="40" class="textbox" value="' . htmlspecialchars($body) . '" />' . '</td></tr>';
echo '</table></td><td valign="top"><table border="0">';
echo '<tr><td>' . $ml_before . ':</td><td>';
$date_picker->print_date_picker('before', $_SESSION['GO_SESSION']['date_format'], $before);
echo '</td></tr>';
echo '<tr><td>' . $ml_since . ':</td><td>';
$date_picker->print_date_picker('since', $_SESSION['GO_SESSION']['date_format'], $since);
echo '</td></tr>';
echo '<tr><td>' . $ml_flag . ':</td><td>';
$radio_list = new radio_list('flagged', $flagged);
$radio_list->add_option('', $ml_doesnt_matter);
$radio_list->add_option('FLAGGED', $cmdYes);
$radio_list->add_option('UNFLAGGED', $cmdNo);
echo '</td></tr>';
echo '<tr><td>' . $ml_answered . ':</td><td>';
$radio_list = new radio_list('answered', $answered);
$radio_list->add_option('', $ml_doesnt_matter);
$radio_list->add_option('ANSWERED', $cmdYes);
$radio_list->add_option('UNANSWERED', $cmdNo);
echo '</td></tr>';
echo '</table>';
echo '</td></tr>';
echo '<tr><td colspan="2">';
$button = new button($cmdSearch, 'javascript:document.forms[0].submit();');
echo '</td></tr>';
echo '</table>';
$tabtable->print_foot();
if ($query != '') {
    $messages_display = '';
    $msg_count = $mail->search($em_settings['sort_field'], $em_settings['sort_order'], $query);
    $mail->get_messages($first_row, $max_rows);