Exemplo n.º 1
0
function plugin_navibar2_convert()
{
    global $vars, $hr;
    $page = strip_bracket($vars['page']);
    $navi_page = plugin_navibar2_search_navipage($page);
    if (!empty($navi_page)) {
        return plugin_navibar2_makehtml($navi_page);
    }
    exist_plugin('navibar');
    return do_plugin_convert('navibar', NAVIBAR2_DEFAULT_PARM) . $hr;
}
Exemplo n.º 2
0
function plugin_gcounter_convert()
{
    if (!exist_plugin_convert('counter')) {
        return '<p>gcounter(): counter plugin does not exist.</p>';
    }
    if (plugin_gcounter_init_gcounter() === FALSE) {
        return '<p>gcounter(): failed to create gcounter log file.</p>';
    }
    global $vars;
    $tmp = $vars['page'];
    $vars['page'] = PLUGIN_GCOUNTER_PAGE;
    $args = func_get_args();
    $body = do_plugin_convert('counter', csv_implode(',', $args));
    $vars['page'] = $tmp;
    return $body;
}
Exemplo n.º 3
0
<?php 
        } else {
            if ($pkwk_dtd >= PKWK_DTD_HTML_4_01_FRAMESET) {
                ?>
  <a href="http://validator.w3.org/check/referer"><img src="image/valid-html40.png" width="88" height="31" alt="Valid HTML 4.0" title="Valid HTML 4.0" /></a>
<?php 
            }
        }
    }
    ?>
 </div></td>
</tr>
</table>
</div>
<?php 
}
if ($bodytable_width > 0) {
    ?>
</td>
  </tr>
</table>
<?php 
}
if (exist_plugin_convert('tz')) {
    echo do_plugin_convert('tz');
}
echo $foot_tag;
?>
</body>
</html>
Exemplo n.º 4
0
                }
            }
        }
    }
    $body = convert_html($source);
    if ($trackback) {
        $body .= tb_get_rdf($base);
    }
    // Add TrackBack-Ping URI
    if ($referer) {
        ref_save($base);
    }
    log_write('check', $vars['page']);
    log_write('browse', $vars['page']);
}
// global $always_menu_displayed;
if (arg_check('read')) {
    $always_menu_displayed = 1;
}
$body_menu = $body_side = '';
if ($always_menu_displayed) {
    if (exist_plugin_convert('menu')) {
        $body_menu = do_plugin_convert('menu');
    }
    if (exist_plugin_convert('side')) {
        $body_side = do_plugin_convert('side');
    }
}
// Output
catbody($title, $page, $body);
exit;
Exemplo n.º 5
0
        case 'russet':
        case 'smoking_black':
        case 'zef':
            $sidebar = 'another';
            // Show as an another page below
            break;
    }
    // 'none': Show no sidebar
}
// Check menu (sidebar) is ready and $menubar is there
if ($sidebar == 'none') {
    $menu = FALSE;
} else {
    $menu = arg_check('read') && is_page($GLOBALS['menubar']) && exist_plugin_convert('menu');
    if ($menu) {
        $menu_body = preg_replace('#<h2 ([^>]*)>(.*?)</h2>#', '<h3 $1><span class="sanchor"></span> $2</h3>', do_plugin_convert('menu'));
    }
}
// ------------------------------------------------------------
// Code continuing ...
$lang =& $_LANG['skin'];
$link =& $_LINK;
$image =& $_IMAGE['skin'];
$rw = !PKWK_READONLY;
// Decide charset for CSS
$css_charset = 'iso-8859-1';
switch (UI_LANG) {
    case 'ja':
        $css_charset = 'Shift_JIS';
        break;
}
Exemplo n.º 6
0
?>
. HTML convert time: <?php 
echo $taketime;
?>
 sec.</p>
<address>
Copyright&copy; 2009 <a href="http://www.kazuwaya.jp">kazuwaya.jp</a>
</address>
-->
<!-- /footer --></div>
<p id="goToTop"><a href="#platform"><img src="common/images/img-gototop.gif" width="40" height="24" alt="TOP" /></a></p>
<!-- /platform --></div>
<div id="platformF">
<div id="floatNewPage">
<?php 
if (exist_plugin_convert('newpage')) {
    echo do_plugin_convert('newpage');
}
?>
<!--
<?php 
if (exist_plugin_convert('newpage_subdir')) {
    echo do_plugin_convert('newpage_subdir');
}
?>
-->
<!-- /floatNewPage --></div>
<!-- /platformF --></div>
<script type="text/javascript" src="common/js/import.js"></script>
</body>
</html>
Exemplo n.º 7
0
function plugin_print_action()
{
    global $defaultpage, $page_title, $newtitle;
    global $use_local_time, $language;
    global $head_tags, $foot_tags, $pkwk_dtd;
    global $vars;
    global $fixed_heading_edited, $autoglossary, $_symbol_paraedit, $_symbol_paraguiedit;
    global $_symbol_noexists;
    global $foot_explain, $note_hr;
    if (empty($vars['page']) || !is_page($vars['page'])) {
        return '';
    }
    $page = $vars['page'];
    check_readable($page, false);
    $head = isset($vars['nohead']) ? 0 : 1;
    $foot = isset($vars['nofoot']) ? 0 : 1;
    $noa = isset($vars['noa']) ? 1 : 0;
    $fixed_heading_edited = $autoglossary = 0;
    $_symbol_paraedit = $_symbol_paraguiedit = '&nbsp;';
    $body = convert_html(get_source($page));
    // Yetlist
    $noexists_pattern = '#<span class="noexists">([^<]*)<a[^>]+>' . preg_quote($_symbol_noexists, '#') . '</a></span>#';
    $body = preg_replace($noexists_pattern, '$1', $body);
    // List of footnotes
    ksort($foot_explain, SORT_NUMERIC);
    $notes = !empty($foot_explain) ? $note_hr . join("\n", $foot_explain) : '';
    if ($noa) {
        $body = strip_a($body);
        $notes = strip_a($notes);
    }
    // Tags will be inserted into <head></head>
    $head_tag = !empty($head_tags) ? join("\n", $head_tags) . "\n" : '';
    $foot_tag = !empty($foot_tags) ? join("\n", $foot_tags) . "\n" : '';
    $css_charset = 'utf-8';
    switch (UI_LANG) {
        case 'ja_JP':
            $css_charset = 'Shift_JIS';
            break;
    }
    // Output header
    pkwk_common_headers();
    header('Cache-Control: no-cache');
    header('Pragma: no-cache');
    header('Content-Type: text/html; charset=' . CONTENT_CHARSET);
    header('ETag: ' . md5(MUTIME));
    // Output HTML DTD, <html>, and receive content-type
    $meta_content_type = isset($pkwk_dtd) ? pkwk_output_dtd($pkwk_dtd) : pkwk_output_dtd();
    $CONTENT_CHARSET = CONTENT_CHARSET;
    $SKIN_URI = SKIN_URI;
    $IMAGE_URI = IMAGE_URI;
    // Plus! not use $meta_content_type. because meta-content-type is most browser not used. umm...
    echo <<<EOD
<head>
 <meta http-equiv="content-type" content="application/xhtml+xml; charset={$CONTENT_CHARSET}" />
 <meta http-equiv="content-style-type" content="text/css" />
 <meta http-equiv="content-script-type" content="text/javascript" />
 <meta name="robots" content="NOINDEX,NOFOLLOW" />

EOD;
    // $newtitle - TITLE: (convert_html)
    if ($newtitle != '') {
        $h1 = $newtitle . ' - ' . $page_title;
    } elseif ($page == $defaultpage) {
        $h1 = $page_title;
    } else {
        $h1 = $page . ' - ' . $page_title;
    }
    echo ' <title>' . $h1 . '</title>' . "\n";
    echo <<<EOD
 <link rel="stylesheet" href="{$SKIN_URI}default.css" type="text/css" media="screen" charset="{$css_charset}" />
 <link rel="stylesheet" href="{$SKIN_URI}print.css" type="text/css" media="print" charset="{$css_charset}" />
 <script type="text/javascript">
 <!--

EOD;
    if (exist_plugin_convert('js_init')) {
        echo do_plugin_convert('js_init');
    }
    echo <<<EOD
 // -->
 </script>
 <script type="text/javascript" src="{$SKIN_URI}lang/{$language}.js"></script>
 <script type="text/javascript" src="{$SKIN_URI}default.js"></script>

EOD;
    if (!$use_local_time) {
        echo <<<EOD
 <script type="text/javascript" src="{$SKIN_URI}tzCalculation_LocalTimeZone.js"></script>

EOD;
    }
    echo $head_tag;
    echo <<<EOD
</head>
<body>

EOD;
    /*
    	if ($head) {
    		echo <<<EOD
    <div id="header">
     <h1 class="title">$h1</h1>
    </div>
    
    EOD;
    	}
    */
    if ($head) {
        // Last modification date (string) of the page
        $lastmodified = get_date('D, d M Y H:i:s T', get_filetime($page)) . ' ' . get_pg_passage($page, FALSE);
        // <span style="font-size: large;line-height: 1;margin: 0px;padding: 0px;">$h1</span>
        $PRINT_HEAD_BGCOLOR = PRINT_HEAD_BGCOLOR;
        $PRINT_HEAD_BORDER = PRINT_HEAD_BORDER;
        echo <<<EOD
<div style="background-color: {$PRINT_HEAD_BGCOLOR};border: 1px {$PRINT_HEAD_BORDER} solid;padding: 6px 8px;margin: 6px 1%;">
\t<h1 class="title">{$h1}</h1>
\t<p style="font-size:10px;text-align:right;">Last-Modified: {$lastmodified}</p>
</div>

EOD;
    }
    echo <<<EOD
<div id="contents">
<table class="contents" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
  <td class="ctable" valign="top">
    <div id="body">

EOD;
    echo $body;
    echo <<<EOD
    </div>
  </td>
</tr>
</table>
</div>

EOD;
    if ($notes) {
        echo <<<EOD
<div id="note">
{$notes}
</div>

EOD;
    }
    if ($foot) {
        echo print_foot_area();
    }
    if (exist_plugin_convert('tz')) {
        echo do_plugin_convert('tz');
    }
    echo $foot_tag;
    echo <<<EOD
</body>
</html>

EOD;
    die;
}
Exemplo n.º 8
0
{$summaryflag_start}
{$notes_tag}
{$trackback_tag}
{$referer_tag}
{$related_tag}
{$attach_tag}
{$summaryflag_end}
<!-- summary end -->
EOD;
$qt->setv('summary', $summarystr);
//-------------------------------------------------
//
// ログインをチェックし、ログアウトしてれば再ログインをさせるjavascriptの読み込み
//-------------------------------------------------
if (exist_plugin('check_login')) {
    do_plugin_convert('check_login');
}
if (is_qblog()) {
    if ($qblog_defaultpage === $title) {
        $qt->setv('this_page_title', $qblog_title . ' - ' . $page_title);
        if (!$qt->getv('editable')) {
            $qt->setv('this_right_title', $qblog_title);
        } else {
            $qt->appendv('this_right_title', $qblog_title);
        }
    } else {
        $qt->setv('this_page_title', $qt->getv('this_right_title') . ' - ' . $qblog_title . ' - ' . $page_title);
    }
}
/* End of file qhm_init.php */
/* Location: ./lib/qhm_init.php */
Exemplo n.º 9
0
function plugin_login_convert()
{
    global $script, $vars, $auth_api, $_login_msg;
    @(list($type) = func_get_args());
    $type = isset($type) ? htmlspecialchars($type, ENT_QUOTES) : '';
    $auth_key = auth::get_user_info();
    if (!empty($auth_key['key'])) {
        if ($auth_key['api'] == 'plus') {
            return <<<EOD
<div>
        <label>{$_login_msg['msg_username']}</label>:
        {$auth_key['key']}
</div>

EOD;
        } else {
            exist_plugin($auth_key['api']);
            return do_plugin_convert($auth_key['api']);
        }
    }
    $select = '';
    //if (LOGIN_USE_AUTH_DEFAULT) {
    //	$select .= '<option value="plus" selected="selected">Normal</option>';
    //}
    $sw_ext_auth = false;
    foreach ($auth_api as $api => $val) {
        if (!$val['use']) {
            continue;
        }
        if (isset($val['hidden']) && $val['hidden']) {
            continue;
        }
        $displayname = isset($val['displayname']) ? $val['displayname'] : $api;
        if ($api !== 'plus') {
            $sw_ext_auth = true;
        }
        $select .= '<option value="' . $api . '">' . $displayname . '</option>';
    }
    if (empty($select)) {
        return '';
    }
    // 認証機能が使えない
    if ($sw_ext_auth) {
        // 外部認証がある
        $select = '<select name="api">' . $select . '</select>';
    } else {
        // 通常認証のみなのでボタン
        $select = '<input type="hidden" name="api" value="plus" />';
    }
    // ボタンを表示するだけ
    $rc = <<<EOD
<form action="{$script}" method="post">
\t<div>
{$select}
\t\t<input type="hidden" name="plugin" value="login" />
\t\t<input type="hidden" name="type" value="{$type}" />
\t\t<input type="hidden" name="page" value="{$vars['page']}" />
\t\t<input type="submit" value="{$_login_msg['btn_login']}" />
\t</div>
</form>

EOD;
    return $rc;
}
Exemplo n.º 10
0
    var myBorder = RUZEE.ShadedBorder.create({ corner:10, shadow:24, mwheight:wpr_h });
    myBorder.render("wrapper");
});
</script>
<![endif]-->
<style type="text/css">
#wrapper {
	border-radius: 10px;
	box-shadow: 0 3px 5px 5px rgba(0,0,0,0.2);
}
</style>
';
// for iPhone & iPod Touch & android
if (is_smart_phone()) {
    if (exist_plugin('use_smart')) {
        $qt->appendv('enable_smart_style', do_plugin_convert('use_smart'));
    }
    //smart 表示
    if (plugin_use_smart_is_enable()) {
        $smart_css = '
<meta name="apple-mobile-web-app-capable" content="yes">
<style type="text/css">
#wrapper{
-webkit-border-radius: 20px;
-webkit-box-shadow: 4px 4px 10px #333;
}
</style>';
        $smart_lastscript .= '
<script type="text/javascript" charset="utf-8">
if (typeof window.onload == "undefined") {
	window.onload = function(){
Exemplo n.º 11
0
        }
        $qt->setv('site_header', $site_header);
        unset($vars['page_alt']);
    }
}
//w3c tag
$w3c_tagstr = <<<EOD
<a href="http://validator.w3.org/check?uri=referer"><img
        src="image/valid-xhtml10.png"
        alt="Valid XHTML 1.0 Transitional" height="31" width="88" />
EOD;
$qt->setv('w3c_tag', $w3c_tagstr);
// iPhone, iPod, android デザイン
if ($enable_smart_style && is_smart_phone() && !is_bootstrap_skin()) {
    if (exist_plugin('use_smart')) {
        $qt->appendv('site_navigator2', do_plugin_convert('use_smart'));
    }
    if (plugin_use_smart_is_enable()) {
        $smart_css = ' <meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="' . SMART_DIR . $smart_name . '/smart.css" media="screen" text/css="text/css">
';
        $smart_lastscript .= '
<script type="text/javascript" charset="utf-8">
if (typeof window.onload === "undefined") {
    window.onload = function(){
        setTimeout(function(){window.scrollTo(0,1);},100);
    };
} else {
    var olfunc = window.onload;
    window.onload = function(){
Exemplo n.º 12
0
function plugin_edit_action()
{
    global $vars, $load_template_func, $style_name, $layout_pages;
    global $qblog_defaultpage;
    $qm = get_qm();
    $qt = get_qt();
    if (PKWK_READONLY) {
        die_message($qm->m['fmt_err_pkwk_readonly']);
    }
    $page = isset($vars['page']) ? $vars['page'] : '';
    $prefix = '';
    //メニューやナビの編集はスタイルを変える
    if (array_key_exists($page, $layout_pages) && !isset($vars['preview'])) {
        $prefix = '<h2 class="title">' . h($layout_pages[$page]) . 'の編集</h2>';
        if (is_bootstrap_skin()) {
            if (exist_plugin("noeyecatch")) {
                do_plugin_convert("noeyecatch");
            }
        } else {
            $style_name = '../';
            $addscript = <<<EOD
<script type="text/javascript">
\$(function(){

  if (window != parent)
  {
\t\t\$("input:submit").click(function(e){
\t\t\twindow.onbeforeunload = null;
\t\t\tvar name = \$(this).attr("name");
\t\t\t\$(this).before('<input type="hidden" name="'+name+'" value="'+\$(this).val()+'">').prop("disabled", true);

\t\t\tvar \$form = \$(this).closest("form");
\t\t\tvar \$parent = \$(window.parent.document).find("body");
\t
\t\t\tvar params = \$form.serialize().split('&');
\t\t\tvar \$fm = \$('<form></form>');
\t\t\tfor (var i = 0; i < params.length; i++)
\t\t\t{
\t\t\t\tvar param = params[i].split('=');

\t\t\t\t\$fm.append(\$('<input type="hidden" name="'+param[0]+'" value="" />').val(decodeURIComponent(param[1].replace(/\\+/g, ' '))));
\t\t\t}
\t\t\t\$fm.attr('action', \$form.attr('action'));
\t\t\t\$fm.attr('method', \$form.attr('method'));
\t\t\t\$parent.append(\$fm).find("form:last").submit();
\t\t\treturn false;
\t\t});
\t}
});
</script>
EOD;
            $qt->appendv('beforescript', $addscript);
        }
    }
    check_editable($page, true, true);
    if (isset($vars['preview']) || $load_template_func && isset($vars['template'])) {
        return plugin_edit_preview();
    } else {
        if (isset($vars['write'])) {
            return plugin_edit_write();
        } else {
            if (isset($vars['cancel'])) {
                return plugin_edit_cancel();
            }
        }
    }
    $postdata = @join('', get_source($page));
    if ($postdata == '') {
        $postdata = auto_template($page);
    }
    return array('msg' => $qm->m['fmt_title_edit'], 'body' => $prefix . edit_form($page, $postdata));
}
Exemplo n.º 13
0
}
echo $_menu;
?>
</div>

</div>
<!-- END #content > #menu -->

</div>
<!-- END #content -->

<!-- START #footer -->
<?php 
if (exist_plugin_convert('footarea') && do_plugin_convert('footarea') != '') {
    echo '<div id="footer">' . "\n";
    echo do_plugin_convert('footarea');
    echo '</div>' . "\n";
} else {
    // or In this skin
    ?>
<div id="footer">
<ul id="signature">
<li class="inquiry"><a href="<?php 
    echo get_script_uri();
    ?>
?">サイトについて</a></li>
<li class="inquiry"><a href="<?php 
    echo get_script_uri();
    ?>
?">仕様</a></li>
<li class="request"><a href="<?php 
Exemplo n.º 14
0
function plugin_qp_here_convert()
{
    if (exist_plugin('insert_mark')) {
        return do_plugin_convert('insert_mark');
    }
}
Exemplo n.º 15
0
function protect_body($plugin)
{
    global $auth_api, $protect;
    $body = '';
    if ($plugin === 'login') {
        $plugin = '';
    }
    $wiki = WikiFactory::Wiki($protect);
    if ($wiki->isReadable() && empty($plugin)) {
        $body .= $wiki->render();
    } else {
        $plugin = empty($plugin) ? 'login' : $plugin;
        if (exist_plugin_convert($plugin)) {
            $body .= do_plugin_convert($plugin);
        }
    }
    if (empty($body)) {
        if (PLUGIN_PROTECT_MUST_PAGE) {
            die('The attestation setting is not done.');
        }
        die;
    }
    return $body;
}
Exemplo n.º 16
0
 function toString()
 {
     // Call #plugin
     return do_plugin_convert($this->name, $this->param);
 }
Exemplo n.º 17
0
<?php 
if ($related != '') {
    ?>
<div id="related">Link: <?php 
    echo $related;
    ?>
</div>
<?php 
}
?>

<div id="footer">

<p><?php 
if (exist_plugin_convert('menu2')) {
    echo do_plugin_convert('menu2');
}
?>
</p>

<?php 
include "htmlinsert/adResponsive.inc";
?>

<p>Puzzle and Dragons Wiki admin: <a href="https://twitter.com/rtwiki_net">@rtwiki_net</a> <a href="http://nemusg.com/contact.html">問い合わせ</a></p>
 <?php 
echo S_COPYRIGHT;
?>
.
 Powered by PHP <?php 
echo PHP_VERSION;
Exemplo n.º 18
0
echo SKIN_URI;
?>
andreas01/andreas01.css" />
 <link rel="stylesheet" type="text/css" media="print" href="<?php 
echo SKIN_URI;
?>
andreas01/andreas01.print.css" />
 <link rel="alternate" type="application/rss+xml" title="RSS" href="<?php 
echo $_LINK['rss'];
?>
" />
 <script type="text/javascript">
 <!--
<?php 
if (exist_plugin_convert('js_init')) {
    echo do_plugin_convert('js_init');
}
?>
 // -->
 </script>
 <script type="text/javascript" src="<?php 
echo SKIN_URI . 'lang/' . $language;
?>
.js"></script>
 <script type="text/javascript" src="<?php 
echo SKIN_URI;
?>
default.js"></script>
 <script type="text/javascript" src="<?php 
echo SKIN_URI;
?>
Exemplo n.º 19
0
 function list_pages()
 {
     global $script;
     if (sizeof($this->metapages) == 0) {
         return;
     }
     /* HTML validate (without <ul><li style="list-type:none"><ul><li>, we have to do as 
           <ul><li style="padding-left:16*2px;margin-left:16*2px"> as pukiwiki standard. I did not like it)
           
        <ul>              <ul><li>1
        <li>1</li>        </li><li>1
        <li>1             <ul><li>2
        <ul>              </li></ul></li><li>1
        <li>2</li>        </li><li>1
        </ul>        =>   <ul><li style="list-type:none"><ul><li>3
        </li>             </li></ul></li></ul></li></ul>
        <li>1</li>
        <li>1</li>
        <ul><li style="list-type:none"><ul>
        <li>3</li>
        </ul></li></ul>
        </li>
        </ul>
        */
     $ul = $pdepth = 0;
     foreach ($this->metapages as $i => $metapage) {
         $page = $metapage['page'];
         $exist = $metapage['exist'];
         $depth = $metapage['listdepth'];
         $info = $metapage['info'];
         $link = $metapage['link'];
         if ($exist && $this->options['include'][1] != '') {
             $option = '"' . $page . '"';
             if (!empty($this->options['include'][1])) {
                 $option .= ',' . csv_implode(',', $this->options['include'][1]);
             }
             $html .= do_plugin_convert($this->conf['plugin_include'], $option);
             continue;
         }
         if ($depth > $pdepth) {
             $diff = $depth - $pdepth;
             $html .= str_repeat('<ul><li style="list-style:none">', $diff - 1);
             if ($depth == 1) {
                 // or $first flag
                 $html .= '<ul class="' . $this->plugin . '"><li>';
             } else {
                 $html .= '<ul><li>';
             }
             $ul += $diff;
         } elseif ($depth == $pdepth) {
             $html .= '</li><li>';
         } elseif ($depth < $pdepth) {
             $diff = $pdepth - $depth;
             $html .= str_repeat('</li></ul>', $diff);
             $html .= '</li><li>';
             $ul -= $diff;
         }
         $pdepth = $depth;
         $html .= $link;
         if (isset($info) && $info != '') {
             $html .= '<span class="lsx_info">' . $info . '</span>' . "\n";
         }
         if ($exist && $this->options['contents'][1] != '') {
             $args = $this->options['contents'][1];
             $pagearg = 'page=' . $page;
             array_unshift($args, $pagearg);
             $contentsx = new PluginContentsx();
             $html .= call_user_func(array($contentsx, 'body'), $args);
         }
     }
     $html .= str_repeat('</li></ul>', $ul);
     return $html;
 }
Exemplo n.º 20
0
?>
				</div>
				<?php 
if (!empty($this->conf['adarea']['footer'])) {
    echo '<div id="footer_adspace" class="noprint" style="text-align:center;">' . $this->conf['adarea']['footer'] . '</div>';
}
?>
			</div>

<?php 
if ($this->colums == 'three-colums' || $this->colums == 'two-colums') {
    ?>
<!-- Left -->
			<aside id="menubar" class="sidebox"  role="navigation">
				<?php 
    echo do_plugin_convert('menu') . "\n";
    ?>
				<?php 
    echo $this->conf['counter'] === true && exist_plugin('counter') ? '<p>Total:' . $this->pluginInline('total') . ' / Today:' . $this->pluginInline('today') . '</p>' . "\n" : '';
    ?>
			</aside>
<?php 
}
if (!empty($this->sidebar)) {
    ?>
<!-- Right -->
			<aside id="sidebar" class="sidebox" role="navigation">
				<?php 
    echo $this->sidebar;
    ?>
			</aside>