|
Chris PeBenito |
696b41 |
|
|
Chris PeBenito |
696b41 |
# the exact path is defined.
|
|
Chris PeBenito |
696b41 |
$fixpath = dirname(__FILE__);
|
|
Chris PeBenito |
696b41 |
|
|
Chris PeBenito |
696b41 |
# changes this value according to your uploaded smarty distribution.
|
|
Chris PeBenito |
696b41 |
# don't forget to add trailing back slash
|
|
Chris PeBenito |
696b41 |
# change 'username' to your username on web hosting account
|
|
Chris PeBenito |
696b41 |
define ("SMARTY_DIR", "$fixpath/smarty/");
|
|
Chris PeBenito |
696b41 |
|
|
Chris PeBenito |
696b41 |
require_once (SMARTY_DIR."Smarty.class.php");
|
|
Chris PeBenito |
696b41 |
$smarty = new Smarty;
|
|
Chris PeBenito |
9b57ae |
#$smarty->compile_dir = "/home/kmacmillan/public_html/t_c";
|
|
Chris PeBenito |
7abb9e |
$smarty->compile_dir = "/tmp/persistent/serefpolicy";
|
|
Chris PeBenito |
696b41 |
$smarty->template_dir = "$fixpath/html";
|
|
Chris PeBenito |
696b41 |
|
|
Chris PeBenito |
696b41 |
$smarty->assign("border", "0");
|
|
Chris PeBenito |
696b41 |
|
|
Chris PeBenito |
696b41 |
$menu = array (
|
|
Chris PeBenito |
696b41 |
array("name" => "Home", "url" => "index.php?page=home"),
|
|
Chris PeBenito |
696b41 |
array("name" => "Modules", "url" => "index.php?page=modules"),
|
|
Chris PeBenito |
696b41 |
array("name" => "IPC", "url" => "index.php?page=ipc"),
|
|
Chris PeBenito |
696b41 |
array("name" => "Tutorial", "url" => "index.php?page=howto")
|
|
Chris PeBenito |
696b41 |
);
|
|
Chris PeBenito |
696b41 |
|
|
Karl MacMillan |
a585f3 |
|
|
Chris PeBenito |
696b41 |
$smarty->assign("menuitems", $menu);
|
|
Chris PeBenito |
696b41 |
|
|
Chris PeBenito |
696b41 |
|
|
Chris PeBenito |
696b41 |
|
|
Chris PeBenito |
696b41 |
|
|
Chris PeBenito |
696b41 |
?>
|