File indexing completed on 2025-05-04 05:29:01
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 0023 $helperUserRole = new Backend_View_Helper_UserRole(); 0024 $userRoleName = $helperUserRole->userRole(); 0025 ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 0026 <html xmlns="http://www.w3.org/1999/xhtml"> 0027 <head> 0028 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> 0029 <title>ocs-webserver :: Statistics</title> 0030 0031 <!-- Bootstrap --> 0032 <link href="/theme/backend/lib/bootstrap/css/bootstrap.min.css" rel="stylesheet"> 0033 <!-- JQuery-UI --> 0034 <link href="/theme/backend/lib/jquery-ui/themes/smoothness/jquery-ui.min.css" rel="stylesheet"> 0035 <!-- JTable --> 0036 <link href="/theme/backend/lib/jtable/themes/jqueryui/jtable_jqueryui.min.css" rel="stylesheet"> 0037 <!-- OCS Backend Style Definitions --> 0038 <link href="/theme/backend/css/backend.css" rel="stylesheet" type="text/css"/> 0039 0040 0041 <script src="/theme/backend/lib/jquery-ui/external/jquery/jquery.js"></script> 0042 <script src="/theme/backend/lib/bootstrap/js/bootstrap.min.js"></script> 0043 <script src="/theme/backend/lib/jquery-ui/jquery-ui.min.js"></script> 0044 <script src="/theme/backend/lib/jtable/jquery.jtable.min.js"></script> 0045 0046 <script src="/theme/backend/lib/jquery.cookie.js"></script> 0047 0048 0049 <link href="/theme/flatui/js/lib/jquerymonthpicker/MonthPicker.css" rel="stylesheet" type="text/css" /> 0050 <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/moment.min.js"/></script> 0051 <script src="https://d3js.org/d3.v4.min.js"></script> 0052 <script src="/theme/flatui/js/lib/d3pie.min.js"></script> 0053 <script type="text/javascript" src="/theme/react/lib/react/react.production.min.js"></script> 0054 <script type="text/javascript" src="/theme/react/lib/react-dom/react-dom.production.min.js"></script> 0055 <script type="text/javascript" src="/theme/react/lib/redux/redux.min.js"></script> 0056 <script type="text/javascript" src="/theme/react/lib/redux/react-redux.min.js"></script> 0057 <script type="text/javascript" src="/theme/react/lib/mdl/material.min.js"></script> 0058 <script type="text/javascript" src="/theme/react/lib/timeago/timeago.min.js"></script> 0059 <script type="text/javascript" src="/theme/react/lib/md5/md5.js"></script> 0060 <script src="/theme/flatui/js/lib/jquerymonthpicker/MonthPicker.js"></script> 0061 <script src="/theme/backend/js/backend_stati.js"></script> 0062 <script src="/theme/flatui/js/lib/multiline.js"></script> 0063 <script src="/theme/flatui/js/lib/multiline_payoutamount.js"></script> 0064 0065 0066 </head> 0067 <body> 0068 0069 <div id="backend-statistic"> 0070 <?php $auth = Zend_Auth::getInstance(); ?> 0071 0072 <?php if ($auth->hasIdentity()): ?> 0073 <div id="mainarea" class="ui-corner-all"> 0074 <?php if ($this->pageTitle): ?><h3><?= $this->escape($this->pageTitle); ?></h3><?php endif; ?> 0075 <?php echo $this->layout()->content; ?> 0076 </div> 0077 <?php else: ?> 0078 <div id="loginArea" class="ui-corner-all"> 0079 <?php echo $this->layout()->content; ?> 0080 </div> 0081 <?php endif; ?> 0082 0083 </div> 0084 <script type="text/javascript"> 0085 $(document).ready(function () { 0086 0087 $("#logout, #portal").hover( 0088 function () { 0089 $(this).addClass("ui-state-hover"); 0090 }, 0091 function () { 0092 $(this).removeClass("ui-state-hover"); 0093 } 0094 ); 0095 0096 }); 0097 </script> 0098 0099 </body> 0100 </html> 0101