ok after 2 hrs of research and codeheadace. i finally managed to create a php code.
<?php
define('FORUM_ROOT', '../../'); // Point to the forum directiry
define('FORUM_PAGE', 'formation_creator');
require FORUM_ROOT.'include/common.php';
$forum_hooks['hd_main_elements'][] = 'unset($main_elements[\'<!-- forum_crumbs_top -->\']); unset($main_elements[\'<!-- forum_crumbs_end -->\']);';
// Setup breadcrumbs
$forum_page['crumbs'] = array(
array($forum_config['o_board_title'], forum_link($forum_url['index'])),
'Formation Creator' // Set up your page title here
);
require FORUM_ROOT.'header.php';
// START SUBST - <!-- forum_main -->
ob_start();
?>
<div id="brd-main">
<h1 class="main-title">Formation Creator</h1>
<div id="brd-crumbs-top" class="crumbs">
<p><span class="crumb crumbfirst"><a href="http://myfootballcafe.com/">MyFootballCafe.com</a></span> <span class="crumb crumblast"><span> → </span>Formation Creator</span> </p>
</div>
<div class="main-head">
<h2 class="hn"><span>Formation Creator</span></h2>
</div>
<div class="main-content main-frm">
<div style="padding:15px;">
<object width="100%" height="500px">
<param name="allowScriptAccess" value="always" />
<param name="wmode" value="transparent" />
<param name='flashVars' value="send=Draw+this+11&tipText=Click+to+edit&open=open&save=save&saveAs=save+as&add=add&remove=remove&changeShirt=change+shirt&player=player&fileNameLabel=Team+name">
<embed src="http://this11.com/files/board4.swf" AllowScriptAccess="always" width="100%" height="500px" wmode="transparent" flashVars="send=Draw+this+11&tipText=Click+to+edit&open=open&save=save&saveAs=save+as&add=add&remove=remove&changeShirt=change+shirt&player=player&fileNameLabel=Team+name"></embed>
</object>
</div>
</div>
<div id="brd-crumbs-end" class="crumbs">
<p><span class="crumb crumbfirst"><a href="http://myfootballcafe.com/">MyFootballCafe.com</a></span> <span class="crumb crumblast"><span> → </span>Formation Creator</span> </p>
</div>
</div>
<?php
$tpl_temp = trim(ob_get_contents());
$tpl_main = str_replace('<!-- forum_main -->', $tpl_temp, $tpl_main);
ob_end_clean();
// END SUBST - <!-- forum_main -->
// Uncomment this if you don't want the footer
//$tpl_main = preg_replace('#<div id="brd-about" class="gen-content">.*?</div>#us', '', $tpl_main);
require FORUM_ROOT.'footer.php';
the problem is that i also added this page in the navlinks. now when i open the page, the navlink doesnt show its open.
i am talking about the isactive class. how do i add that rule to it that when that page is open, add the isactive to the page.
<li id="navrules" class="isactive"><a href="http://www.myfootballcafe.com/rules/">Rules</a></li>
anyone have a clue.