$spot ): $image = 'images/'.$code.'.jpg'; $text = $spot['name']; $tp_widget = $spot['tp_widget']; echo <<< EOF {$text} {$tp_widget} EOF; endforeach // $SpotList as $spot ?> {$title} {$lead} EOF; endif; // $num == 'spot' endforeach; // $PageList as $content ?>