- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
switch ($out['list']) {
case 'sale': $out['d']=new CShotObjectFlats('ShotObjectFlats',$out['date'],$out['reference'],$out['list_level'],($out['DataIn']->http['TYPE_ID']==2)?0:1); $out['object_list']='flat'; break;
case 'rent': $out['d']=new CShotObjectFlats('ShotObjectFlats',$out['date'],$out['reference'],$out['list_level'],($out['DataIn']->http['TYPE_ID']==2)?0:1); $out['object_list']='flat'; break;
case 'exch': $out['d']=new CShotObjectFlats('ShotObjectFlats',$out['date_exch'],$out['reference'],$out['list_level'],($out['DataIn']->http['TYPE_ID']==2)?0:1); $out['object_list']='flat_exch'; break;
case 'purchase': $out['d']=new CShotObjectFlatsZay('ShotObjectFlats',$out['date'],$out['reference'],$out['list_level'],($out['DataIn']->http['TYPE_ID']==2)?0:1); break;
case 'rent_use': $out['d']=new CShotObjectFlatsZay('ShotObjectFlats',$out['date'],$out['reference'],$out['list_level'],($out['DataIn']->http['TYPE_ID']==2)?0:1); break;
case 'sale_h': $out['d']=new CShotObjectHouses('ShotObjectHouses',$out['date'],$out['reference'],$out['list_level'],($out['DataIn']->http['TYPE_ID']==2)?0:1); $out['object_list']='house'; break;
case 'rent_h': $out['d']=new CShotObjectHouses('ShotObjectHouses',$out['date'],$out['reference'],$out['list_level'],($out['DataIn']->http['TYPE_ID']==2)?0:1); $out['object_list']='house'; break;
case 'exch_h': $out['d']=new CShotObjectHouses('ShotObjectHouses',$out['date_exch'],$out['reference'],$out['list_level'],($out['DataIn']->http['TYPE_ID']==2)?0:1); $out['object_list']='house_exch'; break;
case 'purchase_h': $out['d']=new CShotObjectHousesZay('ShotObjectHouses',$out['date'],$out['reference'],$out['list_level'],($out['DataIn']->http['TYPE_ID']==2)?0:1); break;
case 'rent_use_h': $out['d']=new CShotObjectHousesZay('ShotObjectHouses',$out['date'],$out['reference'],$out['list_level'],($out['DataIn']->http['TYPE_ID']==2)?0:1); break;
case 'sale_g': $out['d']=new CShotObjectGarages('ShotObjectGarages',$out['date'],$out['reference'],$out['list_level'],($out['DataIn']->http['TYPE_ID']==2)?0:1); $out['object_list']='garage'; break;
case 'rent_g': $out['d']=new CShotObjectGarages('ShotObjectGarages',$out['date'],$out['reference'],$out['list_level'],($out['DataIn']->http['TYPE_ID']==2)?0:1); $out['object_list']='garage'; break;
case 'purchase_g': $out['d']=new CShotObjectGaragesZay('ShotObjectGarages',$out['date'],$out['reference'],$out['list_level'],($out['DataIn']->http['TYPE_ID']==2)?0:1); break;
case 'rent_use_g': $out['d']=new CShotObjectGaragesZay('ShotObjectGarages',$out['date'],$out['reference'],$out['list_level'],($out['DataIn']->http['TYPE_ID']==2)?0:1); break;
case 'sale_l': $out['d']=new CShotObjectLands('ShotObjectLands',$out['date'],$out['reference'],$out['list_level'],($out['DataIn']->http['TYPE_ID']==2)?0:1); $out['object_list']='land'; break;
case 'rent_l': $out['d']=new CShotObjectLands('ShotObjectLands',$out['date'],$out['reference'],$out['list_level'],($out['DataIn']->http['TYPE_ID']==2)?0:1); $out['object_list']='land'; break;
case 'purchase_l': $out['d']=new CShotObjectLandsZay('ShotObjectLands',$out['date'],$out['reference'],$out['list_level'],($out['DataIn']->http['TYPE_ID']==2)?0:1); break;
case 'rent_use_l': $out['d']=new CShotObjectLandsZay('ShotObjectLands',$out['date'],$out['reference'],$out['list_level'],($out['DataIn']->http['TYPE_ID']==2)?0:1); break;
}