| version 1.24, 2007/01/17 10:03:26 |
version 1.25, 2007/02/10 21:44:22 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/subst.inc.php,v 1.22 2006-09-23 09:51:45 nepto Exp $ */ |
/* $Platon: Metafox/subst.inc.php,v 1.24 2007-01-17 10:03:26 nepto Exp $ */ |
| |
|
| require_once 'cfgldr.inc.php'; |
require_once 'cfgldr.inc.php'; |
| require_once 'error.inc.php'; |
require_once 'error.inc.php'; |
| Line 123 ezin_update_counts_temp(); |
|
| Line 123 ezin_update_counts_temp(); |
|
| ezin_update_counts($ezin_cgi['author_id'], $ezin_cgi['section_id'], $ezin_cgi['article_id']); |
ezin_update_counts($ezin_cgi['author_id'], $ezin_cgi['section_id'], $ezin_cgi['article_id']); |
| |
|
| /* |
/* |
| * Try include user defined functions |
|
| */ |
|
| |
|
| if (file_exists($ezin_cfg['theme']['dir'].'/'.$ezin_sys['tmpl']['fnc_file'])) { |
|
| include_once $ezin_cfg['theme']['dir'].'/'.$ezin_sys['tmpl']['fnc_file']; |
|
| } |
|
| |
|
| /* |
|
| * Get section parameters |
* Get section parameters |
| */ |
*/ |
| |
|
| Line 230 switch ($ezin_cgi['output']) { /* {{{ */ |
|
| Line 222 switch ($ezin_cgi['output']) { /* {{{ */ |
|
| $ezin_tmpl_main = new HTML_Template_Platon($ezin_tmpl_main_fname); |
$ezin_tmpl_main = new HTML_Template_Platon($ezin_tmpl_main_fname); |
| |
|
| /* |
/* |
| |
* Try to include user defined function(s) file |
| |
*/ |
| |
|
| |
if (file_exists($ezin_cfg['theme']['dir'].'/'.$ezin_sys['tmpl']['fnc_file'])) { |
| |
include_once $ezin_cfg['theme']['dir'].'/'.$ezin_sys['tmpl']['fnc_file']; |
| |
} |
| |
|
| |
/* |
| * Substitute current section parameters |
* Substitute current section parameters |
| */ |
*/ |
| |
|