diff --git a/ui/core.php b/ui/core.php index 107efb1..96c669d 100644 --- a/ui/core.php +++ b/ui/core.php @@ -3235,6 +3235,7 @@ public function estCommunitySpacesForm($subd_idx,$subd_city){ $dta = estGetSubDivDta($subd_idx,$subd_city); $txt = ' +
'.$tp->toHTML($dta['subd_description'],true).'
@@ -3626,13 +3627,16 @@ public function estOAFormTR($TYPE,$FLD,$DTA,$options=null,$OPTARR=array()){ '; break; diff --git a/ui/listing.php b/ui/listing.php index cd0dc9a..15ce7ea 100644 --- a/ui/listing.php +++ b/ui/listing.php @@ -1149,6 +1149,26 @@ class estate_listing_ui extends e_admin_ui{ 'help' => EST_PREF_DEFCURRENCYHLP, 'readParms' => array (), 'writeParms' => array('size'=>'small','optArray'=>EST_CURSYMB), + ), + 'dimu1' => array ( + 'tab'=>0, + 'title' => LAN_DEFAULT.' '.EST_PREF_DIMU1, + 'type' => 'dropdown', + 'data' => 'str', + 'width' => 'auto', + 'help' => EST_PREF_DIMU1HLP, + 'readParms' => array (), + 'writeParms' => array('size'=>'large','optArray'=>array(EST_PREF_DIMU1A,EST_PREF_DIMU1B)), + ), + 'dimu2' => array ( + 'tab'=>0, + 'title' => LAN_DEFAULT.' '.EST_PREF_DIMU2, + 'type' => 'dropdown', + 'data' => 'str', + 'width' => 'auto', + 'help' => EST_PREF_DIMU2HLP, + 'readParms' => array (), + 'writeParms' => array('size'=>'small','optArray'=>array(EST_GEN_ACRES,EST_GEN_SQRMI,EST_SQFOOTX,EST_GEN_SQRKM,EST_SQMTRX)), ), 'addnewuser' => array ( @@ -1388,6 +1408,15 @@ class estate_listing_ui extends e_admin_ui{ 'width' => 'auto', 'writeParms' => array('size'=>'xlarge','optArray'=>array(0=>EST_PREF_MAPAGENCY_NO,1=>EST_PREF_MAPAGENCY_YES)), ), + 'map_include_sold'=>array( + 'tab'=>5, + 'title'=>EST_PREF_MAPINCLPROP, + 'help'=>EST_PREF_MAPINCLPROPHLP, + 'type'=>'dropdown', + 'data'=>'str', + 'width' => 'auto', + 'writeParms' => array('size'=>'xlarge','optArray'=>array(0=>EST_PREF_MAPINCLPROPOPT0,1=>EST_PREF_MAPINCLPROPOPT1,2=>EST_PREF_MAPINCLPROPOPT2)), + ), 'map_jssrc'=>array( 'tab'=>5, @@ -1576,6 +1605,7 @@ public function init() { $this->fields['prop_country']['writeParms']['optArray'] = $frm->getCountry(); $this->fields['prop_country']['writeParms']['default'] = 'blank'; + $this->prefs['country']['writeParms']['optArray'] = $frm->getCountry(); $data2 = array(); @@ -2072,7 +2102,10 @@ public function prop_appr($curVal,$mode){ if(intval($dta['prop_agent']) > 0){return EST_GEN_NOT.' '.EST_GEN_REQUIRED.'';} else if(EST_USERPERM >= intval($EST_PREF['public_mod'])){ return ''; + + + + '; } else{ if(EST_USERPERM > 0 || check_class($EST_PREF['public_apr'])){$curVal = 1;} @@ -2509,17 +2542,19 @@ public function prop_complxuc($curVal,$mode){ public function prop_comminuty($curVal,$mode){ switch($mode){ case 'write': + return ' -

- '.EST_GEN_SPACES.' -

-
-
-
-

- '.EST_GEN_SPACES.' -

-
'; +

+ '.EST_GEN_SPACES.' +

+
+
+
+

+ '.EST_GEN_SPACES.' +

+
+
'; break; case 'read': case 'filter': diff --git a/ui/msg.php b/ui/msg.php index 774c38b..f636970 100644 --- a/ui/msg.php +++ b/ui/msg.php @@ -668,7 +668,7 @@ function est_msg_form($DTA=null){

- '.EST_GEN_SPACES.' + '.EST_GEN_SPACES.'

+
+

- '.EST_GEN_SPACES.' + '.EST_GEN_SPACES.'

+
'.$DTA['city_description'].'
- '; foreach($EST_MSG_MODES as $k=>$v){ $ret .= ''; //'.($k == $msg_mode ? 'selected="selected"' : '').' diff --git a/ui/oa.php b/ui/oa.php index 26fefc9..4498c82 100644 --- a/ui/oa.php +++ b/ui/oa.php @@ -505,6 +505,9 @@ $OATXT .= $frm->tabs($TBS, $TBSOPTS); $OATXT .= ' + + +
diff --git a/ui/tabstruct.php b/ui/tabstruct.php index 0c54c0c..bb48f93 100644 --- a/ui/tabstruct.php +++ b/ui/tabstruct.php @@ -44,15 +44,37 @@ function estTablStruct(){ 'agent_name'=>array('str'=>'txt','labl'=>EST_GEN_AGENT.' '.EST_GEN_NAME,'cls'=>'xlarge','chks'=>array('noblank')), 'agent_txt1'=>array('type'=>'textarea','str'=>'txt','labl'=>'no-lab','cls'=>'xxlarge WD100','plch'=>EST_GEN_ADDITIONAL,'rows'=>3), ), - - 'estate_user'=>array( - 'user_id'=>array('str'=>'int'), - 'user_image'=>array('type'=>'hidden','str'=>'text'), - 'user_email'=>array('type'=>'hidden','str'=>'text'), - 'user_imageurl'=>array('type'=>'hidden','str'=>'text'), - 'user_loginname'=>array('type'=>'hidden','str'=>'text'), - 'user_name'=>array('type'=>'hidden','str'=>'text'), - 'user_signature'=>array('type'=>'hidden','str'=>'text'), + + 'estate_city'=>array( + 'city_idx'=>array('type'=>'idx'), + 'city_name'=>array('type'=>'text','cls'=>'xlarge','chks'=>array('noblank')), + 'city_county'=>array( + 'type'=>'eselect', + 'str'=>'int', + 'cls'=>'xlarge', + 'src'=>array('tbl'=>'estate_county','idx'=>'cnty_idx','map'=>array('cnty_idx','cnty_name')) + ), + 'city_zip'=>array( + 'type'=>'commalist', + 'cls'=>'xlarge', + 'labl'=>EST_PROP_POSTCODELIST, + 'src'=>array('tbl'=>'estate_city','idx'=>'city_idx','map'=>array('cnty_idx','city_zip',',')), + 'plch'=>'12345,65432,98754,etc' + ), + 'city_timezone'=>array( + 'type'=>'select', + 'cls'=>'xlarge', + 'labl'=>EST_PROP_TIMEZONE, + 'src'=>array('tbl'=>'estate_timezone','idx'=>'tz_idx','map'=>array('tz_idx','tz_name')), + ), + 'city_url'=>array('type'=>'text','cls'=>'xlarge','labl'=>LAN_WEBSITE,'plch'=>'www.somesite.com'), + 'city_description'=>array( + 'type'=>'textarea', + 'cls'=>'xxlarge WD100', + 'cspan'=>2, + 'labl'=>'no-lab', + 'plch'=>EST_GEN_ADDITIONAL.' '.EST_GEN_INFO, + 'rows'=>16), ), 'estate_contacts'=>array( @@ -64,6 +86,18 @@ function estTablStruct(){ 'contact_data'=>array('str'=>'txt','labl'=>'eNone','cls'=>'xlarge'), ), + 'estate_county'=>array( + 'cnty_idx'=>array('type'=>'idx'), + 'cnty_name'=>array('type'=>'text','cls'=>'xlarge','chks'=>array('noblank')), + 'cnty_state'=>array( + 'type'=>'eselect', + 'str'=>'int', + 'cls'=>'xlarge', + 'src'=>array('tbl'=>'estate_states','idx'=>'state_idx','perm'=>array(1,2,3),'map'=>array('state_idx','state_name')) + ), + 'cnty_url'=>array('type'=>'text','cls'=>'xlarge','labl'=>LAN_WEBSITE,'plch'=>'www.somesite.com') + ), + 'estate_events'=>array( 'event_idx'=>array('type'=>'idx','str'=>'int'), @@ -91,6 +125,120 @@ function estTablStruct(){ 'event_text'=>array('type'=>'textarea','str'=>'txt','labl'=>EST_EVNT_TEXTLAB,'cls'=>'xxlarge WD100','plch'=>EST_EVNT_DETAILS,'rows'=>4), ), + 'estate_featcats'=>array( + 'featcat_idx'=>array('type'=>'idx'), + 'featcat_zone'=>array( + 'type'=>'select', + 'str'=>'int', + 'cls'=>'xlarge oneBtn', + 'labl'=>EST_GEN_ZONING, + 'src'=>array('tbl'=>'estate_zoning','idx'=>'zoning_idx','map'=>array('zoning_idx','zoning_name'),'zero'=>'- '.EST_GEN_ALL.' '.EST_GEN_CATEGORIES.' -'), + ), + 'featcat_lev'=>array('type'=>'hidden','str'=>'int','chks'=>array('estNoClear')), + 'featcat_name'=>array('type'=>'text','cls'=>'xlarge','plch'=>EST_FEAT_NAMEPLCH,'chks'=>array('noblank')) + ), + + 'estate_featurelist'=>array( + 'featurelist_idx'=>array('type'=>'idx'), + 'featurelist_propidx'=>array('type'=>'hidden','str'=>'int'), + 'featurelist_lev'=>array('type'=>'hidden','str'=>'int'), //src table name (estate_sects[0][0] = 'estate_spaces') + 'featurelist_levidx'=>array('type'=>'hidden','str'=>'int'), //idx of src table (estate_sects[0][1] = 'space_idx') + 'featurelist_key'=>array('type'=>'hidden','str'=>'int'), + 'featurelist_dta'=>array( + 'type'=>'commalist', + 'cls'=>'xlarge', + 'labl'=>EST_GEN_OPTLIST, + 'max'=>75, + 'src'=>array('tbl'=>'estate_featurelist','idx'=>'featurelist_idx','map'=>array('featurelist_idx','featurelist_dta',',')), + 'plch'=>EST_PROP_FEATOPTLISTPLC, + ), + ), + + 'estate_features'=>array( + 'feature_idx'=>array('type'=>'idx'), + 'feature_ele'=>array( + 'type'=>'selfselect', + 'str'=>'int', + 'labl'=>EST_OPTIONS, + 'cls'=>'xlarge', + 'src'=>array( + 'tbl'=>'estate_features', + 'idx'=>'feature_idx', + 'map'=>null, + 'hides'=>array('feature_opts','tr'), + 'opts'=>array(LAN_NO.' '.EST_OPTIONS,EST_GEN_HAS.' '.EST_OPTIONS) + ), + ), + 'feature_cat'=>array( + 'type'=>'eselect', + 'str'=>'int', + 'cls'=>'xlarge oneBtn', + 'labl'=>LAN_CATEGORY, + 'src'=>array('tbl'=>'estate_featcats','idx'=>'featcat_idx','map'=>array('featcat_idx','featcat_name'),'grep'=>array('featcat_lev')), + ), + 'feature_name'=>array('type'=>'text','cls'=>'xlarge','chks'=>array('noblank'),'plch'=>EST_GEN_FEATURE.' '.LAN_NAME), + 'feature_opts'=>array( + 'type'=>'commalist', + 'cls'=>'xlarge', + 'labl'=>EST_GEN_OPTLIST, + 'src'=>array('tbl'=>'estate_features','idx'=>'feature_idx','map'=>array('feature_idx','feature_opts',',')), + 'plch'=>EST_PROP_FEATOPTLISTPLC, + 'hint'=>EST_PROP_FEATOPTLISTPLC, + 'inf'=>EST_PROP_FEATOPTLISTPLC, + ), + ), + + 'estate_group'=>array( + 'group_idx'=>array('type'=>'idx'), + 'group_zone'=>array( + 'type'=>'select', + 'str'=>'int', + 'cls'=>'xlarge', + 'labl'=>EST_GEN_ZONING, + 'src'=>array('tbl'=>'estate_zoning','idx'=>'zoning_idx','map'=>array('zoning_idx','zoning_name')), + ), + 'group_lev'=>array('type'=>'hidden','str'=>'int','chks'=>array('estNoClear')), + 'group_name'=>array('type'=>'text','cls'=>'xlarge','plch'=>EST_GRP_GROUPPLCH,'chks'=>array('noblank')) + ), + + 'estate_grouplist'=>array( + 'grouplist_idx'=>array('type'=>'idx'), + 'grouplist_propidx'=>array('type'=>'hidden','str'=>'int','par'=>array('estate_properties','prop_idx')), + 'grouplist_groupidx'=>array( + 'type'=>'eselect', + 'str'=>'int', + 'cls'=>'xlarge', + 'src'=>array('tbl'=>'estate_group','idx'=>'group_idx','map'=>array('group_idx','group_name')), + ), + 'grouplist_ord'=>array('type'=>'hidden','str'=>'int') + ), + + 'estate_listypes'=>array( + 'listype_idx'=>array('type'=>'idx'), + 'listype_zone'=>array( + 'type'=>'select', + 'str'=>'int', + 'cls'=>'xlarge', + 'labl'=>EST_PROP_LISTZONE, + 'src'=>array('tbl'=>'estate_zoning','idx'=>'zoning_idx','map'=>array('zoning_idx','zoning_name')) + ), + 'listype_name'=>array('type'=>'text','cls'=>'xlarge','plch'=>EST_PROP_TYPEPLCH,'labl'=>EST_PROP_TYPE,'chks'=>array('noblank')) + ), + + 'estate_media'=>array( + 'media_idx'=>array('type'=>'idx'), + 'media_propidx'=>array('type'=>'hidden','str'=>'int'), + 'media_lev'=>array('type'=>'hidden','str'=>'int'), + 'media_levidx'=>array('type'=>'hidden','str'=>'int'), + 'media_levord'=>array('type'=>'hidden','str'=>'int'), + 'media_galord'=>array('type'=>'hidden','str'=>'int'), + 'media_asp'=>array('type'=>'hidden','str'=>'txt'), + 'media_type'=>array('type'=>'hidden','str'=>'int'), + 'media_thm'=>array('type'=>'hidden','str'=>'txt'), + 'media_full'=>array('type'=>'hidden','str'=>'txt'), + 'media_name'=>array('type'=>'text','cls'=>'xlarge','chks'=>array('noblank'),'labl'=>'Caption') + ), + 'estate_properties'=>array( 'prop_idx'=>array('type'=>'idx','str'=>'int'), 'prop_status'=>array('hlpm'=>'estHlp-list0'), @@ -240,113 +388,6 @@ function estTablStruct(){ 'space_description'=>array('type'=>'textarea','cls'=>'xxlarge'), ), - 'estate_media'=>array( - 'media_idx'=>array('type'=>'idx'), - 'media_propidx'=>array('type'=>'hidden','str'=>'int'), - 'media_lev'=>array('type'=>'hidden','str'=>'int'), - 'media_levidx'=>array('type'=>'hidden','str'=>'int'), - 'media_levord'=>array('type'=>'hidden','str'=>'int'), - 'media_galord'=>array('type'=>'hidden','str'=>'int'), - 'media_asp'=>array('type'=>'hidden','str'=>'txt'), - 'media_type'=>array('type'=>'hidden','str'=>'int'), - 'media_thm'=>array('type'=>'hidden','str'=>'txt'), - 'media_full'=>array('type'=>'hidden','str'=>'txt'), - 'media_name'=>array('type'=>'text','cls'=>'xlarge','chks'=>array('noblank'),'labl'=>'Caption') - ), - - 'estate_group'=>array( - 'group_idx'=>array('type'=>'idx'), - 'group_zone'=>array( - 'type'=>'select', - 'str'=>'int', - 'cls'=>'xlarge', - 'labl'=>EST_GEN_ZONING, - 'src'=>array('tbl'=>'estate_zoning','idx'=>'zoning_idx','map'=>array('zoning_idx','zoning_name')), - ), - 'group_lev'=>array('type'=>'hidden','str'=>'int','chks'=>array('estNoClear')), - 'group_name'=>array('type'=>'text','cls'=>'xlarge','plch'=>EST_GRP_GROUPPLCH,'chks'=>array('noblank')) - ), - - 'estate_grouplist'=>array( - 'grouplist_idx'=>array('type'=>'idx'), - 'grouplist_propidx'=>array('type'=>'hidden','str'=>'int','par'=>array('estate_properties','prop_idx')), - 'grouplist_groupidx'=>array( - 'type'=>'eselect', - 'str'=>'int', - 'cls'=>'xlarge', - 'src'=>array('tbl'=>'estate_group','idx'=>'group_idx','map'=>array('group_idx','group_name')), - ), - 'grouplist_ord'=>array('type'=>'hidden','str'=>'int') - ), - - 'estate_featcats'=>array( - 'featcat_idx'=>array('type'=>'idx'), - 'featcat_zone'=>array( - 'type'=>'select', - 'str'=>'int', - 'cls'=>'xlarge oneBtn', - 'labl'=>EST_GEN_ZONING, - 'src'=>array('tbl'=>'estate_zoning','idx'=>'zoning_idx','map'=>array('zoning_idx','zoning_name'),'zero'=>'- '.EST_GEN_ALL.' '.EST_GEN_CATEGORIES.' -'), - ), - 'featcat_lev'=>array('type'=>'hidden','str'=>'int','chks'=>array('estNoClear')), - 'featcat_name'=>array('type'=>'text','cls'=>'xlarge','plch'=>EST_FEAT_NAMEPLCH,'chks'=>array('noblank')) - ), - - 'estate_features'=>array( - 'feature_idx'=>array('type'=>'idx'), - 'feature_ele'=>array( - 'type'=>'selfselect', - 'str'=>'int', - 'labl'=>EST_OPTIONS, - 'cls'=>'xlarge', - 'src'=>array( - 'tbl'=>'estate_features', - 'idx'=>'feature_idx', - 'map'=>null, - 'hides'=>array('feature_opts','tr'), - 'opts'=>array(LAN_NO.' '.EST_OPTIONS,EST_GEN_HAS.' '.EST_OPTIONS) - ), - ), - 'feature_cat'=>array( - 'type'=>'eselect', - 'str'=>'int', - 'cls'=>'xlarge oneBtn', - 'labl'=>LAN_CATEGORY, - 'src'=>array('tbl'=>'estate_featcats','idx'=>'featcat_idx','map'=>array('featcat_idx','featcat_name'),'grep'=>array('featcat_lev')), - ), - 'feature_name'=>array('type'=>'text','cls'=>'xlarge','chks'=>array('noblank'),'plch'=>EST_GEN_FEATURE.' '.LAN_NAME), - 'feature_opts'=>array( - 'type'=>'commalist', - 'cls'=>'xlarge', - 'labl'=>EST_GEN_OPTLIST, - 'src'=>array('tbl'=>'estate_features','idx'=>'feature_idx','map'=>array('feature_idx','feature_opts',',')), - 'plch'=>EST_PROP_FEATOPTLISTPLC, - 'hint'=>EST_PROP_FEATOPTLISTPLC, - 'inf'=>EST_PROP_FEATOPTLISTPLC, - ), - ), - - 'estate_featurelist'=>array( - 'featurelist_idx'=>array('type'=>'idx'), - 'featurelist_propidx'=>array('type'=>'hidden','str'=>'int'), - 'featurelist_lev'=>array('type'=>'hidden','str'=>'int'), //src table name (estate_sects[0][0] = 'estate_spaces') - 'featurelist_levidx'=>array('type'=>'hidden','str'=>'int'), //idx of src table (estate_sects[0][1] = 'space_idx') - 'featurelist_key'=>array('type'=>'hidden','str'=>'int'), - 'featurelist_dta'=>array( - 'type'=>'commalist', - 'cls'=>'xlarge', - 'labl'=>EST_GEN_OPTLIST, - 'max'=>75, - 'src'=>array('tbl'=>'estate_featurelist','idx'=>'featurelist_idx','map'=>array('featurelist_idx','featurelist_dta',',')), - 'plch'=>EST_PROP_FEATOPTLISTPLC, - ), - ), - - 'estate_zoning'=>array( - 'zoning_idx'=>array('type'=>'idx'), - 'zoning_name'=>array('type'=>'text','cls'=>'xlarge','chks'=>array('noblank')) - ), - 'estate_states'=>array( 'state_idx'=>array('type'=>'idx'), 'state_name'=>array('type'=>'text','cls'=>'large','chks'=>array('noblank')), @@ -359,43 +400,6 @@ function estTablStruct(){ 'state_url'=>array('text','cls'=>'xlarge','labl'=>LAN_WEBSITE,'plch'=>'www.somesite.com') ), - 'estate_county'=>array( - 'cnty_idx'=>array('type'=>'idx'), - 'cnty_name'=>array('type'=>'text','cls'=>'xlarge','chks'=>array('noblank')), - 'cnty_state'=>array( - 'type'=>'eselect', - 'str'=>'int', - 'cls'=>'xlarge', - 'src'=>array('tbl'=>'estate_states','idx'=>'state_idx','perm'=>array(1,2,3),'map'=>array('state_idx','state_name')) - ), - 'cnty_url'=>array('type'=>'text','cls'=>'xlarge','labl'=>LAN_WEBSITE,'plch'=>'www.somesite.com') - ), - - 'estate_city'=>array( - 'city_idx'=>array('type'=>'idx'), - 'city_name'=>array('type'=>'text','cls'=>'xlarge','chks'=>array('noblank')), - 'city_county'=>array( - 'type'=>'eselect', - 'str'=>'int', - 'cls'=>'xlarge', - 'src'=>array('tbl'=>'estate_county','idx'=>'cnty_idx','map'=>array('cnty_idx','cnty_name')) - ), - 'city_zip'=>array( - 'type'=>'commalist', - 'cls'=>'xlarge', - 'labl'=>EST_PROP_POSTCODELIST, - 'src'=>array('tbl'=>'estate_city','idx'=>'city_idx','map'=>array('cnty_idx','city_zip',',')), - 'plch'=>'12345,65432,98754,etc' - ), - 'city_timezone'=>array( - 'type'=>'select', - 'cls'=>'xlarge', - 'labl'=>EST_PROP_TIMEZONE, - 'src'=>array('tbl'=>'estate_timezone','idx'=>'tz_idx','map'=>array('tz_idx','tz_name')), - ), - 'city_url'=>array('type'=>'text','cls'=>'xlarge','labl'=>LAN_WEBSITE,'plch'=>'www.somesite.com') - ), - 'estate_subdiv'=>array( 'subd_idx'=>array('type'=>'idx','tab'=>0), 'subd_city'=>array( @@ -505,18 +509,22 @@ function estTablStruct(){ 'space_name'=>array('type'=>'text','cls'=>'xlarge','chks'=>array('noblank')), 'space_description'=>array('type'=>'textarea','cls'=>'xxlarge'), ), - - 'estate_listypes'=>array( - 'listype_idx'=>array('type'=>'idx'), - 'listype_zone'=>array( - 'type'=>'select', - 'str'=>'int', - 'cls'=>'xlarge', - 'labl'=>EST_PROP_LISTZONE, - 'src'=>array('tbl'=>'estate_zoning','idx'=>'zoning_idx','map'=>array('zoning_idx','zoning_name')) - ), - 'listype_name'=>array('type'=>'text','cls'=>'xlarge','plch'=>EST_PROP_TYPEPLCH,'labl'=>EST_PROP_TYPE,'chks'=>array('noblank')) + + 'estate_user'=>array( + 'user_id'=>array('str'=>'int'), + 'user_image'=>array('type'=>'hidden','str'=>'text'), + 'user_email'=>array('type'=>'hidden','str'=>'text'), + 'user_imageurl'=>array('type'=>'hidden','str'=>'text'), + 'user_loginname'=>array('type'=>'hidden','str'=>'text'), + 'user_name'=>array('type'=>'hidden','str'=>'text'), + 'user_signature'=>array('type'=>'hidden','str'=>'text'), + ), + + 'estate_zoning'=>array( + 'zoning_idx'=>array('type'=>'idx'), + 'zoning_name'=>array('type'=>'text','cls'=>'xlarge','chks'=>array('noblank')) ) + ); } diff --git a/ui/uipost.php b/ui/uipost.php index 0904265..2912fde 100644 --- a/ui/uipost.php +++ b/ui/uipost.php @@ -518,7 +518,7 @@ function estPropDelete($ID){ $sql = e107::getDB(); $tp = e107::getParser(); - if($sql->delete("estate_spaces", "space_propidx='".$ID."'")){ + if($sql->delete("estate_spaces", "space_lev='2' AND space_levidx='".$ID."'")){ $RESLT .= '
'.EST_GEN_PROPERTY.' '.EST_GEN_SPACES.' '.EST_GEN_DBRECORDSREMOVED.'
'; } if($sql->delete("estate_grouplist", "grouplist_propidx='".$ID."'")){ @@ -557,7 +557,7 @@ function estPropDelete($ID){
    '.$MEDIA.'
'; - if($sql->delete("estate_media", "media_propidx='".$ID."'")){ + if($sql->delete("estate_media", "media_propidx='".$ID."'")){ // $RESLT .= '
'.EST_GEN_PROPERTY.' '.EST_MEDIA.' '.EST_GEN_DBRECORDSREMOVED.'
'; } return $RESLT;