Rozdiely pre Metafox/db.inc.php medzi verziami 1.77 a 1.78
| verzia 1.77, 2013/09/02 16:28:52 |
verzia 1.78, 2013/10/17 16:57:24 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/db.inc.php,v 1.76 2013-09-02 16:18:06 igor Exp $ */ |
/* $Platon: Metafox/db.inc.php,v 1.77 2013-09-02 16:28:52 igor Exp $ */ |
| |
|
| /* |
/* |
| * updates: 23/5/2001, 29/7/2001, 11/10/2001, 2/11/2001, 11/1/2002, 23/7/2002 |
* updates: 23/5/2001, 29/7/2001, 11/10/2001, 2/11/2001, 11/1/2002, 23/7/2002 |
| Riadok 2169 function ezin_save_email($section_id, $e |
|
| Riadok 2169 function ezin_save_email($section_id, $e |
|
| return false; |
return false; |
| } /* }}} */ |
} /* }}} */ |
| |
|
| |
function ezin_get_newsletter_emails() /* {{{ */ |
| |
{ |
| |
global $ezin_sys; |
| |
global $ezin_db_handle; |
| |
|
| |
$query = sprintf('SELECT *' |
| |
.' FROM %s' |
| |
.' WHERE dt_removed IS NULL' |
| |
.' OR dt_removed > NOW()', |
| |
$ezin_sys['db']['tables']['nl_emails']); |
| |
$result = @mysql_query($query, $ezin_db_handle) |
| |
or ezin_db_error('ezin_get_newsletter_emails() [1]'); |
| |
$ret = array(); |
| |
while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) { |
| |
$ret[] = $row['email']; |
| |
} |
| |
@mysql_free_result($result); |
| |
return $ret; |
| |
} /* }}} */ |
| |
|
| /* |
/* |
| * ezin_check_feedback_flood() |
* ezin_check_feedback_flood() |
| */ |
*/ |
Platon Group <platon@platon.sk> http://platon.sk/
|
|