| | |
| | | | | |
| | | | This file is part of the RoundCube Webmail client | |
| | | | Copyright (C) 2005, RoundCube Dev. - Switzerland | |
| | | | All rights reserved. | |
| | | | Licensed under the GNU GPL | |
| | | | | |
| | | | PURPOSE: | |
| | | | Send contacts list to client (as remote response) | |
| | |
| | | $sql_result = $DB->query(sprintf("SELECT * FROM %s |
| | | WHERE del!='1' |
| | | AND user_id=%d |
| | | ORDER BY name |
| | | LIMIT %d, %d", |
| | | ORDER BY name", |
| | | get_table_name('contacts'), |
| | | $_SESSION['user_id'], |
| | | $_SESSION['user_id']), |
| | | $start_row, |
| | | $CONFIG['pagesize'])); |
| | | $CONFIG['pagesize']); |
| | | |
| | | $commands .= rcmail_js_contacts_list($sql_result); |
| | | |