- define('__DELAY_VALUE', (getConfig('index_delay') * 1000 + 500));
- define('__MOD_VALUE' , 'index');
- LOAD_TEMPLATE('index_forward');
+ $content['delay'] = (getConfig('index_delay') * 1000 + 500);
+ $content['mod'] = 'index';
+
+ // Load template
+ loadTemplate('index_forward', false, $content);