require('../private_html/lib/template.php');
include('../private_html/lib/db.php');
function BuildFaqRow($catagore,$q,$a,$link) {
return kopje($q) .
"
| "
. str_replace("\n"," ",$a) . " |
|
|
";
}
$h = '';
$result = mysql_query("select * from helpdesk",$ch);
while ($row = mysql_fetch_assoc($result)) {
$h .= BuildFaqRow($row['groep'],$row['vraag'],$row['antwoord'],$row['link']);
}
$h .= '
';
$template = build_template('een_kolom','','Helpdesk','','');
$template = filltemplate('content part 1','Hieronder hebben wij de meest voorkomende vragen neergezet. Zit uw vraag er niet bij of is het antwoord niet toereikend dan kunen altijd contact met ons opnemen.');
$template = filltemplate('content part 2',$h);
print $template;
?>