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 <link rel="stylesheet" type="text/css" href="/theme/flatui/js/lib/cookieconsent/cookieconsent.min.css" /> 0054 <script type="text/javascript" src="/theme/flatui/js/lib/cookieconsent/cookieconsent.min.js"></script> 0055 0056 <script> 0057 window.addEventListener("load", function(){ 0058 window.cookieconsent.initialise({ 0059 "palette": { 0060 "popup": { 0061 "background": "#000" 0062 }, 0063 "button": { 0064 "background": "#f1d600" 0065 } 0066 }, 0067 "content": { 0068 "message": "This website uses cookies to ensure certain functionality of our web offerings.", 0069 "dismiss": "OK", 0070 "link": "Learn more", 0071 "href": "/terms/cookies" 0072 } 0073 })}); 0074 </script> 0075 0076 </head> 0077 <body id="home"> 0078 <?php echo $this->render('partials/header/metaheader.phtml');?> 0079 <?php echo $this->render('partials/flashMessage.phtml'); ?> 0080 <?php echo $this->layout()->content; ?> 0081 <?php echo $this->render('partials/footer/template.phtml'); ?> 0082 0083 <div id="modal-dialog" class="modal hide fade" tabindex="-1" role="dialog"> 0084 <div class="modal-body"></div> 0085 <div id="error"></div> 0086 </div> 0087 0088 <script src="/theme/flatui/js/lib/bootstrap.min.js" crossorigin="anonymous"></script> 0089 <script src="/theme/flatui/js/lib/moment.min.js"></script> 0090 <script src="/tools/md5.js"></script> 0091 <script src="/theme/flatui/js/script.js?<?= APPLICATION_VERSION ?>"></script> 0092 <script type="text/javascript" src="/tools/fancybox2.1.4/jquery.fancybox.pack.js?v=2.1.4"></script> 0093 0094 <?php 0095 echo $this->render('partials/propagateLogin.phtml'); 0096 echo $this->render('partials/propagateLogout.phtml'); 0097 ?> 0098 0099 <?=$this->inlineScript() ?> 0100 0101 <?php if (APPLICATION_ENV != 'development') { ?> 0102 <?php 0103 $googleid ='UA-78422931-1'; 0104 $domainconfig = Zend_Registry::isRegistered('store_config') ? Zend_Registry::get('store_config') : null; 0105 if($domainconfig) 0106 { 0107 $googleid = $domainconfig->google_id; 0108 } 0109 ?> 0110 <script> 0111 (function (i, s, o, g, r, a, m) { 0112 i['GoogleAnalyticsObject'] = r; 0113 i[r] = i[r] || function () { 0114 (i[r].q = i[r].q || []).push(arguments) 0115 }, i[r].l = 1 * new Date(); 0116 a = s.createElement(o), 0117 m = s.getElementsByTagName(o)[0]; 0118 a.async = 1; 0119 a.src = g; 0120 m.parentNode.insertBefore(a, m) 0121 })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga'); 0122 0123 ga('create', '<?php echo $googleid ?>', 'auto', {'allowLinker': true}); 0124 ga('require', 'linker'); 0125 ga('linker:autoLink', ['<?php echo $_SERVER["SERVER_NAME"] ?>'] ); 0126 ga('send', 'pageview'); 0127 0128 </script> 0129 0130 0131 <!-- Piwik --> 0132 <?php 0133 $piwikid ='1'; 0134 if($domainconfig) 0135 { 0136 $piwikid = $domainconfig->piwik_id; 0137 } 0138 ?> 0139 <script type="text/javascript"> 0140 var _paq = _paq || []; 0141 /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ 0142 _paq.push(['trackPageView']); 0143 _paq.push(['enableLinkTracking']); 0144 (function() { 0145 var u="//piwik.opendesktop.org/"; 0146 _paq.push(['setTrackerUrl', u+'piwik.php']); 0147 _paq.push(['setSiteId', '<?= $piwikid ?>']); 0148 var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; 0149 g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s); 0150 })(); 0151 </script> 0152 <!-- End Piwik Code --> 0153 <?php } ?> 0154 <?php 0155 echo $this->render('partials/profiler.phtml') 0156 ?> 0157 0158 <?php 0159 $session = new Zend_Session_Namespace(); 0160 $apiv4 = Zend_Registry::get("config")->settings->server->ip->api->v4; 0161 $apiv6 = Zend_Registry::get("config")->settings->server->ip->api->v6; 0162 if (false == $session->stat_valid) : ?> 0163 <script src="/tools/fpjs2/fp2.compressed.js" ></script> 0164 <script type="text/javascript">OcsStats.readStats('<?php echo $apiv4; ?>','<?php echo $apiv6; ?>');</script> 0165 <?php endif; ?> 0166 </body> 0167 </html>