include($_SERVER['DOCUMENT_ROOT'].'/properties/include/config/db_cfg.php'); if (isset($_GET['lang'])) $language=$_GET['lang']; else $language=substr($_SERVER["HTTP_ACCEPT_LANGUAGE"],0,2); if ($language=='') $language='en'; require_once($_SERVER['DOCUMENT_ROOT'].'/properties/include/language/'.$language.'/lang.inc.php'); $link = mysql_connect($db_server, $db_user, $db_password); mysql_select_db($db_database, $link) or die('Could not select database.'); ?>
$price=$lang['Price']; $baths=$lang['Baths']; $beds=$lang['Beds']; $beds=$lang['Beds']; $adv=$lang['AdvSearch']; ?>