| version 1.22, 2006/09/23 09:51:45 |
version 1.23, 2007/01/16 23:06:46 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/subst.inc.php,v 1.21 2006-09-23 01:25:25 nepto Exp $ */ |
/* $Platon: Metafox/subst.inc.php,v 1.22 2006-09-23 09:51:45 nepto Exp $ */ |
| |
|
| require_once 'cfgldr.inc.php'; |
require_once 'cfgldr.inc.php'; |
| require_once 'error.inc.php'; |
require_once 'error.inc.php'; |
| Line 323 if ($ezin_tmpl_main->isVar('article_item |
|
| Line 323 if ($ezin_tmpl_main->isVar('article_item |
|
| $author_id = $ezin_db_author != '' ? $ezin_db_author['search'] : ''; |
$author_id = $ezin_db_author != '' ? $ezin_db_author['search'] : ''; |
| $limit = $ezin_db_section != '' ? intval($ezin_db_section['section_limit']) : 0; |
$limit = $ezin_db_section != '' ? intval($ezin_db_section['section_limit']) : 0; |
| if (intval($cache_ar['timestamp']) <= 0) { |
if (intval($cache_ar['timestamp']) <= 0) { |
| $item = new HTML_Template_Platon($ezin_sys['tmpl']['article_item'].$ezin_tmpl_key); |
$item = new HTML_Template_Platon($ezin_sys['tmpl']['article_item'].$ezin_tmpl_key, |
| |
/* article_items on article page? strange, but it *should* work, |
| |
so we are going to save article variables before article_items vars */ |
| |
$ezin_cgi['output'] == 'article' |
| |
? HTML_TEMPLATE_PLATON_METHOD_VAR_KEEP |
| |
: HTML_TEMPLATE_PLATON_METHOD_NORMAL); |
| $cache_ar['var_var'] = $item->isVar('article_accesses_count') |
$cache_ar['var_var'] = $item->isVar('article_accesses_count') |
| || $item->isVar('article_sessions_count') |
|| $item->isVar('article_sessions_count') |
| || $item->isVar('article_message_count'); |
|| $item->isVar('article_message_count'); |