Property in India, Residential / Commercial, Sale, Rent & Lease - Chennai, Bengaluru, Mumbai, Delhi, Kolkatta
No Property to display..
Open-Realty® v2.5
Open-Realty® is a professional, open-source, web-based real estate listing management system written in PHP that is provided FREE by Transparent Technologies, Inc. Designed to be flexible, powerful, easy to install and maintain, Open-Realty® has powered thousands of real estate web sites worldwide. Open-Realty® is a mature application that is actively developed, and has been community supported since 2003.
Features:
All dynamically generated site-visitor content validates to XHTML 1.0 strict and CSS 2.0 standards.
Graphical site administration interface.
Built in WYSIWYG page editor for creating and modifying the content of key pages, including the one presently being viewed.
Easy to use installer reduces installation time.
Keeps property listings updated -- no special skills required to add, delete, or modify listings.
Built-in photo management -- upload photos via a web browser. If photos are not uploaded for a property listing, a default "photo not available" image will be automatically displayed.
Automatically creates thumbnails -- smaller versions of your photos are automatically created using the industry standard GD Graphics Library.
Optional "Search Engine Optimized" (SEO) page links, and optimization features.
Flexible database abstraction -- compatible with mySQL, postgres, MS SQL, and Oracle via. the ADODB lite database library.
Secure -- no one but the site Administrator or delegated Agents can modify or add listings.
Showcase specific properties -- built-in featured listing management allows custom placement and arrangement of special properties.
Flexible search -- Browse properties according to a definable criteria.
Configurable search forms and fields -- All search forms and fields included in Open-Realty® are completely definable to meet any needs.
Template system -- Designers can produce a sophisticated functional site template without any knowledge of PHP.
Integrated add-on system framework for application developers allows for extending or altering Open-Realty®'s capabilities without altering its source code, making upgrades to newer versions a snap.
Open-Realty® is written entirely in PHP, and utilizes a standards compliant XHTML template system, designing a new template from scratch or incorporating the look of an existing web site is greatly simplified.
/**
* AutomaticBackLinks.com - PHP linking code
* Copy and paste this code in your php document where you want your links to display
* Make sure that this code is inside PHP tags
*/
/**
* Do not change anything below
* Do not change anything below
* Do not change anything below
* Do not change anything below
* Do not change anything below
*/
//Create cache folder if it does not exist
$cacheFolder = abGetCacheFolder($abCacheFolderName, $debug);
if ($cacheFolder) {
//Current URL
$page = abGetPageUrl($debug);
if (abIsValidUrl($page, $debug)) {
$cacheFileName = $cacheFolder."/".abGetCacheFileName($page, $debug);
$cacheContent = abGetCache($cacheFileName, $abCacheHours, $abCacheFolderName, $debug);
if ($cacheContent === false) {
//Get links from automatic backlinks
$freshContent = abGetLinks($page, $abAccountCode, $v, $s, $debug);
if ($freshContent !== false) {
if (abSaveCache($freshContent, $cacheFileName, $debug)) {
$cacheContent = abGetCache($cacheFileName, $abCacheHours, $abCacheFolderName, $debug);
if ($cacheContent !== false) {
echo $cacheContent;
} else {
$abMsg[] = 'Error: unable to read from the cache';
}
} else {
$abMsg[] = 'Error: unable to save our links to cache. Please make sure that the folder '.$abCacheFolderName.' located in the folder '.$_SERVER['DOCUMENT_ROOT'].' and has CHMOD 0777';
}
} else {
$abMsg[] = 'Error: unable to get links from server. Please make sure that your site supports either file_get_contents() or the cURL library.';
}
} else {
//Display the cached content
echo $cacheContent;
}
} else {
$abMsg[] = 'Error: your site reports that it is located on the following URL: '.$page.' - This is not a valid URL and we can not display links on this page. This is probably due to an incorrect setting of the $_SERVER variable.';
}
} else {
$abMsg[] = 'Error: Unable to create or read from your link cache folder. Please try to create a folder by the name "'.$abCacheFolderName.'" directly in the root of your site and CHMOD the folder to 0777';
}
foreach ($abMsg as $error) {
echo $error." ";
}
/**
* Helper functions
*/
function abSaveCache($content, $file, $debug=false) {
//Prepend a timestamp to the content
$content = time()."|".$content;
if (is_dir($cacheFolder)) {
if ($dh = opendir($cacheFolder)) {
while (($file = readdir($dh)) !== false) {
if (strpos($file, ".cache")) {
$modified = filemtime($cacheFolder."/".$file);
$timeCutOff = time()-(60*60*$cacheHours);
if ($modified < $timeCutOff) {
@unlink($cacheFolder."/".$file);
}
}
}
closedir($dh);
}
}
}
//Returns the full path to the cache folder and also creates it if it does not work
function abGetCacheFolder($cacheFolderName, $debug=false) {
if (isset($_SERVER['DOCUMENT_ROOT'])) {
$docRoot = rtrim($_SERVER['DOCUMENT_ROOT'],"/"); //Remove any trailing slashes
} else if (isset($_SERVER['PATH_TRANSLATED'])) {
$docRoot = rtrim(substr($_SERVER['PATH_TRANSLATED'], 0, 0 - strlen($_SERVER['PHP_SELF'])), ');
$docRoot = str_replace(', '/', $docRoot);
} else {
echo ($debug) ? "Error: Could not construct cache path" : "";
}
$cacheFolder = $docRoot."/".$cacheFolderName;
echo ($debug) ? "Cache folder is: ".$cacheFolder : "";
if (!file_exists($cacheFolder)) {
echo ($debug) ? "Cache folder does not exist: ".$cacheFolder : "";
if (!@mkdir($cacheFolder,0777)) {
echo ($debug) ? "Error - could not create cache folder: ".$cacheFolder : "";
return false;
} else {
echo ($debug) ? "Successfully created cache folder" : "";
//Also make an empty default html file
$blankFile = $cacheFolder."/index.html";
if (!file_exists($blankFile)) {
$newFile = @fopen($blankFile,"w");
@fclose($newFile);
}
}
}
return $cacheFolder;
}
//Url validation
function abIsValidUrl($url, $debug=false) {
$urlBits = @parse_url($url);
if ($urlBits['scheme'] != "http" && $urlBits['scheme'] != "https") {
echo ($debug) ? "Error! URL does not start with http: ".$url : "";
return false;
} else if (strlen($urlBits['host']) < 4 || strpos($urlBits['host'], ".") === false) {
echo ($debug) ? "Error! URL is incorrect: ".$url : "";
return false;
}
return true;
}
//Get the name of the cache file name
function abGetCacheFileName($url, $debug=false) {
$cacheFileName = md5($url).".cache";
echo ($debug) ? "Cache file name for URL: ".$url." is ".$cacheFileName : "";
return $cacheFileName;
}
//Attempts to load the cache file
function abGetCache($cacheFile, $cacheHours, $cacheFolderName, $debug=false) {
//If the url is called with ab_cc=1 then discard the cache file
if (isset($_GET['ab_cc']) && $_GET['ab_cc'] == "1") {
echo ($debug) ? "Clear cache invoked!" : "";
abRemoveCacheFile($cacheFile);
unset($_GET['ab_cc']);
return false;
}
if (!file_exists($cacheFile)) {
echo ($debug) ? "Error! Cache file does not exist! ".$cacheFile : "";
return false;
}
//Separate the time out
$arrCache = explode("|", $cache_contents);
$cacheTime = $arrCache[0];
$timeCutOff = time()-(60*60*$cacheHours);
//Measure if the cache is too old
if ($cacheTime > $timeCutOff) {
//Return the cache but with the timestamp removed
return str_replace($cacheTime."|", "", $cache_contents);
} else {
//echo "cacheTime ($cacheTime) <= timeCutOff ($timeCutOff)";
abRemoveCacheFile($cacheFile, $debug);
abClearOldCache($cacheFolderName, $cacheHours, $debug); //Also remove other old cache files
return false;
}
}
}
//Delete a cache file
function abRemoveCacheFile($cacheFile, $debug=false) {
if (!@unlink($cacheFile)) {
echo ($debug) ? "Error: Could not remove cache file: ".$cacheFile : "";
return false;
} else {
echo ($debug) ? "Successfully removed the cache file: ".$cacheFile : "";
return true;
}
}
//Loads links from the automaticbacklinks web site
function abGetLinks($page, $accountCode, $v, $s, $debug=false) {
if ($_SERVER["REDIRECT_URL"]) {
//Redirect
if (isset($_SERVER['REDIRECT_SCRIPT_URI'])) {
//Use URI - it is complete
$page = $_SERVER['REDIRECT_SCRIPT_URI'];
} else {
//Use file and query
$file = $_SERVER["REDIRECT_URL"];
if (isset($_SERVER['REDIRECT_QUERY_STRING'])) {
$query = "?".$_SERVER['REDIRECT_QUERY_STRING'];
}
}
} else {
//No redirect
if (isset($_SERVER['REQUEST_URI'])) {
//Use URI
if (substr($_SERVER['REQUEST_URI'],0,4) == "http") {
//Request URI has host in it
$page = $_SERVER['REQUEST_URI'];
} else {
//Request uri lacks host
$page = $protocol.$host.$_SERVER['REQUEST_URI'];
}
} else if (isset($_SERVER['SCRIPT_URI'])) {
//Use URI - it is complete
$page = $_SERVER['SCRIPT_URI'];
} else {
$file = $_SERVER['SCRIPT_NAME'];
if (isset($_SERVER['QUERY_STRING'])) {
$query = "?".$_SERVER['QUERY_STRING'];
}
}
}
if (!$page) {
$page = $protocol.$host.$file.$query;
}