5 <link
href=
'http://fonts.googleapis.com/css?family=Open+Sans:400,700' rel=
'stylesheet' type=
'text/css' />
8 !defined(
'RMCLOCATION') ? define(
'RMCLOCATION',
'') : true;
9 !defined(
'RMCSUBLOCATION') ? define(
'RMCSUBLOCATION',
'') : true;
11 foreach ($this->tpl_styles as $style){
12 echo
'<link rel="stylesheet" type="text/css" media="'.$style[
'media'].
'" href="'.$style[
'url'].
'"'.($style[
'more']!=
''?
' '.$style[
'more']:
'').
' />'.
"\n";
15 foreach ($this->tpl_scripts as $script){
16 echo
'<script type="'.$script[
'type'].
'" src="'.$script[
'url'].
'"></script>'.
"\n";
19 echo $this->head_scripts();
21 foreach ($this->tpl_head as $head){
25 include_once
'include/xoops_metas.php';
28 <title><?php
if($this->get_var(
'xoops_pagetitle')!=
''): ?><?php echo $this->get_var(
'xoops_pagetitle'); ?> - <?php
endif; ?><?php echo isset(
$xoopsModule) ?
$xoopsModule->getInfo(
'name').
' - ' :
''; ?><?php echo
$xoopsConfig[
'sitename']; ?></title>
29 <script type=
"text/javascript" src=
"<?php echo $rm_theme_url; ?>/js/hoverIntent.js"></script>
30 <script type=
"text/javascript" src=
"<?php echo $rm_theme_url; ?>/js/superfish.js"></script>
31 <script type=
"text/javascript" src=
"<?php echo $rm_theme_url; ?>/js/supersubs.js"></script>
32 <script type=
"text/javascript" src=
"<?php echo $rm_theme_url; ?>/js/jquery.window.min.js"></script>
33 <script type=
"text/javascript" src=
"<?php echo $rm_theme_url; ?>/js/designia.js"></script>
34 <script type=
"text/javascript" src=
"<?php echo $rm_theme_url; ?>/js/jquery.easing.1.3.js"></script>
35 <script type=
"text/javascript" src=
"<?php echo $rm_theme_url; ?>/js/jquery.mousewheel.min.js"></script>
36 <script type=
"text/javascript" src=
"<?php echo $rm_theme_url; ?>/js/jquery.tablesorter.min.js"></script>
38 <script type=
"text/javascript">
39 var designia_url =
'<?php echo $rm_theme_url; ?>';
40 $(document).ready(
function(){
41 $(
"ul.menu-menu").superfish();
42 $(
"table.outer").each(
function(i){
43 if(!$(
this).hasClass(
'notsortable')){
44 $(
this).addClass(
'tablesorter');
45 $(
this).tablesorter();
55 <nav
id=
"des-vertical" class=
"dark_bg dark_clear_text">
58 <a
href=
"<?php echo RMCURL; ?>">
59 <img src=
"<?php echo $rm_theme_url; ?>/images/dashboard.png" alt=
"<?php _e('Dashboard','rmcommon'); ?>" />
60 <p><?php
_e(
'Dashboard',
'rmcommon'); ?></p>
64 <a href=
"#" class=
"des-modules-nav">
65 <img src=
"<?php echo $rm_theme_url; ?>/images/modules.png" alt=
"<?php _e('Modules','rmcommon'); ?>" />
66 <p><?php
_e(
'Modules',
'rmcommon'); ?></p>
70 <a href=
"<?php echo RMCURL; ?>/plugins.php" id=
"des-plugins-nav">
71 <img src=
"<?php echo $rm_theme_url; ?>/images/plugins.png" alt=
"<?php _e('Plugins','rmcommon'); ?>" />
72 <p><?php
_e(
'Plugins',
'rmcommon'); ?></p>
76 <a href=
"<?php echo RMCURL; ?>/blocks.php" id=
"des-blocks-nav">
77 <img src=
"<?php echo $rm_theme_url; ?>/images/blocks.png" alt=
"<?php _e('Blocks','rmcommon'); ?>" />
78 <p><?php
_e(
'Blocks',
'rmcommon'); ?></p>
82 <a href=
"<?php echo RMCURL; ?>/comments.php" id=
"des-comms-nav">
83 <img src=
"<?php echo $rm_theme_url; ?>/images/coms.png" alt=
"<?php _e('Comments','rmcommon'); ?>" />
84 <p><?php
_e(
'Comments',
'rmcommon'); ?></p>
88 <a href=
"http://xoops.org" target=
"_blank">
89 <img src=
"<?php echo $rm_theme_url; ?>/images/xoops.png" alt=
"<?php _e('XOOPS','rmcommon'); ?>" />
90 <p><?php
_e(
'XOOPS',
'rmcommon'); ?></p>
93 <?php
RMEvents::get()->run_event(
'designia.get.nav.items'); ?>
96 <div
id=
"right-container">
97 <header
id=
"des-header" class=
"overlay_bg">
98 <h1
class=des_logo><a href=
"<?php echo RMCURL; ?>" title=
"<?php echo $xoopsConfig['sitename']; ?>"><img src=
"<?php echo $dConfig['logo']; ?>" alt=
"<?php echo $xoopsConfig['sitename']; ?>" width=178
height=45 /></a></h1>
99 <div
class=
"header_user"></div>
101 <nav
id=
"des-nav" class=
"dark_bg overlay_bg">
104 <img src=
"http://www.gravatar.com/avatar/<?php echo md5($xoopsUser->getVar('email')); ?>?s=50&d=<?php echo urlencode($rm_theme_url.'/images/profile.png'); ?>" alt=
"<?php echo $xoopsUser->getVar('name'); ?>" />
105 <div
id=
"des-userinfo">
106 <p
id=
"usr-name"><?php echo sprintf(
__(
'Welcome back %s',
'designia'),
$xoopsUser->getVar(
'name')); ?></p>
108 <a href=
"<?php echo XOOPS_URL; ?>" target=
"viewsite"><?php
_e(
'View Site',
'rmcommon'); ?></a>
109 <a href=
"<?php echo RMCURL; ?>/?designia=settings"><?php
_e(
'Preferences',
'rmcommon'); ?></a>
110 <a href=
"<?php echo XOOPS_URL; ?>/user.php?op=logout"><?php
_e(
'Log out',
'rmcommon'); ?></a>
115 <a href=
"<?php echo RMCURL; ?>">
116 <img src=
"<?php echo $rm_theme_url; ?>/images/dashboard.png" alt=
"<?php _e('Dashboard','rmcommon'); ?>" />
117 <p><?php
_e(
'Dashboard',
'rmcommon'); ?></p>
121 <a href=
"#" class=
"des-modules-nav">
122 <img src=
"<?php echo $rm_theme_url; ?>/images/modules.png" alt=
"<?php _e('Modules','rmcommon'); ?>" />
123 <p><?php
_e(
'Modules',
'rmcommon'); ?></p>
127 <a href=
"<?php echo RMCURL; ?>/plugins.php" id=
"des-plugins-nav">
128 <img src=
"<?php echo $rm_theme_url; ?>/images/plugins.png" alt=
"<?php _e('Plugins','rmcommon'); ?>" />
129 <p><?php
_e(
'Plugins',
'rmcommon'); ?></p>
133 <a href=
"<?php echo RMCURL; ?>/blocks.php" id=
"des-blocks-nav">
134 <img src=
"<?php echo $rm_theme_url; ?>/images/blocks.png" alt=
"<?php _e('Blocks','rmcommon'); ?>" />
135 <p><?php
_e(
'Blocks',
'rmcommon'); ?></p>
139 <a href=
"<?php echo RMCURL; ?>/comments.php" id=
"des-comms-nav">
140 <img src=
"<?php echo $rm_theme_url; ?>/images/coms.png" alt=
"<?php _e('Comments','rmcommon'); ?>" />
141 <p><?php
_e(
'Comments',
'rmcommon'); ?></p>
145 <a href=
"http://xoops.org" target=
"_blank">
146 <img src=
"<?php echo $rm_theme_url; ?>/images/xoops.png" alt=
"<?php _e('XOOPS','rmcommon'); ?>" />
147 <p><?php
_e(
'XOOPS',
'rmcommon'); ?></p>
150 <?php
RMEvents::get()->run_event(
'designia.get.nav.items'); ?>
154 <div
id=
"des-nav-modules">
155 <?php include
'include/modules.php'; ?>
158 <?php
if($this->get_menus()): ?>
159 <nav
id=
"des-menu-nav" class=
"overlay_bg">
160 <ul
class=
"menu-menu">
161 <li
class=module_name>
162 <a style=
"background-image: url(<?php echo DesigniaFunctions::module_icon($xoopsModule->dirname(), '16'); ?>);" href=
"<?php echo XOOPS_URL; ?>/modules/<?php echo $xoopsModule->dirname(); ?>/<?php echo $xoopsModule->getInfo('adminindex'); ?>"><?php echo
$xoopsModule->name(); ?></a>
164 <?php
foreach($this->get_menus() as $menu): ?>
166 <a href=
"<?php echo $menu['link']; ?>" style=
"background-image: url(<?php echo $menu['icon']; ?>);"><?php echo $menu[
'title']; ?></a>
167 <?php
if($menu[
'options']): ?>
169 <?php
foreach($menu[
'options'] as $sub): ?>
170 <li><a href=
"<?php echo $sub['link']; ?>"><?php echo $sub[
'title']; ?></a></li>
180 <a style=
"background-image: url(<?php echo RMTHEMEURL; ?>/images/system.png);" href=
"<?php echo XOOPS_URL; ?>/modules/system/"><?php
_e(
'System',
'rmcommon'); ?></a>
184 <a href=
"<?php echo $menu['link']; ?>" style=
"background-image: url(<?php echo $menu['icon']; ?>);"><?php echo $menu[
'title']; ?></a>
193 <a style=
"background-image: url(<?php echo DesigniaFunctions::module_icon('rmcommon', '16'); ?>);" href=
"<?php echo XOOPS_URL; ?>/modules/rmcommon/">Common Utilities</a>
197 <a href=
"<?php echo $menu['link']; ?>" style=
"background-image: url(<?php echo $menu['icon']; ?>);"><?php echo $menu[
'title']; ?></a>
198 <?php
if(isset($menu[
'options'])): ?>
200 <?php
foreach($menu[
'options'] as $sub): ?>
201 <li><a href=
"<?php echo $sub['link']; ?>"><?php echo $sub[
'title']; ?></a></li>
212 <?php
foreach(
$other_menu as $name => $topmenu): ?>
214 <a style=
"background-image: url(<?php echo $topmenu['icon']; ?>);" href=
"<?php echo $topmenu['link']; ?>"><?php echo $topmenu[
'name']; ?></a>
216 <?php
foreach($topmenu[
'menus'] as $menu): ?>
218 <a href=
"<?php echo $menu['link']; ?>" style=
"background-image: url(<?php echo $menu['icon']; ?>);"><?php echo $menu[
'title']; ?></a>
219 <?php
if(isset($menu[
'options'])): ?>
221 <?php
foreach($menu[
'options'] as $sub): ?>
222 <li><a href=
"<?php echo $sub['link']; ?>"><?php echo $sub[
'title']; ?></a></li>
234 <a style=
"background-image: url(<?php echo DESIGNIA_URL; ?>/images/designia.png);" href=
"#"><?php
_e(
'Designia',
'rmcommon'); ?></a>
237 <a href=
"<?php echo RMCURL; ?>/?designia=settings" style=
"background-image: url(<?php echo DESIGNIA_URL; ?>/images/colors.png);"><?php
_e(
'Settings',
'rmcommon'); ?></a>
238 <a href=
"#" id=
"designia-about" style=
"background-image: url(<?php echo DESIGNIA_URL; ?>/images/info.png);"><?php
_e(
'About theme',
'rmcommon'); ?></a>
245 <a href=
"#" style=
"background-image: url(<?php echo DESIGNIA_URL; ?>/images/help.png);"><?php
_e(
'Help',
'rmcommon'); ?></a>
247 <?php
if($this->help()): ?>
248 <?php
foreach($this->help() as $help): ?>
250 <a href=
"<?php echo $help['link']; ?>" class=
"help_button rm_help_button" style=
"background-image: url(<?php echo DESIGNIA_URL; ?>/images/help.png);" target=
"_blank" title=
"<?php echo $help['caption']; ?>"><?php echo $help[
'caption']; ?></a>
256 <a href=
"#" onclick=
"return false;"><?php
_e(
'Social Links',
'rmcommon'); ?></a>
258 <?php
foreach(
$xoopsModule->getInfo(
'social') as $net): ?>
259 <li
class=
"nav_item">
260 <a href=
"<?php echo $net['url']; ?>" style=
"background-image: url(<?php echo DESIGNIA_URL; ?>/images/social/<?php echo $net['type']; ?>.png);"><?php echo $net[
'title']; ?></a>
271 <div
class=clearer></div>
275 <!-- System messages -->
276 <?php
foreach($rmc_messages as $message): ?>
277 <div
class=
"des_sys_message msgtype_<?php echo $message['level']; ?>"<?php
if($message[
'level']>4 && $message[
'icon']!=
''): ?> style=
"background-image: url(<?php echo $message['icon']; ?>);<?php endif; ?>>
278 <span class="msg-close
" title="<?php
_e(
'Close message box',
'rmcommon'); ?>
"></span>
279 <?php echo html_entity_decode($message['text']); ?>
284 <?php if($this->get_toolbar()): ?>
285 <nav id="des-toolbar
">
287 <?php foreach($this->get_toolbar() as $menu): ?>
288 <li<?php echo $menu['location']==RMCSUBLOCATION ? ' class = "selected
"' : ($menu['location']==RMCLOCATION ? ' class="selected
"' : ''); ?>>
289 <a href="<?php echo $menu[
'link']; ?>
"<?php if($menu['icon']): ?> style="background-image: url(<?php echo $menu[
'icon']; ?>); padding-
left: 24px
"<?php endif; ?>><?php echo $menu['title']; ?></a>
297 <div id="des-content-wrapper
">
298 <div id="des-wrapper
">
299 <div class="des-rwrapper
">
300 <?php if($left_widgets): ?>
301 <div id="des-lblocks
">
302 <?php foreach($left_widgets as $widget): ?>
303 <div class="des_widget_wrapper
">
304 <div class="des_widget_title dark_bg overlay_bg dark_border dark_clear_text
"><span<?php echo isset($widget['icon']) && $widget['icon']!='' ? ' style="background-image: url(
'.$widget['icon
'].'); padding-
left: 26px;
"' : ''; ?>><?php echo $widget['title']; ?></span></div>
305 <div class="des_widget_content
"><?php echo $widget['content']; ?></div>
310 <div id="des-content
">
311 <?php echo $content; ?>
312 <div class=clearer></div>
314 <?php if($right_widgets): ?>
315 <div id="des-rblocks
">
316 <?php foreach($right_widgets as $widget): ?>
317 <div class="des_widget_wrapper
">
318 <div class="des_widget_title dark_bg overlay_bg
"><span<?php echo isset($widget['icon']) && $widget['icon']!='' ? ' style="background-image: url(
'.$widget['icon
'].'); padding-
left: 26px;
"' : ''; ?>><?php echo $widget['title']; ?></span></div>
319 <div class="des_widget_content
"><?php echo $widget['content']; ?></div>
327 <!--// The content -->
331 <div id="des-footer
">
332 <?php echo sprintf(__('Powered by %s.','designia'), '<a href="http:
333 <?php echo sprintf(
__(
'Reloaded by %s.',
'designia'),
'<a href="http://www.redmexico.com.mx/w/common-utilities/">'.
RMUtilities::get()->getVersion(
true,
'rmcommon').
'</a>'); ?>
335 <?php echo sprintf(
__(
'Using %s.',
'designia'),
'<strong>Designia Theme</strong>'); ?>
337 <!--{xo-logger-output}-->
342 <span
id=
"xtoken"><?php echo
$xoopsSecurity->createToken(); ?></span>
343 <div
class=
"width_maintainer"> </div>
345 $(window).load(
function() {
346 $(
"#des-nav-modules").mCustomScrollbar(
"horizontal",400,
"easeOutCirc",0.05,
"fixed",
"yes",
"yes",10);
349 <script type=
"text/javascript" src=
"<?php echo $rm_theme_url; ?>/js/jquery.mCustomScrollbar.js"></script>