SHOW:
|
|
- or go back to the newest paste.
1 | <!DOCTYPE html> | |
2 | <html lang="<?php echo $template->registry('language'); ?>" class="<?php $template->helper('class'); ?>"> | |
3 | ||
4 | <!-- head --> | |
5 | ||
6 | <head> | |
7 | ||
8 | <!-- template head --> | |
9 | ||
10 | <?php $template->partial('head.phtml'); ?> | |
11 | ||
12 | <!-- admin head --> | |
13 | ||
14 | <?php $template->partial('templates/admin/head.phtml'); ?> | |
15 | </head> | |
16 | ||
17 | <!-- body --> | |
18 | ||
19 | <body class="wrapper_body"> | |
20 | ||
21 | <!-- admin panel --> | |
22 | ||
23 | <?php $template->partial('templates/admin/panel.phtml'); ?> | |
24 | ||
25 | <!-- header --> | |
26 | ||
27 | <?php $template->partial('header.phtml'); ?> | |
28 | ||
29 | <!-- main --> | |
30 | ||
31 | <div class="wrapper clear_fix"> | |
32 | ||
33 | <!-- handle error --> | |
34 | ||
35 | - | <?php if ($template->registry('dbConnected') && $template->registry('contentError') && !$template->registry('centerBreak')): ?> |
35 | + | <?php if ($template->status('error')): ?> |
36 | <?php $template->partial('error.phtml'); ?> | |
37 | ||
38 | <!-- else content and sidebar --> | |
39 | ||
40 | <?php else: ?> | |
41 | <?php $template->partial('navibar.phtml'); ?> | |
42 | <?php $template->partial('content.phtml'); ?> | |
43 | <?php $template->partial('sidebar.phtml'); ?> | |
44 | <?php endif; ?> | |
45 | </div> | |
46 | ||
47 | <!-- footer --> | |
48 | ||
49 | <?php $template->partial('footer.phtml'); ?> | |
50 | <?php $template->scripts(); ?> | |
51 | </body> | |
52 | </html> |