ACC SHELL

Path : /srv/www/vhosts/toptisk/application/views/scripts/
File Upload :
Current File : /srv/www/vhosts/toptisk/application/views/scripts/header.phtml

<?= $this->doctype(); ?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="cs">
<head>
    <?php $this->headMeta()->appendHttpEquiv('Content-Type', 'text/html; charset=UTF-8')
                 ->appendName('robots','index,follow')
                 ->appendName('author','anamax')
                 ->appendName('googlebot','index,follow,snippet,archiv')
                 ->appendName('keywords', $this->keywords ? $this->keywords : 'obaly, design, skládačky')
                 ->appendName('description', $this->description ? $this->description: 'Vyrábíme obaly z hladké skládačkové lepenky')
                 ->appendName('google-site-verification', 'nl3fXCfrktfEMzDRSTLrOWWDuUxaZgwkODEpW2fVH9w');

                 //nastaveni meta tagu jazyka dle zvolene jazykove mutace
                switch ($this->lang)
                {
                    case 'cz':
                        $metaLang = 'cs';
                        break;
                    case 'en':
                        $metaLang = 'en';
                        break;                    
                    case 'de':
                        $metaLang = 'de';
                        break;
                    default:
                        $metaLang = 'cs';
                        break;
                }
                $this->headMeta()->appendHttpEquiv('Content-Language', $metaLang);
    ?>
    <?= $this->headMeta(); ?>

  	<title><?= isset($this->title) ? $this->title . ' - TOP TISK' : 'TOP TISK'; ?></title>

  	<?php $this->headLink()->appendStylesheet('/css/global.css')
                ->headLink()->appendStylesheet('/css/fancybox.css')
                ->headLink(array('rel' => 'shortcut icon',
                                  'href' => '/images/favicon.ico',
                                  'type' => 'image/x-icon'),
                                  'PREPEND');
	?>
	<?= $this->headLink(); ?>

    <?php $this->inlineScript()->prependFile('/js/core.js')
                        ->prependFile('/js/soundmanager2-nodebug-jsmin.js')
                        ->prependFile('/js/fancybox.js')
                        ->prependFile('/js/jquery.cycle.min.js')
                        ->prependFile('/js/jquery.js');
    ?>
    
    <?= $this->inlineScript(); ?>
    
    <script type="text/javascript">
	
        soundManager.url = '/swf/';
        soundManager.flashVersion = 9; // optional: shiny features (default = 8)
        soundManager.useFlashBlock = false; // optionally, enable when you're ready to dive in
        // enable HTML5 audio support, if you're feeling adventurous. iPad/iPhone will always get this.
        // soundManager.useHTML5Audio = true;
        soundManager.debugMode = false;
        soundManager.onready(function()
        {
            // SM2 has loaded - now you can create and play sounds!
            var mySound = soundManager.createSound({
            id: 'aSound',
            url: '/music/music.mp3'
            // onload: [ event handler function object ],
            // other options here..
            });
            $(document).ready(function()
            {
                if(shouldIPlay())
                {
                    mySound.play();
                }
                music_player();
            });
        });

        
    </script>
    <script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-21929380-2']);
  _gaq.push(['_setDomainName', 'toptisk.com']);
  _gaq.push(['_setAllowLinker', true]);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-21929380-1']);
  _gaq.push(['_setDomainName', 'toptisk.cz']);
  _gaq.push(['_setAllowLinker', true]);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
</head>

<body>    
    <div class="wrap">
        <div id="logo" class="logo">
            <a href="/<?= $this->lang ?>/" title="top tisk"><img width="166" height="88" src="/images/logo-transparent.png" alt="top tisk logo"/></a>
        </div>
        <div id="slogan-<?= $this->lang; ?>">
            <?php if($this->lang == 'en'): ?>
                <img width="283" height="33" src="/images/slogan_en.png" alt="Our covers are seen"/>
            <?php elseif($this->lang == 'de'): ?>
                <img width="352" height="58" src="/images/slogan_de.png" alt="Ihre Verpackungen werden gesehen"/>
            <?php else: ?>
                <img width="278" height="59" src="/images/slogan.png" alt="Naše obaly jsou vidět"/>
            <?php endif; ?>
        </div>
        <?= $this->render('other-menu.phtml'); ?>        
        <div class="main-wrap">
            <div class="main">

ACC SHELL 2018