What do you mean by a hook??
My code looks like this
PHP Code:
<?php
session_start();
// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
// #################### DEFINE IMPORTANT CONSTANTS #######################
define('THIS_SCRIPT', 'index');
define('CSRF_PROTECTION', true);
define('CSRF_SKIP_LIST', '');
define('VB_ENTRY', 'forum.php');
// get special data templates from the datastore
$specialtemplates = array(
'userstats',
'birthdaycache',
'maxloggedin',
'iconcache',
'eventcache',
'mailqueue',
'activeblocks',
);
// pre-cache templates used by all actions
$globaltemplates = array(
'ad_board_after_forums',
'ad_board_below_whats_going_on',
'block_blogentries',
'block_cmsarticles',
'block_newposts',
'block_sgdiscussions',
'block_tagcloud',
'block_threads',
'block_html',
'FORUMHOME',
'forumhome_event',
'forumhome_subforums',
'forumhome_forumbit_level1_nopost',
'forumhome_forumbit_level1_post',
'forumhome_forumbit_level2_nopost',
'forumhome_forumbit_level2_post',
'forumhome_lastpostby',
'tag_cloud_link',
);
// pre-cache templates used by specific actions
$actiontemplates = array();
// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
require_once(DIR . '/includes/functions_bigthree.php');
require_once(DIR . '/includes/functions_forumlist.php');
echo "...".$foruminfo['title'] ;
?>
<img src="http://www.clubscuderia.co.uk/forum/sponsors/forums/autoficcinaforum.jpg" />