| version 1.13, 2006/01/21 10:37:27 |
version 1.14, 2006/01/21 17:07:25 |
| 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' |
| .' WHERE articles.section_id = sections.id' |
.' WHERE articles.section_id = sections.id' |
| .' AND articles.author_id = authors.id' |
.' AND articles.author_id = authors.id' |
| .' AND articles.datetime <= SYSDATE()' |
.' AND articles.datetime <= SYSDATE() - 3600' |
| |
.' 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")'; |
| if ($lang != '') { |
if ($lang != '') { |
| Line 455 function ezin_get_article_list_counts($s |
|
| Line 456 function ezin_get_article_list_counts($s |
|
| .' '.$ezin_sys['db']['tables']['sections'].' AS sections' |
.' '.$ezin_sys['db']['tables']['sections'].' AS sections' |
| .' WHERE articles.section_id = sections.id' |
.' WHERE articles.section_id = sections.id' |
| .' AND articles.author_id = authors.id' |
.' AND articles.author_id = authors.id' |
| .' AND articles.datetime <= SYSDATE()' |
.' AND articles.datetime <= SYSDATE() - 3600' |
| |
.' 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")'; |
| if ($lang != '') { |
if ($lang != '') { |