Used to view changes to listings. More...
Variables | |
$link = getdb() | |
$login = new user_login() | |
$admin_path = config_options('admin_path') | |
$admin_url = config_options('admin_url') | |
else | $current_level = '0' |
if ($current_level > config_options('log_level_view')&&$current_level > '0') | |
if (!isset($_GET['user'])) | |
$sql = "update_log group by user" | |
$result = mysql_query("$sql", $link) | |
while ($a_row=mysql_fetch_array($result)) |
If logging levels are set in common.php then certain levels of users will have their changes logged in the logging table. These changes are viewable here
while |
mysql_query("SELECT ".$table_prefix."homes.status, ".$table_prefix."type, ".$table_prefix."property_types.property_type, ".$table_prefix."statuses.shown, ".$table_prefix."statuses.id, count(*) AS num_type FROM ".$table_prefix."homes, ".$table_prefix."statuses, ".$table_prefix."property_types WHERE ".$table_prefix."homes.status = ".$table_prefix."statuses.id and ".$table_prefix."property_types.id = type and shown != 'n' GROUP BY ".$table_prefix."type;",$link)