SilverBoy
03-30-2005, 07:20 AM
Hi all
I created a new vb page, and I tried to put forum jump in it, but I couldn't
any help???
code of my page
<?php
// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
// #################### DEFINE IMPORTANT CONSTANTS #######################
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'rules'); // change this depending on your filename
// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array(
);
// get special data templates from the datastore
$specialtemplates = array(
);
// pre-cache templates used by all actions
$globaltemplates = array(
'RULES',
);
// pre-cache templates used by specific actions
$actiontemplates = array(
);
// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
// ################################################## #####################
// ######################## START MAIN SCRIPT ############################
// ################################################## #####################
$navbits = array();
$navbits[$parent] = 'Forum Rules';
$navbits = construct_navbits($navbits);
$frmjmpsel['rules'] = ' selected="selected" class="fjsel"';
$forumjump = construct_forum_jump();
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('rules') . '");');
?>
and this is rules template content
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle] - Forum Rules</title>
$headinclude
</head>
<body>
$header
$navbar
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" align="center">Forum Rules</td>
</tr>
<tr>
<td class="alt1">My Rules</td>
</tr>
</table>
<br>
<div align="left">
$forumjump
</div>
<br>
$footer
</body>
</html>
Iam waiting your help
by the way my vb version is 3.0.7
no body knows??
I created a new vb page, and I tried to put forum jump in it, but I couldn't
any help???
code of my page
<?php
// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
// #################### DEFINE IMPORTANT CONSTANTS #######################
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'rules'); // change this depending on your filename
// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array(
);
// get special data templates from the datastore
$specialtemplates = array(
);
// pre-cache templates used by all actions
$globaltemplates = array(
'RULES',
);
// pre-cache templates used by specific actions
$actiontemplates = array(
);
// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
// ################################################## #####################
// ######################## START MAIN SCRIPT ############################
// ################################################## #####################
$navbits = array();
$navbits[$parent] = 'Forum Rules';
$navbits = construct_navbits($navbits);
$frmjmpsel['rules'] = ' selected="selected" class="fjsel"';
$forumjump = construct_forum_jump();
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('rules') . '");');
?>
and this is rules template content
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle] - Forum Rules</title>
$headinclude
</head>
<body>
$header
$navbar
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" align="center">Forum Rules</td>
</tr>
<tr>
<td class="alt1">My Rules</td>
</tr>
</table>
<br>
<div align="left">
$forumjump
</div>
<br>
$footer
</body>
</html>
Iam waiting your help
by the way my vb version is 3.0.7
no body knows??