Diff for Metafox/db.inc.php between version 1.76 and 1.77
| version 1.76, 2013/09/02 16:18:06 |
version 1.77, 2013/09/02 16:28:52 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/db.inc.php,v 1.75 2013-09-02 12:46:38 igor Exp $ */ |
/* $Platon: Metafox/db.inc.php,v 1.76 2013-09-02 16:18:06 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 |
| Line 747 function ezin_get_available_articles($la |
|
| Line 747 function ezin_get_available_articles($la |
|
| .' AND ( (FIND_IN_SET("articles_enabled", sections.display) > 0)' |
.' AND ( (FIND_IN_SET("articles_enabled", sections.display) > 0)' |
| .' OR (FIND_IN_SET("articles_in_normal", sections.display) > 0)' |
.' OR (FIND_IN_SET("articles_in_normal", sections.display) > 0)' |
| .' OR (FIND_IN_SET("articles_in_global", sections.display) > 0)' |
.' OR (FIND_IN_SET("articles_in_global", sections.display) > 0)' |
| .' )'; |
.' )' |
| |
.' AND (FIND_IN_SET("enabled", articles.display) > 0)'; |
| if ($lang != '') { |
if ($lang != '') { |
| $query .= ' AND (lang IS NULL OR lang = ""' |
$query .= ' AND (lang IS NULL OR lang = ""' |
| .' OR lang LIKE "'.ezin_db_escape($lang).'")'; |
.' OR lang LIKE "'.ezin_db_escape($lang).'")'; |
Platon Group <platon@platon.org> http://platon.org/
|
|