Части PHP отображаются на странице

Главные вкладки

Аватар пользователя tony_m tony_m 18 июня 2013 в 23:28

Сидел знакомился с Simfony. После этого зашел на основной сайт,который на Drupal, в начале и в конце страницы отображаются куски PHP кода. Вот сам код страницы:

<?php
<?

/**
 * Output breadcrumb as an unorderd list with unique and first/last classes
 */
function custom_breadcrumb($variables) {
  
$breadcrumb $variables['breadcrumb'];
  if (!empty(
$breadcrumb)) {
    
// Provide a navigational heading to give context for breadcrumb links to
    // screen-reader users. Make the heading invisible with .element-invisible.
    
$output '<p class="element-invisible">' t('You are here') . '</p>';
    
$crumbs '<ul class="breadcrumbs clearfix">';
    
$array_size count($breadcrumb);
    
$i 0;
    while ( 
$i $array_size) {
      
$crumbs .= '<li class="breadcrumb-' $i;
      if (
$i == 0) {
        
$crumbs .= ' first';
      }
      if (
$i+== $array_size) {
        
$crumbs .= ' last';
      }
      
$crumbs .=  '">' $breadcrumb[$i] . '</li>';
      
$i++;
    }
    
$crumbs .= '</ul>';
    return 
$crumbs;
  }
}<?
// $Id$
/**
 *
 */
 
function topbarmenu_menu() {
     
$items = array();
    
    
        
$items[] = array(
            
'title' => t('Greeting'),
            
'path' => 'topbarmenu',
            
'callback' => 'topbarmenu_hello',
            
'access' => TRUE
        
);
    
    
    return 
$items;
}

function 

topbarmenu_hello () {
    return 
t('hello!');
}                <!
DOCTYPE html>
<!--[if 
IEMobile 7]><html class="iem7"  lang="ru" dir="ltr"><![endif]-->
<!--[if 
lte IE 6]><html class="lt-ie9 lt-ie8 lt-ie7"  lang="ru" dir="ltr"><![endif]-->
<!--[if (
IE 7)&(!IEMobile)]><html class="lt-ie9 lt-ie8"  lang="ru" dir="ltr"><![endif]-->
<!--[if 
IE 8]><html class="lt-ie9"  lang="ru" dir="ltr"><![endif]-->
<!--[if (
gte IE 9)|(gt IEMobile 7)]><!--><html  lang="ru" dir="ltr"
  
xmlns:content="http://purl.org/rss/1.0/modules/content/"
  
xmlns:dc="http://purl.org/dc/terms/"
  
xmlns:foaf="http://xmlns.com/foaf/0.1/"
  
xmlns:og="http://ogp.me/ns#"
  
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
  
xmlns:sioc="http://rdfs.org/sioc/ns#"
  
xmlns:sioct="http://rdfs.org/sioc/types#"
  
xmlns:skos="http://www.w3.org/2004/02/skos/core#"
  
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
  
xmlns:schema="http://schema.org/"><!--<![endif]-->

<

head profile="http://www.w3.org/1999/xhtml/vocab">
  <
meta charset="utf-8" />

?>

Как-то так. В код данного сайта вообще не лез. Из-за чего такое могло произойти,как то связано с Simfony 2?

Комментарии