'.$element[0].'';
$faqContent .= ''.$lang_faq_php['question'].''.$element[0].' |
'.$lang_faq_php['answer'].''.$element[1].'
|
';
}
}
else {
$anchorName = createAnchorName($element);
$faqHeading .= '';
$faqContent .= ''.$element.' |
';
}
}
$faqHeading .= '';
//print $faqHeading;
//print '
';
//print $faqContent;
pageheader($lang_faq_php['faq']);
print ''.$lang_faq_php['faq'].'
';
starttable('100%',$lang_faq_php['toc']);
print '';
print '';
print $faqHeading;
print ' | ';
print '
';
endtable();
print '
';
starttable('100%');
print $faqContent;
endtable();
print '
';
pagefooter();
ob_end_flush();
function createAnchorName($anchor)
{
$anchor = trim(str_replace(' ','_',str_replace('?','',$anchor)));
return $anchor;
}
?>