| version 1.47, 2010/12/10 14:30:27 |
version 1.48, 2011/01/24 16:44:48 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/subst.inc.php,v 1.46 2010-11-02 17:32:26 igor Exp $ */ |
/* $Platon: Metafox/subst.inc.php,v 1.47 2010-12-10 14:30:27 igor Exp $ */ |
| |
|
| require_once 'cfgldr.inc.php'; |
require_once 'cfgldr.inc.php'; |
| require_once 'error.inc.php'; |
require_once 'error.inc.php'; |
| Line 366 if ($ezin_tmpl_main->isVar('article_item |
|
| Line 366 if ($ezin_tmpl_main->isVar('article_item |
|
| ? 'U'.@$ezin_db_author['author_id'].@$ezin_cgi['lang'].$ezin_tmpl_key |
? 'U'.@$ezin_db_author['author_id'].@$ezin_cgi['lang'].$ezin_tmpl_key |
| : 'S'.@$ezin_db_section['section_id'].$ezin_tmpl_key.($list_var_keep ? '-VarKeep' : ''); |
: 'S'.@$ezin_db_section['section_id'].$ezin_tmpl_key.($list_var_keep ? '-VarKeep' : ''); |
| $cache_ar = ezin_cache_load($cache_id); |
$cache_ar = ezin_cache_load($cache_id); |
| $section_id = $ezin_db_section != '' && $ezin_db_section['section_type'] != 'global' ? $ezin_db_section['section_id'] : 0; |
$section_id = $ezin_db_section != '' && (strpos($ezin_db_section['section_type2'], 'global') === false) ? $ezin_db_section['section_id'] : 0; |
| $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) { |