- define('__DELAY_VALUE', ($_CONFIG['index_delay'] * 1000 + 500));
- define('__MOD_VALUE' , ADD_URL_DATA("index"));
- LOAD_TEMPLATE("index_forward");
- }
+ $content['delay'] = (getConfig('index_delay') * 1000 + 500);
+ $content['module'] = 'index';
+
+ // Load template
+ loadTemplate('index_forward', false, $content);
+ } // END - if
+
+ // Footer (which will call shutdown() for us)
+ loadIncludeOnce('inc/footer.php');