| version 1.40, 2007/04/22 15:37:53 |
version 1.41, 2007/04/22 21:30:06 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/db.inc.php,v 1.39 2007-04-09 23:14:43 nepto Exp $ */ |
/* $Platon: Metafox/db.inc.php,v 1.40 2007-04-22 15:37:53 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 343 function ezin_get_section($section_id) / |
|
| Line 343 function ezin_get_section($section_id) / |
|
| .' editorials.text_flags section_editorial_text_flags,' |
.' editorials.text_flags section_editorial_text_flags,' |
| .' editorials.text section_editorial_text,' |
.' editorials.text section_editorial_text,' |
| .' editorials.title section_editorial_title' |
.' editorials.title section_editorial_title' |
| .' FROM '.$ezin_sys['db']['tables']['editorials'].' AS editorials' |
.' FROM '.$ezin_sys['db']['tables']['editorials'].' AS editorials,' |
| .' LEFT JOIN '.$ezin_sys['db']['tables']['sections'].' AS sections' |
.' '.$ezin_sys['db']['tables']['sections'].' AS sections' |
| .' ON sections.id = editorials.section_id AND sections.type = "global"' |
.' WHERE sections.id = editorials.section_id AND sections.type = "global"' |
| .' AND (editorials.datetime IS NULL OR editorials.datetime <= SYSDATE())' |
.' AND (editorials.datetime IS NULL OR editorials.datetime <= SYSDATE())' |
| .' ORDER BY editorials.datetime DESC LIMIT 1'; |
.' ORDER BY editorials.datetime DESC LIMIT 1'; |
| |
|