## v5.11 -> mar. 07, 2005
session_start();
include_once ("config/config.php");
include ("themes/".$setts['default_theme']."/header.php");
header5("$lang[faq]");
$getFaqCats=mysql_query("SELECT * FROM probid_faq_categories WHERE lang='".$_SESSION['sess_lang']."' ORDER BY theorder ASC");?>
while ($faqCats=mysql_fetch_array($getFaqCats)) {
$getQuestions=mysql_query("SELECT * FROM probid_faq_questions WHERE sectionid='".$faqCats['id']."' ORDER BY theorder ASC");
$nbQuestions=mysql_num_rows($getQuestions);
if ($nbQuestions>0) { ?>
|
|
}
while ($faqQuestions=mysql_fetch_array($getQuestions)) { ?>
|
|
|
echo addSpecialChars($faqQuestions['content']);?> |
}
} ?>
include ("themes/".$setts['default_theme']."/footer.php"); ?>