Warning: mysql_connect(): Too many connections in /home/kretalan/public_html/functions/functions.php on line 74

Warning: mysql_select_db(): Access denied for user 'kretalan'@'localhost' (using password: NO) in /home/kretalan/public_html/functions/functions.php on line 75

Warning: mysql_select_db(): A link to the server could not be established in /home/kretalan/public_html/functions/functions.php on line 75

Warning: mysql_query(): Access denied for user 'kretalan'@'localhost' (using password: NO) in /home/kretalan/public_html/functions/functions.php on line 76

Warning: mysql_query(): A link to the server could not be established in /home/kretalan/public_html/functions/functions.php on line 76

Warning: mysql_query(): Access denied for user 'kretalan'@'localhost' (using password: NO) in /home/kretalan/public_html/functions/functions.php on line 80

Warning: mysql_query(): A link to the server could not be established in /home/kretalan/public_html/functions/functions.php on line 80

Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in /home/kretalan/public_html/functions/functions.php on line 177

Warning: mysql_query(): Access denied for user 'kretalan'@'localhost' (using password: NO) in /home/kretalan/public_html/functions/functions.php on line 80

Warning: mysql_query(): A link to the server could not be established in /home/kretalan/public_html/functions/functions.php on line 80

Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in /home/kretalan/public_html/functions/functions.php on line 221

Warning: mysql_query(): Access denied for user 'kretalan'@'localhost' (using password: NO) in /home/kretalan/public_html/functions/functions.php on line 94

Warning: mysql_query(): A link to the server could not be established in /home/kretalan/public_html/functions/functions.php on line 94
SELECT COUNT(*) FROM property_sites_index INNER JOIN properties ON property_sites_index.prop_id=properties.id WHERE site_id=7 AND properties.scope_id=1 AND (properties.type_id=31 OR properties.main_type_id=31)