Location: PHPKode > projects > PHP SQL Server (MSSQL) Query Analyzer > phpqa/index.php
<?php
	include ('common.header.php');

	include ('common.topmenu.php');
	
	include ('db.vars.php');

	echo "<div id='content'>";

	if (!empty($db_hostname) && !empty($port) && !empty($db_name) && !empty($username) && !empty($password))
	{	
		include ('db.library.php');
		include ('common.leftmenu.php');
		include ('common.content.php');
	}
	else
	{
		echo "<div id='primaryContentContainer'><div id='primaryContent'>";
		
		echo "<p>Ooooops! Database isn't properly seted yet, please take a look on <a href='Configuration.php'>Configuration page</a> before use PHP Query Analyzer, fella.</p>";
		
		echo "</div></div>";		
	}
			
	echo "<div class='clear'></div>";
	
	//closing div id='content'
	echo "</div>";
	
	include ('common.footer.php');
	
	//closing div id=outer
	echo "</div>";
	
	echo "</body></html>";

?>
Return current item: PHP SQL Server (MSSQL) Query Analyzer