<?php 


$page_title='...:: ST Marks - Admin ::...';

$ru = "http://".$_SERVER['HTTP_HOST']."/stmarksflats/admin/";

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

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

    $dirpath="localhsot/stmarksflats/admin/";
	$hostName = "127.0.0.1";
	$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());
?>