Elbir Elbir

Press Room

ERROR » syntax error, unexpected token "endif", expecting end of file

     /home/mgtnweb/elbir.megatonmedya.com/Projects/Frontend/Views/Sections/body.php
        

6.   ]}
7.   
8.  {[
9.  if(isset($page)){
10.   Import::view($page);
11. }
12. ]}
13.  
14. 
15. 
{[ 
Import::view('Sections/footer'); 16.  17. ]}
     /home/mgtnweb/elbir.megatonmedya.com/Internal/package-zerocore/Inclusion/Masterpage.php
        

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$randomDataVariablefalse$viewDirectory); 202.         } 203.         else 204.         { 205.             echo $bodyContent// @codeCoverageIgnore 206.         } 207.  208.         $randomFooterVariable  EOL.''.EOL; 209.         $randomFooterVariable .= ''; 210.  211.         echo $randomFooterVariable;
     /home/mgtnweb/elbir.megatonmedya.com/Projects/Frontend/Views/Sections/footer.php
        

23.                                  <div class="footer-social-icons">
24.                                     {[ if ($ayar->facebook): ]}
25.                                         <a href="{[ echo $ayar->facebook ]}" target="_blank" rel="noopener noreferrer"><class="fab fa-facebook-f">i>a>
26.                                     {[ endif; ]}
27.                                     {[ if ($ayar->instagram): ]}
28.                                         <a href="{[ echo $ayar->instagram ]}" target="_blank" rel="noopener noreferrer"><class="fab fa-instagram">i>a>
29.                                     {[ endif; ]}
30.                                     {[ if ($ayar->twitter)x: ]}
31.                                         <a href="{[ echo $ayar->twitterx ]}" target="_blank" rel="noopener noreferrer"><class="fab fa-twitter">i>a>
32. 
                                    {[ endif; ]}
33.                                     {[ if ($ayar->youtube): ]} 34.                                         <a href="{[ echo $ayar->youtube ]}" target="_blank" rel="noopener noreferrer"><class="fab fa-youtube">i>a> 35.                                     {[ endif; ]} 36.                                     {[ if ($ayar->linkedin): ]} 37.                                         <a href="{[ echo $ayar->linkedin ]}" target="_blank" rel="noopener noreferrer"><class="fab fa-linkedin-in">i>a> 38.                                     {[ endif; ]} 39.                     div> 40.                             div> 41.                         div> 42.                     div>