Location: PHPKode > projects > PHP Simple FAQ > phpsimplefaq1.1beta/phpsimplefaq/index.php
<? 

// PHP Simple FAQ Uber page v1.0
include "config.inc.php"; 

?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<head>
	<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
	<title><? echo "$main_title"; ?></title>
	<link rel="stylesheet" type="text/css" href="main/style.css" />
</head>
<body>

<!-- Start Main Content -->
<center>
<!-- Start FAQ index -->	
				
<? 

if ((!$category) && (!$faq) && ($action != "search")) 

	{
		include "includes/faq_index.inc.php";
	} 

?>
			
<!-- End FAQ index -->

<!-- Start entire FAQ on a page -->

<? 

if (($faq) && ($action == "qa")) 

	{
		include "includes/faq_fullpage.inc.php";
	} 
	
?>

<!-- End entire FAQ on a page -->

<!-- Start Q & A -->

<? 

if (($category) && ($action == "qa")) 

	{
		include "includes/faq_qa.inc.php";		
	} 
	
?>

<!-- Start Answers -->

<?

if (($category) && ($action == "answers"))

	{
		include "includes/faq_answers.inc.php";			
	}

?>

<!-- End Answers -->

<!-- Start Search -->

<?

if ($action == "search")

	{
		include "includes/faq_search.inc.php";			
	}

?>

<!-- End Search -->							
</center>								
<!-- End main content -->
<br>
<? include "includes/footer.inc.php"; ?>


</body>
</html>
Return current item: PHP Simple FAQ