Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?= $language->language; ?>" version="XHTML+RDFa 1.0"
- dir="<?= $language->dir; ?>"
- <?= $rdf_namespaces; ?>>
- <? $site = node_load(4); ?>
- <head profile="<?= $grddl_profile; ?>">
- <?= $head; ?>
- <title itemprop="name"><?= $head_title; ?></title>
- <?= $styles; ?>
- <?= $scripts; ?>
- <meta name="format-detection" content="telephone=no">
- <? if (!empty($site->field_site_title['und'][0]['value'])): ?>
- <meta property="og:site_name" content="<?= $site->field_site_title['und'][0]['value']; ?>">
- <? endif; ?>
- <? if (!empty($site->field_favicon['und'][0]['uri'])): ?>
- <? $favIcon = file_create_url($site->field_favicon['und'][0]['uri']); ?>
- <link rel="icon" href="<?= $favIcon; ?>" type="image/x-icon">
- <link rel="shortcut icon" href="<?= $favIcon; ?>" type="image/x-icon">
- <? else: ?>
- <link rel="shortcut icon" href="http://<?= $_SERVER['HTTP_HOST'] ?>/sites/all/themes/main/favicon.ico"
- type="image/vnd.microsoft.icon">
- <? endif; ?>
- <? if (!empty($site->field_mobile_status['und'][0]['value'])): ?>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <? endif; ?>
- <meta property="og:type" content="website">
- <meta property="og:url" content="http://<?= $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; ?>">
- <link itemprop="url" href="http://<?= $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; ?>/">
- <link rel="home" href="http://<?= $_SERVER['HTTP_HOST']; ?>/">
- </head>
- <?
- $size_s = (isset($_COOKIE['size'])) ? $_COOKIE['size'] : 'medium';
- $color_s = (isset($_COOKIE['color'])) ? $_COOKIE['color'] : 'white';
- ?>
- <body class="<?= $color_s; ?> <?= $size_s; ?> <?= $classes; ?>" <?= $attributes; ?>>
- <?= $page_top; ?>
- <?= $page; ?>
- <?= $page_bottom; ?>
- </body>
- </html>
- <?
- if ($_SERVER['REQUEST_URI'] == '/node') {
- drupal_goto("/");
- }
- ?>
- второй файл
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?= $language->language; ?>" version="XHTML+RDFa 1.0"
- dir="<?= $language->dir; ?>"
- <?= $rdf_namespaces; ?>>
- <? $site = node_load(4); ?>
- <head profile="<?= $grddl_profile; ?>">
- <?= $head; ?>
- <title itemprop="name"><?= $head_title; ?></title>
- <?= $styles; ?>
- <?= $scripts; ?>
- <meta name="format-detection" content="telephone=no">
- <? if (!empty($site->field_site_title['und'][0]['value'])): ?>
- <meta property="og:site_name" content="<?= $site->field_site_title['und'][0]['value']; ?>">
- <? endif; ?>
- <? if (!empty($site->field_favicon['und'][0]['uri'])): ?>
- <? $favIcon = file_create_url($site->field_favicon['und'][0]['uri']); ?>
- <link rel="icon" href="<?= $favIcon; ?>" type="image/x-icon">
- <link rel="shortcut icon" href="<?= $favIcon; ?>" type="image/x-icon">
- <? else: ?>
- <link rel="shortcut icon" href="http://<?= $_SERVER['HTTP_HOST'] ?>/sites/all/themes/main/favicon.ico"
- type="image/vnd.microsoft.icon">
- <? endif; ?>
- <? if (!empty($site->field_mobile_status['und'][0]['value'])): ?>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <? endif; ?>
- <meta property="og:type" content="website">
- <meta property="og:url" content="http://<?= $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; ?>">
- <link itemprop="url" href="http://<?= $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; ?>/">
- <link rel="home" href="http://<?= $_SERVER['HTTP_HOST']; ?>/">
- <meta name="yandex-verification" content="08d4e3b52d2acea9" />
- </head>
- <body class="<?= $classes; ?>" <?= $attributes; ?>>
- <?= $page_top; ?>
- <?= $page; ?>
- <?= $page_bottom; ?>
- </body>
- </html>
- <?
- if ($_SERVER['REQUEST_URI'] == '/node') {
- drupal_goto("/");
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement