1.
2. {[
3.
4. Import::view('Sections/header');
5.
6. ]}
7.
8. {[
9. if(isset($page)){
10. Import::view($page);
11. }
12. ]}
13.
14.
15. {[ Import::view('Sections/footer');
16.
17. ]}
192.
193. echo $header;
194.
195. $randomPageVariable = $head['bodyPage'] ?? $masterPageSet['bodyPage'];
196.
197. if( ! empty($randomPageVariable) )
198. {
199. $randomDataVariable['view'] = $bodyContent;
200.
201. View::use($randomPageVariable, $randomDataVariable, false, $viewDirectory);
202. }
203. else
204. {
205. echo $bodyContent; // @codeCoverageIgnore
206. }
207.
208. $randomFooterVariable = EOL.''.EOL; 209. $randomFooterVariable .= '