$statusSql="select status_id as id from tospur_house th
left join(select status_type,status_id,status_name from tospur_status) 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 tospur_house where id = %d";