include("config.php");
$hFile = "hit.txt"; // hits file
if (file_exists($hFile)) // make sure the file exists
{
$hfp = fopen($hFile, "r+"); // open the hit file; r+ parameter allows for reading and writing
$visitor = fread($hfp, 15); // read in the visitor #
$visitor1 = $visitor + 1;
// echo " ".$visitor1; // increment
rewind($hfp); // move file pointer to the beginning of the file
fputs($hfp, $visitor1, 14); // write in the new hit #
fclose($hfp); // close the file
}
else { // in case the hit file was erased
$hfp = fopen($hFile, "w"); // w parameter allows for writing
$visitor = 1; // set visitor number to 1
fputs($hfp, $visitor, 15); // write the visitor setting in
fclose($hfp); // close the file
}
?>
RRJ Estates | India Property investment, Gurgaon Property, NRI Property Investment in India, DLF, Subvention Scheme, Ludhiana property
include("includes/top2.php");?>
Our Track Record: 1.2 million sqft sold | 24.12% average annual returns | Clients in 4 countries & 24 cities
$s_rd=mysql_query("select project.* ,city.city_name as city, location.location_name as location , developer.name as developer from project left join city on city.id=project.city_id left join location on location.id=project.location_id left join developer on developer.id=project.dev_id where project.show_home='1' and project.status='1' and project.priority !='' and project.prj_img_big!='' order by project.priority");
while($s_rs=mysql_fetch_array($s_rd))
{
?>