File indexing completed on 2025-05-04 05:29:15
0001 <?php 0002 /** 0003 * ocs-webserver 0004 * 0005 * Copyright 2016 by pling GmbH. 0006 * 0007 * This file is part of ocs-webserver. 0008 * 0009 * This program is free software: you can redistribute it and/or modify 0010 * it under the terms of the GNU Affero General Public License as 0011 * published by the Free Software Foundation, either version 3 of the 0012 * License, or (at your option) any later version. 0013 * 0014 * This program is distributed in the hope that it will be useful, 0015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 0016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0017 * GNU Affero General Public License for more details. 0018 * 0019 * You should have received a copy of the GNU Affero General Public License 0020 * along with this program. If not, see <http://www.gnu.org/licenses/>. 0021 **/ 0022 ?><!doctype html> 0023 <html lang="en"> 0024 <head> 0025 <meta charset="utf-8"> 0026 <?php echo $this->render('partials/htmlheader.phtml'); ?> 0027 0028 <link rel="SHORTCUT ICON" href="<?=$this->template['favicon']?>"/> 0029 0030 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 0031 <link rel="alternate" type="application/rss+xml" title="Latest Products" href="/content.rdf"/> 0032 0033 <!-- Loading Bootstrap --> 0034 <link rel="stylesheet" href="/theme/flatui/css/bootstrap/bootstrap.min.css" type="text/css" crossorigin="anonymous"> 0035 <link rel="stylesheet" href="/tools/fancybox2.1.4/jquery.fancybox.css?v=2.1.4" type="text/css" media="screen" /> 0036 <link rel="stylesheet" type="text/css" href="/theme/flatui/js/lib/tooltipster/dist/css/tooltipster.bundle.min.css" /> 0037 <link rel="stylesheet" type="text/css" href="/theme/flatui/js/lib/tooltipster/dist/css/plugins/tooltipster/sideTip/themes/tooltipster-sideTip-light.min.css" /> 0038 <link rel="stylesheet" type="text/css" href="/theme/flatui/css/tooltipster-light-customized.css" /> 0039 <!-- custom styles --> 0040 <link href="/theme/flatui/css/style.css" rel="stylesheet"> 0041 <link href="/theme/flatui/css/stylesheet.css?<?= APPLICATION_VERSION ?>" rel="stylesheet"> 0042 <link href="/theme/flatui/css/explore_index.css" rel="stylesheet"> 0043 <link href="/theme/flatui/css/startpage.css" rel="stylesheet"> 0044 <link href="/theme/react/assets/css/metaheader.css?<?= APPLICATION_VERSION ?>" rel="stylesheet"> 0045 <link type="text/css" rel="stylesheet" href="/theme/react/assets/css/home-main-container.css"/> 0046 <!-- third party --> 0047 <link href="/theme/flatui/css/fontawsome/font-awesome.min.css" rel="stylesheet" crossorigin="anonymous"> 0048 <script src="/theme/flatui/js/lib/jquery-3.2.1.min.js" ></script> 0049 <script type="text/javascript" src="/theme/flatui/js/lib/tooltipster/dist/js/tooltipster.bundle.min.js"></script> 0050 0051 <script type="text/javascript" src="/theme/react/lib/react/react.production.min.js"></script> 0052 <script type="text/javascript" src="/theme/react/lib/react-dom/react-dom.production.min.js"></script> 0053 0054 </head> 0055 <body id="od-body"> 0056 0057 <?php 0058 if($this->index && $this->index==4) 0059 { 0060 echo $this->render('partials/header/template_pling_home.phtml'); 0061 }else 0062 { 0063 echo $this->render('partials/header/template.phtml'); 0064 } 0065 ?> 0066 0067 <?php echo $this->render('partials/flashMessage.phtml'); ?> 0068 <?php echo $this->layout()->content; ?> 0069 <?php echo $this->render('partials/footer/template.phtml'); ?> 0070 0071 <div id="modal-dialog" class="modal hide fade" tabindex="-1" role="dialog"> 0072 <div class="modal-body"></div> 0073 <div id="error"></div> 0074 </div> 0075 0076 <script src="/theme/flatui/js/lib/bootstrap.min.js" crossorigin="anonymous"></script> 0077 <script src="/theme/flatui/js/lib/moment.min.js"></script> 0078 <script src="/tools/md5.js"></script> 0079 <script src="/theme/flatui/js/script.js?<?= APPLICATION_VERSION ?>"></script> 0080 <script type="text/javascript" src="/tools/fancybox2.1.4/jquery.fancybox.pack.js?v=2.1.4"></script> 0081 0082 <?php 0083 echo $this->render('partials/propagateLogin.phtml'); 0084 echo $this->render('partials/propagateLogout.phtml'); 0085 ?> 0086 0087 <?=$this->inlineScript() ?> 0088 0089 <?php if (APPLICATION_ENV != 'development') { ?> 0090 <?php 0091 $googleid ='UA-78422931-1'; 0092 $domainconfig = Zend_Registry::isRegistered('store_config') ? Zend_Registry::get('store_config') : null; 0093 if($domainconfig) 0094 { 0095 $googleid = $domainconfig->google_id; 0096 } 0097 ?> 0098 <script> 0099 (function (i, s, o, g, r, a, m) { 0100 i['GoogleAnalyticsObject'] = r; 0101 i[r] = i[r] || function () { 0102 (i[r].q = i[r].q || []).push(arguments) 0103 }, i[r].l = 1 * new Date(); 0104 a = s.createElement(o), 0105 m = s.getElementsByTagName(o)[0]; 0106 a.async = 1; 0107 a.src = g; 0108 m.parentNode.insertBefore(a, m) 0109 })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga'); 0110 0111 ga('create', '<?php echo $googleid ?>', 'auto', {'allowLinker': true}); 0112 ga('require', 'linker'); 0113 ga('linker:autoLink', ['<?php echo $_SERVER["SERVER_NAME"] ?>'] ); 0114 ga('send', 'pageview'); 0115 0116 </script> 0117 0118 0119 <!-- Piwik --> 0120 <?php 0121 $piwikid ='1'; 0122 if($domainconfig) 0123 { 0124 $piwikid = $domainconfig->piwik_id; 0125 } 0126 ?> 0127 <script type="text/javascript"> 0128 var _paq = _paq || []; 0129 /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ 0130 _paq.push(['trackPageView']); 0131 _paq.push(['enableLinkTracking']); 0132 (function() { 0133 var u="//piwik.opendesktop.org/"; 0134 _paq.push(['setTrackerUrl', u+'piwik.php']); 0135 _paq.push(['setSiteId', '<?= $piwikid ?>']); 0136 var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; 0137 g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s); 0138 })(); 0139 </script> 0140 <!-- End Piwik Code --> 0141 <?php } ?> 0142 <?php 0143 echo $this->render('partials/profiler.phtml') 0144 ?> 0145 <?php 0146 $session = new Zend_Session_Namespace(); 0147 $apiv4 = Zend_Registry::get("config")->settings->server->ip->api->v4; 0148 $apiv6 = Zend_Registry::get("config")->settings->server->ip->api->v6; 0149 if (false == $session->stat_valid) : ?> 0150 <script src="/tools/fpjs2/fp2.compressed.js" ></script> 0151 <script type="text/javascript">OcsStats.readStats('<?php echo $apiv4; ?>','<?php echo $apiv6; ?>');</script> 0152 <?php endif; ?> 0153 </body> 0154 </html>