- 001
- 002
- 003
- 004
- 005
- 006
- 007
- 008
- 009
- 010
- 011
- 012
- 013
- 014
- 015
- 016
- 017
- 018
- 019
- 020
- 021
- 022
- 023
- 024
- 025
- 026
- 027
- 028
- 029
- 030
- 031
- 032
- 033
- 034
- 035
- 036
- 037
- 038
- 039
- 040
- 041
- 042
- 043
- 044
- 045
- 046
- 047
- 048
- 049
- 050
- 051
- 052
- 053
- 054
- 055
- 056
- 057
- 058
- 059
- 060
- 061
- 062
- 063
- 064
- 065
- 066
- 067
- 068
- 069
- 070
- 071
- 072
- 073
- 074
- 075
- 076
- 077
- 078
- 079
- 080
- 081
- 082
- 083
- 084
- 085
- 086
- 087
- 088
- 089
- 090
- 091
- 092
- 093
- 094
- 095
- 096
- 097
- 098
- 099
- 100
$currentId = $modx->resource->get('id');
$parentIds = $modx->getParentIds($currentId);
if($currentId == 1){
$chunk = $modx->getObject('modChunk',array(
'name' => 'footer_seo_text_main_page',
));
}elseif($currentId == 3 ){
$chunk = $modx->getObject('modChunk',array(
'name' => 'footer_seo_text_studios_main',
));
}elseif($currentId == 2){
$chunk = $modx->getObject('modChunk',array(
'name' => 'footer_seo_text_bazy_main',
));
}elseif($currentId == 4 ){
$chunk = $modx->getObject('modChunk',array(
'name' => 'footer_seo_text_dancehalls_main',
));
}elseif($currentId == 19 ){
$chunk = $modx->getObject('modChunk',array(
'name' => 'footer_seo_koz',
));
}elseif($currentId == 6 ){
$chunk = $modx->getObject('modChunk',array(
'name' => 'footer_seo_ale',
));
}elseif($currentId == 17 ){
$chunk = $modx->getObject('modChunk',array(
'name' => 'footer_seo_pav',
));
}elseif($currentId == 20 ){
$chunk = $modx->getObject('modChunk',array(
'name' => 'footer_seo_sav',
));
}elseif($currentId == 59 ){
$chunk = $modx->getObject('modChunk',array(
'name' => 'footer_seo_il',
));
}elseif($currentId == 16 ){
$chunk = $modx->getObject('modChunk',array(
'name' => 'footer_seo_1905',
));
}elseif($currentId == 18 ){
$chunk = $modx->getObject('modChunk',array(
'name' => 'footer_seo_heb',
));
}elseif($currentId == 84 ){
$chunk = $modx->getObject('modChunk',array(
'name' => 'footer_seo_ab',
));
}elseif($currentId == 27 ){
$chunk = $modx->getObject('modChunk',array(
'name' => 'footer_seo_z_1905',
));
}elseif($currentId == 28 ){
$chunk = $modx->getObject('modChunk',array(
'name' => 'footer_seo_z_il',
));
}elseif($currentId == 58 ){
$chunk = $modx->getObject('modChunk',array(
'name' => 'footer_seo_z_koz',
));
}elseif($currentId == 26 ){
$chunk = $modx->getObject('modChunk',array(
'name' => 'footer_seo_z_ar',
));
}elseif($currentId == 25 ){
$chunk = $modx->getObject('modChunk',array(
'name' => 'footer_seo_z_pav',
));
}elseif($currentId == 24 ){
$chunk = $modx->getObject('modChunk',array(
'name' => 'footer_seo_z_sav',
));
}elseif($currentId == 23 ){
$chunk = $modx->getObject('modChunk',array(
'name' => 'footer_seo_z_sav2',
));
}elseif($currentId == 22 ){
$chunk = $modx->getObject('modChunk',array(
'name' => 'footer_seo_z_baum',
));
}elseif($currentId == 21 ){
$chunk = $modx->getObject('modChunk',array(
'name' => 'footer_seo_z_shab',
));
}elseif($currentId == 86 ){
$chunk = $modx->getObject('modChunk',array(
'name' => 'footer_seo_z_dobr',
));
}elseif($currentId == 5 ){
$chunk = $modx->getObject('modChunk',array(
'name' => 'footer_seo_prokat',
));
}else{
$chunk = $modx->getObject('modChunk',array(
'name' => 'footer_seo_text',
));
}
return $chunk->process();