| version 1.27, 2006/08/06 10:14:45 |
version 1.28, 2006/08/06 17:21:26 |
| Line 400 function ezin_get_article_list($section_ |
|
| Line 400 function ezin_get_article_list($section_ |
|
| .' '.$ezin_sys['db']['tables']['sections'].' AS sections'; |
.' '.$ezin_sys['db']['tables']['sections'].' AS sections'; |
| $query .= |
$query .= |
| ' WHERE articles.section_id = sections.id' |
' WHERE articles.section_id = sections.id' |
| .' AND articles.datetime <= SYSDATE() - 3600' |
.' AND articles.datetime <= SYSDATE()' |
| .' AND UNIX_TIMESTAMP(articles.datetime) > 0' |
.' AND UNIX_TIMESTAMP(articles.datetime) > 0' |
| .' AND articles.status NOT IN ("", "disabled")' |
.' AND articles.status NOT IN ("", "disabled")' |
| .' AND sections.type NOT IN ("", "full_hidden", "disabled")'; |
.' AND sections.type NOT IN ("", "full_hidden", "disabled")'; |
| Line 457 function ezin_get_article_list_counts($s |
|
| Line 457 function ezin_get_article_list_counts($s |
|
| .' '.$ezin_sys['db']['tables']['sections'].' AS sections'; |
.' '.$ezin_sys['db']['tables']['sections'].' AS sections'; |
| $query .= |
$query .= |
| ' WHERE articles.section_id = sections.id' |
' WHERE articles.section_id = sections.id' |
| .' AND articles.datetime <= SYSDATE() - 3600' |
.' AND articles.datetime <= SYSDATE()' |
| .' AND UNIX_TIMESTAMP(articles.datetime) > 0' |
.' AND UNIX_TIMESTAMP(articles.datetime) > 0' |
| .' AND articles.status NOT IN ("", "disabled")' |
.' AND articles.status NOT IN ("", "disabled")' |
| .' AND sections.type NOT IN ("", "full_hidden", "disabled")'; |
.' AND sections.type NOT IN ("", "full_hidden", "disabled")'; |