<?php 
$page_title='...:: ST Marks ::...';
$ru = "http://".$_SERVER['HTTP_HOST']."/stmarksflats/";

if($ru == "http://localhost/stmarksflats/")
{    

    $dirpath="localhsot/vertigo_venture/";
	$hostName = "localhost";
	$userName = "root";		        // Database User Login
	$password = "";		// Database User Password
	$databaseName ="stmarksflats";		// Database name
}
elseif($ru == "http://192.168.1.3/stmarksflats/")
{    

    $dirpath="localhsot/vertigo_venture/";
	$hostName = "127.0.0.1";
	$userName = "root";		        // Database User Login
	$password = "";		// Database User Password
	$databaseName ="stmarksflats";		// Database name
}
elseif($ru == "http://192.168.1.4/stmarksflats/")
{    

    $dirpath="localhsot/vertigo_venture/";
	$hostName = "localhost";
	$userName = "root";		        // Database User Login
	$password = "";		// Database User Password
	$databaseName ="stmarksflats";		// Database name
}
else
{
	//For Online server
	//For Online server
	$hostName = "cust-mysql-123-02";
	$userName = "ustm_556728_0001";		        // Database User Login
	$password = "wB!0/x9T";		// Database User Password
	$databaseName ="stmarksflatscom_556728_db1";		
}



  

	//$hostName = "ftp.kardashivideos.com";
	//$userName = "kardashi_danny";		        // Database User Login
	//$password = "020202b";		// Database User Password
	//$databaseName ="kardashi_vertigo";		// Database name
	
	
	//$hostName = "localhost";
	//$userName = "root";		        // Database User Login
	//$password = "";		// Database User Password
	//$databaseName ="v_venture";		// Database name
	
	$link = mysql_pconnect($hostName, $userName, $password) or die(mysql_error());
	mysql_select_db($databaseName, $link) or die(mysql_error());
	
	
	$titlequery = "SELECT * FROM fbooklink where id=2";
				$titlesql = mysql_query($titlequery)or die(mysql_error());
				$titleresults=mysql_fetch_array($titlesql);
				
				$page_title=$titleresults['fbook_url'];
?>
