Location: PHPKode > projects > Prsaar Social Networking Platform > PrsaarColour-0.7.alpha.6.3/index.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="./pr-inside/install/install-style.css" />
<title>Prsaar Colour &rsaquo; Get Connected</title>
</head>

<body>
<?php
	$InstallError = array();
	if(isset($_GET['check']))
		$Check = $_GET['check'];
	else
		$Check = null;
	if(isset($_GET['step']))
		$Step = $_GET['step'];
	else
		$Step = null;
		
	require_once("./pr-inside/install/checkfirst.php");	
	
	if($Step === 'install')
	{
		require_once('./pr-inside/install/database-structure.php');
		foreach($TableStructure as $Key => $KeyValue)
		{
			$Install = mysql_query($KeyValue);
			$Step = 'admin';
		}
	}
?>

	<h2> <a href="http://colour.prsaar.com/">Prsaar Colour</a> </h2>
	<p> Welcome to Prsaar Colour. Let's install Prsaar Colour in just 3 easy steps. </p>


<?php
	require("./pr-inside/install/step1.php");
	
	if($Step === 'admin_check')
	{
		require('./pr-inside/install/admincheck.php');
		if(isset($AdminError))
			$Step = 'admin';
		else
		{
			require_once('pr-config/config.php');
			require_once('pr-inside/database-connect.php');
			require_once('./pr-inside/install/database-fill.php');
			foreach($DBFill as $Key => $KeyValue)
				$DC->Result($KeyValue);
			$Step = 'finish';
		}
	}
	if($Step === 'admin')
	{
		require('./pr-inside/install/step2.php');
	}
	
	if($Step === 'finish')
	{
		require('./pr-inside/install/finish.php');
	}
?>

</body>
</html>
Return current item: Prsaar Social Networking Platform