| version 1.43, 2007/11/12 16:12:55 |
version 1.44, 2007/11/25 02:05:12 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/db.inc.php,v 1.42 2007-11-01 23:01:40 nepto Exp $ */ |
/* $Platon: Metafox/db.inc.php,v 1.43 2007-11-12 16:12:55 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 396 function ezin_get_article_list($section_ |
|
| Line 396 function ezin_get_article_list($section_ |
|
| .' articles.access_key article_access_key,' |
.' articles.access_key article_access_key,' |
| .' articles.template_key article_template_key,' |
.' articles.template_key article_template_key,' |
| .' UNIX_TIMESTAMP(articles.datetime) article_timestamp,' |
.' UNIX_TIMESTAMP(articles.datetime) article_timestamp,' |
| .' articles.bodytext_wordcount article_bodytext_wordcount,' |
.' articles.bodytext_wordcount article_bodytext_wordcount,' |
| .' articles.bodytext_flags article_bodytext_flags,' |
.' articles.bodytext_flags article_bodytext_flags,' |
| .' articles.hometext_wordcount article_hometext_wordcount,' |
.' articles.ghometext_wordcount article_ghometext_wordcount,' |
| .' articles.hometext_flags article_hometext_flags,' |
.' articles.ghometext_flags article_ghometext_flags,' |
| .' articles.hometext article_hometext,' |
.' articles.ghometext article_ghometext,' |
| |
.' articles.hometext_wordcount article_hometext_wordcount,' |
| |
.' articles.hometext_flags article_hometext_flags,' |
| |
.' articles.hometext article_hometext,' |
| .' authors.id article_author_id,' |
.' authors.id article_author_id,' |
| .' authors.name article_author_name,' |
.' authors.name article_author_name,' |
| .' authors.email article_author_email,' |
.' authors.email article_author_email,' |
| Line 458 function ezin_get_article_list($section_ |
|
| Line 461 function ezin_get_article_list($section_ |
|
| $array = array(); |
$array = array(); |
| for ($k = 0; ($array[$k] = @mysql_fetch_array($result, MYSQL_ASSOC)); $k++) |
for ($k = 0; ($array[$k] = @mysql_fetch_array($result, MYSQL_ASSOC)); $k++) |
| ; |
; |
| |
for ($k = 0; ($array[$k] = @mysql_fetch_array($result, MYSQL_ASSOC)); $k++) { |
| |
/* THIS IS NOT USED |
| |
if ($secton_id <= 0 && strlen($array[$k]['article_ghometext']) > 0) { |
| |
$array[$k]['article_hometext'] = $array[$k]['article_ghometext']; |
| |
$array[$k]['article_hometext_wordcount'] = $array[$k]['article_ghometext_wordcount']; |
| |
$array[$k]['article_hometext_flags'] = $array[$k]['article_ghometext_flags']; |
| |
} |
| |
*/ |
| |
} |
| unset($array[$k]); |
unset($array[$k]); |
| @mysql_free_result($result); |
@mysql_free_result($result); |
| return $array; |
return $array; |