| version 1.45, 2007/12/02 11:47:44 |
version 1.46, 2007/12/03 16:24:58 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/db.inc.php,v 1.44 2007-11-25 02:05:12 nepto Exp $ */ |
/* $Platon: Metafox/db.inc.php,v 1.45 2007-12-02 11:47:44 nepto 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 |
| Line 434 function ezin_get_article_list($section_ |
|
| Line 434 function ezin_get_article_list($section_ |
|
| .' OR lang LIKE "'.ezin_db_escape($lang).'")'; |
.' OR lang LIKE "'.ezin_db_escape($lang).'")'; |
| } |
} |
| if (strlen($author_id) > 0) { |
if (strlen($author_id) > 0) { |
| |
$limit = 0; // unlimited articles on author pages |
| if (is_numeric($author_id)) { |
if (is_numeric($author_id)) { |
| if (intval($author_id) > 0) { |
if (intval($author_id) > 0) { |
| $query .= ' AND authors.id = '.intval($author_id); |
$query .= ' AND authors.id = '.intval($author_id); |
| Line 493 function ezin_get_article_list_counts($s |
|
| Line 494 function ezin_get_article_list_counts($s |
|
| .' OR lang LIKE "'.ezin_db_escape($lang).'")'; |
.' OR lang LIKE "'.ezin_db_escape($lang).'")'; |
| } |
} |
| if (strlen($author_id) > 0) { |
if (strlen($author_id) > 0) { |
| |
$limit = 0; // unlimited articles on author pages |
| if (is_numeric($author_id)) { |
if (is_numeric($author_id)) { |
| $query .= ' AND authors.id = '.intval($author_id); |
$query .= ' AND authors.id = '.intval($author_id); |
| } else { |
} else { |