$statusSql="select status_id as id from tospur_house th
left join(select status_type,status_id,status_name from ".Config::TOSPUR_STATUS_TABLE.") ts on th.status = ts.status_id where th.id=".$hid." and status_type=".$statusType;
$status=$wpdb->get_row($statusSql);
return$status;
}
publicstaticfunctionsearchRent($hid){
global$wpdb;
$rentSql="select rent as value from ".Config::TOSPUR_HOUSE_TABLE." where id = %d";