当前位置: 首页>>代码示例>>PHP>>正文


PHP email::get_all_folders方法代码示例

本文整理汇总了PHP中email::get_all_folders方法的典型用法代码示例。如果您正苦于以下问题:PHP email::get_all_folders方法的具体用法?PHP email::get_all_folders怎么用?PHP email::get_all_folders使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在email的用法示例。


在下文中一共展示了email::get_all_folders方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: date

}
?>
<tr>
<td><b><?php 
echo $strDate;
?>
:&nbsp;</b></td>
<td><?php 
echo date($_SESSION['GO_SESSION']['date_format'] . ' ' . $_SESSION['GO_SESSION']['time_format'], get_time($content['udate']));
?>
</td>
</tr>
<?php 
if ($account['type'] == "imap" && !$print) {
    echo '<tr><td nowrap><b>' . $ml_folder . ':&nbsp;</b></td><td>';
    if ($email->get_all_folders($account['id'], true) > 0) {
        $dropbox = new dropbox();
        $dropbox->add_value('INBOX', $ml_inbox);
        while ($email->next_record()) {
            if (!($email->f('attributes') & LATT_NOSELECT)) {
                $dropbox->add_value($email->f('name'), str_replace('INBOX' . $email->f('delimiter'), '', $email->f('name')));
            }
        }
        $dropbox->print_dropbox('move_to_mailbox', $mailbox, 'onchange="javascript:move_mail()"');
    }
}
echo '</td></tr>';
?>
</table>
</td>
</tr>
开发者ID:BackupTheBerlios,项目名称:hpt-obm-svn,代码行数:31,代码来源:message.php

示例2: isset

$dropbox->add_value('cc', $ml_cc_is);
$dropbox->print_dropbox('field', $field);
?>
</td>
<td>
<input type="text" name="keyword" size="30" class="textbox" />
</td>
</tr>
<tr>
<td colspan="2">

<?php 
$folder = isset($_POST['folder']) ? $_POST['folder'] : '';
$dropbox = new dropbox();
$dropbox->add_value('', $ml_move_to);
$email->get_all_folders($id, true);
while ($email->next_record()) {
    if (!($email->f('attributes') & LATT_NOSELECT)) {
        $dropbox->add_value($email->f('name'), str_replace('INBOX' . $email->f('delimiter'), '', $email->f('name')));
    }
}
$dropbox->print_dropbox('folder', $folder);
?>
</td>
</tr>
<tr>
<td colspan="2">
<br />
<?php 
$button = new button($cmdOk, 'javascript:save_filter()');
echo '&nbsp;&nbsp;';
开发者ID:BackupTheBerlios,项目名称:hpt-obm-svn,代码行数:31,代码来源:filter.php

示例3: tabtable

echo '<form method="POST" action="' . $_SERVER['PHP_SELF'] . '" name="email_client">';
echo '<input type="hidden" name="task" value="" />';
echo '<input type="hidden" name="account_id" value="' . $account_id . '" />';
echo '<input type="hidden" name="close" value="false" />';
echo '<input type="hidden" name="return_to" value="' . $return_to . '" />';
echo '<input type="hidden" name="link_back" value="' . $link_back . '" />';
$tabtable = new tabtable('filters_list', $ml_filters, '600', '300', '100', '', true);
$tabtable->print_head();
echo '<table border="0" cellpadding="0" cellspacing="8" class="normal"><tr><td>';
if (isset($_REQUEST['delete_filter'])) {
    $email->delete_filter($_REQUEST['delete_filter']);
}
if (isset($_REQUEST['move_up_id']) && $_REQUEST['move_dn_id'] != 0) {
    $email->move_up($_REQUEST['move_up_id'], $_REQUEST['move_dn_id'], $_REQUEST['move_up_pr'], $_REQUEST['move_dn_pr']);
}
if ($email->get_all_folders($account_id, true) > 0) {
    echo '<a class="normal" href="filter.php?id=' . $account_id . '">' . $cmdAdd . '</a><br /><br />';
    $count = $email->get_filters($account_id);
    if ($count > 0) {
        echo '<table border="0" cellpadding="2" cellspacing="0"><tr>';
        echo '<td><h3>' . $ml_field . '</h3></td>';
        echo '<td><h3>' . $ml_contains . '</h3></td>';
        echo '<td><h3>' . $ml_folder . '</h3></td>';
        echo '<td>&nbsp;</td>';
        echo '<td>&nbsp;</td>';
        echo '<td>&nbsp;</td></tr>';
        $last_id = 0;
        $last_pr = 0;
        while ($email->next_record()) {
            switch ($email->f("field")) {
                case "sender":
开发者ID:BackupTheBerlios,项目名称:hpt-obm-svn,代码行数:31,代码来源:filters.php

示例4: tabtable

    echo '<input type="hidden" name="return_to" value="' . $return_to . '" />';
    echo '<input type="hidden" name="link_back" value="' . $link_back . '" />';
    echo '<input type="hidden" name="account_id" value="' . $account_id . '" />';
    $tabtable = new tabtable('folders_list', $ml_folders, '100%', '300', '100', '', true);
    $tabtable->print_head();
    //synchronise Group-Office with the IMAP server
    $subscribed = $mail->get_subscribed($account['mbroot']);
    $mailboxes = $mail->get_mailboxes($account['mbroot']);
    $email->synchronise($account['id'], $mailboxes, $subscribed);
    //get all the folders and the subscribed folders as an array
    //and add all missing subscribed folders to Group-Office
    $mailboxes = array();
    $mailboxes = $mail->get_mailboxes($account['mbroot']);
    //get all the Group-Office folders as an array
    $account = $email->get_account($account['id']);
    $email->get_all_folders($account['id']);
    $go_mailboxes = array();
    while ($email->next_record()) {
        $go_mailboxes[] = $email->Record;
        $delimiter = $email->f('delimiter');
    }
    $mcount = count($go_mailboxes);
    ?>
	<table border="0" cellpadding="0" cellspacing="8" class="normal">
	<tr>
		<td>
		<?php 
    if (isset($feedback)) {
        echo $feedback;
    }
    ?>
开发者ID:BackupTheBerlios,项目名称:hpt-obm-svn,代码行数:31,代码来源:folders.php


注:本文中的email::get_all_folders方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。