4
In the php file:
// Set Template
$xoopsOption['template_main'] = 'test_template.html';
// Get Vars from GET
$TestVAR1 = $_GET['TestVAR1'];
// Get Vars from POST
$TestVAR2 = $_POST['TestVAR2'];
// Create New Var
$TestVAR3 = 'TestVAR3';
// Assign Vars to Smarty Template
$xoopsTpl->assign('testvar1', $TestVAR1);
$xoopsTpl->assign('testvar2', $TestVAR2);
$xoopsTpl->assign('testvar3', $TestVAR3);
I hope this helps,
JMass