Tip:
if you want to add a custom header or footer to this hack, for say building a whole website around it do this.
add two new templates, webheader, and webfooter. put whatever you want to show up as the header and footer in the respected templates.
open global.php
find:
// parse other global templates
below it add
PHP Code:
eval("\$webheader = \"".gettemplate('webheader')."\";");
eval("\$webfooter = \"".gettemplate('webfooter')."\";");
open the html template (created in hack install)
change the template to:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>$bbtitle - $file</title>
$headinclude </head>
<body>
$webheader
<!-- breadcrumb -->
<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="100%"><br>
<normalfont><b><a href="index.php?s=$session[sessionhash]">$bbtitle</a>
> $file</b></normalfont></td>
</tr>
</table>
<!-- /breadcrumb -->
<br>
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#000000" width="95%" align="center">
<tr>
<td> <table cellpadding="4" cellspacing="1" border="0" width="100%">
<tr>
<td bgcolor="#F1F1F1" align="left" valign="top" background="https://vborg.vbsupport.ru/greentek/back.gif"><normalfont>
<br>
</div>
<center>
$content
</center>
</td>
</tr>
</table></td>
</tr>
</table>
$webfooter
</body>
</html>