panel admina
[watermeloncms.git] / wtrmln / themes_admin / wcmslay / index.php
blobdabcbd8aa1e32cacc9f75d37090ebc47b7d0f37e
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
3 <html>
4 <head>
5 <?php echo Watermelon::getMeta(); ?>
6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
7 <link rel="stylesheet" type="text/css" href="<?php echo WTRMLN_THEMEURL ?>style.css">
8 <script type="text/javascript">
9 function msg_hide(height)
11 if(height == 0) return;
13 document.getElementById('topmsg').style.height = height + 'px';
15 setTimeout("msg_hide(" + (height-1) + ")", 5);
18 function msg_hide_start()
20 document.getElementById('topmsg').style.overflow = 'hidden';
21 setTimeout("msg_hide(document.getElementById('topmsg').clientHeight)", 5000);
22 //msg_hide(document.getElementById('topmsg').clientHeight);
24 </script>
25 </head>
26 <body onload="msg_hide_start()">
27 <!--[if IE 6]>
28 <div id="ie_info">
29 <div>
30 Niestety przeglądarka Internet Explorer 6 nie obsługuje poprawnie panelu admina Watermelon CMS-a.
31 Zalecana jest aktualizacja przeglądarki do najnowszej wersji lub użycie alternatywnej przeglądarki
32 internetowej (np. Opera, Firefox, Chrome)
33 </div>
34 </div>
35 <![endif]-->
36 <div id="container">
37 <div id="header">
38 <h1><span>Watermelon CMS</span></h1>
39 <h2>Panel admina (<a href="<?php echo WTRMLN_MAINURL ?>">odwiedź stronę</a>)</h2>
40 <ul>
41 <?php
43 $menuContent = getMenu();
45 echo getEvents();
48 <li><a href="<?php echo WTRMLN_MAINURL ?>login/logout">Wyloguj</a></li>
49 </ul>
50 </div>
51 <div id="sidebar">
53 <a href="<? echo site_url('') ?>">Strona główna</a>
54 <hr>
56 <?php
58 echo $menuContent;
62 <div class="menuedit"><a href="<?php echo site_url('menuedit/pa') ?>">edytuj menu</a></div>
66 </div>
67 <div id="content">
68 <?php echo (defined('WTRMLN_H1') ? '<h1>' . WTRMLN_H1 . '</h1>' : ''); ?>
69 <div id="topmsg"><?php echo $_w_message; ?></div>
70 <?php echo $_w_content; ?>
71 </div>
72 </div>
73 <div id="footer">
74 <div class="dr">
75 wersja 1.0a1
76 </div>
77 Powered by Watermelon CMS
78 <br>
79 <? if(defined('DEBUG_FOOTER')){ ?>
80 Zapytań do bazy danych: <?php echo DB::queries(); ?><br>
81 Cache'owanie widoków <?php echo (defined('CACHE_VIEWS') ? 'włączone' : 'wyłączone') ?><br>
82 Zużyto pamięci: <?php echo memory_get_peak_usage() ?> <?php echo memory_get_usage() ?><br>
83 Wygenerowano w: <?php global $_w_startTime; Benchmark::$benchmarks['watermelon_time'] = $_w_startTime; echo Benchmark::end('watermelon_time', BENCHMARK_SITE); ?> µs<br>
84 <?php if(defined('DEBUG')) echo '---<br><div class="tl"><pre>' . htmlspecialchars(implode("\n", DB::queriesList())) . '</pre></div>'; ?>
85 <? } ?>
86 </div>
87 </body>
88 </html>