https://www.icyphoenix.com/viewtopic.php?f=30&t=4518&p=43133#p43133
-----------------------------------
FedericoBiccheddu
Tue 18 Aug, 2009 17:48

Re: Create New Forum Pages And Add Custom Vars.
-----------------------------------
[code linenumbers=false]<?php
/**
*
* @package Icy Phoenix
* @version $Id$
* @copyright (c) 2008 Icy Phoenix
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

define('IN_ICYPHOENIX', true);
if (!defined('IP_ROOT_PATH')) define('IP_ROOT_PATH', './');
if (!defined('PHP_EXT')) define('PHP_EXT', substr(strrchr(__FILE__, '.'), 1));
include(IP_ROOT_PATH . 'common.' . PHP_EXT);

// Start session management
$userdata = session_pagestart($user_ip);
init_userprefs($userdata);
// End session management

$template->set_filenames(array('body' => 'page_body.tpl'));

$template->assign_vars(array(
	'KEY' => 'Value',
));

$page_title = 'Page Title';
$meta_description = '';
$meta_keywords = '';
include(IP_ROOT_PATH . 'includes/page_header.' . PHP_EXT);

$template->pparse('body');

include(IP_ROOT_PATH . 'includes/page_tail.' . PHP_EXT);[/code]

;)


